[Buildroot] [PATCH 1/1] protobuf: apply patch to compile for PowerPC

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Feb 10 16:44:25 UTC 2016


Dear Carlos Santos,

On Wed, 10 Feb 2016 14:32:06 -0200 (BRST), Carlos Santos wrote:

> The problem is the same you found on mpd (commit 84533029c70a4dffb2cd2e4f05e3903fd1b8fcd9) in branch master. With the patch in configure.ac I get this:
> 
> $ owerpc-e500v2-linux-gnuspe-ldd --root target/ target/usr/bin/protoc
>         libprotobuf.so.9 => /usr/lib/libprotobuf.so.9 (0xdeadbeef)
>         libatomic.so.1 => /lib/libatomic.so.1 (0xdeadbeef)
>         libpthread.so.0 => /lib/libpthread.so.0 (0xdeadbeef)
>         libc.so.6 => /lib/libc.so.6 (0xdeadbeef)
>         ld.so.1 => /lib/ld.so.1 (0xdeadbeef)
>         libz.so.1 => /usr/lib/libz.so.1 (0xdeadbeef)
>         libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xdeadbeef)
>         libm.so.6 => /lib/libm.so.6 (0xdeadbeef)
>         libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xdeadbeef)
>         libprotoc.so.9 => /usr/lib/libprotoc.so.9 (0xdeadbeef)

Yes, looks good.

> Without the patch protoc is not linked to libatomic.so.1.

Indeed.

And so, what's the problem ?

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list