mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 23:25:24 +02:00
203d4dd09ba83121e447ce93ba98175b68d955f6
The recent libsanitizer update broke the Solaris/SPARC build with the native assembler: many files don't compile any longer like /usr/bin/as: "/var/tmp//ccYsT60a.s", line 5: error: unknown opcode ".set" /usr/bin/as: "/var/tmp//ccYsT60a.s", line 5: error: statement syntax /usr/bin/as: "/var/tmp//ccYsT60a.s", line 6: error: unknown opcode ".set" /usr/bin/as: "/var/tmp//ccYsT60a.s", line 6: error: statement syntax /usr/bin/as: "/var/tmp//ccYsT60a.s", line 7: error: unknown opcode ".set" /usr/bin/as: "/var/tmp//ccYsT60a.s", line 7: error: statement syntax This happens because sanitizer_common/sanitizer_redefine_builtins.h lost a local patch that guards use of .set in asm by HAVE_AS_SYM_ASSIGN. This patch restores that patch. Although the Darwin assembler accepts .set (thus HAVE_AS_SYM_ASSIGN is defined), the __APPLE__ guard is kept to guard against the link failures that prompted its upstreadm addition in LLVM commit commit cfdbbb8fcc62f75dcf0b251dfab63353f3921227 Author: Dan Blackwell <dan_blackwell@apple.com> Date: Fri Aug 15 09:13:26 2025 +0100 [sanitizer_common] Disable sanitizer_redefine_builtins on Apple platforms (#153381) even though they didn't happen in the GCC build. It also keeps the _AIX guard due to LLVM commit commit d7c6cad744bc7ed28535dc6f75629902eda559ea Author: Jake Egan <Jake.egan@ibm.com> Date: Wed Jun 11 20:22:15 2025 -0400 [sanitizer_common] Implement interception on AIX (#138606) Bootstrapped without regressions on sparc-sun-solaris2.11 with gas and as, i386-pc-solaris2.11, x86_64-pc-linux-gnu, and x86_64-apple-darwin25.1.0.
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
This directory contains the GNU Compiler Collection (GCC). The GNU Compiler Collection is free software. See the files whose names start with COPYING for copying permission. The manuals, and some of the runtime libraries, are under different terms; see the individual source files for details. The directory INSTALL contains copies of the installation information as HTML and plain text. The source of this information is gcc/doc/install.texi. The installation information includes details of what is included in the GCC sources and what files GCC installs. See the file gcc/doc/gcc.texi (together with other files that it includes) for usage and porting information. An online readable version of the manual is in the files gcc/doc/gcc.info*. See http://gcc.gnu.org/bugs/ for how to report bugs usefully. Copyright years on GCC source files may be listed using range notation, e.g., 1987-2012, indicating that every year in the range, inclusive, is a copyrightable year that could otherwise be listed individually.
Description
Languages
C++
30.8%
C
30.2%
Ada
14.4%
D
6.1%
Go
5.7%
Other
12.3%