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

Results for 4.3.0 20070619 (experimental) testsuite on i686-pc-linux-gnu - Mod


Note: Linked with mpfr 2.3.0-dev - See extra notes at end.
 
 
LAST_UPDATED: Tue Jun 19 09:15:17 UTC 2007 (revision 125842M)
 
  === acats tests  ===
FAIL: cd92001
FAIL: cxh1001
 
  === acats Summary ===
 
# of expected passes  2313
# of unexpected  failures 2
Native configuration is i686-pc-linux-gnu
 

=== g++ tests ===
 
Running target unix
XPASS: g++.dg/tree-ssa/ivopts-1.C scan-tree-dump-not  offset: -4B
XPASS: g++.dg/tree-ssa/ivopts-1.C scan-tree-dump-not  &x\\[5\\]
 
  === g++ Summary ===
 
# of expected passes  16199
# of unexpected  successes 2
# of expected failures  86
# of unsupported  tests  81
/opt/gcc-4_3-build-2/gcc/testsuite/g++/../../g++   version 4.3.0 20070619 
(experimental)
 

=== gcc tests ===
 
Running target unix
FAIL: gcc.c-torture/execute/20050316-2.c  execution,  -O0 
FAIL: gcc.c-torture/execute/20050316-2.c  execution,  -O1 
FAIL: gcc.c-torture/execute/20050316-2.c  execution,  -O2 
FAIL: gcc.c-torture/execute/mayalias-2.c  compilation,  -O3 -g  (internal 
compiler error)
UNRESOLVED:  gcc.c-torture/execute/mayalias-2.c execution,  -O3 -g 
FAIL:  gcc.c-torture/execute/mayalias-3.c compilation,  -O3 -g  (internal  
compiler error)
UNRESOLVED: gcc.c-torture/execute/mayalias-3.c  execution,  -O3 -g 
FAIL: gcc.dg/compat/vector-2  c_compat_x_tst.o-c_compat_y_tst.o execute 
FAIL: gcc.dg/dfp/fe-convert-1.c  execution test
FAIL: gcc.dg/dfp/fe-convert-2.c execution test
FAIL:  gcc.dg/builtin-apply4.c execution test
FAIL: gcc.dg/tree-ssa/gen-vect-11.c  scan-tree-dump-times vectorized 1 loops 1
FAIL:  gcc.dg/tree-ssa/gen-vect-11a.c scan-tree-dump-times vectorized 1 loops 
 1
XPASS: gcc.dg/tree-ssa/update-threading.c scan-tree-dump-times Invalid sum  0
FAIL: gcc.dg/vect/vect-102.c scan-tree-dump-times possible dependence  
between data-refs 1
FAIL: gcc.dg/vect/vect-103.c scan-tree-dump-times  vectorized 1 loops 1
FAIL: gcc.dg/vect/vect-103.c scan-tree-dump-times  dependence distance modulo 
vf == 0 1
XPASS: gcc.dg/vect/vect-iv-4.c  scan-tree-dump-times vectorized 1 loops 1
FAIL: gcc.target/i386/pr21291.c  (test for excess errors)
 
  === gcc Summary ===
 
# of expected passes  46090
# of unexpected  failures 15
# of unexpected successes 2
# of expected  failures  135
# of unresolved testcases 2
# of untested  testcases  35
# of unsupported  tests  310
/opt/gcc-4_3-build-2/gcc/xgcc  version 4.3.0  20070619 (experimental)
 

=== gfortran tests ===
 
Running target unix
FAIL: gfortran.dg/data_initialized_2.f90   -O  (internal compiler error)
FAIL:  gfortran.dg/data_initialized_2.f90  -O  (test for excess  errors)
FAIL: gfortran.dg/open_errors.f90  -O0  execution  test
FAIL: gfortran.dg/open_errors.f90  -O1  execution  test
FAIL: gfortran.dg/open_errors.f90  -O2  execution  test
FAIL: gfortran.dg/open_errors.f90  -O3 -fomit-frame-pointer   execution test
FAIL: gfortran.dg/open_errors.f90  -O3  -fomit-frame-pointer -funroll-loops  
execution test
FAIL:  gfortran.dg/open_errors.f90  -O3 -fomit-frame-pointer 
-funroll-all-loops  -finline-functions  execution test
FAIL:  gfortran.dg/open_errors.f90  -O3 -g  execution test
FAIL:  gfortran.dg/open_errors.f90  -Os  execution test
 
  === gfortran Summary ===
 
