You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the given makefile for srv-shared, I cannot seem to build past CV8, in particular the ICU4C submodule, on the node/server, despite my best efforts. I seem to be able to build the submodule directly (cding into the directory, then make), but it fails when trying to build from the srv-shared makefile. Make keeps giving me an error that the C Compiler doesn't work, but I've tested gcc and clang with multiple other projects, and it seems to work fine, not to mention that all the other submodules seem to build without issue as well.
Device information:
Device: Microsoft Surface 3 (Intel Atom x7-8700, 2GB RAM)
OS: Ubuntu 20.10
Repo Version: Most Current
Pretty much every up-to-date C-Compiler available in Apt installed, with Multilib
Additional context
Console Output:
make -j $(nproc)
cd out-lnx/x86_64/./cv8/icu/icu4c/ && /home/taiya/orchid/srv-shared/cv8/icu/icu4c/configure --host=x86_64-linux-gnu --prefix=/home/taiya/orchid/srv-shared/out-lnx/x86_64/usr
CC="clang " CFLAGS="-gfull -Os -fdebug-prefix-map=./= -fdebug-prefix-map=/home/taiya/orchid/srv-shared=. -fdata-sections -ffunction-sections -fvisibility=hidden -fPIC -D_LIBCPP_DISABLE_AVAILABILITY -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -DCHROMIUM_ZLIB_NO_CHROMECONF" CXX="clang++ " CXXFLAGS="-gfull -Os -fdebug-prefix-map=./= -fdebug-prefix-map=/home/taiya/orchid/srv-shared=. -fdata-sections -ffunction-sections -fvisibility=hidden -fPIC -D_LIBCPP_DISABLE_AVAILABILITY -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -DCHROMIUM_ZLIB_NO_CHROMECONF -nostdinc++ -isystem /home/taiya/orchid/srv-shared/./env/libcxx/include -isystem /home/taiya/orchid/srv-shared/./env/libcxxabi/include"
RANLIB="ranlib" AR="ar" PKG_CONFIG="/home/taiya/orchid/srv-shared/env/pkg-config"
CPPFLAGS=""
LDFLAGS="-fuse-ld=lld "
--enable-static --disable-shared --with-cross-build=/home/taiya/orchid/srv-shared/out-lnx/icu4c SHELL=/bin/bash
checking for ICU version numbers... release 68.2, library 68.2, unicode version 13.0
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking whether to build debug libraries... no
checking whether to build release libraries... yes
checking for x86_64-linux-gnu-clang... clang
checking whether the C compiler works... no
configure: error: in /home/taiya/orchid/srv-shared/out-lnx/x86_64/cv8/icu/icu4c': configure: error: C compiler cannot create executables See config.log' for more details
make: *** [env/output.mk:96: out-lnx/x86_64/./cv8/icu/icu4c/Makefile] Error 77
config.log output:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by ICU configure 68.2, which was
generated by GNU Autoconf 2.69. Invocation command line was
clang: error: invalid linker name in argument '-fuse-ld=lld'
You need to install lld. If you look in env/setup-lnx.sh you can see all the things our GitHub Ubuntu 20.04 CI installs to make the build work (which includes lld).
Using the given makefile for srv-shared, I cannot seem to build past CV8, in particular the ICU4C submodule, on the node/server, despite my best efforts. I seem to be able to build the submodule directly (cding into the directory, then make), but it fails when trying to build from the srv-shared makefile. Make keeps giving me an error that the C Compiler doesn't work, but I've tested gcc and clang with multiple other projects, and it seems to work fine, not to mention that all the other submodules seem to build without issue as well.
Device information:
Additional context
Console Output:
config.log output:
The text was updated successfully, but these errors were encountered: