This is the mail archive of the binutils@sources.redhat.com 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: binutils 2.16.1 on sparc-linux: check_relocs: unhandled reloc type 0


On 8/1/05, Christian Joensson <christian.joensson@gmail.com> wrote:
> On 8/1/05, Christian Joensson <christian.joensson@gmail.com> wrote:
> > On 8/1/05, David S. Miller <davem@davemloft.net> wrote:
> > > From: Christian Joensson <christian.joensson@gmail.com>
> > > Date: Mon, 1 Aug 2005 14:24:56 +0200
> > >
> > > > I am running the gcc 4.0 branch testsuite using a local build and
> > > > install of binutils-2.16.1.
> 
> this also happens on gcc trunk... not only 4.0 branch
> 
> 
> > > > This is two (of 4) testsuite failures I get when running the testsuite
> > > > with the -m64 flag appended...
> > >  ...
> > > > Any ideas of what is wrong? If anyone is interested pls let me know
> > > > and I'll provide other details if you like...
> > >
> > > The testsuite is building 32-bit binaries.  This usually happens
> > > for the C++ tests.
> 
> ehrm, well, are you sure? I definately see a -m64 flag in the
> compilation... but, if I run the testsuite command, this is from gcc
> trunk:
> 
> /usr/local/src/trunk/objdir/gcc/xgcc --save-temps
> -B/usr/local/src/trunk/objdir/gcc/
> /usr/local/src/trunk/gcc/gcc/testsuite/gcc.dg/tls/alias-1.c    -ansi
> -pedantic-errors -fno-show-column  -lm   -m64 -o alias-1.exe
> 
> with --save-temps, they say it's a 64 bit banary... see attached files...
> 
> > > You have to make sure that the -m64 flag gets propagated to the
> > > CFLAGS used for the gcc and g++ used by the testsuite.
> > >
> >
> > oh, I thought that that happen when I run the testsuite like this:
> >
> > make -k check RUNTESTFLAGS="--target_board 'unix{-m64,}'"
> >
> > what else should I also do then?
> >

It seems that the needed relocations was taken into binutils trunk
after the creation of the 2.16 branch....
http://sourceware.org/ml/binutils/2005-04/msg00259.html

-- 
Cheers,

/ChJ


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