Skip to content

[8.0][linux-s390x] Build failure in hostpolicy #112435

Closed
@carlossanlop

Description

@carlossanlop

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=947568&view=logs&j=7ea23876-d932-5222-06a0-de72daa3cbf4
Build error leg or test failing: Build / linux-s390x Release AllSubsets_Mono / Build product
Pull request: #112381

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "hostpolicy.exports:1: syntax error clang-16: error: linker command failed with exit code 1",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
  [ 98%] Building CXX object fxr/standalone/CMakeFiles/hostfxr.dir/__/__/hostmisc/pal.unix.cpp.o
  [ 99%] Linking CXX shared library libhostpolicy.so
  /usr/local/bin/s390x-linux-gnu-ld:/__w/1/s/artifacts/obj/linux-s390x.Release/hostpolicy/standalone/hostpolicy.exports: file format not recognized; treating as linker script
  /usr/local/bin/s390x-linux-gnu-ld:/__w/1/s/artifacts/obj/linux-s390x.Release/hostpolicy/standalone/hostpolicy.exports:1: syntax error
  clang-16: error: linker command failed with exit code 1 (use -v to see invocation)
  make[2]: *** [hostpolicy/standalone/CMakeFiles/hostpolicy.dir/build.make:435: hostpolicy/standalone/libhostpolicy.so] Error 1
  make[1]: *** [CMakeFiles/Makefile2:484: hostpolicy/standalone/CMakeFiles/hostpolicy.dir/all] Error 2
  make[1]: *** Waiting for unfinished jobs....
  [100%] Linking CXX shared library libhostfxr.so
  /usr/local/bin/s390x-linux-gnu-ld:/__w/1/s/artifacts/obj/linux-s390x.Release/fxr/standalone/hostfxr.exports: file format not recognized; treating as linker script
  /usr/local/bin/s390x-linux-gnu-ld:/__w/1/s/artifacts/obj/linux-s390x.Release/fxr/standalone/hostfxr.exports:1: syntax error
  clang-16: error: linker command failed with exit code 1 (use -v to see invocation)
  make[2]: *** [fxr/standalone/CMakeFiles/hostfxr.dir/build.make:355: fxr/standalone/libhostfxr.so] Error 1
  make[1]: *** [CMakeFiles/Makefile2:405: fxr/standalone/CMakeFiles/hostfxr.dir/all] Error 2
  make: *** [Makefile:136: all] Error 2
/__w/1/s/src/native/corehost/corehost.proj(99,5): error MSB3073: The command ""/__w/1/s/src/native/corehost/build.sh" Release s390x -commithash "f6dd20266feb0ced390b11b8d2fbbc6a48f56df7" -os linux -cmakeargs "-DVERSION_FILE_PATH=/__w/1/s/artifacts/obj/_version.c" -cross -runtimeflavor Mono -outputrid linux-s390x" exited with code 2.

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=947568
Error message validated: [hostpolicy.exports:1: syntax error clang-16: error: linker command failed with exit code 1]
Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 2/11/2025 6:12:29 PM UTC

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build ErrorUse this to report build issues in the .NET Helix tabarch-s390xRelated to s390x architecture (unsupported)area-Hostblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'os-linuxLinux OS (any supported distro)

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions