Re: HEADS UP: switched to gcc 5.3

Mark Cave-Ayland <[email protected]>
Newsgroups gmane.os.netbsd.ports.sparc64
Message-ID <[email protected]>
On 05/05/16 21:13, Martin Husemann wrote:

> On Thu, Apr 28, 2016 at 08:31:22PM +0200, Martin Husemann wrote:
>> I just switched the default compiler for sparc64 over to gcc 5.3.
>>
>> Please make sure to clean your obj dir before doing the next build!
> 
> Of course this immediately leads to discovery of new issues - one is
> reproducable when trying to build perl: miniperl crashes in a destructor
> by jumping through a NULL pointer.
> 
> Please be aware that -current is pretty unstable right now; if we can't fix
> the new fallout soon, I'll revert to gcc 4.8.5 and binutils 2.23 early
> next week (the combination of gcc 4.8 and binutils 2.26 does not work well
> when building pkgs either).

Are you linking with gold at all? The debian-sparc folks found a nasty
bug which would cause random segfaults on a lot of apps such as systemd:
https://sourceware.org/bugzilla/show_bug.cgi?id=18855. I believe the fix
is now upstream so if you are using gold then it might be worth a quick
check of your exact binutils version.


ATB,

Mark.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.