BSD test of ABI checker code
Loren James Rittle
rittle@latour.rsch.comm.mot.com
Tue Aug 20 15:59:00 GMT 2002
> I have not added Phil's work to my automatic tester yet. I will get
> to it tonight.
OK, I have not tested Phil's idea yet but here are my results for
Benjamin's work on BSD (full glory of command sequence that "works"
ignoring extra commands I made have tried):
gzip -d <../abi_checker.tar.gz |tar xf -
/usr/local/bin/g++ abi_check.cc
a.out
[I see same results that Benjamin posted]
mv 3.2_symbols.txt 3.2_symbols.txt-linux
mv 3.3_symbols.txt 3.3_symbols.txt-linux
cp /usr/local/lib/libstdc++.so.5 libstdc++.so.5.0.0
cp /usr/local/beta-gcc/lib/libstdc++.so.5 libstdc++.so.5.0.1
PATH=/usr/local/beta-gcc/bin:$PATH
bash ./extract_symbols-3.2.sh
bash ./extract_symbols-3.3.sh
mv 3.2_symbols-2.txt 3.2_symbols.txt
a.out
0 added symbols:
3 missing symbols:
_ZNSt24__default_alloc_templateILb1ELi0EE10reallocateEPvjj
_ZSt24__uninitialized_copy_auxIN9__gnu_cxx17__normal_iteratorIPKSsSt6vectorISsSaISsEEEEPSsET0_T_SA_S9_12__false_type
_ZSt26__uninitialized_fill_n_auxIPSsjSsET_S1_T0_RKT1_12__false_type
0 incompatible symbols:
Without the explicit `mv 3.2_symbols-2.txt 3.2_symbols.txt', I
received no error that file, 3.2_symbols.txt, could not be opened and
~2000 missing symbols were detected...
Of course, I moved the Linux baseline out of the way since we don't
export wchar symbols, etc and as predicted there are some trivial size
differences related to standard typedefs, etc.
FYI, on FreeBSD, we don't install libstdc++.5.X.Y only libstdc++.5.
Regards,
Loren
More information about the Libstdc++
mailing list