Open ParetoOptimalDev opened 2 years ago
So I removed the --disable-shared
flags and got a different error under that:
:b pkgs.pkgsCross.aarch64-multiplatform-musl.pkgsStatic.nodejs.overrideAttrs(o: { configureFlags = [ "--shared-libuv" "--shared-libuv-libpath=/nix/store/gvg9yfmgs3c4pnn8jf6np2m3cs4g804h-libuv-static-aarch64-unknown-linux-musl-1.44.2/lib" "--shared-openssl" "--shared-openssl-libpath=/nix/store/hvf53y329lwb1jlqi5pn43vdhjsg5fa8-openssl-static-aarch64-unknown-linux-musl-1.1.1q/lib" "--shared-zlib" "--shared-zlib-libpath=/nix/store/44r499hbn00hfiamhpvvd2dyacfkn0m9-zlib-static-aarch64-unknown-linux-musl-1.2.12/lib" "--with-intl=system-icu" "--without-dtrace" "--cross-compiling" "--without-intl" "--without-snapshot" "--dest-cpu=arm64" "--enable-static" ]; })
... snip ...
> g++: error: unrecognized command-line option '-msign-return-address=all'
> make[1]: *** [tools/v8_gypfiles/v8_libplatform.host.mk:151: /build/node-v18.8.0/out/Release/obj.host/v8_libplatform/deps/v8/src/libplatform/default-foreground-task-runner.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
... snip ...
With all the resistance I'm facing I have to ask if this is supposed to work and I'm doing something wrong, or this level of resistance is expected since it's not widely used yet.
builds on latest master b63c643631665264060c9bf31849dd6566e17e8f
nix-build -A pkgsCross.aarch64-multiplatform-musl.pkgsStatic.nodejs
/nix/store/pwilbd1m05jxs2cpq6d1pgwpk9myqvg4-nodejs-static-aarch64-unknown-linux-musl-18.16.0
Steps To Reproduce
Steps to reproduce the behavior:
build
pkgs.pkgsCross.aarch64-multiplatform-musl.pkgsStatic.nodejs
Error returned is:
See build log for full reproducible example.
Build log
Additional context
Uncovered this error after fixing another one in #188296
Notify maintainers
@goibhniu @gilligan @cko @marsam @talyz
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.