Skip to content

Conversation

visitorckw
Copy link
Collaborator

When building with clang and RV32F enabled, linking fails with undefined references to SoftFloat functions. For example:

$ make CC=clang-18

/usr/bin/ld: /tmp/lto-llvm-28abb9.o: in function do_fmadds': emulate.c:(.text.do_fmadds+0x3c): undefined reference to f32_mulAdd'
/usr/bin/ld: /tmp/lto-llvm-28abb9.o: in function do_fadds': emulate.c:(.text.do_fadds+0x31): undefined reference to f32_add'

This happens because GNU ar cannot correctly archive objects compiled with clang. Switch to llvm-ar when CC is clang, ensuring the SoftFloat library is archived correctly and the build succeeds.

@visitorckw visitorckw marked this pull request as draft September 2, 2025 19:59
@visitorckw visitorckw force-pushed the fix-clang-build-softfloat branch 4 times, most recently from 3005f7f to bb58add Compare September 3, 2025 07:15
Ensure that llvm-ar and other LLVM tools from version 18 are available
in the PATH during CI builds. Without this, only the versioned binaries
(e.g. llvm-ar-18) are found, which can cause build failures when
unversioned tool names are expected.
When building with clang and RV32F enabled, linking fails with
undefined references to SoftFloat functions. For example:

$ make CC=clang-18

/usr/bin/ld: /tmp/lto-llvm-28abb9.o: in function `do_fmadds':
emulate.c:(.text.do_fmadds+0x3c): undefined reference to `f32_mulAdd'
/usr/bin/ld: /tmp/lto-llvm-28abb9.o: in function `do_fadds':
emulate.c:(.text.do_fadds+0x31): undefined reference to `f32_add'

This happens because GNU ar cannot correctly archive objects compiled
with clang. Switch to llvm-ar when CC is clang, ensuring the SoftFloat
library is archived correctly and the build succeeds.
@visitorckw visitorckw force-pushed the fix-clang-build-softfloat branch from bb58add to 7d2b787 Compare September 3, 2025 13:31
@visitorckw visitorckw marked this pull request as ready for review September 3, 2025 14:12
@ChinYikMing
Copy link
Collaborator

I ran make CC=clang-18 on my machine with RV32F enabled, and the build completed without errors. Could you provide more details on how to reproduce the issue on your side?

@visitorckw
Copy link
Collaborator Author

I only ran make CC=clang-18 and hit the build error.
Here is the full build log:

