[Buildroot] [PATCH 1/1] protobuf: bump version to 2.6.1

Peter Korsgaard peter at korsgaard.com
Mon Jun 22 20:51:09 UTC 2015


>>>>> "George" == George Redivo <george.redivo at datacom.ind.br> writes:

 > * Adds powerpc architecture support
 > Signed-off-by: George Redivo <george.redivo at datacom.ind.br>

I was about to commit this after also updating the architecture
dependency of ola (which selects protobuf), but then I did a test build
on powerpc (603e, default external toolchain) which failed:

libtool: compile:  /home/peko/source/buildroot/output/host/usr/bin/powerpc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -c google/protobuf/stubs/atomicops_internals_x86_gcc.cc  -fPIC -DPIC -o google/protobuf/stubs/.libs/atomicops_internals_x86_gcc.o
In file included from google/protobuf/stubs/atomicops_internals_x86_msvc.cc:37:0:
./google/protobuf/stubs/atomicops.h:209:1: error: stray '#' in program
In file included from ./google/protobuf/stubs/once.h:81:0,
                 from google/protobuf/stubs/common.cc:34:
./google/protobuf/stubs/atomicops.h:209:1: error: stray '#' in program
In file included from ./google/protobuf/stubs/once.h:81:0,
                 from google/protobuf/stubs/once.cc:38:
./google/protobuf/stubs/atomicops.h:209:1: error: stray '#' in program
In file included from google/protobuf/stubs/atomicops_internals_x86_gcc.cc:36:0:
./google/protobuf/stubs/atomicops.h:209:1: error: stray '#' in program
./google/protobuf/stubs/atomicops.h:209:1: error: 'error' does not name a type
Makefile:2067: recipe for target 'google/protobuf/stubs/atomicops_internals_x86_msvc.lo' failed

[snip]

package/pkg-generic.mk:156: recipe for target '/home/peko/source/buildroot/output/build/protobuf-v2.6.1/.stamp_built' failed

So something seems wrong here. The 'x86' in the file name also looks
suspicious.

If you want to reproduce, the defconfig is simply:

BR2_powerpc=y
BR2_powerpc_603e=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_PACKAGE_OLA=y

(put in .config and run make olddefconfig; make)

Care to investigate & fix and send an updated patch? Thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list