This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Patch] disable __cxa_atexit when unsupported


Hello,

this patchlet to configure checks whether __cxa_atexit
is supported before allowing it to be enabled. If you
don't explicitly enable it, there's no change compared
to current behavior. If you do enable it however, it
does a basic check to see whether the functionality is
supported. This fixes the problem reported in
bootstrap/9249 where somebody built the compile with
__cxa_atexit on a system that didn't support it, and
got a broken build halfway through. Tested on
i686-linux, sparc-solaris and ppc-darwin by visual
inspection of auto-host.h. Please apply to
3.4-branch/mainline if okay. Thanks,

Dara

__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

Attachment: 9249-2.patch
Description: 9249-2.patch


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]