This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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]

Re: [PATCH] ld-elfvsb FAILs on powerpc64


On Tue, Dec 05, 2006 at 08:28:58AM +1030, Alan Modra wrote:
> On Mon, Dec 04, 2006 at 06:29:27PM +0100, Andreas Schwab wrote:
> > The following tests always fail on powerpc64:
> > 
> > FAIL: visibility (hidden_normal) (non PIC)
> > FAIL: visibility (hidden_normal) (non PIC, load offset)
> > FAIL: visibility (hidden_normal) (PIC main, non PIC so)
> > FAIL: visibility (hidden_weak) (non PIC)
> > FAIL: visibility (hidden_weak) (non PIC, load offset)
> > FAIL: visibility (hidden_weak) (PIC main, non PIC so)
> > FAIL: visibility (protected) (non PIC)
> > FAIL: visibility (protected) (non PIC, load offset)
> > FAIL: visibility (protected) (PIC main, non PIC so)
> > FAIL: visibility (protected_undef_def) (non PIC)
> > FAIL: visibility (protected_undef_def) (non PIC, load offset)
> > FAIL: visibility (protected_undef_def) (PIC main, non PIC so)
> > FAIL: visibility (protected_weak) (non PIC)
> > FAIL: visibility (protected_weak) (non PIC, load offset)
> > FAIL: visibility (protected_weak) (PIC main, non PIC so)
> > FAIL: visibility (normal) (non PIC)
> > FAIL: visibility (normal) (non PIC, load offset)
> > FAIL: visibility (normal) (PIC main, non PIC so)
> 
> Huh?  They don't fail for me.  To test ppc64, I configure using
> 
> CC=powerpc64-linux-gcc CXX=powerpc64-linux-g++ CFLAGS="-g -O" CXXFLAGS="-g -O" /src/binutils-current/configure --prefix=/usr/local --build=powerpc64-linux --host=powerpc64-linux --target=powerpc64-linux --disable-nls --enable-targets=powerpc-linux
> 
> (A normal powerpc binutils wouldn't use this configuration.  You'd
> instead configure for --target=powerpc-linux
> --enable-targets=powerpc64-linux, but that runs the testsuite for
> ppc32 unless you mess around with dejagnu.)

See
http://sources.redhat.com/ml/binutils/2004-08/msg00016.html
http://sources.redhat.com/ml/binutils/2004-08/msg00030.html
I'm using that patch ever since and haven't seen those failures anymore.

	Jakub


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