# of expected passes  18318
# of unexpected  failures 10
# of expected failures  8
# of unsupported  tests  16
/opt/gcc-4_3-build-2/gcc/testsuite/gfortran/../../gfortran   version 4.3.0 
20070619 (experimental)
 

=== gnat tests ===
 
Running target unix
 
  === gnat Summary ===
 
# of expected passes  236
 

=== obj-c++ tests ===
 
Running target unix
FAIL: obj-c++.dg/bitfield-1.mm (internal compiler  error)
FAIL: obj-c++.dg/bitfield-1.mm (test for excess errors)
UNRESOLVED:  obj-c++.dg/bitfield-1.mm compilation failed to produce executable
FAIL:  obj-c++.dg/comp-types-10.mm (internal compiler error)
FAIL:  obj-c++.dg/comp-types-10.mm (test for excess errors)
FAIL:  obj-c++.dg/cxx-class-1.mm (test for excess errors)
FAIL:  obj-c++.dg/cxx-ivars-2.mm execution test
FAIL: obj-c++.dg/encode-2.mm  scan-assembler {Vec<float>=ffi}
FAIL: obj-c++.dg/encode-2.mm  scan-assembler {Vec<double>=ddi}
FAIL: obj-c++.dg/encode-3.mm execution  test
FAIL: obj-c++.dg/encode-8.mm execution test
FAIL:  obj-c++.dg/gnu-runtime-2.mm (test for excess errors)
FAIL:  obj-c++.dg/isa-field-1.mm (test for excess errors)
FAIL:  obj-c++.dg/lookup-2.mm (test for excess errors)
UNRESOLVED:  obj-c++.dg/lookup-2.mm compilation failed to produce executable
FAIL:  obj-c++.dg/try-catch-2.mm (test for excess errors)
UNRESOLVED:  obj-c++.dg/try-catch-2.mm compilation failed to produce 
executable
FAIL:  obj-c++.dg/try-catch-9.mm (internal compiler error)
FAIL:  obj-c++.dg/try-catch-9.mm (test for excess errors)
UNRESOLVED:  obj-c++.dg/try-catch-9.mm compilation failed to produce 
executable
 
  === obj-c++ Summary ===
 
# of expected passes  421
# of unexpected  failures 16
# of unresolved testcases 4
# of unsupported  tests  13
/opt/gcc-4_3-build-2/gcc/testsuite/obj-c++/../../g++   version 4.3.0 20070619 
(experimental)
 

=== objc tests ===
 
Running target unix
 
  === objc Summary ===
 
# of expected passes  1812
# of expected  failures  7
# of unsupported  tests  24
/opt/gcc-4_3-build-2/gcc/xgcc  version 4.3.0  20070619 (experimental)
 

=== libffi tests ===
 
Running target unix
 
  === libffi Summary ===
 
# of expected passes  1096
# of unsupported  tests  8
 

=== libgomp tests ===
 
Running target unix
 
  === libgomp Summary ===
 
# of expected passes  1566
 

=== libjava tests ===
 
Running target unix
WARNING: program timed out.
FAIL:  getlocalvartable run
 
  === libjava Summary ===
 
# of expected passes  2537
# of unexpected  failures 1
# of untested testcases  1
 

=== libmudflap tests ===
 
Running target unix
FAIL: libmudflap.c++/pass41-frag.cxx execution  test
FAIL: libmudflap.c++/pass41-frag.cxx (-static) execution test
FAIL:  libmudflap.c++/pass41-frag.cxx ( -O) execution test
FAIL:  libmudflap.c++/pass41-frag.cxx (-O2) execution test
FAIL:  libmudflap.c++/pass41-frag.cxx (-O3) execution test
 
  === libmudflap Summary ===
 
