> I've been using the pkgsrc GCC package available here: > > https://github.com/joyent/pkgsrc/tree/trunk/lang/gcc7
Thanks for that; I'll definitely check it out. > For those interested, the main issues caused by GCC 6 and newer is > that they default to newer standards, which fall foul of our strict > XPG feature tests (e.g. packages that hard-code _XOPEN_SOURCE=500), as > well as enabling new warnings. We are actively fixing these in > pkgsrc. I've also hit .eh frame alignment issues on both sparc and i386 platforms. The mailing list discussions claim that this is caused by bugs in GNU as(1), and claim to have committed fixes as of binutils 2.25.1, but the issue is not fixed because I'm still seeing the same errors. > You wouldn't need all of those patches, but it's at least a starting > point for a known working build, which is currently able to build > over 14,000 packages: > > > http://us-east.manta.joyent.com/pkgsrc/public/reports/upstream-bulktest/20170524.2302/meta/report.html > > compared to the GCC 4.9 builds which are at over 16,000: > > > http://us-east.manta.joyent.com/pkgsrc/public/reports/upstream-trunk64/20170524.0209/meta/report.html One of the biggest selling points for SmartOS is its software library. Impressive. -- Empathy is still a core engineering value. ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
