Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runtime build fails for Mono ARM32 Alpine #100772

Closed
directhex opened this issue Apr 8, 2024 · 1 comment · Fixed by #100781
Closed

Runtime build fails for Mono ARM32 Alpine #100772

directhex opened this issue Apr 8, 2024 · 1 comment · Fixed by #100781
Labels
area-Infrastructure-mono in-pr There is an active PR which will close this issue when it is merged

Comments

@directhex
Copy link
Contributor

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

Copy link
Contributor

Tagging subscribers to this area: @directhex
See info in area-owners.md if you want to be subscribed.

@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Apr 8, 2024
@am11 am11 added in-pr There is an active PR which will close this issue when it is merged and removed untriaged New issue has not been triaged by the area owner labels Apr 8, 2024
@github-actions github-actions bot locked and limited conversation to collaborators May 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Infrastructure-mono in-pr There is an active PR which will close this issue when it is merged
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants