Bug 2143

Summary: buildroot compiler generates segfaulting statically linked executables
Product: buildroot Reporter: Sander in 't Hout <sander.ashwin>
Component: OtherAssignee: unassigned
Status: VERIFIED FIXED    
Severity: major CC: buildroot, sander.ashwin
Priority: P5    
Version: 2010.05   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: Target:
Build:

Description Sander in 't Hout 2010-06-28 22:13:56 UTC
Hello,

I'm using buildroot 2010.05 (also tried latest git version). The target is i586.
All buildroot's settings are default (except for the architecture).

All statically linked executables generated by the buildroot's gcc compiler immediately segfault when they start.

I tried to compile Busybox, udev and sysvinit, but they all segfault.

When compiling dynamically linked, they all run fine.

My host OS is Fedora 13 x64 with all the latest updates installed.
Comment 1 Peter Korsgaard 2010-07-06 12:23:46 UTC
It's a GCC issues (BR32219) that gets triggered by uClibc 0.9.31. It has been worked around in uClibc since the release, and I have now integrated those fixes in git (e09aa6049323)
Comment 2 Sander in 't Hout 2010-07-08 08:04:28 UTC
(In reply to comment #1)
> It's a GCC issues (BR32219) that gets triggered by uClibc 0.9.31. It has been
> worked around in uClibc since the release, and I have now integrated those
> fixes in git (e09aa6049323)

Thanks for the fix!