Skip to content

Linker errors on test-linux action #290

Description

@targos

I thought it was due to missing includes so I added some in 3d0e2ae, but the errors remain:

https://github.com/nodejs/node-v8/actions/runs/10788009205/job/29917856466

2024-09-10T09:32:08.5123584Z /usr/bin/ld: /home/runner/work/node-v8/node-v8/out/Release/obj.target/v8_base_without_compiler/deps/v8/src/execution/isolate.o: in function `v8::internal::Isolate::~Isolate()':
2024-09-10T09:32:08.5125580Z isolate.cc:(.text._ZN2v88internal7IsolateD2Ev+0x3ff): undefined reference to `__atomic_compare_exchange'
2024-09-10T09:32:08.5126892Z /usr/bin/ld: isolate.cc:(.text._ZN2v88internal7IsolateD2Ev+0x4df): undefined reference to `__atomic_compare_exchange'
2024-09-10T09:32:08.5129081Z /usr/bin/ld: isolate.cc:(.text._ZN2v88internal7IsolateD2Ev+0x5bf): undefined reference to `__atomic_compare_exchange'
2024-09-10T09:32:08.5131627Z /usr/bin/ld: /home/runner/work/node-v8/node-v8/out/Release/obj.target/v8_base_without_compiler/deps/v8/src/execution/isolate.o: in function `v8::internal::wasm::WasmCodePointerTable::AllocateUninitializedEntry()':
2024-09-10T09:32:08.5134385Z isolate.cc:(.text._ZN2v88internal4wasm20WasmCodePointerTable26AllocateUninitializedEntryEv[_ZN2v88internal4wasm20WasmCodePointerTable26AllocateUninitializedEntryEv]+0x4b): undefined reference to `__atomic_compare_exchange'
2024-09-10T09:32:08.5137023Z /usr/bin/ld: isolate.cc:(.text._ZN2v88internal4wasm20WasmCodePointerTable26AllocateUninitializedEntryEv[_ZN2v88internal4wasm20WasmCodePointerTable26AllocateUninitializedEntryEv]+0x12e): undefined reference to `__atomic_compare_exchange'
2024-09-10T09:32:08.6131002Z /usr/bin/ld: /home/runner/work/node-v8/node-v8/out/Release/obj.target/v8_base_without_compiler/deps/v8/src/wasm/wasm-code-manager.o:wasm-code-manager.cc:(.text._ZN2v88internal4wasm8WasmCodeD2Ev+0xab): more undefined references to `__atomic_compare_exchange' follow
2024-09-10T09:32:09.2511911Z clang++: error: linker command failed with exit code 1 (use -v to see invocation)
2024-09-10T09:32:09.2553728Z make[2]: *** [tools/v8_gypfiles/mksnapshot.target.mk:220: /home/runner/work/node-v8/node-v8/out/Release/mksnapshot] Error 1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions