public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* [4.0.0] "make check-g++" fails linking tests on powerpc-apple-darwin7.9.0
@ 2005-06-22  3:52 Douglas Gregor
  2005-06-22  3:57 ` Andrew Pinski
  0 siblings, 1 reply; 2+ messages in thread
From: Douglas Gregor @ 2005-06-22  3:52 UTC (permalink / raw)
  To: gcc

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)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [4.0.0] "make check-g++" fails linking tests on powerpc-apple-darwin7.9.0
  2005-06-22  3:52 [4.0.0] "make check-g++" fails linking tests on powerpc-apple-darwin7.9.0 Douglas Gregor
@ 2005-06-22  3:57 ` Andrew Pinski
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Pinski @ 2005-06-22  3:57 UTC (permalink / raw)
  To: Douglas Gregor; +Cc: gcc


On Jun 21, 2005, at 11:53 PM, Douglas Gregor wrote:

> 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?

I did not see this before 10.3.9.  The problem is that math.h was not  
updated
for the library changes which went into 10.3.9.  There are three ways  
around this,
either downgrade to 10.3.8, fix math.h somehow, or upgrade to Tiger.  I  
have taken
the first approach, well I never updated in the first place.

This is not a bug in GCC or libstdc++ but how Apple handled the update  
which in my
mind was wrong.

Thanks,
Andrew Pinski

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-06-22  3:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-22  3:52 [4.0.0] "make check-g++" fails linking tests on powerpc-apple-darwin7.9.0 Douglas Gregor
2005-06-22  3:57 ` Andrew Pinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).