Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined reference to `__deregister_frame' when cross-compiling zellij for armv7-unknown-linux-gnueabihf #1502

Open
4 of 11 tasks
argoneus opened this issue May 23, 2024 · 0 comments

Comments

@argoneus
Copy link

argoneus commented May 23, 2024

Checklist

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

Tasks

No tasks being tracked yet.
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

No branches or pull requests

1 participant