[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
parallel make -j 16 install fails in 2.36
From: |
Mark Krentel |
Subject: |
parallel make -j 16 install fails in 2.36 |
Date: |
Sat, 27 Feb 2021 10:22:21 -0600 |
I think there may be some missing dependencies for libctf in binutils 2.36.
I'm finding that 'make -j 16 install' falls over.
For example with 2.36, I configure binutils with:
../binutils-2.36/configure \
prefix=/home/krentel/binutils/report/install-2.36 \
--disable-werror \
--enable-multilib \
--enable-shared \
--enable-64-bit-bfd \
--enable-targets=all \
--with-system-zlib \
--with-sysroot=/
make -j 16
The above works and 'make install works, but parallel make install
falls over:
make -j 16 install
...
libtool: relink: 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 -Wl,-rpath
-Wl,/home/krentel/binutils/report/install-2.36/lib
-L/home/krentel/binutils/report/install-2.36/lib -lbfd
-L/home/krentel/binutils/report/build-2.36/bfd/../libiberty/pic
-L/home/krentel/binutils/report/build-2.36/libctf/../libiberty/pic -liberty -lz
-ldl -Wl,--version-script=../../binutils-2.36/libctf/libctf.ver -Wl,-soname
-Wl,libctf.so.0 -o .libs/libctf.so.0.0.0
mkdir -p --
/home/krentel/binutils/report/install-2.36/share/locale/it/LC_MESSAGES
installing ../../../binutils-2.36/gprof/po/it.gmo as
/home/krentel/binutils/report/install-2.36/share/locale/it/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.36/gas/po/fi.gmo as
/home/krentel/binutils/report/install-2.36/share/locale/fi/LC_MESSAGES/gas.mo
/usr/bin/ld: cannot find -lbfd
collect2: error: ld returned 1 exit status
mkdir -p --
/home/krentel/binutils/report/install-2.36/share/locale/ja/LC_MESSAGES
libtool: install: error: relink `libctf.la' with the above command before
installing it
make[3]: *** [Makefile:552: install-libLTLIBRARIES] Error 1
make[3]: Leaving directory '/home/krentel/binutils/report/build-2.36/libctf'
make[2]: *** [Makefile:1206: install-am] Error 2
I suspect a missing dependency for libctf. Anyway, this falls over
with 2.36 and 2.36.1 but works with 2.35. For me, it generally works
at -j 4 but fails at -j 6, and always fails at -j 16. It's not
platform dependent, it fails on both x86_64 and ppc64le. It fails for
me on both RH 7.x and 8.x.
I should ask, is parallel 'make -j 16 install' supported?
This has always worked before.
I did search for 'make -j install', but I didn't find anything
relevent.
Thanks,
Mark Krentel
Rice University
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- parallel make -j 16 install fails in 2.36,
Mark Krentel <=