* On 2017-05-25 at 10:19 BST, a b wrote: > I'm trying to build GCC 7.1.0 on Solaris 10 sparc in order to get > better debugging support with stabs+ and DWARF 2, so I could debug a > core dump with source code. > > By accident, I read a tweet from a user "cwekurtz" that there are > patches for illumos / SmartOS for GCC 7.1.0. > > Are these patches publicly available, and if so, where?
I've recently been performing some GCC 7.1.0 pkgsrc builds as at some point in the near future we're going to need to default to a newer C++ ABI as more and more packages are starting to depend on C++14 and C++1z features. I've been using the pkgsrc GCC package available here: https://github.com/joyent/pkgsrc/tree/trunk/lang/gcc7 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 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. -- Jonathan Perkin - Joyent, Inc. - www.joyent.com ------------------------------------------- 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
