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

Re: Can't build gcc version 4.2.0 20060311 (experimental) on sparc/sparc64 linux


From: "Christian Joensson" <christian.joensson@gmail.com>
Date: Thu, 23 Mar 2006 09:25:43 +0100

> On 3/23/06, David S. Miller <davem@davemloft.net> wrote:
> > From: "Christian Joensson" <christian.joensson@gmail.com>
> > Date: Thu, 23 Mar 2006 09:05:54 +0100
> >
> > > The problem is this:
> > >
> > > file .libs/barrier.o
> > > .libs/barrier.o: ELF 32-bit MSB relocatable, SPARC32PLUS, V8+
> > > Required, version 1 (SYSV), not stripped
> > >
> > > shouldn't this be ELF 32-bit MSB executable, SPARC, version 1 (SYSV)?
> >
> > Not if .libc/barrier.o was build -fPIC or -fpic, which it seems
> > as if it was.
> 
> sorry, I should have written "shouldn't this be ELF 32-bit MSB
> relocatable, SPARC, version 1 (SYSV)?"...

Your gcc is building v8plus binaries by default aparently.
Is the "SPARC32PLUS, V8+ Required" the part you're concerned
about?  That's completely normal and won't have any influence
on relocations.

Why not disassemble .libs/barrier.o and see what relocation
in there binutils is choking on?  It might shed some light.


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