[uClibc 0001163]: SIGSEGV for static linked binaries

bugs at busybox.net bugs at busybox.net
Mon Jan 15 02:03:51 UTC 2007


The following issue has been SUBMITTED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=1163 
====================================================================== 
Reported By:                netvipe
Assigned To:                uClibc
====================================================================== 
Project:                    uClibc
Issue ID:                   1163
Category:                   Stdio
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             01-14-2007 18:03 PST
Last Modified:              01-14-2007 18:03 PST
====================================================================== 
Summary:                    SIGSEGV for static linked binaries
Description: 
uclibc seems to have a problem for static linked binaries.
i try to build a static linked version of busybox for initramfs. 
the compiler shows no major problems.
an additional test always produces a SIGSEGV for all kind of busybox
binaries.
after testing version 1.3.1, 1.2.2.1, 1.1.2, 1.1.0 and the snapshot from
today, i've decided to make a simple test with something like "hello.c"
and the result is the same.

build_i686/staging_dir/bin/i686-linux-uclibc-gcc hello.c -o hello -static

execve("./hello", ["./hello"], [/* 13 vars */]) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo
...}) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo
...}) = 0
write(1, "Hello World\n", 12Hello World
)           = 12
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV (core dumped) +++

are there any known bugs for this version of uclibc?

regards

florian
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-14-07 18:03  netvipe        New Issue                                    
01-14-07 18:03  netvipe        Status                   new => assigned     
01-14-07 18:03  netvipe        Assigned To               => uClibc          
======================================================================




More information about the uClibc-cvs mailing list