Giter Club home page Giter Club logo

Comments (7)

jsiverskog avatar jsiverskog commented on July 30, 2024

Hi @champtar !
Have you tried changing the $(make)? It works for me with omap as target. Can you give me the complete output from make package/protobuf/compile V=s?

from packages.

champtar avatar champtar commented on July 30, 2024

with $(MAKE)

make[2]: Entering directory `/tmp/openwrt/feeds/packages/libs/protobuf'
. /tmp/openwrt/include/shell.sh; bzcat /tmp/openwrt/dl/protobuf-2.5.0.tar.bz2 | /usr/bin/gtar -C /tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0/.. -xf - 
touch /tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0/.prepared_174ec6e017548388f1686464168065cc
(cd /tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0/./; if [ -x ./configure ]; then /usr/bin/find /tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0/ -name config.guess | xargs -r chmod u+w; /usr/bin/find /tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0/ -name config.guess | xargs -r -n1 cp /tmp/openwrt/scripts/config.guess; /usr/bin/find /tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0/ -name config.sub | xargs -r chmod u+w; /usr/bin/find /tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0/ -name config.sub | xargs -r -n1 cp /tmp/openwrt/scripts/config.sub; AR=mips-openwrt-linux-uclibc-ar AS="mips-openwrt-linux-uclibc-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -Wformat -Werror=format-security" LD=mips-openwrt-linux-uclibc-ld NM=mips-openwrt-linux-uclibc-nm CC="mips-openwrt-linux-uclibc-gcc" GCC="mips-openwrt-linux-uclibc-gcc" CXX="mips-openwrt-linux-uclibc-g++" RANLIB=mips-openwrt-linux-uclibc-ranlib STRIP=mips-openwrt-linux-uclibc-strip OBJCOPY=mips-openwrt-linux-uclibc-objcopy OBJDUMP=mips-openwrt-linux-uclibc-objdump SIZE=mips-openwrt-linux-uclibc-size CFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16 -Wformat -Werror=format-security " CXXFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16 -Wformat -Werror=format-security " CPPFLAGS="-I/tmp/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -I/tmp/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include -I/tmp/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/tmp/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include " LDFLAGS="-L/tmp/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib -L/tmp/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/lib -L/tmp/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/lib -L/tmp/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib "   ./configure --target=mips-openwrt-linux --host=mips-openwrt-linux --build=x86_64-redhat-linux --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls   --with-protoc=/tmp/openwrt/build_dir/host/protobuf-2.5.0/src/protoc ; fi; )
configure: loading site script /tmp/openwrt/include/site/mips-openwrt-linux-uclibc
checking whether to enable maintainer-specific portions of Makefiles... yes
checking build system type... x86_64-redhat-linux-gnu
checking host system type... mips-openwrt-linux-gnu
checking target system type... mips-openwrt-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mips-openwrt-linux-strip... mips-openwrt-linux-uclibc-strip
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for mips-openwrt-linux-gcc... mips-openwrt-linux-uclibc-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether mips-openwrt-linux-uclibc-gcc accepts -g... yes
checking for mips-openwrt-linux-uclibc-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of mips-openwrt-linux-uclibc-gcc... gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether mips-openwrt-linux-uclibc-g++ accepts -g... yes
checking dependency style of mips-openwrt-linux-uclibc-g++... gcc3
checking how to run the C++ preprocessor... mips-openwrt-linux-uclibc-g++ -E
checking for grep that handles long lines and -e... /tmp/openwrt/staging_dir/host/bin/grep
checking for egrep... /tmp/openwrt/staging_dir/host/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking C++ compiler flags...... use user-supplied: -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16 -Wformat -Werror=format-security 
checking whether __SUNPRO_CC is declared... no
checking how to print strings... printf
checking for a sed that does not truncate output... /tmp/openwrt/staging_dir/host/bin/sed
checking for fgrep... /tmp/openwrt/staging_dir/host/bin/grep -F
checking for ld used by mips-openwrt-linux-uclibc-gcc... mips-openwrt-linux-uclibc-ld
checking if the linker (mips-openwrt-linux-uclibc-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... mips-openwrt-linux-uclibc-nm
checking the name lister (mips-openwrt-linux-uclibc-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-redhat-linux-gnu file names to mips-openwrt-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop
checking for mips-openwrt-linux-uclibc-ld option to reload object files... -r
checking for mips-openwrt-linux-objdump... mips-openwrt-linux-uclibc-objdump
checking how to recognize dependent libraries... pass_all
checking for mips-openwrt-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for mips-openwrt-linux-ar... mips-openwrt-linux-uclibc-ar
checking for archiver @FILE support... @
checking for mips-openwrt-linux-strip... (cached) mips-openwrt-linux-uclibc-strip
checking for mips-openwrt-linux-ranlib... mips-openwrt-linux-uclibc-ranlib
checking command to parse mips-openwrt-linux-uclibc-nm output from mips-openwrt-linux-uclibc-gcc object... ok
checking for sysroot... no
checking for mips-openwrt-linux-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if mips-openwrt-linux-uclibc-gcc supports -fno-rtti -fno-exceptions... no
checking for mips-openwrt-linux-uclibc-gcc option to produce PIC... -fPIC -DPIC
checking if mips-openwrt-linux-uclibc-gcc PIC flag -fPIC -DPIC works... yes
checking if mips-openwrt-linux-uclibc-gcc static flag -static works... yes
checking if mips-openwrt-linux-uclibc-gcc supports -c -o file.o... yes
checking if mips-openwrt-linux-uclibc-gcc supports -c -o file.o... (cached) yes
checking whether the mips-openwrt-linux-uclibc-gcc linker (mips-openwrt-linux-uclibc-ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... mips-openwrt-linux-uclibc-g++ -E
checking for ld used by mips-openwrt-linux-uclibc-g++... mips-openwrt-linux-uclibc-ld
checking if the linker (mips-openwrt-linux-uclibc-ld) is GNU ld... yes
checking whether the mips-openwrt-linux-uclibc-g++ linker (mips-openwrt-linux-uclibc-ld) supports shared libraries... yes
checking for mips-openwrt-linux-uclibc-g++ option to produce PIC... -fPIC -DPIC
checking if mips-openwrt-linux-uclibc-g++ PIC flag -fPIC -DPIC works... yes
checking if mips-openwrt-linux-uclibc-g++ static flag -static works... yes
checking if mips-openwrt-linux-uclibc-g++ supports -c -o file.o... yes
checking if mips-openwrt-linux-uclibc-g++ supports -c -o file.o... (cached) yes
checking whether the mips-openwrt-linux-uclibc-g++ linker (mips-openwrt-linux-uclibc-ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for working memcmp... (cached) yes
checking for working strtod... no
checking for pow... yes
checking for ftruncate... yes
checking for memset... yes
checking for mkdir... yes
checking for strchr... yes
checking for strerror... (cached) yes
checking for strtol... yes
checking zlib version... ok (1.2.0.4 or later)
checking for library containing zlibVersion... -lz
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking whether to check for GCC pthread/shared inconsistencies... yes
checking whether -pthread is sufficient with -shared... yes
checking whether what we have so far is sufficient with -nostdlib... no
checking whether -lpthread saves the day... yes
checking the location of hash_map... <tr1/unordered_map>
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating protobuf.pc
config.status: creating protobuf-lite.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
=== configuring in gtest (/tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0/gtest)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr'  '--target=mips-openwrt-linux' '--host=mips-openwrt-linux' '--build=x86_64-redhat-linux' '--program-prefix=' '--program-suffix=' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--with-protoc=/tmp/openwrt/build_dir/host/protobuf-2.5.0/src/protoc' 'build_alias=x86_64-redhat-linux' 'host_alias=mips-openwrt-linux' 'target_alias=mips-openwrt-linux' 'CC=mips-openwrt-linux-uclibc-gcc' 'CFLAGS=-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16 -Wformat -Werror=format-security ' 'LDFLAGS=-L/tmp/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib -L/tmp/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/lib -L/tmp/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/lib -L/tmp/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib ' 'CPPFLAGS=-I/tmp/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -I/tmp/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include -I/tmp/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/tmp/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include ' 'CXX=mips-openwrt-linux-uclibc-g++' 'CXXFLAGS=-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16 -Wformat -Werror=format-security ' --cache-file=/dev/null --srcdir=.
configure: loading site script /tmp/openwrt/include/site/mips-openwrt-linux-uclibc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mips-openwrt-linux-strip... mips-openwrt-linux-uclibc-strip
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for mips-openwrt-linux-gcc... mips-openwrt-linux-uclibc-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether mips-openwrt-linux-uclibc-gcc accepts -g... yes
checking for mips-openwrt-linux-uclibc-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of mips-openwrt-linux-uclibc-gcc... gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether mips-openwrt-linux-uclibc-g++ accepts -g... yes
checking dependency style of mips-openwrt-linux-uclibc-g++... gcc3
checking build system type... x86_64-redhat-linux-gnu
checking host system type... mips-openwrt-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /tmp/openwrt/staging_dir/host/bin/sed
checking for grep that handles long lines and -e... /tmp/openwrt/staging_dir/host/bin/grep
checking for egrep... /tmp/openwrt/staging_dir/host/bin/grep -E
checking for fgrep... /tmp/openwrt/staging_dir/host/bin/grep -F
checking for ld used by mips-openwrt-linux-uclibc-gcc... mips-openwrt-linux-uclibc-ld
checking if the linker (mips-openwrt-linux-uclibc-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... mips-openwrt-linux-uclibc-nm
checking the name lister (mips-openwrt-linux-uclibc-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-redhat-linux-gnu file names to mips-openwrt-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop
checking for mips-openwrt-linux-uclibc-ld option to reload object files... -r
checking for mips-openwrt-linux-objdump... mips-openwrt-linux-uclibc-objdump
checking how to recognize dependent libraries... pass_all
checking for mips-openwrt-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for mips-openwrt-linux-ar... mips-openwrt-linux-uclibc-ar
checking for archiver @FILE support... @
checking for mips-openwrt-linux-strip... (cached) mips-openwrt-linux-uclibc-strip
checking for mips-openwrt-linux-ranlib... mips-openwrt-linux-uclibc-ranlib
checking command to parse mips-openwrt-linux-uclibc-nm output from mips-openwrt-linux-uclibc-gcc object... ok
checking for sysroot... no
checking for mips-openwrt-linux-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... mips-openwrt-linux-uclibc-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if mips-openwrt-linux-uclibc-gcc supports -fno-rtti -fno-exceptions... no
checking for mips-openwrt-linux-uclibc-gcc option to produce PIC... -fPIC -DPIC
checking if mips-openwrt-linux-uclibc-gcc PIC flag -fPIC -DPIC works... yes
checking if mips-openwrt-linux-uclibc-gcc static flag -static works... yes
checking if mips-openwrt-linux-uclibc-gcc supports -c -o file.o... yes
checking if mips-openwrt-linux-uclibc-gcc supports -c -o file.o... (cached) yes
checking whether the mips-openwrt-linux-uclibc-gcc linker (mips-openwrt-linux-uclibc-ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... mips-openwrt-linux-uclibc-g++ -E
checking for ld used by mips-openwrt-linux-uclibc-g++... mips-openwrt-linux-uclibc-ld
checking if the linker (mips-openwrt-linux-uclibc-ld) is GNU ld... yes
checking whether the mips-openwrt-linux-uclibc-g++ linker (mips-openwrt-linux-uclibc-ld) supports shared libraries... yes
checking for mips-openwrt-linux-uclibc-g++ option to produce PIC... -fPIC -DPIC
checking if mips-openwrt-linux-uclibc-g++ PIC flag -fPIC -DPIC works... yes
checking if mips-openwrt-linux-uclibc-g++ static flag -static works... yes
checking if mips-openwrt-linux-uclibc-g++ supports -c -o file.o... yes
checking if mips-openwrt-linux-uclibc-g++ supports -c -o file.o... (cached) yes
checking whether the mips-openwrt-linux-uclibc-g++ linker (mips-openwrt-linux-uclibc-ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for python... /tmp/openwrt/staging_dir/host/bin/python
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking whether to check for GCC pthread/shared inconsistencies... yes
checking whether -pthread is sufficient with -shared... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating scripts/gtest-config
config.status: creating build-aux/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm -f /tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0/.configured_*
touch /tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0/.configured_
CFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16 -Wformat -Werror=format-security  -I/tmp/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -I/tmp/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include -I/tmp/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/tmp/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include " CXXFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16 -Wformat -Werror=format-security  -I/tmp/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -I/tmp/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include -I/tmp/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/tmp/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include " LDFLAGS="-L/tmp/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib -L/tmp/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/lib -L/tmp/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/lib -L/tmp/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib " make -j1 -C /tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0/. AR=mips-openwrt-linux-uclibc-ar AS="mips-openwrt-linux-uclibc-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -Wformat -Werror=format-security" LD=mips-openwrt-linux-uclibc-ld NM=mips-openwrt-linux-uclibc-nm CC="mips-openwrt-linux-uclibc-gcc" GCC="mips-openwrt-linux-uclibc-gcc" CXX="mips-openwrt-linux-uclibc-g++" RANLIB=mips-openwrt-linux-uclibc-ranlib STRIP=mips-openwrt-linux-uclibc-strip OBJCOPY=mips-openwrt-linux-uclibc-objcopy OBJDUMP=mips-openwrt-linux-uclibc-objdump SIZE=mips-openwrt-linux-uclibc-size CROSS="mips-openwrt-linux-uclibc-" ARCH="mips" ;
make[3]: Entering directory `/tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0'
make  all-recursive
make[4]: Entering directory `/tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0'
Making all in .
make[5]: Entering directory `/tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0'
make[5]: Leaving directory `/tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0'
Making all in src
make[5]: Entering directory `/tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0/src'
/tmp/openwrt/build_dir/host/protobuf-2.5.0/src/protoc -I. --cpp_out=. google/protobuf/unittest.proto google/protobuf/unittest_empty.proto google/protobuf/unittest_import.proto google/protobuf/unittest_import_public.proto google/protobuf/unittest_mset.proto google/protobuf/unittest_optimize_for.proto google/protobuf/unittest_embed_optimize_for.proto google/protobuf/unittest_custom_options.proto google/protobuf/unittest_lite.proto google/protobuf/unittest_import_lite.proto google/protobuf/unittest_import_public_lite.proto google/protobuf/unittest_lite_imports_nonlite.proto google/protobuf/unittest_no_generic_services.proto google/protobuf/compiler/cpp/cpp_test_bad_identifiers.proto
touch unittest_proto_middleman
make  all-am
make[6]: Entering directory `/tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0/src'
/bin/sh ../libtool  --tag=CXX   --mode=compile mips-openwrt-linux-uclibc-g++ -DHAVE_CONFIG_H -I. -I..   -I/tmp/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -I/tmp/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include -I/tmp/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/tmp/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include  -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare  -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16 -Wformat -Werror=format-security  -MT atomicops_internals_x86_gcc.lo -MD -MP -MF .deps/atomicops_internals_x86_gcc.Tpo -c -o atomicops_internals_x86_gcc.lo `test -f 'google/protobuf/stubs/atomicops_internals_x86_gcc.cc' || echo './'`google/protobuf/stubs/atomicops_internals_x86_gcc.cc
libtool: compile:  mips-openwrt-linux-uclibc-g++ -DHAVE_CONFIG_H -I. -I.. -I/tmp/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -I/tmp/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include -I/tmp/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/tmp/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16 -Wformat -Werror=format-security -MT atomicops_internals_x86_gcc.lo -MD -MP -MF .deps/atomicops_internals_x86_gcc.Tpo -c google/protobuf/stubs/atomicops_internals_x86_gcc.cc  -fPIC -DPIC -o .libs/atomicops_internals_x86_gcc.o
In file included from ./google/protobuf/stubs/atomicops.h:59:0,
                 from google/protobuf/stubs/atomicops_internals_x86_gcc.cc:36:
./google/protobuf/stubs/platform_macros.h:61:2: error: #error Host architecture was not detected as supported by protobuf
 #error Host architecture was not detected as supported by protobuf
  ^
In file included from google/protobuf/stubs/atomicops_internals_x86_gcc.cc:36:0:
./google/protobuf/stubs/atomicops.h:161:1: error: stray '#' in program
 #error "Atomic operations are not supported on your platform"
 ^
./google/protobuf/stubs/atomicops.h:188:1: note: in expansion of macro 'GOOGLE_PROTOBUF_ATOMICOPS_ERROR'
 GOOGLE_PROTOBUF_ATOMICOPS_ERROR
 ^
./google/protobuf/stubs/atomicops.h:161:2: error: 'error' does not name a type
 #error "Atomic operations are not supported on your platform"
  ^
./google/protobuf/stubs/atomicops.h:188:1: note: in expansion of macro 'GOOGLE_PROTOBUF_ATOMICOPS_ERROR'
 GOOGLE_PROTOBUF_ATOMICOPS_ERROR
 ^
make[6]: *** [atomicops_internals_x86_gcc.lo] Error 1
make[6]: Leaving directory `/tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0/src'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0'
make[2]: *** [/tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0/.built] Error 2
make[2]: Leaving directory `/tmp/openwrt/feeds/packages/libs/protobuf'

from packages.

champtar avatar champtar commented on July 30, 2024

with "make"

make[2]: Entering directory `/tmp/openwrt/feeds/packages/libs/protobuf'
. /tmp/openwrt/include/shell.sh; bzcat /tmp/openwrt/dl/protobuf-2.5.0.tar.bz2 | /usr/bin/gtar -C /tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0/.. -xf - 
touch /tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0/.prepared_174ec6e017548388f1686464168065cc
(cd /tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0/./; if [ -x ./configure ]; then /usr/bin/find /tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0/ -name config.guess | xargs -r chmod u+w; /usr/bin/find /tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0/ -name config.guess | xargs -r -n1 cp /tmp/openwrt/scripts/config.guess; /usr/bin/find /tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0/ -name config.sub | xargs -r chmod u+w; /usr/bin/find /tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0/ -name config.sub | xargs -r -n1 cp /tmp/openwrt/scripts/config.sub; AR=mips-openwrt-linux-uclibc-ar AS="mips-openwrt-linux-uclibc-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -Wformat -Werror=format-security" LD=mips-openwrt-linux-uclibc-ld NM=mips-openwrt-linux-uclibc-nm CC="mips-openwrt-linux-uclibc-gcc" GCC="mips-openwrt-linux-uclibc-gcc" CXX="mips-openwrt-linux-uclibc-g++" RANLIB=mips-openwrt-linux-uclibc-ranlib STRIP=mips-openwrt-linux-uclibc-strip OBJCOPY=mips-openwrt-linux-uclibc-objcopy OBJDUMP=mips-openwrt-linux-uclibc-objdump SIZE=mips-openwrt-linux-uclibc-size CFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16 -Wformat -Werror=format-security " CXXFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16 -Wformat -Werror=format-security " CPPFLAGS="-I/tmp/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -I/tmp/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include -I/tmp/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/tmp/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include " LDFLAGS="-L/tmp/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib -L/tmp/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/lib -L/tmp/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/lib -L/tmp/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib "   ./configure --target=mips-openwrt-linux --host=mips-openwrt-linux --build=x86_64-redhat-linux --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls   --with-protoc=/tmp/openwrt/build_dir/host/protobuf-2.5.0/src/protoc ; fi; )
configure: loading site script /tmp/openwrt/include/site/mips-openwrt-linux-uclibc
checking whether to enable maintainer-specific portions of Makefiles... yes
checking build system type... x86_64-redhat-linux-gnu
checking host system type... mips-openwrt-linux-gnu
checking target system type... mips-openwrt-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mips-openwrt-linux-strip... mips-openwrt-linux-uclibc-strip
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for mips-openwrt-linux-gcc... mips-openwrt-linux-uclibc-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether mips-openwrt-linux-uclibc-gcc accepts -g... yes
checking for mips-openwrt-linux-uclibc-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of mips-openwrt-linux-uclibc-gcc... gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether mips-openwrt-linux-uclibc-g++ accepts -g... yes
checking dependency style of mips-openwrt-linux-uclibc-g++... gcc3
checking how to run the C++ preprocessor... mips-openwrt-linux-uclibc-g++ -E
checking for grep that handles long lines and -e... /tmp/openwrt/staging_dir/host/bin/grep
checking for egrep... /tmp/openwrt/staging_dir/host/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking C++ compiler flags...... use user-supplied: -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16 -Wformat -Werror=format-security 
checking whether __SUNPRO_CC is declared... no
checking how to print strings... printf
checking for a sed that does not truncate output... /tmp/openwrt/staging_dir/host/bin/sed
checking for fgrep... /tmp/openwrt/staging_dir/host/bin/grep -F
checking for ld used by mips-openwrt-linux-uclibc-gcc... mips-openwrt-linux-uclibc-ld
checking if the linker (mips-openwrt-linux-uclibc-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... mips-openwrt-linux-uclibc-nm
checking the name lister (mips-openwrt-linux-uclibc-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-redhat-linux-gnu file names to mips-openwrt-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop
checking for mips-openwrt-linux-uclibc-ld option to reload object files... -r
checking for mips-openwrt-linux-objdump... mips-openwrt-linux-uclibc-objdump
checking how to recognize dependent libraries... pass_all
checking for mips-openwrt-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for mips-openwrt-linux-ar... mips-openwrt-linux-uclibc-ar
checking for archiver @FILE support... @
checking for mips-openwrt-linux-strip... (cached) mips-openwrt-linux-uclibc-strip
checking for mips-openwrt-linux-ranlib... mips-openwrt-linux-uclibc-ranlib
checking command to parse mips-openwrt-linux-uclibc-nm output from mips-openwrt-linux-uclibc-gcc object... ok
checking for sysroot... no
checking for mips-openwrt-linux-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if mips-openwrt-linux-uclibc-gcc supports -fno-rtti -fno-exceptions... no
checking for mips-openwrt-linux-uclibc-gcc option to produce PIC... -fPIC -DPIC
checking if mips-openwrt-linux-uclibc-gcc PIC flag -fPIC -DPIC works... yes
checking if mips-openwrt-linux-uclibc-gcc static flag -static works... yes
checking if mips-openwrt-linux-uclibc-gcc supports -c -o file.o... yes
checking if mips-openwrt-linux-uclibc-gcc supports -c -o file.o... (cached) yes
checking whether the mips-openwrt-linux-uclibc-gcc linker (mips-openwrt-linux-uclibc-ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... mips-openwrt-linux-uclibc-g++ -E
checking for ld used by mips-openwrt-linux-uclibc-g++... mips-openwrt-linux-uclibc-ld
checking if the linker (mips-openwrt-linux-uclibc-ld) is GNU ld... yes
checking whether the mips-openwrt-linux-uclibc-g++ linker (mips-openwrt-linux-uclibc-ld) supports shared libraries... yes
checking for mips-openwrt-linux-uclibc-g++ option to produce PIC... -fPIC -DPIC
checking if mips-openwrt-linux-uclibc-g++ PIC flag -fPIC -DPIC works... yes
checking if mips-openwrt-linux-uclibc-g++ static flag -static works... yes
checking if mips-openwrt-linux-uclibc-g++ supports -c -o file.o... yes
checking if mips-openwrt-linux-uclibc-g++ supports -c -o file.o... (cached) yes
checking whether the mips-openwrt-linux-uclibc-g++ linker (mips-openwrt-linux-uclibc-ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for working memcmp... (cached) yes
checking for working strtod... no
checking for pow... yes
checking for ftruncate... yes
checking for memset... yes
checking for mkdir... yes
checking for strchr... yes
checking for strerror... (cached) yes
checking for strtol... yes
checking zlib version... ok (1.2.0.4 or later)
checking for library containing zlibVersion... -lz
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking whether to check for GCC pthread/shared inconsistencies... yes
checking whether -pthread is sufficient with -shared... yes
checking whether what we have so far is sufficient with -nostdlib... no
checking whether -lpthread saves the day... yes
checking the location of hash_map... <tr1/unordered_map>
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating protobuf.pc
config.status: creating protobuf-lite.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
=== configuring in gtest (/tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0/gtest)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr'  '--target=mips-openwrt-linux' '--host=mips-openwrt-linux' '--build=x86_64-redhat-linux' '--program-prefix=' '--program-suffix=' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--with-protoc=/tmp/openwrt/build_dir/host/protobuf-2.5.0/src/protoc' 'build_alias=x86_64-redhat-linux' 'host_alias=mips-openwrt-linux' 'target_alias=mips-openwrt-linux' 'CC=mips-openwrt-linux-uclibc-gcc' 'CFLAGS=-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16 -Wformat -Werror=format-security ' 'LDFLAGS=-L/tmp/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib -L/tmp/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/lib -L/tmp/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/lib -L/tmp/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib ' 'CPPFLAGS=-I/tmp/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -I/tmp/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include -I/tmp/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/tmp/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include ' 'CXX=mips-openwrt-linux-uclibc-g++' 'CXXFLAGS=-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16 -Wformat -Werror=format-security ' --cache-file=/dev/null --srcdir=.
configure: loading site script /tmp/openwrt/include/site/mips-openwrt-linux-uclibc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mips-openwrt-linux-strip... mips-openwrt-linux-uclibc-strip
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for mips-openwrt-linux-gcc... mips-openwrt-linux-uclibc-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether mips-openwrt-linux-uclibc-gcc accepts -g... yes
checking for mips-openwrt-linux-uclibc-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of mips-openwrt-linux-uclibc-gcc... gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether mips-openwrt-linux-uclibc-g++ accepts -g... yes
checking dependency style of mips-openwrt-linux-uclibc-g++... gcc3
checking build system type... x86_64-redhat-linux-gnu
checking host system type... mips-openwrt-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /tmp/openwrt/staging_dir/host/bin/sed
checking for grep that handles long lines and -e... /tmp/openwrt/staging_dir/host/bin/grep
checking for egrep... /tmp/openwrt/staging_dir/host/bin/grep -E
checking for fgrep... /tmp/openwrt/staging_dir/host/bin/grep -F
checking for ld used by mips-openwrt-linux-uclibc-gcc... mips-openwrt-linux-uclibc-ld
checking if the linker (mips-openwrt-linux-uclibc-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... mips-openwrt-linux-uclibc-nm
checking the name lister (mips-openwrt-linux-uclibc-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-redhat-linux-gnu file names to mips-openwrt-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop
checking for mips-openwrt-linux-uclibc-ld option to reload object files... -r
checking for mips-openwrt-linux-objdump... mips-openwrt-linux-uclibc-objdump
checking how to recognize dependent libraries... pass_all
checking for mips-openwrt-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for mips-openwrt-linux-ar... mips-openwrt-linux-uclibc-ar
checking for archiver @FILE support... @
checking for mips-openwrt-linux-strip... (cached) mips-openwrt-linux-uclibc-strip
checking for mips-openwrt-linux-ranlib... mips-openwrt-linux-uclibc-ranlib
checking command to parse mips-openwrt-linux-uclibc-nm output from mips-openwrt-linux-uclibc-gcc object... ok
checking for sysroot... no
checking for mips-openwrt-linux-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... mips-openwrt-linux-uclibc-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if mips-openwrt-linux-uclibc-gcc supports -fno-rtti -fno-exceptions... no
checking for mips-openwrt-linux-uclibc-gcc option to produce PIC... -fPIC -DPIC
checking if mips-openwrt-linux-uclibc-gcc PIC flag -fPIC -DPIC works... yes
checking if mips-openwrt-linux-uclibc-gcc static flag -static works... yes
checking if mips-openwrt-linux-uclibc-gcc supports -c -o file.o... yes
checking if mips-openwrt-linux-uclibc-gcc supports -c -o file.o... (cached) yes
checking whether the mips-openwrt-linux-uclibc-gcc linker (mips-openwrt-linux-uclibc-ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... mips-openwrt-linux-uclibc-g++ -E
checking for ld used by mips-openwrt-linux-uclibc-g++... mips-openwrt-linux-uclibc-ld
checking if the linker (mips-openwrt-linux-uclibc-ld) is GNU ld... yes
checking whether the mips-openwrt-linux-uclibc-g++ linker (mips-openwrt-linux-uclibc-ld) supports shared libraries... yes
checking for mips-openwrt-linux-uclibc-g++ option to produce PIC... -fPIC -DPIC
checking if mips-openwrt-linux-uclibc-g++ PIC flag -fPIC -DPIC works... yes
checking if mips-openwrt-linux-uclibc-g++ static flag -static works... yes
checking if mips-openwrt-linux-uclibc-g++ supports -c -o file.o... yes
checking if mips-openwrt-linux-uclibc-g++ supports -c -o file.o... (cached) yes
checking whether the mips-openwrt-linux-uclibc-g++ linker (mips-openwrt-linux-uclibc-ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for python... /tmp/openwrt/staging_dir/host/bin/python
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking whether to check for GCC pthread/shared inconsistencies... yes
checking whether -pthread is sufficient with -shared... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating scripts/gtest-config
config.status: creating build-aux/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm -f /tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0/.configured_*
touch /tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0/.configured_
CFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16 -Wformat -Werror=format-security  -I/tmp/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -I/tmp/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include -I/tmp/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/tmp/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include " CXXFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16 -Wformat -Werror=format-security  -I/tmp/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -I/tmp/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include -I/tmp/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/tmp/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include " LDFLAGS="-L/tmp/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib -L/tmp/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/lib -L/tmp/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/lib -L/tmp/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib " make -j1 -C /tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0/. AR=mips-openwrt-linux-uclibc-ar AS="mips-openwrt-linux-uclibc-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -Wformat -Werror=format-security" LD=mips-openwrt-linux-uclibc-ld NM=mips-openwrt-linux-uclibc-nm CC="mips-openwrt-linux-uclibc-gcc" GCC="mips-openwrt-linux-uclibc-gcc" CXX="mips-openwrt-linux-uclibc-g++" RANLIB=mips-openwrt-linux-uclibc-ranlib STRIP=mips-openwrt-linux-uclibc-strip OBJCOPY=mips-openwrt-linux-uclibc-objcopy OBJDUMP=mips-openwrt-linux-uclibc-objdump SIZE=mips-openwrt-linux-uclibc-size CROSS="mips-openwrt-linux-uclibc-" ARCH="mips" ;
make[3]: Entering directory `/tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0'
make  all-recursive
make[4]: Entering directory `/tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0'
Making all in .
make[5]: Entering directory `/tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0'
make[5]: Leaving directory `/tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0'
Making all in src
make[5]: Entering directory `/tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0/src'
/tmp/openwrt/build_dir/host/protobuf-2.5.0/src/protoc -I. --cpp_out=. google/protobuf/unittest.proto google/protobuf/unittest_empty.proto google/protobuf/unittest_import.proto google/protobuf/unittest_import_public.proto google/protobuf/unittest_mset.proto google/protobuf/unittest_optimize_for.proto google/protobuf/unittest_embed_optimize_for.proto google/protobuf/unittest_custom_options.proto google/protobuf/unittest_lite.proto google/protobuf/unittest_import_lite.proto google/protobuf/unittest_import_public_lite.proto google/protobuf/unittest_lite_imports_nonlite.proto google/protobuf/unittest_no_generic_services.proto google/protobuf/compiler/cpp/cpp_test_bad_identifiers.proto
touch unittest_proto_middleman
make  all-am
make[6]: Entering directory `/tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0/src'
/bin/sh ../libtool  --tag=CXX   --mode=compile mips-openwrt-linux-uclibc-g++ -DHAVE_CONFIG_H -I. -I..   -I/tmp/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -I/tmp/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include -I/tmp/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/tmp/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include  -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare  -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16 -Wformat -Werror=format-security  -MT atomicops_internals_x86_gcc.lo -MD -MP -MF .deps/atomicops_internals_x86_gcc.Tpo -c -o atomicops_internals_x86_gcc.lo `test -f 'google/protobuf/stubs/atomicops_internals_x86_gcc.cc' || echo './'`google/protobuf/stubs/atomicops_internals_x86_gcc.cc
libtool: compile:  mips-openwrt-linux-uclibc-g++ -DHAVE_CONFIG_H -I. -I.. -I/tmp/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -I/tmp/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include -I/tmp/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/tmp/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16 -Wformat -Werror=format-security -MT atomicops_internals_x86_gcc.lo -MD -MP -MF .deps/atomicops_internals_x86_gcc.Tpo -c google/protobuf/stubs/atomicops_internals_x86_gcc.cc  -fPIC -DPIC -o .libs/atomicops_internals_x86_gcc.o
In file included from ./google/protobuf/stubs/atomicops.h:59:0,
                 from google/protobuf/stubs/atomicops_internals_x86_gcc.cc:36:
./google/protobuf/stubs/platform_macros.h:61:2: error: #error Host architecture was not detected as supported by protobuf
 #error Host architecture was not detected as supported by protobuf
  ^
In file included from google/protobuf/stubs/atomicops_internals_x86_gcc.cc:36:0:
./google/protobuf/stubs/atomicops.h:161:1: error: stray '#' in program
 #error "Atomic operations are not supported on your platform"
 ^
./google/protobuf/stubs/atomicops.h:188:1: note: in expansion of macro 'GOOGLE_PROTOBUF_ATOMICOPS_ERROR'
 GOOGLE_PROTOBUF_ATOMICOPS_ERROR
 ^
./google/protobuf/stubs/atomicops.h:161:2: error: 'error' does not name a type
 #error "Atomic operations are not supported on your platform"
  ^
./google/protobuf/stubs/atomicops.h:188:1: note: in expansion of macro 'GOOGLE_PROTOBUF_ATOMICOPS_ERROR'
 GOOGLE_PROTOBUF_ATOMICOPS_ERROR
 ^
make[6]: *** [atomicops_internals_x86_gcc.lo] Error 1
make[6]: Leaving directory `/tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0/src'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0'
make[2]: *** [/tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0/.built] Error 2
make[2]: Leaving directory `/tmp/openwrt/feeds/packages/libs/protobuf'

from packages.

jsiverskog avatar jsiverskog commented on July 30, 2024

When looking in the platform_macros.h file I can see MIPS getting mentioned, but for some reason the correct define doesn't seem to be defined in your case. Up to the point where you get errors from platform_macros.h our outputs look similar.

Are you sure your architecture is supported by protobuf?

from packages.

champtar avatar champtar commented on July 30, 2024

No not at all, but if its not supported we should mark it broken

from packages.

champtar avatar champtar commented on July 30, 2024

https://groups.google.com/forum/#!topic/protobuf/heXzx6y7R_0
https://code.google.com/p/protobuf/source/browse/trunk/src/google/protobuf/stubs/platform_macros.h
__MIPSEB__ is not supported it seems

from packages.

champtar avatar champtar commented on July 30, 2024

@jsiverskog
i've made it build in 92fc168, but it's not run tested at all

from packages.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.