# of expected passes  1985
# of unexpected  failures 5
 

=== libstdc++ tests ===
 
Running target unix
FAIL: abi_check
FAIL:  23_containers/deque/modifiers/swap/2.cc execution test
FAIL:  23_containers/deque/modifiers/swap/3.cc execution test
FAIL:  23_containers/deque/requirements/explicit_instantiation/3.cc (test for 
excess  errors)
FAIL: 23_containers/list/modifiers/swap/2.cc execution test
FAIL:  23_containers/list/modifiers/swap/3.cc execution test
FAIL:  23_containers/list/operators/5.cc execution test
FAIL:  23_containers/list/requirements/explicit_instantiation/3.cc (test for 
excess  errors)
FAIL: 23_containers/map/modifiers/swap/2.cc execution test
FAIL:  23_containers/map/modifiers/swap/3.cc execution test
FAIL:  23_containers/map/requirements/explicit_instantiation/3.cc (test for 
excess  errors)
FAIL: 23_containers/multimap/modifiers/swap/2.cc execution  test
FAIL: 23_containers/multimap/modifiers/swap/3.cc execution test
FAIL:  23_containers/multimap/requirements/explicit_instantiation/3.cc (test 
for excess  errors)
FAIL: 23_containers/multiset/modifiers/swap/2.cc execution  test
FAIL: 23_containers/multiset/modifiers/swap/3.cc execution test
FAIL:  23_containers/multiset/requirements/explicit_instantiation/3.cc (test 
for excess  errors)
FAIL: 23_containers/set/modifiers/swap/2.cc execution test
FAIL:  23_containers/set/modifiers/swap/3.cc execution test
FAIL:  23_containers/set/requirements/explicit_instantiation/3.cc (test for 
excess  errors)
FAIL: 23_containers/vector/bool/modifiers/swap/1.cc execution  test
FAIL: 23_containers/vector/bool/modifiers/swap/2.cc execution  test
FAIL: 23_containers/vector/modifiers/swap/2.cc execution test
FAIL:  23_containers/vector/modifiers/swap/3.cc execution test
FAIL:  23_containers/vector/requirements/explicit_instantiation/3.cc (test 
for excess  errors)
FAIL: 26_numerics/complex/13450.cc execution test
XPASS:  26_numerics/headers/cmath/c99_classification_macros_c.cc (test for 
excess  errors)
FAIL: tr1/6_containers/unordered_map/24064.cc execution test
FAIL:  tr1/6_containers/unordered_map/capacity/29134-map.cc execution test
FAIL:  tr1/6_containers/unordered_map/erase/1.cc execution test
FAIL:  tr1/6_containers/unordered_map/erase/24061-map.cc execution test
FAIL:  tr1/6_containers/unordered_map/find/map1.cc execution test
FAIL:  tr1/6_containers/unordered_map/insert/24061-map.cc execution test
FAIL:  tr1/6_containers/unordered_map/insert/array_syntax.cc execution test
FAIL:  tr1/6_containers/unordered_map/insert/map_range.cc execution test
FAIL:  tr1/6_containers/unordered_map/insert/map_single.cc execution test
FAIL:  tr1/6_containers/unordered_map/swap/1.cc execution test
FAIL:  tr1/6_containers/unordered_map/swap/2.cc execution test
FAIL:  tr1/6_containers/unordered_multimap/capacity/29134-multimap.cc 
execution  test
FAIL: tr1/6_containers/unordered_multimap/erase/1.cc execution  test
FAIL: tr1/6_containers/unordered_multimap/erase/24061-multimap.cc  execution 
test
FAIL: tr1/6_containers/unordered_multimap/find/multimap1.cc  execution test
FAIL:  tr1/6_containers/unordered_multimap/insert/24061-multimap.cc execution 
 test
FAIL: tr1/6_containers/unordered_multimap/insert/multimap_range.cc  execution 
test
FAIL:  tr1/6_containers/unordered_multimap/insert/multimap_single.cc 
execution  test
FAIL: tr1/6_containers/unordered_multimap/swap/1.cc execution  test
FAIL: tr1/6_containers/unordered_multimap/swap/2.cc execution  test
FAIL: tr1/6_containers/unordered_multiset/24054.cc execution  test
FAIL: tr1/6_containers/unordered_multiset/capacity/29134-multiset.cc  
execution test
FAIL: tr1/6_containers/unordered_multiset/erase/1.cc execution  test
FAIL: tr1/6_containers/unordered_multiset/erase/24061-multiset.cc  execution 
test
FAIL: tr1/6_containers/unordered_multiset/find/multiset1.cc  execution test
FAIL:  tr1/6_containers/unordered_multiset/insert/24061-multiset.cc execution 
 test
FAIL: tr1/6_containers/unordered_multiset/insert/multiset_range.cc  execution 
test
FAIL:  tr1/6_containers/unordered_multiset/insert/multiset_single.cc 
execution  test
FAIL: tr1/6_containers/unordered_multiset/swap/1.cc execution  test
FAIL: tr1/6_containers/unordered_multiset/swap/2.cc execution  test
FAIL: tr1/6_containers/unordered_set/23465.cc execution test
FAIL:  tr1/6_containers/unordered_set/26132.cc execution test
FAIL:  tr1/6_containers/unordered_set/capacity/29134-set.cc execution test
FAIL:  tr1/6_containers/unordered_set/erase/1.cc execution test
FAIL:  tr1/6_containers/unordered_set/erase/24061-set.cc execution test
FAIL:  tr1/6_containers/unordered_set/find/set1.cc execution test
FAIL:  tr1/6_containers/unordered_set/insert/24061-set.cc execution test
FAIL:  tr1/6_containers/unordered_set/insert/set_range.cc execution test
FAIL:  tr1/6_containers/unordered_set/insert/set_single.cc execution test
FAIL:  tr1/6_containers/unordered_set/swap/1.cc execution test
FAIL:  tr1/6_containers/unordered_set/swap/2.cc execution test
 
  === libstdc++ Summary ===
 
# of expected passes  4378
# of unexpected  failures 67
# of unexpected successes 1
# of expected  failures  42
# of unsupported tests  316
 

Compiler version: 4.3.0 20070619 (experimental) 
Platform:  i686-pc-linux-gnu
configure flags: --verbose  
--enable-languages=c,ada,c++,fortran,java,objc,obj-c++ --prefix=/usr/test  --enable-objc-gc --enable-concept-checks 
--disable-multilib  --with-gxx-include-dir=/usr/test/include/c++/4.3 
--enable-libstdcxx-debug  --enable-static --enable-shared --enable-initfini-array 
--enable-__cxa_atexit  --enable-threads=posix --enable-version-specific-runtime-libs 
--enable-libssp  --enable-libmudflap --enable-libgomp --disable-werror --enable-nls  
--with-included-gettext --enable-decimal-float --enable-debug  
--enable-java-gc=boehm --with-x --x-includes=/usr/X11R6/include  --x-libraries=/usr/X11R6/lib 
--enable-java-awt=gtk,xlib --enable-gtk-cairo  --enable-qt-peer --enable-xmlj 
--enable-gconf-peer --enable-tool-wrappers  --enable-portable-native-sync 
--enable-examples --with-dwarf2 --with-stabs  --enable-hash-synchronization 
--enable-gc-debug --enable-interpreter  --with-system-zlib --enable-libada --with-tls 
--with-tune=athlon-xp  --with-cpu=athlon-xp --with-arch=athlon-xp  
--enable-stage1-checking=assert,df,gc,misc,rtl,rtlflag,runtime,tree


----------
 
Notes:
 
During the libjava test the natgetlocalvartable.cc compilation was OK but  
the next few lines are:
 
JVMTI getlocalvartable Interpreted Test
WARNING: program timed  out.
FAIL: getlocalvartable run
UNTESTED: getlocalvartable output
 

The program was compiled using:
 
