This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: ./libtool: line 1514: cd: ../libiberty/pic: No such file ordirectory
- From: Andreas Schwab <schwab at suse dot de>
- To: binutils <binutils at sources dot redhat dot com>
- Cc: David Edelsohn <dje at watson dot ibm dot com>, gcc-patches at gcc dot gnu dot org
- Date: Sun, 12 Dec 2004 16:43:38 +0100
- Subject: Re: ./libtool: line 1514: cd: ../libiberty/pic: No such file ordirectory
- References: <20041210111100.GA25427@fw.j-son.org> <200412082011.iB8KB9D29368@makai.watson.ibm.com>
Christian Joensson <christian@j-son.org> writes:
> When I try to build binutils cvs source as of the above date, I get this
> problem:
>
> echo $f > tofiles
> /bin/sh /usr/local/src/trunk/src/bfd/../move-if-change tofiles ofiles
> touch stamp-ofiles
> /bin/sh ./libtool --mode=link gcc4 -W -Wall -Wstrict-prototypes
> -Wmissing-prototypes -g -O2 -o libbfd.la -rpath /usr/local/lib
> -release 2.15.94 archive.lo archures.lo bfd.lo bfdio.lo bfdwin.lo
> cache.lo coffgen.lo corefile.lo format.lo init.lo libbfd.lo opncls.lo
> reloc.lo section.lo syms.lo targets.lo hash.lo linker.lo srec.lo
> binary.lo tekhex.lo ihex.lo stabs.lo stab-syms.lo merge.lo dwarf2.lo
> simple.lo archive64.lo `cat ofiles` -L../libiberty/pic -liberty
> ./libtool: line 1514: cd: ../libiberty/pic: No such file or directory
> libtool: link: cannot determine absolute directory name of
> `../libiberty/pic'
> make[3]: *** [libbfd.la] Error 1
> make[3]: Leaving directory `/usr/local/src/trunk/objdir-binutils32/bfd'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/src/trunk/objdir-binutils32/bfd'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/usr/local/src/trunk/objdir-binutils32/bfd'
> make: *** [all-bfd] Error 2
>
> Anyone else seen this?
This is due to this patch:
<http://gcc.gnu.org/ml/gcc-patches/2004-12/msg00623.html>. The problem is
that nothing sets PICFLAG at toplevel.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."