NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
re: toolchain/59706: Building on Solaris 11.4 host system broken since switch GCC 14
The following reply was made to PR toolchain/59706; it has been noted by GNATS.
From: Palle Lyckegaard <palle%freeshell.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: toolchain-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
netbsd-bugs%netbsd.org@localhost, palle%lyckegaard.dk@localhost
Subject: re: toolchain/59706: Building on Solaris 11.4 host system broken
since switch GCC 14
Date: Sun, 19 Oct 2025 18:45:28 +0000 (UTC)
On Fri, 17 Oct 2025, matthew green via gnats wrote:
> can you arrange for it to use the /usr/xpg4/bin/nm? i thought
> we knew how to do that for some things...
>
It turns out that reverting the fix introduced in toolchain/58437
(addition of NM to MAKE_ARGS) fixes the new problem after gcc14 was
enabled.
Now the correct version of nm (/usr/bin/xpg4/nm) is picked up properly.
With the following patch at least sparc, sparc64, riscv32 and riscv64
builds fine on a Solaris 11.4 system.
diff --git a/tools/gcc/Makefile b/tools/gcc/Makefile
index a03869ed4da2..3d8c9b07571a 100644
--- a/tools/gcc/Makefile
+++ b/tools/gcc/Makefile
@@ -93,7 +93,7 @@ GCC_CPPFLAGS+= -DNB_FIX_VAX_BACKEND
MAKE_ARGS= MACHINE= MAKEINFO=${TOOL_MAKEINFO:Q} \
LIBGCC= LIBGCC1= LIBGCC1_TEST= LIBGCC2= INSTALL_LIBGCC= \
EXTRA_PARTS= CPPFLAGS=${GCC_CPPFLAGS:Q} \
- AR=${HOST_AR:Q} RANLIB=${HOST_RANLIB:Q} NM=${HOST_NM:Q}
+ AR=${HOST_AR:Q} RANLIB=${HOST_RANLIB:Q}
CONFIGURE_ENV+= gcc_cv_libc_provides_ssp=yes \
gcc_cv_as_sparc_gotdata_op=no
Home |
Main Index |
Thread Index |
Old Index