Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

macOS build fails



I can't cross-build NetBSD-current on macOS anymore.

----
  CC       lto-plugin.lo
  GEN      liblto_plugin.la
libtool: link: /dist/tools.aarch64/bin/aarch64--netbsd-nm  .libs/lto-plugin.o   |  | /dist/pkg/bin/gsed 's/.* //' | sort | uniq > .libs/liblto_plugin.exp
./libtool: eval: line 1115: syntax error near unexpected token `|'
./libtool: eval: line 1115: `/dist/tools.aarch64/bin/aarch64--netbsd-nm  .libs/lto-plugin.o   |  | /dist/pkg/bin/gsed 's/.* //' | sort | uniq > .libs/liblto_plugin.exp'
nbgmake[2]: *** [liblto_plugin.la] Error 1
nbgmake[1]: *** [all] Error 2
nbgmake: *** [all-lto-plugin] Error 2
nbgmake: *** Waiting for unfinished jobs....
mkdir .deps
--- .build_done ---

*** Failed target: .build_done
*** In directory: /dist/src/tools/gcc
*** Failed commands:
@${:D make}(cd build && ${BUILD_COMMAND} ${ALL_TARGET})
=> @(cd build && /usr/bin/env -i gcc_cv_libc_provides_ssp=yes  gcc_cv_as_sparc_gotdata_op=no AR=ar  AWK=/dist/tools.aarch64/bin/nbawk  CC=/usr/bin/clang  CFLAGS=-O2\ -fno-stack-protector\ -O2\ -no-cpp-precomp  CONFIG_SHELL=/bin/sh  CPPFLAGS=  CXX=/usr/bin/clang++  CXXFLAGS=-O2\ -fno-stack-protector\ -std=c++11  INSTALL=/dist/tools.aarch64/bin/aarch64--netbsd-install\ -c\ -p\ -r  LDFLAGS=  LEX=/dist/tools.aarch64/bin/nblex  FLEX=/dist/tools.aarch64/bin/nblex  M4=/dist/tools.aarch64/bin/nbm4  MAKE=/dist/tools.aarch64/bin/nbgmake  PATH="/dist/tools.aarch64/bin:$PATH"  RANLIB=ranlib  YACC=/dist/tools.aarch64/bin/nbyacc MACHINE= MAKEINFO=/dist/tools.aarch64/bin/nbmakeinfo LIBGCC= LIBGCC1= LIBGCC1_TEST= LIBGCC2= INSTALL_LIBGCC= EXTRA_PARTS= CPPFLAGS=-DNETBSD_TOOLS\ -DTARGET_SYSTEM_ROOT=0\ \ -DTARGET_SYSTEM_ROOT_RELOCATABLE AR=ar RANLIB=ranlib NM=/dist/tools.aarch64/bin/aarch64--netbsd-nm BISON=true DESTDIR= INSTALL=/dist/tools.aarch64/bin/aarch64--netbsd-install\ -c\ -p\ -r V=0 /dist/tools.aarch64/bin/nbgmake -j 12 -e MACHINE= MAKEINFO=/dist/tools.aarch64/bin/nbmakeinfo  LIBGCC= LIBGCC1= LIBGCC1_TEST= LIBGCC2= INSTALL_LIBGCC=  EXTRA_PARTS= CPPFLAGS=-DNETBSD_TOOLS\ -DTARGET_SYSTEM_ROOT=0\ \ -DTARGET_SYSTEM_ROOT_RELOCATABLE  AR=ar RANLIB=ranlib NM=/dist/tools.aarch64/bin/aarch64--netbsd-nm BISON=true DESTDIR= INSTALL=/dist/tools.aarch64/bin/aarch64--netbsd-install\ -c\ -p\ -r -s V=0 all-gcc)
@if [ ! -f $@ ] || [ -n "$$(find build -type f -newer .build_done -print)" ];  then touch $@; fi
=> @if [ ! -f .build_done ] || [ -n "$(find build -type f -newer .build_done -print)" ];  then touch .build_done; fi
----


In ${OBJDIR}/tools/gcc/build/lto-plugin/libtool: $global_symbol_pipe is not set. I can manually fix that, but then:

/dist/tools.aarch64/lib/gcc/aarch64--netbsd/12.4.0/../../../../aarch64--netbsd/bin/ld: /dist/tools.aarch64/libexec/gcc/aarch64--netbsd/12.4.0/liblto_plugin.so: error loading plugin: dlsym(0x7225c880, _onload): symbol not found



My last successful build was on 12 May.

Please, help.

Kind regards,
Adam


Home | Main Index | Thread Index | Old Index