[Bug 259] New: Exceptions cannot pass through uClibc functions

bugzilla at busybox.net bugzilla at busybox.net
Tue Mar 31 06:16:55 UTC 2009


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

              Host: i386-pc-linux-uclibc
            Target: i386-pc-linux-uclibc
             Build: i386-pc-linux-uclibc
           Summary: Exceptions cannot pass through uClibc functions
           Product: uClibc
           Version: 0.9.30.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Other
        AssignedTo: unassigned at uclibc.org
        ReportedBy: michael at talamasca.ocis.net
                CC: uclibc-cvs at uclibc.org
   Estimated Hours: 0.0


Created an attachment (id=221)
 --> (https://bugs.busybox.net/attachment.cgi?id=221)
Test program

The attached test program works (exits with 0 returncode) on glibc, but aborts
on uClibc.

The problem is that the bsort module of uClibc is not compiled with
"-fexceptions", thus stack unwinding through it fails.

Compiling every relevant module with "-fexceptions" would bloat uClibc
somewhat, especially on a threaded build where the many "cancellation point"
functions would require this treatment.

However, uClibc's headers, like glibc's, make sure not to declare __attribute
((nothrow)) on the relevant functions, which suggests that pass-through is
supposed to work.


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


More information about the uClibc-cvs mailing list