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]

Re: [build, doc, v3] Support Sun symbol versioning in libstdc++-v3, rev. 2



On 2 Jul 2010, at 13:39, IainS wrote:


Could you please check the configure output for `whether symbol
versioning is supported'? It should be no on Darwin. Otherwise, please
have a look at libssp/config.log to see what's going on there.

bootstrap is running with 161706, do I need to apply the patch at: http://gcc.gnu.org/ml/gcc-patches/2010-07/msg00131.html

Shouldn't be necessary since Darwin has no GNU-style symbol versioning,
AFAIK.

OK. I'll let you know how it goes :)

hm, not good:
chk.o \
`echo | \
sed 's,/\([^/.]*\)\.la,/.libs/\1.a,g'` \
> ssp.map-sun || (rm -f ssp.map-sun ; exit 1)
nm: no name list
unknown nm output ___guard_setup t 110 0 at /GCC/gcc-live-trunk/ libssp/../contrib/make_sunver.pl line 69, <NM> line 4.
make[2]: *** [ssp.map-sun] Error 1


===

I look in libssp at config.log [m32 and m64] and see:

configure:4126: /GCC/gcc-4-6-trunk-build/./gcc/xgcc -B/GCC/gcc-4-6- trunk-build/./gcc/ -B/GCC/gcc-4-6-install/i686-apple-darwin9/bin/ -B/ GCC/gcc-4-
6-install/i686-apple-darwin9/lib/ -isystem /GCC/gcc-4-6-install/i686- apple-darwin9/include -isystem /GCC/gcc-4-6-install/i686-apple-darwin9/ sys-in
clude -o conftest -g -O2 -fPIC -shared -Wl,--version-script,./ conftest.map conftest.c >&5
ld: unknown option: --version-script
collect2: ld returned 1 exit status
configure:4126: $? = 1


but no other references to "symbol" that have any bearing..
so perhaps the test is not being run at all for Darwin?

Iain



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