Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: macOS build fails
On Tue, 27 May 2025, Adam wrote:
This is it. Now the build goes forward, but stumbles on
And building on a Solaris host works as well.
I'll commit the proposed fix:
diff --git a/tools/gcc/Makefile b/tools/gcc/Makefile
index f073b48fb8f4..276e139c2924 100644
--- a/tools/gcc/Makefile
+++ b/tools/gcc/Makefile
@@ -95,7 +95,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=${NM:Q}
+ AR=${HOST_AR:Q} RANLIB=${HOST_RANLIB:Q} NM=${HOST_NM:Q}
CONFIGURE_ENV+= gcc_cv_libc_provides_ssp=yes \
gcc_cv_as_sparc_gotdata_op=no
pax: Cannot link file /dist/tools.aarch64/include/nbinclude/./evbarm/disklabel.h to itself
pax: Cannot link to /dist/tools.aarch64/include/nbinclude/./atari/elf_machdep.h from /dist/tools.aarch64/include/nbinclude/./mac68k/elf_machdep.h (File exists)
pax: Cannot link to /dist/tools.aarch64/include/nbinclude/./atari/elf_machdep.h from /dist/tools.aarch64/include/nbinclude/./mvme68k/elf_machdep.h (File exists)
Cleaning stale cache files Darwin-24.5.0-arm64 != none
pax: Cannot link to /dist/tools.aarch64/include/nbinclude/./next68k/elf_machdep.h from /dist/tools.aarch64/include/nbinclude/./sun3/elf_machdep.h (File exists)
pax: Cannot link to /dist/tools.aarch64/include/nbinclude/./next68k/elf_machdep.h from /dist/tools.aarch64/include/nbinclude/./x68k/elf_machdep.h (File exists)
This only fails then building with 2 or more jobs (make -j12 in my case). Single job build goes fine.
Not really sure that this is related to the tools/gcc/Makefile issue.
Home |
Main Index |
Thread Index |
Old Index