[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RFH for cross-building saclib



Hi,

I was trying to make saclib cross-buildable, as per the failure in salsa-CI[1]
it seems to stem from CC being set to build compiler rather than the host in d/rules.

I went ahead and did a "include /usr/share/dpkg/buildtools.mk".
However, while linking, it chokes at:

| /usr/bin/ld: .libs/AADV.o: Relocations in generic ELF (EM: 183)
| /usr/bin/ld: .libs/AADV.o: Relocations in generic ELF (EM: 183)
| /usr/bin/ld: .libs/AADV.o: Relocations in generic ELF (EM: 183)
| /usr/bin/ld: .libs/AADV.o: Relocations in generic ELF (EM: 183)
| /usr/bin/ld: .libs/AADV.o: Relocations in generic ELF (EM: 183)
| /usr/bin/ld: .libs/AADV.o: error adding symbols: file in wrong format

I cross-checked, and this file is compiled with the right compiler.
And I am not entirely sure of the cross for this error, and would appreciate hints.

[1]: https://salsa.debian.org/math-team/saclib/-/jobs/2308469

-- 
Best,
Nilesh

Attachment: signature.asc
Description: PGP signature


Reply to: