Running "make check-g++" for GCC 4.0.0 fails any tests that need to
link on powerpc-apple-darwin7.9.0, with error messages such as:
/usr/bin/ld: warning suggest use of -bind_at_load, as lazy binding may
result in
errors or different symbols being used
symbol _tanl used from dynamic library
/Volumes/scratch/dgregor/gcc-concepts-con
fig/powerpc-apple-darwin7.9.0/./libstdc++-v3/src/.libs/
libstdc++.dylib(single mo
dule) not from earlier dynamic library
/usr/lib/libSystem.B.dylib(ld64.o)
We've seen these before on powerpc-apple-darwin7.x.0 (x < 9), but they
were always fixed by updating cctools to something > cctools-495. I'm
using cctools-576. The same problem occurs with mainline GCC (4.1.0).
Does anyone know how this can be fixed?
Doug
Test Run By dgregor on Tue Jun 21 22:45:40 2005
Native configuration is powerpc-apple-darwin7.9.0
=== g++ tests ===
Schedule of variations:
unix
Running target unix
Using /u/dgregor/share/dejagnu/baseboards/unix.exp as board description
file for
target.
Using /u/dgregor/share/dejagnu/config/unix.exp as generic interface
file for tar
get.
Using /u/dgregor/Projects/hlo/gcc/gcc/testsuite/config/default.exp as
tool-and-t
arget-specific interface file.
Running
/u/dgregor/Projects/hlo/gcc/gcc/testsuite/g++.dg/bprob/bprob.exp ...
set_ld_library_path_env_vars:
ld_library_path=.:/Volumes/scratch/dgregor/gcc-con
cepts-config/powerpc-apple-darwin7.9.0/./libstdc++-v3/src/.libs:/
Volumes/scratch
/dgregor/gcc-concepts-config/gcc
ALWAYS_CXXFLAGS set to {additional_flags=-nostdinc++
-I/Volumes/scratch/dgregor/
gcc-concepts-config/powerpc-apple-darwin7.9.0/libstdc++-v3/include/
powerpc-apple
-darwin7.9.0
-I/Volumes/scratch/dgregor/gcc-concepts-config/powerpc-apple-darwin
7.9.0/libstdc++-v3/include
-I/u/dgregor/Projects/hlo/gcc/libstdc++-v3/libsupc++
-I/u/dgregor/Projects/hlo/gcc/libstdc++-v3/include/backward
-I/u/dgregor/Project
s/hlo/gcc/libstdc++-v3/testsuite} {ldflags=
-L/Volumes/scratch/dgregor/gcc-conce
pts-config/powerpc-apple-darwin7.9.0/./libstdc++-v3/src/.libs
-L/Volumes/scratch
/dgregor/gcc-concepts-config/powerpc-apple-darwin7.9.0/./libiberty }
additional_
flags=-fmessage-length=0 {ldflags=-multiply_defined suppress}
Executing on host:
/Volumes/scratch/dgregor/gcc-concepts-config/gcc/testsuite/..
/g++ -B/Volumes/scratch/dgregor/gcc-concepts-config/gcc/testsuite/../
/u/dgregor
/Projects/hlo/gcc/gcc/testsuite/g++.dg/bprob/g++-bprob-1.C -nostdinc++
-I/Volum
es/scratch/dgregor/gcc-concepts-config/powerpc-apple-darwin7.9.0/
libstdc++-v3/in
clude/powerpc-apple-darwin7.9.0
-I/Volumes/scratch/dgregor/gcc-concepts-config/p
owerpc-apple-darwin7.9.0/libstdc++-v3/include
-I/u/dgregor/Projects/hlo/gcc/libs
tdc++-v3/libsupc++
-I/u/dgregor/Projects/hlo/gcc/libstdc++-v3/include/backward -
I/u/dgregor/Projects/hlo/gcc/libstdc++-v3/testsuite -fmessage-length=0
-g -fpr
ofile-arcs
-L/Volumes/scratch/dgregor/gcc-concepts-config/powerpc-apple-darwi
n7.9.0/./libstdc++-v3/src/.libs
-L/Volumes/scratch/dgregor/gcc-concepts-config/p
owerpc-apple-darwin7.9.0/./libiberty -multiply_defined suppress -lm
-o /Volum
es/scratch/dgregor/gcc-concepts-config/gcc/testsuite/g++-bprob-1.x01
(timeout
= 300)
/usr/bin/ld: warning suggest use of -bind_at_load, as lazy binding may
result in
errors or different symbols being used
symbol _tanl used from dynamic library
/Volumes/scratch/dgregor/gcc-concepts-con
fig/powerpc-apple-darwin7.9.0/./libstdc++-v3/src/.libs/
libstdc++.dylib(single mo
dule) not from earlier dynamic library
/usr/lib/libSystem.B.dylib(ld64.o)
symbol _tanhl used from dynamic library
/Volumes/scratch/dgregor/gcc-concepts-co
nfig/powerpc-apple-darwin7.9.0/./libstdc++-v3/src/.libs/
libstdc++.dylib(single m
odule) not from earlier dynamic library
/usr/lib/libSystem.B.dylib(ld64.o)
symbol _sqrtl used from dynamic library
/Volumes/scratch/dgregor/gcc-concepts-co
nfig/powerpc-apple-darwin7.9.0/./libstdc++-v3/src/.libs/
libstdc++.dylib(single m
odule) not from earlier dynamic library
/usr/lib/libSystem.B.dylib(ld64.o)