bug-binutils
[Top][All Lists]
Advanced

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

[Bug libctf/27305] New: relinking libctf during install does not find li


From: eb at emlix dot com
Subject: [Bug libctf/27305] New: relinking libctf during install does not find libbfd
Date: Mon, 01 Feb 2021 10:07:28 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=27305

            Bug ID: 27305
           Summary: relinking libctf during install does not find libbfd
           Product: binutils
           Version: 2.36
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libctf
          Assignee: unassigned at sourceware dot org
          Reporter: eb at emlix dot com
  Target Milestone: ---

I'm cross-building 2.36 and get this error:

libtool: relink: powerpc-unknown-linux-gnu-gcc -shared  -fPIC -DPIC 
.libs/libctf_la-ctf-archive.o .libs/libctf_la-ctf-dump.o
.libs/libctf_la-ctf-create.o .libs/libctf_la-ctf-decl.o
.libs/libctf_la-ctf-error.o .libs/libctf_la-ctf-hash.o
.libs/libctf_la-ctf-labels.o .libs/libctf_la-ctf-dedup.o
.libs/libctf_la-ctf-link.o .libs/libctf_la-ctf-lookup.o
.libs/libctf_la-ctf-open.o .libs/libctf_la-ctf-sha1.o
.libs/libctf_la-ctf-string.o .libs/libctf_la-ctf-subr.o
.libs/libctf_la-ctf-types.o .libs/libctf_la-ctf-util.o
.libs/libctf_la-ctf-open-bfd.o   -L/opt/emlix/test/sysroot/usr/lib -lbfd
-L/tmp/e2/build/binutils-target/bfd/../libiberty/pic
-L/tmp/e2/build/binutils-target/zlib
-L/tmp/e2/build/binutils-target/libctf/../libiberty/pic -liberty -lz -ldl 
-Wl,--no-copy-dt-needed-entries -Wl,--as-needed -Wl,--build-id
-Wl,--version-script=./libctf.ver   -Wl,-soname -Wl,libctf.so.0 -o
.libs/libctf.so.0.0.0
/opt/emlix/test/lib/gcc/powerpc-unknown-linux-gnu/10.2.0/../../../../powerpc-unknown-linux-gnu/bin/ld:
cannot find -lbfd
collect2: error: ld returned 1 exit status
libtool: install: error: relink `libctf.la' with the above command before
installing it
Makefile:551: recipe for target 'install-libLTLIBRARIES' failed
make[3]: *** [install-libLTLIBRARIES] Error 1

The patch for bug 27250 is applied. The interesting part is also: before that
patch it seems to build with "-j1", but breaks with "-j10", and now it reliably
breaks every time.

The build was configured as:

./configure --build=x86_64-pc-linux-gnu --host=powerpc-unknown-linux-gnu
--target=powerpc-unknown-linux-gnu --prefix=/usr --disable-werror
--enable-deterministic-archives --disable-static --disable-nls --enable-shared
--enable-install-libiberty

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

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