This is the mail archive of the gcc@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]

libstdc++, -m64 and can't find atom for N_GSYM stabs


Geoff,
   It appears that this issue with the ld64 link issuing warnings of
"can't find atom for N_GSYM stabs" is not specific to gfortran. I finally
figured out the correct syntax to run a complete make check so that the
libraries as well as gcc are checked. FYI, the trick is to use the
equal sign after the --target-board option...

make -k check RUNTESTFLAGS='--target_board="unix{,-m64}"'

I noticed that I had 2 unexpected failures in the libstdc++ testsuite
at -m32 but 54 unexpected failures in the libstdc++ testsuite at -m64
almost all of which were of the 'test for excess errors' type. Sure
enough if you examine them you these are identical to those in the
-m64 libgfortran build...

Executing on host: /sw/src/fink.build/gcc4-4.1.999-20060825/darwin_objdir/./gcc/g++ -shared-libgcc -B/sw/src/fink.build/gcc4-4.1.999-20060825/darwin_objdir/./gcc -nostdinc++ -L/sw/src/f
ink.build/gcc4-4.1.999-20060825/darwin_objdir/powerpc-apple-darwin8/ppc64/libstdc++-v3/src -L/sw/src/fink.build/gcc4-4.1.999-20060825/darwin_objdir/powerpc-apple-darwin8/ppc64/libstdc++
-v3/src/.libs -B/sw/lib/gcc4/powerpc-apple-darwin8/bin/ -B/sw/lib/gcc4/powerpc-apple-darwin8/lib/ -isystem /sw/lib/gcc4/powerpc-apple-darwin8/include -isystem /sw/lib/gcc4/powerpc-apple
-darwin8/sys-include -m64 -g -O2 -D_GLIBCXX_ASSERT -ffunction-sections -fdata-sections -fmessage-length=0 -g -O2 -DLOCALEDIR="." -nostdinc++ -I/sw/src/fink.build/gcc4-4.1.999-20060825/d
arwin_objdir/powerpc-apple-darwin8/ppc64/libstdc++-v3/include/powerpc-apple-darwin8 -I/sw/src/fink.build/gcc4-4.1.999-20060825/darwin_objdir/powerpc-apple-darwin8/ppc64/libstdc++-v3/inc
lude -I/sw/src/fink.build/gcc4-4.1.999-20060825/gcc-4.2-20060825/libstdc++-v3/libsupc++ -I/sw/src/fink.build/gcc4-4.1.999-20060825/gcc-4.2-20060825/libstdc++-v3/include/backward -I/sw/s
rc/fink.build/gcc4-4.1.999-20060825/gcc-4.2-20060825/libstdc++-v3/testsuite/util testsuite_abi.o testsuite_allocator.o testsuite_character.o testsuite_hooks.o twister_rand_gen.o verifie
d_cmd_line_input.o prog_bar.o dbg_ex_allocator_base.o elapsed_timer.o /sw/src/fink.build/gcc4-4.1.999-20060825/gcc-4.2-20060825/libstdc++-v3/testsuite/23_containers/deque/modifiers/swap
/2.cc    -multiply_defined suppress -include bits/stdtr1c++.h  -lm   -m64 -o ./2.exe    (timeout = 600)
can't find atom for N_GSYM stabs alloc_map:G(0,60) in /var/tmp//ccauYkmP.o
output is:
can't find atom for N_GSYM stabs alloc_map:G(0,60) in /var/tmp//ccauYkmP.o

FAIL: 23_containers/deque/modifiers/swap/2.cc (test for excess errors)

So I think the linker guys really should look into this as c++ IS a core langauge for Apple.
            FYI
               Jack


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