undefined reference to `__deregister_frame' when cross-compiling zellij for armv7-unknown-linux-gnueabihf
argoneus opened this issue · 0 comments
argoneus commented
Checklist
- I've looked through the issues and pull requests for similar reports
Describe your issue
I'm getting a linker error when trying to cross-compile zellij for armv7-unknown-linux-gnueabihf
= note: /usr/lib/gcc-cross/arm-linux-gnueabihf/9/../../../../arm-linux-gnueabihf/bin/ld: /target/armv7-unknown-linux-gnueabihf/release/deps/zellij-dbf209e95c61c6d8.zellij.e9a465a3d7173fe5-cgu.00.rcgu.o: in function `<alloc::vec::Vec<T,A> as core::ops::drop::Drop>::drop':
zellij.e9a465a3d7173fe5-cgu.00:(.text._ZN70_$LT$alloc..vec..Vec$LT$T$C$A$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17h15baf70883f2e3feE+0x60): undefined reference to `__deregister_frame'
/usr/lib/gcc-cross/arm-linux-gnueabihf/9/../../../../arm-linux-gnueabihf/bin/ld: /target/armv7-unknown-linux-gnueabihf/release/deps/zellij-dbf209e95c61c6d8.zellij.e9a465a3d7173fe5-cgu.00.rcgu.o: in function `wasmer_compiler::engine::artifact::Artifact::from_parts':
zellij.e9a465a3d7173fe5-cgu.00:(.text._ZN15wasmer_compiler6engine8artifact8Artifact10from_parts17h5ddf75c77f74273bE+0x1560): undefined reference to `__register_frame'
/usr/lib/gcc-cross/arm-linux-gnueabihf/9/../../../../arm-linux-gnueabihf/bin/ld: /target/armv7-unknown-linux-gnueabihf/release/deps/zellij-dbf209e95c61c6d8.zellij.e9a465a3d7173fe5-cgu.00.rcgu.o: in function `core::ptr::drop_in_place<wasmer_compiler::engine::code_memory::CodeMemory>':
zellij.e9a465a3d7173fe5-cgu.00:(.text._ZN4core3ptr69drop_in_place$LT$wasmer_compiler..engine..code_memory..CodeMemory$GT$17h93ccf0e907bf8a27E+0x2c): undefined reference to `__deregister_frame'
/usr/lib/gcc-cross/arm-linux-gnueabihf/9/../../../../arm-linux-gnueabihf/bin/ld: /target/armv7-unknown-linux-gnueabihf/release/deps/zellij-dbf209e95c61c6d8.zellij.e9a465a3d7173fe5-cgu.00.rcgu.o: in function `<wasmer_compiler::engine::unwind::systemv::UnwindRegistry as core::ops::drop::Drop>::drop':
zellij.e9a465a3d7173fe5-cgu.00:(.text._ZN98_$LT$wasmer_compiler..engine..unwind..systemv..UnwindRegistry$u20$as$u20$core..ops..drop..Drop$GT$4drop17haeadab1fe23ec9caE+0x30): undefined reference to `__deregister_frame'
collect2: error: ld returned 1 exit status
What target(s) are you cross-compiling for?
armv7-unknown-linux-gnueabihf
Which operating system is the host (e.g computer cross is on) running?
- macOS
- Windows
- Linux / BSD
- other OS (specify in description)
What architecture is the host?
- x86_64 / AMD64
- arm32
- arm64 (including Mac M1)
What container engine is cross using?
- docker
- podman
- other container engine (specify in description)
cross version
cross 0.2.5 (19be834 2024-05-17)
Example
command is cross build --target armv7-unknown-linux-gnueabihf --release --locked
Additional information / notes
No response