https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116730
Bug ID: 116730 Summary: `make install` fails when processing libbacktrace Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libbacktrace Assignee: unassigned at gcc dot gnu.org Reporter: himehaieto at gmail dot com CC: ian at gcc dot gnu.org Target Milestone: --- When building 14.1.0 or 14.2.0, I can get through configure and make, but make install fails when attempting to make symlinks for libbacktrace sources in the build directory. I got around the issue by commenting out the $(LN_S) line for the %.c target in x86_64-pc-linux-gnu/32/libstdc++-v3/src/libbacktrace/Makefile. I don't think that should break the resulting installation, but is obviously not a proper solution either. The relevant portion of the build log was: make[10]: Entering directory '/home/root/gcc/worktrees/14.2.0/build/votocon/x86_64-pc-linux-gnu/32/libstdc++-v3/src/libbacktrace' ln -s ../../../libbacktrace/../../../libbacktrace/../../../libbacktrace/atomic.c ../../../libbacktrace/../../../libbacktrace/atomic.c ln: failed to create symbolic link '../../../libbacktrace/../../../libbacktrace/atomic.c': File exists make: *** [Makefile:830: ../../../libbacktrace/../../../libbacktrace/atomic.c] Error 1 See below for system details and configure options. `uname -a`: Linux votocon 4.19.0-21-amd64 #1 SMP Debian 4.19.249-2 (2022-06-30) x86_64 GNU/Linux `lsb_release -a`: Distributor ID: Devuan Description: Devuan GNU/Linux 5 (daedalus) Release: 5 Codename: daedalus gcc build process: ../../configure --prefix=/opt/gcc/14.2.0 --enable-lto make make install #fails here