BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001814 [uClibc] Other major always 12-26-07 10:26 10-11-08 12:02
Reporter ashes View Status public  
Assigned To uClibc
Priority normal Resolution open  
Status assigned   Product Version
Summary 0001814: Statically linked programs crash
Description To reproduce:
Configure buildroot, choose uClibc library version, GCC version, and choose to install the native toolchain in the target filesystem. Build and chroot into the project root. Build "main(){return 0;}" with the native toolchain, link it statically, and run the ./a.out. My a.out's segmentation fault.
Additional Information I have this bug with non-buildroot toolchains going back before 0.9.29 was released. I can reproduce it with gcc-3.4, gcc-4.1, gcc-4.2, binutils-2.17, binutils-2.18, uClibc-0.9.29, and uClibc-20071225. If libc.a is built without optimization (-O0) then there's no segmentation fault.
Attached Files

- Relationships

- Notes
(0003324)
vapier
12-30-07 12:28

you need to actually describe your system. what kernel version ? what architecture ?
 
(0003344)
ashes
12-30-07 13:08

Linux-2.6.23.12, i386 Pentium4.
 
(0013284)
khem
10-11-08 12:02

I can not reproduce it on current uclibc SVN on ARM. But someone with x86 target should test it if it still happens on x86
 

- Issue History
Date Modified Username Field Change
12-26-07 10:26 ashes New Issue
12-26-07 10:26 ashes Status new => assigned
12-26-07 10:26 ashes Assigned To  => uClibc
12-30-07 12:28 vapier Note Added: 0003324
12-30-07 13:08 ashes Note Added: 0003344
10-11-08 12:02 khem Note Added: 0013284


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker