Skip to content

linux build fails with manty undefined references #9

@lucasw

Description

@lucasw

The #5 github action logs are gone now but I re-ran the linux build locally (Ubuntu 24.04) and in a fork (https://github.com/lucasw/jolt-rust/actions/runs/17311473946/job/49146353513) and I'm guessing I'm seeing the same errors, a bunch of undefined references:

d71e77e4bc1fb24/out/lib/libjoltc.a(JoltC.cpp.o): in function `JPH::TempAllocatorImpl::~TempAllocatorImpl()':
          JoltC.cpp:(.text._ZN3JPH17TempAllocatorImplD2Ev[_ZN3JPH17TempAllocatorImplD5Ev]+0x19): undefined reference to `JPH::AlignedFree'
          /usr/bin/ld: /home/runner/work/jolt-rust/jolt-rust/target/debug/build/joltc-sys-0d71e77e4bc1fb24/out/lib/libjoltc.a(JoltC.cpp.o): in function `JPH::TempAllocatorImpl::~TempAllocatorImpl()':
          JoltC.cpp:(.text._ZN3JPH17TempAllocatorImplD0Ev[_ZN3JPH17TempAllocatorImplD5Ev]+0x19): undefined reference to `JPH::AlignedFree'
...
          /usr/bin/ld: /home/runner/work/jolt-rust/jolt-rust/target/debug/build/joltc-sys-0d71e77e4bc1fb24/out/lib/libjoltc.a(JoltC.cpp.o): in function `JPC_JobSystemThreadPool_delete':
          JoltC.cpp:(.text.JPC_JobSystemThreadPool_delete+0xa): undefined reference to `JPH::JobSystemThreadPool::~JobSystemThreadPool()'
          /usr/bin/ld: /home/runner/work/jolt-rust/jolt-rust/target/debug/build/joltc-sys-0d71e77e4bc1fb24/out/lib/libjoltc.a(JoltC.cpp.o):(.data.rel.local.DW.ref.__gxx_personality_v0[DW.ref.__gxx_personality_v0]+0x0): undefined reference to `__gxx_personality_v0'

Jumping back as far as rolt-v0.1.0 didn't help, could it be changes with ubuntu-latest which is now 24.04?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions