https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107614
Bug ID: 107614
Summary: build goes through but make install fails
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
Assignee: unassigned at gcc dot gnu.org
Reporter: felix-gcc at fefe dot de
Target Milestone: ---
I'm trying to build the current gcc git and install it to /opt/gcc so it
doesn't clash with the system gcc.
This is on x86_64 Linux. The build goes through but make install fails in
x86_64-pc-linux-gnu/libsanitizer/lsan:
/usr/bin/mkdir -p '/tmp/fefix/usr/lib64/../lib64'
/opt/diet/bin/install -c -m 644 liblsan_preinit.o
'/tmp/fefix/usr/lib64/../lib64'
/usr/bin/mkdir -p '/tmp/fefix/usr/lib64/../lib64'
/bin/sh ../libtool --mode=install /opt/diet/bin/install -c liblsan.la
'/tmp/fefix/usr/lib64/../lib64'
libtool: install: error: cannot install `liblsan.la' to a directory not ending
in /opt/gcc/lib64/../lib64
/tmp/fefix is my $DESTDIR for this make install.
gcc make install is trying to install liblsal to /usr/lib64 but libtool refuses
because that's not under /opt/gcc/lib64 where the rest of gcc goes.