Error building protobuf for 32 bit target (i386) on 64 bit host
Hi
When trying to build protobuf for i386 on 64 bit host I get the following error:...ld: /usr/gcc-6.2/lib/../lib64/libatomic.so: error adding symbols: file in wrong format Any suggestions?
Thanks,Tal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20210304/2736b0ea/attachment.html>
Quoted 2 lines · Tal Lubko via buildroot
Hi
When trying to build protobuf for i386 on 64 bit host I get the following error:...ld:/usr/gcc-6.2/lib/../lib64/libatomic.so: error adding symbols: file in wrong format
This looks like it's using the host compiler to build a target package. That is
not good.
Surprising, though, since this is a configuration we definitely test, and we've
never had any protobuf failures in the autobuilders [1]. Do you have local modifications that could cause this?
Can you share a defconfig that reproduces the issue, and a more extensive build
log (particularly the command used for the configure and build steps of protobuf).
Regards,
Arnout
[1] http://autobuild.buildroot.net/?reason=protobuf
Quoted 9 lines
Any suggestions?
Thanks,Tal_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Hello,
El jue, 4 mar 2021 a las 21:54, Arnout Vandecappelle (<[email protected]>) escribi?:
Quoted 14 lines · Tal Lubko via buildroot
Quoted 2 lines
Hi
When trying to build protobuf for i386 on 64 bit host I get the following error:...ld:/usr/gcc-6.2/lib/../lib64/libatomic.so: error adding symbols: file in wrong formatThis looks like it's using the host compiler to build a target package. That is
not good.Surprising, though, since this is a configuration we definitely test, and we've
never had any protobuf failures in the autobuilders [1]. Do you have local modifications that could cause this?
I can confirm that an i386 defconfig with protobuf builds fine on a 64-bit host, at least in my situation.
My guess is either a local change, or a change in configuration without starting from a clean build.
Best regards,
Thomas