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

IainS developer@sandoe-acoustics.co.uk
Fri Jul 2 12:53:00 GMT 2010


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




More information about the Gcc-patches mailing list