Skip to contentSkip to conversation

New: buildroot compiler generates segfaulting statically linked executables

Buildroot bugzilla at busybox.net 1 participant 3 messages Jun 28, 2010 – Jul 8, 2010

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=2143

Summary: buildroot compiler generates segfaulting statically
linked executables
Product: buildroot
Version: 2010.05
Platform: PC
OS/Version: Linux
Status: NEW
Severity: major
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: sander.ashwin at live.nl
CC: buildroot at uclibc.org
Estimated Hours: 0.0

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.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 2143] buildroot compiler generates segfaulting statically linked executables

https://bugs.busybox.net/show_bug.cgi?id=2143

Peter Korsgaard <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Peter Korsgaard <[email protected]> ---
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)

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#2 lore raw

[Buildroot] [Bug 2143] buildroot compiler generates segfaulting statically linked executables

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=2143

Sander in 't Hout <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |VERIFIED

--- Comment #2 from Sander in 't Hout <[email protected]> --- (In reply to comment #1)

Quoted 3 lines

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!

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.