/opt/gcc-4_3-build-2/gcc/xgcc -B/opt/gcc-4_3-build-2/gcc/  
/root/downloads/gcc-4_3-trunk/libjava/testsuite/libjava.jvmti/interp/natgetlocalvartable.cc  \
-shared -fPIC -I. -I..  
-I/root/downloads/gcc-4_3-trunk/libjava/testsuite/libjava.jvmti  -I/root/downloads/gcc-4_3-trunk/libjava/testsuite/../include  \
-I/root/downloads/gcc-4_3-trunk/libjava/testsuite/../classpath/include  
-L/opt/gcc-4_3-build-2/i686-pc-linux-gnu/./libstdc++-v3/src \
-L/opt/gcc-4_3-build-2/i686-pc-linux-gnu/./libstdc++-v3/src/.libs -lstdc++   
-lm   -o libnatgetlocalvartable.so
 

I am able to "execute" ".so" files on my OS - they print version info.  If I 
try to run libnatgetlocalvartable.so I get this:
 
# ./i686-pc-linux-gnu/libjava/testsuite/libnatgetlocalvartable.so  
Segmentation fault
 
It happens immediately. The expect scripts for this part of the libjava  test 
are not correct - since they exist before the complete set of 
files is  available and attempt to run the shared library instead of some 
future SVN  included file that would link to this ".so" .
 

If I try this instead (just an added "-Ii686-pc-linux-gnu/libjava" and  
removed the ".so" to make a '".exe"') I get the same result:
 
cd /opt/gcc-4_3-build-2
 
/opt/gcc-4_3-build-2/gcc/xgcc -B/opt/gcc-4_3-build-2/gcc/  
/root/downloads/gcc-4_3-trunk/libjava/testsuite/libjava.jvmti/interp/natgetlocalvartable.cc  \
-shared -fPIC -I. -I..  
-I/root/downloads/gcc-4_3-trunk/libjava/testsuite/libjava.jvmti  -I/root/downloads/gcc-4_3-trunk/libjava/testsuite/../include \
-I/root/downloads/gcc-4_3-trunk/libjava/testsuite/../classpath/include  
-Ii686-pc-linux-gnu/libjava  
-L/opt/gcc-4_3-build-2/i686-pc-linux-gnu/./libstdc++-v3/src \
-L/opt/gcc-4_3-build-2/i686-pc-linux-gnu/./libstdc++-v3/src/.libs -lstdc++   
-lm   -o libnatgetlocalvartable
 
# ./libnatgetlocalvartable 
Segmentation fault
 

Upon examination of natgetlocalvartable.cc I can conclude that it is a  
portion of some larger set of code. This file (natgetlocalvartable.cc) 
and  the test for this file where committed to the SVN directory _without_ 
any  supporting files.
 

-----
 
