tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Using modern gcc from pkgsrc on old systems for c++
Jason Bacon <outpaddling%yahoo.com@localhost> writes:
> Can you try bootstrapping a tree on NetBSD 5 with the attached script?
>
> I used it on NetBSD 7.1, choosing gcc7 when prompted, and re2c built
> fine for me.
Thanks, I will give that a try.
Can you explain how this is supposed to work in terms of the
variables I quoted? I don't see them in your scripts at first glance.
> There are some pitfalls involved with using a pkgsrc gcc as a minimum
> compiler and auto-pkgsrc-setup knows how to step around them. See the
> attached mk.conf generated by the script.
>
> The massive exception list for gcc dependencies is due largely to the
> python dep in gcc8, which almost double the number of dependencies
> over gcc7.
>
> Your errors don't seem to indicate that this is the problem, but you
> also have to watch out for old binutils installations that can't
> handle instructions generated by newer gcc code generators. See the
> hack for RHEL at the end of my mk.conf.
So perhaps the native netbsd-5 binutils have this issue?
Home |
Main Index |
Thread Index |
Old Index