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 |
|
|