-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Closed
Labels
area-Infrastructure-monoin-prThere is an active PR which will close this issue when it is mergedThere is an active PR which will close this issue when it is merged
Description
Description
Runtime build fails for Mono ARM32 Alpine
Reproduction Steps
docker run --rm -v $(pwd):/vmr -w /vmr -e ROOTFS_DIR=/crossrootfs/arm mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner-2.0-cross-arm-alpine ./build.sh --restore --build --pack --publish --ci --configuration Release /p:CrossBuild=true --arch arm --os linux-musl /p:TargetRid=linux-musl-arm
Expected behavior
Build should complete (Mono ARM32 glibc and Mono ARM64 Alpine work, so this is a weird gap)
Actual behavior
[100%] Building C object mono/mini/CMakeFiles/mono-sgen.dir/main.c.o
[100%] Linking C executable mono-sgen
Stripping symbols from libcoreclr.so into libcoreclr.so.dbg
[100%] Built target monosgen-shared
ld.lld: error: undefined symbol: _Unwind_GetIP
>>> referenced by mini-exceptions.c:390 (/vmr/src/mono/mono/mini/mini-exceptions.c:390)
>>> mini-exceptions.c.o:(build_stack_trace) in archive libmonosgen-2.0.a
clang-16: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [mono/mini/CMakeFiles/mono-sgen.dir/build.make:218: mono/mini/mono-sgen] Error 1
make[1]: *** [CMakeFiles/Makefile2:696: mono/mini/CMakeFiles/mono-sgen.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
/vmr/src/mono/mono.proj(639,5): error MSB3073: The command "TARGET_BUILD_ARCH=arm cmake --build . --target install --config Release --parallel 16" exited with code 2.
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-Infrastructure-monoin-prThere is an active PR which will close this issue when it is mergedThere is an active PR which will close this issue when it is merged