-
Notifications
You must be signed in to change notification settings - Fork 104
Open
Description
Getting following linker errors when using cross compiled tokenizer_c.a in a project.
The problem is some object files in tokenizer_c.a archive are not compiling for aarch64 and still getting compiled to x86 instead.
aarch64-unknown-linux-gnu/bin/ld.bfd: tokenizers-cpp-build/aarch64-unknown-linux-gnu/release/libtokenizers_c.a(a445302c6d3dcb51-regexec.o): Relocations in generic ELF (EM: 62)
aarch64-unknown-linux-gnu/bin/ld.bfd: tokenizers-cpp-build/aarch64-unknown-linux-gnu/release/libtokenizers_c.a(a445302c6d3dcb51-regexec.o): Relocations in generic ELF (EM: 62)
aarch64-unknown-linux-gnu/bin/ld.bfd: tokenizers-cpp-build/aarch64-unknown-linux-gnu/release/libtokenizers_c.a(a445302c6d3dcb51-regexec.o): Relocations in generic ELF (EM: 62)
aarch64-unknown-linux-gnu/bin/ld.bfd: tokenizers-cpp-build/aarch64-unknown-linux-gnu/release/libtokenizers_c.a: error adding symbols: file in wrong format
collect2: error: ld returned 1 exit status
Metadata
Metadata
Assignees
Labels
No labels