Prebuilt benchmark is found. Skipping downloading.
Check the file build/.config for configured items.
Prebuilt benchmark is found. Skipping downloading.
  CC    build/softfloat/s_eq128.o
  CC    build/softfloat/s_le128.o
  CC    build/softfloat/s_lt128.o
  CC    build/softfloat/s_shortShiftLeft128.o
  CC    build/softfloat/s_shortShiftRight128.o
  CC    build/softfloat/s_shortShiftRightJam64.o
  CC    build/softfloat/s_shortShiftRightJam64Extra.o
  CC    build/softfloat/s_shortShiftRightJam128.o
  CC    build/softfloat/s_shortShiftRightJam128Extra.o
  CC    build/softfloat/s_shiftRightJam32.o
  CC    build/softfloat/s_shiftRightJam64.o
  CC    build/softfloat/s_shiftRightJam64Extra.o
  CC    build/softfloat/s_shiftRightJam128.o
  CC    build/softfloat/s_shiftRightJam128Extra.o
  CC    build/softfloat/s_shiftRightJam256M.o
  CC    build/softfloat/s_countLeadingZeros8.o
  CC    build/softfloat/s_countLeadingZeros16.o
  CC    build/softfloat/s_countLeadingZeros32.o
  CC    build/softfloat/s_countLeadingZeros64.o
  CC    build/softfloat/s_add128.o
  CC    build/softfloat/s_add256M.o
  CC    build/softfloat/s_sub128.o
  CC    build/softfloat/s_sub256M.o
  CC    build/softfloat/s_mul64ByShifted32To128.o
  CC    build/softfloat/s_mul64To128.o
  CC    build/softfloat/s_mul128By32.o
  CC    build/softfloat/s_mul128To256M.o
  CC    build/softfloat/s_approxRecip_1Ks.o
  CC    build/softfloat/s_approxRecip32_1.o
  CC    build/softfloat/s_approxRecipSqrt_1Ks.o
  CC    build/softfloat/s_approxRecipSqrt32_1.o
  CC    build/softfloat/RISCV/softfloat_raiseFlags.o
  CC    build/softfloat/RISCV/s_propagateNaNF16UI.o
  CC    build/softfloat/RISCV/s_propagateNaNF32UI.o
  CC    build/softfloat/RISCV/s_propagateNaNF64UI.o
  CC    build/softfloat/RISCV/s_propagateNaNF128UI.o
  CC    build/softfloat/s_roundToUI32.o
  CC    build/softfloat/s_roundToUI64.o
  CC    build/softfloat/s_roundToI32.o
  CC    build/softfloat/s_roundToI64.o
  CC    build/softfloat/s_normSubnormalF16Sig.o
  CC    build/softfloat/s_roundPackToF16.o
  CC    build/softfloat/s_normRoundPackToF16.o
  CC    build/softfloat/s_addMagsF16.o
  CC    build/softfloat/s_subMagsF16.o
  CC    build/softfloat/s_mulAddF16.o
  CC    build/softfloat/s_normSubnormalF32Sig.o
  CC    build/softfloat/s_roundPackToF32.o
  CC    build/softfloat/s_normRoundPackToF32.o
  CC    build/softfloat/s_addMagsF32.o
  CC    build/softfloat/s_subMagsF32.o
  CC    build/softfloat/s_mulAddF32.o
  CC    build/softfloat/s_normSubnormalF64Sig.o
  CC    build/softfloat/s_roundPackToF64.o
  CC    build/softfloat/s_normRoundPackToF64.o
  CC    build/softfloat/s_addMagsF64.o
  CC    build/softfloat/s_subMagsF64.o
  CC    build/softfloat/s_mulAddF64.o
  CC    build/softfloat/s_normSubnormalExtF80Sig.o
  CC    build/softfloat/s_roundPackToExtF80.o
  CC    build/softfloat/s_normRoundPackToExtF80.o
  CC    build/softfloat/s_addMagsExtF80.o
  CC    build/softfloat/s_subMagsExtF80.o
  CC    build/softfloat/s_normSubnormalF128Sig.o
  CC    build/softfloat/s_roundPackToF128.o
  CC    build/softfloat/s_normRoundPackToF128.o
  CC    build/softfloat/s_addMagsF128.o
  CC    build/softfloat/s_subMagsF128.o
  CC    build/softfloat/s_mulAddF128.o
  CC    build/softfloat/softfloat_state.o
  CC    build/softfloat/ui32_to_f16.o
  CC    build/softfloat/ui32_to_f32.o
  CC    build/softfloat/ui32_to_f64.o
  CC    build/softfloat/ui32_to_extF80.o
  CC    build/softfloat/ui32_to_extF80M.o
  CC    build/softfloat/ui32_to_f128.o
  CC    build/softfloat/ui32_to_f128M.o
  CC    build/softfloat/ui64_to_f16.o
  CC    build/softfloat/ui64_to_f32.o
  CC    build/softfloat/ui64_to_f64.o
  CC    build/softfloat/ui64_to_extF80.o
  CC    build/softfloat/ui64_to_extF80M.o
  CC    build/softfloat/ui64_to_f128.o
  CC    build/softfloat/ui64_to_f128M.o
  CC    build/softfloat/i32_to_f16.o
  CC    build/softfloat/i32_to_f32.o
  CC    build/softfloat/i32_to_f64.o
  CC    build/softfloat/i32_to_extF80.o
  CC    build/softfloat/i32_to_extF80M.o
  CC    build/softfloat/i32_to_f128.o
  CC    build/softfloat/i32_to_f128M.o
  CC    build/softfloat/i64_to_f16.o
  CC    build/softfloat/i64_to_f32.o
  CC    build/softfloat/i64_to_f64.o
  CC    build/softfloat/i64_to_extF80.o
  CC    build/softfloat/i64_to_extF80M.o
  CC    build/softfloat/i64_to_f128.o
  CC    build/softfloat/i64_to_f128M.o
  CC    build/softfloat/f16_to_ui32.o
  CC    build/softfloat/f16_to_ui64.o
  CC    build/softfloat/f16_to_i32.o
  CC    build/softfloat/f16_to_i64.o
  CC    build/softfloat/f16_to_ui32_r_minMag.o
  CC    build/softfloat/f16_to_ui64_r_minMag.o
  CC    build/softfloat/f16_to_i32_r_minMag.o
  CC    build/softfloat/f16_to_i64_r_minMag.o
  CC    build/softfloat/f16_to_f32.o
  CC    build/softfloat/f16_to_f64.o
  CC    build/softfloat/f16_to_extF80.o
  CC    build/softfloat/f16_to_extF80M.o
  CC    build/softfloat/f16_to_f128.o
  CC    build/softfloat/f16_to_f128M.o
  CC    build/softfloat/f16_roundToInt.o
  CC    build/softfloat/f16_add.o
  CC    build/softfloat/f16_sub.o
  CC    build/softfloat/f16_mul.o
  CC    build/softfloat/f16_mulAdd.o
  CC    build/softfloat/f16_div.o
  CC    build/softfloat/f16_rem.o
  CC    build/softfloat/f16_sqrt.o
  CC    build/softfloat/f16_eq.o
  CC    build/softfloat/f16_le.o
  CC    build/softfloat/f16_lt.o
  CC    build/softfloat/f16_eq_signaling.o
  CC    build/softfloat/f16_le_quiet.o
  CC    build/softfloat/f16_lt_quiet.o
  CC    build/softfloat/f16_isSignalingNaN.o
  CC    build/softfloat/f32_to_ui32.o
  CC    build/softfloat/f32_to_ui64.o
  CC    build/softfloat/f32_to_i32.o
  CC    build/softfloat/f32_to_i64.o
  CC    build/softfloat/f32_to_ui32_r_minMag.o
  CC    build/softfloat/f32_to_ui64_r_minMag.o
  CC    build/softfloat/f32_to_i32_r_minMag.o
  CC    build/softfloat/f32_to_i64_r_minMag.o
  CC    build/softfloat/f32_to_f16.o
  CC    build/softfloat/f32_to_f64.o
  CC    build/softfloat/f32_to_extF80.o
  CC    build/softfloat/f32_to_extF80M.o
  CC    build/softfloat/f32_to_f128.o
  CC    build/softfloat/f32_to_f128M.o
  CC    build/softfloat/f32_roundToInt.o
  CC    build/softfloat/f32_add.o
  CC    build/softfloat/f32_sub.o
  CC    build/softfloat/f32_mul.o
  CC    build/softfloat/f32_mulAdd.o
  CC    build/softfloat/f32_div.o
  CC    build/softfloat/f32_rem.o
  CC    build/softfloat/f32_sqrt.o
  CC    build/softfloat/f32_eq.o
  CC    build/softfloat/f32_le.o
  CC    build/softfloat/f32_lt.o
  CC    build/softfloat/f32_eq_signaling.o
  CC    build/softfloat/f32_le_quiet.o
  CC    build/softfloat/f32_lt_quiet.o
  CC    build/softfloat/f32_isSignalingNaN.o
  CC    build/softfloat/f64_to_ui32.o
  CC    build/softfloat/f64_to_ui64.o
  CC    build/softfloat/f64_to_i32.o
  CC    build/softfloat/f64_to_i64.o
  CC    build/softfloat/f64_to_ui32_r_minMag.o
  CC    build/softfloat/f64_to_ui64_r_minMag.o
  CC    build/softfloat/f64_to_i32_r_minMag.o
  CC    build/softfloat/f64_to_i64_r_minMag.o
  CC    build/softfloat/f64_to_f16.o
  CC    build/softfloat/f64_to_f32.o
  CC    build/softfloat/f64_to_extF80.o
  CC    build/softfloat/f64_to_extF80M.o
  CC    build/softfloat/f64_to_f128.o
  CC    build/softfloat/f64_to_f128M.o
  CC    build/softfloat/f64_roundToInt.o
  CC    build/softfloat/f64_add.o
  CC    build/softfloat/f64_sub.o
  CC    build/softfloat/f64_mul.o
  CC    build/softfloat/f64_mulAdd.o
  CC    build/softfloat/f64_div.o
  CC    build/softfloat/f64_rem.o
  CC    build/softfloat/f64_sqrt.o
  CC    build/softfloat/f64_eq.o
  CC    build/softfloat/f64_le.o
  CC    build/softfloat/f64_lt.o
  CC    build/softfloat/f64_eq_signaling.o
  CC    build/softfloat/f64_le_quiet.o
  CC    build/softfloat/f64_lt_quiet.o
  CC    build/softfloat/f64_isSignalingNaN.o
  CC    build/softfloat/extF80_to_ui32.o
  CC    build/softfloat/extF80_to_ui64.o
  CC    build/softfloat/extF80_to_i32.o
  CC    build/softfloat/extF80_to_i64.o
  CC    build/softfloat/extF80_to_ui32_r_minMag.o
  CC    build/softfloat/extF80_to_ui64_r_minMag.o
  CC    build/softfloat/extF80_to_i32_r_minMag.o
  CC    build/softfloat/extF80_to_i64_r_minMag.o
  CC    build/softfloat/extF80_to_f16.o
  CC    build/softfloat/extF80_to_f32.o
  CC    build/softfloat/extF80_to_f64.o
  CC    build/softfloat/extF80_to_f128.o
  CC    build/softfloat/extF80_roundToInt.o
  CC    build/softfloat/extF80_add.o
  CC    build/softfloat/extF80_sub.o
  CC    build/softfloat/extF80_mul.o
  CC    build/softfloat/extF80_div.o
  CC    build/softfloat/extF80_rem.o
  CC    build/softfloat/extF80_sqrt.o
  CC    build/softfloat/extF80_eq.o
  CC    build/softfloat/extF80_le.o
  CC    build/softfloat/extF80_lt.o
  CC    build/softfloat/extF80_eq_signaling.o
  CC    build/softfloat/extF80_le_quiet.o
  CC    build/softfloat/extF80_lt_quiet.o
  CC    build/softfloat/extF80_isSignalingNaN.o
  CC    build/softfloat/extF80M_to_ui32.o
  CC    build/softfloat/extF80M_to_ui64.o
  CC    build/softfloat/extF80M_to_i32.o
  CC    build/softfloat/extF80M_to_i64.o
  CC    build/softfloat/extF80M_to_ui32_r_minMag.o
  CC    build/softfloat/extF80M_to_ui64_r_minMag.o
  CC    build/softfloat/extF80M_to_i32_r_minMag.o
  CC    build/softfloat/extF80M_to_i64_r_minMag.o
  CC    build/softfloat/extF80M_to_f16.o
  CC    build/softfloat/extF80M_to_f32.o
  CC    build/softfloat/extF80M_to_f64.o
  CC    build/softfloat/extF80M_to_f128M.o
  CC    build/softfloat/extF80M_roundToInt.o
  CC    build/softfloat/extF80M_add.o
  CC    build/softfloat/extF80M_sub.o
  CC    build/softfloat/extF80M_mul.o
  CC    build/softfloat/extF80M_div.o
  CC    build/softfloat/extF80M_rem.o
  CC    build/softfloat/extF80M_sqrt.o
  CC    build/softfloat/extF80M_eq.o
  CC    build/softfloat/extF80M_le.o
  CC    build/softfloat/extF80M_lt.o
  CC    build/softfloat/extF80M_eq_signaling.o
  CC    build/softfloat/extF80M_le_quiet.o
  CC    build/softfloat/extF80M_lt_quiet.o
  CC    build/softfloat/f128_to_ui32.o
  CC    build/softfloat/f128_to_ui64.o
  CC    build/softfloat/f128_to_i32.o
  CC    build/softfloat/f128_to_i64.o
  CC    build/softfloat/f128_to_ui32_r_minMag.o
  CC    build/softfloat/f128_to_ui64_r_minMag.o
  CC    build/softfloat/f128_to_i32_r_minMag.o
  CC    build/softfloat/f128_to_i64_r_minMag.o
  CC    build/softfloat/f128_to_f16.o
  CC    build/softfloat/f128_to_f32.o
  CC    build/softfloat/f128_to_extF80.o
  CC    build/softfloat/f128_to_f64.o
  CC    build/softfloat/f128_roundToInt.o
  CC    build/softfloat/f128_add.o
  CC    build/softfloat/f128_sub.o
  CC    build/softfloat/f128_mul.o
  CC    build/softfloat/f128_mulAdd.o
  CC    build/softfloat/f128_div.o
  CC    build/softfloat/f128_rem.o
  CC    build/softfloat/f128_sqrt.o
  CC    build/softfloat/f128_eq.o
  CC    build/softfloat/f128_le.o
  CC    build/softfloat/f128_lt.o
  CC    build/softfloat/f128_eq_signaling.o
  CC    build/softfloat/f128_le_quiet.o
  CC    build/softfloat/f128_lt_quiet.o
  CC    build/softfloat/f128_isSignalingNaN.o
  CC    build/softfloat/f128M_to_ui32.o
  CC    build/softfloat/f128M_to_ui64.o
  CC    build/softfloat/f128M_to_i32.o
  CC    build/softfloat/f128M_to_i64.o
  CC    build/softfloat/f128M_to_ui32_r_minMag.o
  CC    build/softfloat/f128M_to_ui64_r_minMag.o
  CC    build/softfloat/f128M_to_i32_r_minMag.o
  CC    build/softfloat/f128M_to_i64_r_minMag.o
  CC    build/softfloat/f128M_to_f16.o
  CC    build/softfloat/f128M_to_f32.o
  CC    build/softfloat/f128M_to_extF80M.o
  CC    build/softfloat/f128M_to_f64.o
  CC    build/softfloat/f128M_roundToInt.o
  CC    build/softfloat/f128M_add.o
  CC    build/softfloat/f128M_sub.o
  CC    build/softfloat/f128M_mul.o
  CC    build/softfloat/f128M_mulAdd.o
  CC    build/softfloat/f128M_div.o
  CC    build/softfloat/f128M_rem.o
  CC    build/softfloat/f128M_sqrt.o
  CC    build/softfloat/f128M_eq.o
  CC    build/softfloat/f128M_le.o
  CC    build/softfloat/f128M_lt.o
  CC    build/softfloat/f128M_eq_signaling.o
  CC    build/softfloat/f128M_le_quiet.o
  CC    build/softfloat/f128M_lt_quiet.o
  AR    build/softfloat/softfloat.a