The failures in the libstdc++-v3 tests executions are due to my deleting  all 
references to "-lm" from the configure and 
Makefile (in accordance with  
_http://gcc.gnu.org/gcc-4.3/changes.html#mpfropts_ (http://gcc.gnu.org/gcc-4.3/changes.html#mpfropts)   ). I left these 
reports (and the spike they 
cause) in since the configure  script / Makefile / testsuite combination is 
poor (in my opinion) but it exposes  a collect2 fault. Here is why I have such 
thoughts ;) (don't mind the "CFLAGS",  they work).
 

Test failures at:
23_containers/deque/modifiers/swap/2.cc
 
/root/downloads/gcc-4_3-trunk/libstdc++-v3/testsuite/
 
cd /opt/gcc-4_3-build-2
 
/opt/gcc-4_3-build-2/./gcc/g++ -shared-libgcc -B/opt/gcc-4_3-build-2/./gcc  
-nostdinc++ -L/opt/gcc-4_3-build-2/i686-pc-linux-gnu/libstdc++-v3/src  \
-L/opt/gcc-4_3-build-2/i686-pc-linux-gnu/libstdc++-v3/src/.libs  
-B/usr/test/i686-pc-linux-gnu/bin/ -B/usr/test/i686-pc-linux-gnu/lib/  \
-isystem /usr/test/i686-pc-linux-gnu/include -isystem  
/usr/test/i686-pc-linux-gnu/sys-include -march=athlon-xp -mfpmath=sse,387  \
-m3dnow -msse2 -msse3 -fstrict-aliasing -maccumulate-outgoing-args  
-D__NO_MATH_INLINES -fgcse-after-reload -fexpensive-optimizations \
-g  -O2 -D_GLIBCXX_ASSERT -ffunction-sections -fdata-sections 
-fmessage-length=0 -g  -O2 -march=athlon-xp -mfpmath=sse,387 -m3dnow -msse2 \
-msse3  -fstrict-aliasing -maccumulate-outgoing-args -D__NO_MATH_INLINES  
-fgcse-after-reload -fexpensive-optimizations -D_GNU_SOURCE  \
-DLOCALEDIR="." -nostdinc++  
-I/opt/gcc-4_3-build-2/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu  \
-I/opt/gcc-4_3-build-2/i686-pc-linux-gnu/libstdc++-v3/include  
-I/root/downloads/gcc-4_3-trunk/libstdc++-v3/libsupc++  \
-I/root/downloads/gcc-4_3-trunk/libstdc++-v3/include/backward  
-I/root/downloads/gcc-4_3-trunk/libstdc++-v3/testsuite/util -Wl,--gc-sections  \
/root/downloads/gcc-4_3-trunk/libstdc++-v3/testsuite/23_containers/deque/modif
iers/swap/2.cc     -include bits/stdc++.h  \
/opt/gcc-4_3-build-2/i686-pc-linux-gnu/libstdc++-v3/testsuite/libtestc++.a   
-lm   -o ./2.exe
 
# ./2.exe
./2.exe: relocation error: ./2.exe: symbol ceilf, version  GLIBCXX_3.4.3 not 
defined in file libstdc++.so.6 with link time reference
 
( _IF_ the testsuite is supposed to test for a "link time reference" of  
"ceilf" in "libstdc++.so.6" then why does it link with "-lm" ?).
 

/opt/gcc-4_3-build-2/./gcc/g++ -shared-libgcc  -B/opt/gcc-4_3-build-2/./gcc 
-nostdinc++  -L/opt/gcc-4_3-build-2/i686-pc-linux-gnu/libstdc++-v3/src  \
-L/opt/gcc-4_3-build-2/i686-pc-linux-gnu/libstdc++-v3/src/.libs  
-B/usr/test/i686-pc-linux-gnu/bin/ -B/usr/test/i686-pc-linux-gnu/lib/  \
-isystem /usr/test/i686-pc-linux-gnu/include -isystem  
/usr/test/i686-pc-linux-gnu/sys-include -march=athlon-xp -mfpmath=sse,387  \
-m3dnow -msse2 -msse3 -fstrict-aliasing -maccumulate-outgoing-args  
-D__NO_MATH_INLINES -fgcse-after-reload -fexpensive-optimizations \
-g  -O2 -D_GLIBCXX_ASSERT -ffunction-sections -fdata-sections 
-fmessage-length=0 -g  -O2 -march=athlon-xp -mfpmath=sse,387 -m3dnow -msse2 -msse3 
-fstrict-aliasing  -maccumulate-outgoing-args -D__NO_MATH_INLINES -fgcse-after-reload  
-fexpensive-optimizations -D_GNU_SOURCE \
-DLOCALEDIR="." -nostdinc++  
-I/opt/gcc-4_3-build-2/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu  \
-I/opt/gcc-4_3-build-2/i686-pc-linux-gnu/libstdc++-v3/include  
-I/root/downloads/gcc-4_3-trunk/libstdc++-v3/libsupc++  \
-I/root/downloads/gcc-4_3-trunk/libstdc++-v3/include/backward  
-I/root/downloads/gcc-4_3-trunk/libstdc++-v3/testsuite/util -Wl,--gc-sections  \
/root/downloads/gcc-4_3-trunk/libstdc++-v3/testsuite/23_containers/deque/modif
iers/swap/2.cc     -include bits/stdc++.h  \
/opt/gcc-4_3-build-2/i686-pc-linux-gnu/libstdc++-v3/testsuite/libtestc++.a   
/usr/lib/libm.a  -o ./2.exe
 
# ./2.exe
(Prints nothing)
 
When I substituted "-lm" with "/usr/lib/libm.a" it linked and ran without  
printing anything. I imagine that this is a "correct" result.
 

I also tried to substitute  
"i686-pc-linux-gnu/libstdc++-v3/libmath/.libs/stubs.o" and  "i686-pc-linux-gnu/libstdc++-v3/libmath/.libs/stubs.o"
but both gave a  "Segmentation fault" when ran; though they linked OK. Oddly, 
using  "i686-pc-linux-gnu/libstdc++-v3/libmath/stubs.o"
produced a file that  compiled without error and ran. This program 'froze' 
and hitting CTRL-C (or Z)  was needed to terminate it (it printed no errors).
 
 
 
I tried again but added a "-v" to see what was happening:
 

gcc/g++ -v ...
/opt/gcc-4_3-build-2/./gcc/as -V -Qy -o  /tmp/cc97Izt1.o /tmp/ccbG3OVd.s
GNU assembler version 2.17.50  (i686-pc-linux-gnu) using BFD version (GNU 
Binutils)  2.17.50.20070426
/opt/gcc-4_3-build-2/./gcc/collect2 --eh-frame-hdr -m  elf_i386 
-dynamic-linker /lib/ld-linux.so.2 -o ./2.exe /usr/lib/crt1.o  \
/usr/lib/crti.o /opt/gcc-4_3-build-2/./gcc/crtbegin.o  
-L/opt/gcc-4_3-build-2/i686-pc-linux-gnu/libstdc++-v3/src \
-L/opt/gcc-4_3-build-2/i686-pc-linux-gnu/libstdc++-v3/src/.libs  
-L/opt/gcc-4_3-build-2/./gcc --gc-sections \
/tmp/cc97Izt1.o  
/opt/gcc-4_3-build-2/i686-pc-linux-gnu/libstdc++-v3/testsuite/libtestc++.a  \
-lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc  
/opt/gcc-4_3-build-2/./gcc/crtend.o /usr/lib/crtn.o
 
# ./2.exe 
./2.exe: relocation error: ./2.exe: symbol ceilf, version  GLIBCXX_3.4.3 not 
defined in file libstdc++.so.6 with link time reference
 

gcc/g++ -v ...
/opt/gcc-4_3-build-2/./gcc/as -V -Qy -o  /tmp/ccffRM7x.o /tmp/ccBzEcPw.s
GNU assembler version 2.17.50  (i686-pc-linux-gnu) using BFD version (GNU 
Binutils)  2.17.50.20070426
/opt/gcc-4_3-build-2/./gcc/collect2 --eh-frame-hdr -m  elf_i386 
-dynamic-linker /lib/ld-linux.so.2 -o ./2.exe /usr/lib/crt1.o  \
/usr/lib/crti.o /opt/gcc-4_3-build-2/./gcc/crtbegin.o  
-L/opt/gcc-4_3-build-2/i686-pc-linux-gnu/libstdc++-v3/src \
-L/opt/gcc-4_3-build-2/i686-pc-linux-gnu/libstdc++-v3/src/.libs  
-L/opt/gcc-4_3-build-2/./gcc --gc-sections \
/tmp/ccffRM7x.o  
/opt/gcc-4_3-build-2/i686-pc-linux-gnu/libstdc++-v3/testsuite/libtestc++.a  \
/usr/lib/libm.a -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc  
/opt/gcc-4_3-build-2/./gcc/crtend.o /usr/lib/crtn.o
 
# ./2.exe
(prints nothing)
 

Since both collect2 commands are the same, except the second specifies  a 
path for the first "libm", it leads one to wonder where collect2 thinks it  will 
find the second "libm" (it won't).
 
The reason this error is hidden is because libstdc++.so.6 and other parts  of 
libstdc++-v3 are linked with libm - the one used in collect2 (shown above) is 
 ignored.




   


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