From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E7F013858419; Wed, 23 Aug 2023 08:06:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E7F013858419 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1692777962; bh=Lpp0LHlqygoWpfRbxeFv5KlRXmxJn4xJJ8pvWu9o98k=; h=From:To:Subject:Date:In-Reply-To:References:From; b=tIl4U/vKJwk7AGMPI2C1eEJnrfdv4cBjTamCNI15AzyF0jspqPNDpm0HcPO6DZ06t 3MuWiUK9FAnO9GsumCkUQVfqVslyOWz4sSyltK7A7mflt/SQFBQAGKIex3a1JUn3ZL J1cfUgGnM64d4RkDl8/opaUxsOfNLzWlnxkmGbcs= From: "etienne_lorrain at yahoo dot fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/111027] [11/12/13/14 Regression] `make install` touches the build directory; Install error "tmp-header-vars: Permission denied", build on NFS, improvement possible Date: Wed, 23 Aug 2023 08:06:00 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 13.2.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: etienne_lorrain at yahoo dot fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D111027 --- Comment #5 from etienne_lorrain at yahoo dot fr --- Hello, full recompilation from source finished (your patch included), same setup with NFS without "no_root_squash" on /home/parallella/veg, installati= on goes further but stop at: $ echo parallella | sudo -S make install .... /bin/mkdir -p '/usr/local/lib/.' /bin/sh ./libtool --mode=3Dinstall /usr/bin/install -c libcc1.la '/usr/local/lib/.' libtool: install: warning: relinking `libcc1.la' libtool: install: (cd /home/parallella/vega/gcc_build1/libcc1; /bin/sh /home/parallella/vega/gcc_build1/libcc1/libtool --tag CXX --mode=3Drelink /home/parallella/vega/gcc_build1/./gcc/xg++ -B/home/parallella/vega/gcc_build1/./gcc/ -nostdinc++ -nostdinc++ -I/home/parallella/vega/gcc_build1/armv7l-unknown-linux-gnueabihf/libstdc++= -v3/include/armv7l-unknown-linux-gnueabihf -I/home/parallella/vega/gcc_build1/armv7l-unknown-linux-gnueabihf/libstdc++= -v3/include -I/home/parallella/vega/gcc-13.2.0/libstdc++-v3/libsupc++ -I/home/parallella/vega/gcc-13.2.0/libstdc++-v3/include/backward -I/home/parallella/vega/gcc-13.2.0/libstdc++-v3/testsuite/util -L/home/parallella/vega/gcc_build1/armv7l-unknown-linux-gnueabihf/libstdc++= -v3/src -L/home/parallella/vega/gcc_build1/armv7l-unknown-linux-gnueabihf/libstdc++= -v3/src/.libs -L/home/parallella/vega/gcc_build1/armv7l-unknown-linux-gnueabihf/libstdc++= -v3/libsupc++/.libs -B/home/parallella/vega/gcc_build1/armv7l-unknown-linux-gnueabihf/libstdc++= -v3/src/.libs -B/home/parallella/vega/gcc_build1/armv7l-unknown-linux-gnueabihf/libstdc++= -v3/libsupc++/.libs -B/usr/local/armv7l-unknown-linux-gnueabihf/bin/ -B/usr/local/armv7l-unknown-linux-gnueabihf/lib/ -isystem /usr/local/armv7l-unknown-linux-gnueabihf/include -isystem /usr/local/armv7l-unknown-linux-gnueabihf/sys-include -W -Wall -fvisibility=3Dhidden -g -O2 -D_GNU_SOURCE -module -export-symbols ../../gcc-13.2.0/libcc1/libcc1.sym -Xcompiler -static-libstdc++ -Xcompiler -static-libgcc -o libcc1.la -rpath /usr/local/lib/. findcomp.lo libcc1.lo libcp1.lo compiler.lo names.lo callbacks.lo connection.lo marshall.lo -Wc,../libiberty/pic/libiberty.a ) mv: cannot move 'libcc1.so.0.0.0' to 'libcc1.so.0.0.0U': Permission denied libtool: install: error: relink `libcc1.la' with the above command before installing it Makefile:497: recipe for target 'install-cc1libLTLIBRARIES' failed make[3]: *** [install-cc1libLTLIBRARIES] Error 1 make[3]: Leaving directory '/home/parallella/vega/gcc_build1/libcc1' Makefile:694: recipe for target 'install-am' failed make[2]: *** [install-am] Error 2 make[2]: Leaving directory '/home/parallella/vega/gcc_build1/libcc1' Makefile:20708: recipe for target 'install-libcc1' failed make[1]: *** [install-libcc1] Error 2 make[1]: Leaving directory '/home/parallella/vega/gcc_build1' Makefile:2632: recipe for target 'install' failed make: *** [install] Error 2 I am keeping the setup ready for more patch in case it is needed, if your h= ave another change to try...=