simulavr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Simulavr-devel] libtool warnings and build failure


From: Joel Sherrill
Subject: Re: [Simulavr-devel] libtool warnings and build failure
Date: Thu, 26 Mar 2009 11:38:28 -0500
User-agent: Thunderbird 2.0.0.21 (X11/20090320)

Michael N. Moran wrote:
Gents,

I tried to build the latest simulavrxx from CVS, but libtool
generates some Warnings about linking with libbfd.a and
libiberty.a.

Later, ld fails while trying to link against libbfd.a.

The sequence went like this:

./bootstrap
./configure
make

Can anyone give me a hint about resolving this?

I've attached the pertinent error text.

So this it Redhat Enterprise Linux on x86_64?

From the message, it looks like you the provided libbfd.a
wasn't compiled with -fPIC and it is everywhere else.

The most direct solution is to build your own binutils
and point to it on the configure line.  Make sure it
uses -fPIC.
uname -a
Linux boogie 2.6.22.9-91.fc7 #1 SMP Thu Sep 27 20:47:39 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux

gcc --version
gcc (GCC) 4.1.2 20070925 (Red Hat 4.1.2-27)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.



--
Joel Sherrill, Ph.D.             Director of Research & Development
address@hidden        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
  Support Available             (256) 722-9985






reply via email to

[Prev in Thread] Current Thread [Next in Thread]