https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105664
Francois-Xavier Coudert changed:
What|Removed |Added
Last reconfirmed||2023-04-21
Status
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105664
--- Comment #8 from Richard Biener ---
(In reply to Francois-Xavier Coudert from comment #7)
> So, to summarise my understanding:
>
> - the problem is not specific to darwin, I can fully reproduce on
> x86_64-linux-gnu
>
> - the problem only a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105664
--- Comment #7 from Francois-Xavier Coudert ---
So, to summarise my understanding:
- the problem is not specific to darwin, I can fully reproduce on
x86_64-linux-gnu
- the problem only arises if you configure with a --program-suffix that is
eq
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105664
--- Comment #6 from Andreas Schwab ---
Perhaps the macos mv has recently been upgraded to POSIX.1-2018. Step 2 of the
mv operation didn't exist in the 2004 edition.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105664
--- Comment #5 from Francois-Xavier Coudert ---
I can reproduce it with various combinations of configure options, with and
without bootstrap. It appears that the triggering factor is the combination of
two options:
--with-gcc-major-version-onl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105664
--- Comment #4 from Francois-Xavier Coudert ---
1. I've reproduced it on x86_64-linux, so it's not a weird macOS mv bug
2. I have reasons to think (no hard proof, though) that it's a new bug: we're
hitting it during Homebrew testing, but it was
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105664
--- Comment #3 from Andrew Pinski ---
https://pubs.opengroup.org/onlinepubs/009604599/utilities/mv.html
https://pubs.opengroup.org/onlinepubs/009604599/functions/rename.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105664
--- Comment #2 from Andrew Pinski ---
install-driver: installdirs xgcc$(exeext)
-rm -f $(DESTDIR)$(bindir)/$(GCC_INSTALL_NAME)$(exeext)
-$(INSTALL_PROGRAM) xgcc$(exeext)
$(DESTDIR)$(bindir)/$(GCC_INSTALL_NAME)$(exeext)
-i
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105664
--- Comment #1 from Francois-Xavier Coudert ---
The bug exists in 11.3.0 and 12.1.0
The part of "make install-strip" that creates the issue is the following:
if [ "gcc-11" != "aarch64-apple-darwin21-gcc-11" ]; then \
rm -