bfd plugin: LLVM gold plugin has failed to create LTO module: Unknown attribute kind (86) (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Unknown attribute kind (86) (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Unknown attribute kind (86) (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Unknown attribute kind (86) (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Unknown attribute kind (86) (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Unknown attribute kind (86) (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Unknown attribute kind (86) (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Unknown attribute kind (86) (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Unknown attribute kind (86) (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Unknown attribute kind (86) (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Unknown attribute kind (86) (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Unknown attribute kind (86) (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Unknown attribute kind (86) (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Unknown attribute kind (86) (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Unknown attribute kind (86) (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Unknown attribute kind (86) (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Unknown attribute kind (86) (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Unknown attribute kind (86) (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Unknown attribute kind (86) (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Unknown attribute kind (86) (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Unknown attribute kind (86) (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Unknown attribute kind (86) (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Unknown attribute kind (86) (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Unknown attribute kind (86) (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Unknown attribute kind (86) (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Unknown attribute kind (86) (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Unknown attribute kind (86) (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Unknown attribute kind (86) (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Unknown attribute kind (86) (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Unknown attribute kind (86) (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Unknown attribute kind (86) (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Unknown attribute kind (86) (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Unknown attribute kind (86) (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Unknown attribute kind (86) (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Unknown attribute kind (86) (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Unknown attribute kind (86) (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Unknown attribute kind (86) (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Unknown attribute kind (86) (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Unknown attribute kind (86) (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Unknown attribute kind (86) (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Unknown attribute kind (86) (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM18.1.8' Reader: 'LLVM 13.0.1')
  CC    build/map.o
  CC    build/utils.o
  CC    build/decode.o
  CC    build/io.o
  CC    build/syscall.o
  CC    build/emulate.o
  CC    build/riscv.o
  CC    build/log.o
  CC    build/elf.o
  CC    build/cache.o
  CC    build/mpool.o
  CC    build/syscall_sdl.o
  CC    build/main.o
  LD    build/rv32emu
/usr/bin/ld: /tmp/lto-llvm-9d0466.o: in function `do_fmadds':
emulate.c:(.text.do_fmadds+0x3c): undefined reference to `f32_mulAdd'
/usr/bin/ld: /tmp/lto-llvm-9d0466.o: in function `do_fmsubs':
emulate.c:(.text.do_fmsubs+0x40): undefined reference to `f32_mulAdd'
/usr/bin/ld: /tmp/lto-llvm-9d0466.o: in function `do_fnmsubs':
emulate.c:(.text.do_fnmsubs+0x42): undefined reference to `f32_mulAdd'
/usr/bin/ld: /tmp/lto-llvm-9d0466.o: in function `do_fnmadds':
emulate.c:(.text.do_fnmadds+0x46): undefined reference to `f32_mulAdd'
/usr/bin/ld: /tmp/lto-llvm-9d0466.o: in function `do_fadds':
emulate.c:(.text.do_fadds+0x31): undefined reference to `f32_add'
/usr/bin/ld: /tmp/lto-llvm-9d0466.o: in function `do_fsubs':
emulate.c:(.text.do_fsubs+0x31): undefined reference to `f32_sub'
/usr/bin/ld: /tmp/lto-llvm-9d0466.o: in function `do_fmuls':
emulate.c:(.text.do_fmuls+0x31): undefined reference to `f32_mul'
/usr/bin/ld: /tmp/lto-llvm-9d0466.o: in function `do_fdivs':
emulate.c:(.text.do_fdivs+0x31): undefined reference to `f32_div'
/usr/bin/ld: /tmp/lto-llvm-9d0466.o: in function `do_fsqrts':
emulate.c:(.text.do_fsqrts+0x25): undefined reference to `f32_sqrt'
/usr/bin/ld: /tmp/lto-llvm-9d0466.o: in function `do_fmins':
emulate.c:(.text.do_fmins+0x1f): undefined reference to `f32_isSignalingNaN'
/usr/bin/ld: emulate.c:(.text.do_fmins+0x36): undefined reference to `f32_isSignalingNaN'
/usr/bin/ld: emulate.c:(.text.do_fmins+0x63): undefined reference to `f32_lt_quiet'
/usr/bin/ld: emulate.c:(.text.do_fmins+0x8d): undefined reference to `f32_eq'
/usr/bin/ld: /tmp/lto-llvm-9d0466.o: in function `do_fmaxs':
emulate.c:(.text.do_fmaxs+0x1f): undefined reference to `f32_isSignalingNaN'
/usr/bin/ld: emulate.c:(.text.do_fmaxs+0x36): undefined reference to `f32_isSignalingNaN'
/usr/bin/ld: emulate.c:(.text.do_fmaxs+0x63): undefined reference to `f32_lt_quiet'
/usr/bin/ld: emulate.c:(.text.do_fmaxs+0x8a): undefined reference to `f32_eq'
/usr/bin/ld: /tmp/lto-llvm-9d0466.o: in function `do_fcvtws':
emulate.c:(.text.do_fcvtws+0x3e): undefined reference to `f32_to_i32'
/usr/bin/ld: /tmp/lto-llvm-9d0466.o: in function `do_fcvtwus':
emulate.c:(.text.do_fcvtwus+0x3e): undefined reference to `f32_to_ui32'
/usr/bin/ld: /tmp/lto-llvm-9d0466.o: in function `do_feqs':
emulate.c:(.text.do_feqs+0x2b): undefined reference to `f32_eq'
/usr/bin/ld: /tmp/lto-llvm-9d0466.o: in function `do_flts':
emulate.c:(.text.do_flts+0x2b): undefined reference to `f32_lt'
/usr/bin/ld: /tmp/lto-llvm-9d0466.o: in function `do_fles':
emulate.c:(.text.do_fles+0x2b): undefined reference to `f32_le'
/usr/bin/ld: /tmp/lto-llvm-9d0466.o: in function `do_fcvtsw':
emulate.c:(.text.do_fcvtsw+0x22): undefined reference to `i32_to_f32'
/usr/bin/ld: /tmp/lto-llvm-9d0466.o: in function `do_fcvtswu':
emulate.c:(.text.do_fcvtswu+0x22): undefined reference to `ui32_to_f32'
clang-18: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:334: build/rv32emu] Error 1

In addition, I added the following lines in the Makefile to confirm toolchain versions:

$(CC) --version  
$(AR) --version  

The output was:

clang-18 --version
Ubuntu clang version 18.1.8 (++20240731024944+3b5b5c1ec4a3-1~exp1~20240731145000.144)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
ar --version
GNU ar (GNU Binutils for Ubuntu) 2.38
Copyright (C) 2022 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) any later version.
This program has absolutely no warranty.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants