Date: Fri, 13 Jun 2003 15:25:41 -0700 (PDT) From: Peter Wemm <peter@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/gnu/usr.bin/cc/cc_tools freebsd-native.h Message-ID: <200306132225.h5DMPfw0028432@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 2003/06/13 15:25:41 PDT
FreeBSD src repository
Modified files:
gnu/usr.bin/cc/cc_tools freebsd-native.h
Log:
When building a shared library, link it against libgcc_pic.a instead of the
non-PIC libgcc.a. Linking non-pic code into a shared library is not
a good thing. It happens to break amd64 at compile time, and the ppc
folks want it too. The problem is mainly with C++ code, unwind-dw2.c
in particular. Most of the other functions in libgcc.a are self
contained so most of the time it isn't a problem. The dwarf2 unwinder
is not safe though since it does make global variable references.
Reviewed by: kan
Revision Changes Path
1.22 +2 -1 src/gnu/usr.bin/cc/cc_tools/freebsd-native.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306132225.h5DMPfw0028432>
