Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118549 - glibc cxa_atexit ordering patch
Summary: glibc cxa_atexit ordering patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL: http://sources.redhat.com/bugzilla/sh...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-10 09:46 UTC by Zak Kipling
Modified: 2006-01-10 17:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zak Kipling 2006-01-10 09:46:32 UTC
There is a bug (http://sources.redhat.com/bugzilla/show_bug.cgi?id=1158) in how glibc 2.3.x orders functions registered with cxa_atexit across DSOs.

This has been fixed upstream, but only on the CVS trunk, which I assume will (eventually) become glibc 2.4:

http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/stdlib/cxa_atexit.c.diff?r1=1.5&r2=1.6&cvsroot=glibc

Could this patch be considered for inclusion in the 2.3.x patchset? (I'm using it locally without any problems, and it fixes a number of segfault-on-program-termination issues in a local application that makes heavy use of C++ function-scope statics in DSOs loaded with dlopen).
Comment 1 SpanKY gentoo-dev 2006-01-10 17:15:23 UTC
thanks, ive added it to our 2.3.5 and 2.3.6 patchsets and it'll be in the next versions we put out