[Buildroot] Error building protobuf for 32 bit target (i386) on 64 bit host

Thomas De Schampheleire patrickdepinguin at gmail.com
Fri Mar 5 08:31:24 UTC 2021


Hello,

El jue, 4 mar 2021 a las 21:54, Arnout Vandecappelle
(<arnout at mind.be>) escribió:
>
>
>
> On 04/03/2021 06:08, Tal Lubko via buildroot wrote:
> > 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?
>

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


More information about the buildroot mailing list