Modify

Opened 7 years ago

Closed 7 years ago

Last modified 2 years ago

#9048 closed defect (fixed)

binutils won't compile in trunk for mipsel uClibc-0.9.32 (conflicting types)

Reported by: anonymous Owned by: nbd
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

Conflicting types errors occurs when referencing psignal and gettimeofday. make world V=99 references below:

make[6]: Entering directory `/home/man/trunk/build_dir/target-mipsel_uClibc-0.9.32/binutils-2.20.1/libiberty'
/bin/sh ./config.status --recheck
running CONFIG_SHELL=/bin/sh /bin/sh /home/man/trunk/build_dir/target-mipsel_uClibc-0.9.32/binutils-2.20.1/libiberty/configure --cache-file=./config.cache --with-gnu-as --with-gnu-ld --with-stabs --with-sysroot=/home/man/trunk/build_dir/target-mipsel_uClibc-0.9.32/binutils-2.20.1/ipkg-install --prefix=/usr --disable-multilib --disable-werror --disable-nls --enable-shared --with-float=soft --program-transform-name=s,y,y, --disable-option-checking --build=x86_64-unknown-linux-gnu --host=mipsel-openwrt-linux-uclibcgnueabi --target=mipsel-openwrt-linux-uclibcgnueabi --srcdir=.././libiberty build_alias=x86_64-unknown-linux-gnu host_alias=mipsel-openwrt-linux-uclibcgnueabi target_alias=mipsel-openwrt-linux-uclibcgnueabi CC=mipsel-openwrt-linux-uclibcgnueabi-gcc CFLAGS=-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic  LDFLAGS= -L/home/man/trunk/staging_dir/target-mipsel_uClibc-0.9.32/usr/lib -L/home/man/trunk/staging_dir/target-mipsel_uClibc-0.9.32/lib -L/home/man/trunk/staging_dir/toolchain-mipsel_gcc-linaro_uClibc-0.9.32/usr/lib -L/home/man/trunk/staging_dir/toolchain-mipsel_gcc-linaro_uClibc-0.9.32/lib  --no-create --no-recursion
configure: loading cache ./config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for makeinfo... (cached) makeinfo
checking for perl... (cached) perl
checking build system type... (cached) x86_64-unknown-linux-gnu
checking host system type... (cached) mipsel-openwrt-linux-uclibcgnueabi
checking for mipsel-openwrt-linux-uclibcgnueabi-ar... (cached) mipsel-openwrt-linux-uclibcgnueabi-ar
checking for mipsel-openwrt-linux-uclibcgnueabi-ranlib... (cached) mipsel-openwrt-linux-uclibcgnueabi-ranlib
checking for mipsel-openwrt-linux-uclibcgnueabi-gcc... (cached) mipsel-openwrt-linux-uclibcgnueabi-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... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether mipsel-openwrt-linux-uclibcgnueabi-gcc accepts -g... (cached) yes
checking for mipsel-openwrt-linux-uclibcgnueabi-gcc option to accept ISO C89... (cached) none needed
checking for special C compiler options needed for large files... (cached) no
checking for _FILE_OFFSET_BITS value needed for large files... (cached) 64
checking how to run the C preprocessor... (cached) mipsel-openwrt-linux-uclibcgnueabi-gcc -E
checking whether mipsel-openwrt-linux-uclibcgnueabi-gcc supports -W... (cached) yes
checking whether mipsel-openwrt-linux-uclibcgnueabi-gcc supports -Wall... (cached) yes
checking whether mipsel-openwrt-linux-uclibcgnueabi-gcc supports -Wwrite-strings... (cached) yes
checking whether mipsel-openwrt-linux-uclibcgnueabi-gcc supports -Wc++-compat... (cached) yes
checking whether mipsel-openwrt-linux-uclibcgnueabi-gcc supports -Wstrict-prototypes... (cached) yes
checking whether mipsel-openwrt-linux-uclibcgnueabi-gcc supports -pedantic ... (cached) yes
checking whether mipsel-openwrt-linux-uclibcgnueabi-gcc and cc understand -c and -o together... (cached) yes
checking for an ANSI C-conforming const... (cached) yes
checking for inline... (cached) inline
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking whether byte ordering is bigendian... (cached) no
checking for a BSD-compatible install... /bin/install -c
checking for sys/file.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for limits.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for malloc.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for time.h... (cached) yes
checking for sys/resource.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/mman.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for alloca.h... (cached) yes
checking for sys/pstat.h... (cached) no
checking for sys/sysmp.h... (cached) no
checking for sys/sysinfo.h... (cached) yes
checking for machine/hal_sysinfo.h... (cached) no
checking for sys/table.h... (cached) no
checking for sys/sysctl.h... (cached) yes
checking for sys/systemcfg.h... (cached) no
checking for stdint.h... (cached) yes
checking for stdio_ext.h... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking whether errno must be declared... (cached) no
checking size of int... (cached) 4
checking for intptr_t... (cached) yes
checking for uintptr_t... (cached) yes
checking for a 64-bit type... (cached) uint64_t
checking for pid_t... (cached) yes
checking for library containing strerror... (cached) none required
checking for asprintf... (cached) yes
checking for atexit... (cached) no
checking for basename... (cached) no
checking for bcmp... (cached) no
checking for bcopy... (cached) no
checking for bsearch... (cached) no
checking for bzero... (cached) no
checking for calloc... (cached) no
checking for clock... (cached) no
checking for ffs... (cached) no
checking for getcwd... (cached) no
checking for getpagesize... (cached) no
checking for gettimeofday... (cached) no
checking for index... (cached) no
checking for insque... (cached) no
checking for memchr... (cached) no
checking for memcmp... (cached) no
checking for memcpy... (cached) no
checking for memmem... (cached) no
checking for memmove... (cached) no
checking for mempcpy... (cached) no
checking for memset... (cached) no
checking for mkstemps... (cached) no
checking for putenv... (cached) no
checking for random... (cached) no
checking for rename... (cached) no
checking for rindex... (cached) no
checking for setenv... (cached) no
checking for snprintf... (cached) no
checking for sigsetmask... (cached) no
checking for stpcpy... (cached) no
checking for stpncpy... (cached) no
checking for strcasecmp... (cached) no
checking for strchr... (cached) no
checking for strdup... (cached) no
checking for strncasecmp... (cached) no
checking for strndup... (cached) no
checking for strrchr... (cached) no
checking for strstr... (cached) no
checking for strtod... (cached) no
checking for strtol... (cached) no
checking for strtoul... (cached) no
checking for strverscmp... (cached) no
checking for tmpnam... (cached) no
checking for vasprintf... (cached) no
checking for vfprintf... (cached) no
checking for vprintf... (cached) no
checking for vsnprintf... (cached) no
checking for vsprintf... (cached) no
checking for waitpid... (cached) no
checking whether alloca needs Cray hooks... (cached) no
checking stack direction for C alloca... (cached) 0
checking for vfork.h... (cached) no
checking for fork... (cached) no
checking for vfork... (cached) no
checking for _doprnt... (cached) no
checking for sys_errlist... (cached) no
checking for sys_nerr... (cached) no
checking for sys_siglist... (cached) no
checking for external symbol _system_configuration... no
checking for getrusage... (cached) no
checking for on_exit... (cached) no
checking for psignal... (cached) no
checking for strerror... (cached) no
checking for strsignal... (cached) no
checking for sysconf... (cached) no
checking for times... (cached) no
checking for sbrk... (cached) no
checking for gettimeofday... (cached) no
checking for realpath... (cached) no
checking for canonicalize_file_name... (cached) no
checking for pstat_getstatic... (cached) no
checking for pstat_getdynamic... (cached) no
checking for sysmp... (cached) no
checking for getsysinfo... (cached) no
checking for table... (cached) no
checking for sysctl... (cached) no
checking for wait3... (cached) no
checking for wait4... (cached) no
checking for __fsetlocking... (cached) no
checking whether basename is declared... (cached) no
checking whether ffs is declared... (cached) no
checking whether asprintf is declared... (cached) no
checking whether vasprintf is declared... (cached) no
checking whether snprintf is declared... (cached) no
checking whether vsnprintf is declared... (cached) no
checking whether calloc is declared... (cached) no
checking whether getenv is declared... (cached) no
checking whether getopt is declared... (cached) no
checking whether malloc is declared... (cached) no
checking whether realloc is declared... (cached) no
checking whether sbrk is declared... (cached) no
checking whether strverscmp is declared... (cached) no
checking whether canonicalize_file_name must be declared... (cached) yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for working strncmp... (cached) no
configure: creating ./config.status
CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status
config.status: creating Makefile
config.status: executing default commands
make[6]: Leaving directory `/home/man/trunk/build_dir/target-mipsel_uClibc-0.9.32/binutils-2.20.1/libiberty'
make[6]: Entering directory `/home/man/trunk/build_dir/target-mipsel_uClibc-0.9.32/binutils-2.20.1/libiberty'
CONFIG_FILES= CONFIG_HEADERS=config.h:./config.in /bin/sh ./config.status
config.status: creating config.h
config.status: executing default commands
if [ x"-fPIC" != x ]; then \
	  mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fPIC ./regex.c -o pic/regex.o; \
	else true; fi
mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./regex.c -o regex.o
if [ x"-fPIC" != x ]; then \
	  mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fPIC ./cplus-dem.c -o pic/cplus-dem.o; \
	else true; fi
mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./cplus-dem.c -o cplus-dem.o
if [ x"-fPIC" != x ]; then \
	  mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fPIC ./cp-demangle.c -o pic/cp-demangle.o; \
	else true; fi
mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./cp-demangle.c -o cp-demangle.o
if [ x"-fPIC" != x ]; then \
	  mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fPIC ./md5.c -o pic/md5.o; \
	else true; fi
mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./md5.c -o md5.o
if [ x"-fPIC" != x ]; then \
	  mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fPIC ./sha1.c -o pic/sha1.o; \
	else true; fi
mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./sha1.c -o sha1.o
if [ x"-fPIC" != x ]; then \
	  mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fPIC ./alloca.c -o pic/alloca.o; \
	else true; fi
mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./alloca.c -o alloca.o
if [ x"-fPIC" != x ]; then \
	  mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fPIC ./argv.c -o pic/argv.o; \
	else true; fi
mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./argv.c -o argv.o
if [ x"-fPIC" != x ]; then \
	  mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fPIC ./choose-temp.c -o pic/choose-temp.o; \
	else true; fi
mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./choose-temp.c -o choose-temp.o
if [ x"-fPIC" != x ]; then \
	  mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fPIC ./concat.c -o pic/concat.o; \
	else true; fi
mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./concat.c -o concat.o
if [ x"-fPIC" != x ]; then \
	  mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fPIC ./cp-demint.c -o pic/cp-demint.o; \
	else true; fi
mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./cp-demint.c -o cp-demint.o
if [ x"-fPIC" != x ]; then \
	  mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fPIC ./crc32.c -o pic/crc32.o; \
	else true; fi
mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./crc32.c -o crc32.o
if [ x"-fPIC" != x ]; then \
	  mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fPIC ./dyn-string.c -o pic/dyn-string.o; \
	else true; fi
mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./dyn-string.c -o dyn-string.o
if [ x"-fPIC" != x ]; then \
	  mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fPIC ./fdmatch.c -o pic/fdmatch.o; \
	else true; fi
mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./fdmatch.c -o fdmatch.o
if [ x"-fPIC" != x ]; then \
	  mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fPIC ./fibheap.c -o pic/fibheap.o; \
	else true; fi
mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./fibheap.c -o fibheap.o
if [ x"-fPIC" != x ]; then \
	  mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fPIC ./filename_cmp.c -o pic/filename_cmp.o; \
	else true; fi
mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./filename_cmp.c -o filename_cmp.o
if [ x"-fPIC" != x ]; then \
	  mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fPIC ./floatformat.c -o pic/floatformat.o; \
	else true; fi
mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./floatformat.c -o floatformat.o
if [ x"-fPIC" != x ]; then \
	  mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fPIC ./fnmatch.c -o pic/fnmatch.o; \
	else true; fi
mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./fnmatch.c -o fnmatch.o
if [ x"-fPIC" != x ]; then \
	  mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fPIC ./fopen_unlocked.c -o pic/fopen_unlocked.o; \
	else true; fi
mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./fopen_unlocked.c -o fopen_unlocked.o
if [ x"-fPIC" != x ]; then \
	  mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fPIC ./getopt.c -o pic/getopt.o; \
	else true; fi
mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./getopt.c -o getopt.o
if [ x"-fPIC" != x ]; then \
	  mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fPIC ./getopt1.c -o pic/getopt1.o; \
	else true; fi
mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./getopt1.c -o getopt1.o
if [ x"-fPIC" != x ]; then \
	  mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fPIC ./getpwd.c -o pic/getpwd.o; \
	else true; fi
mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./getpwd.c -o getpwd.o
if [ x"-fPIC" != x ]; then \
	  mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fPIC ./getruntime.c -o pic/getruntime.o; \
	else true; fi
mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./getruntime.c -o getruntime.o
if [ x"-fPIC" != x ]; then \
	  mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fPIC ./hashtab.c -o pic/hashtab.o; \
	else true; fi
mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./hashtab.c -o hashtab.o
if [ x"-fPIC" != x ]; then \
	  mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fPIC ./hex.c -o pic/hex.o; \
	else true; fi
mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./hex.c -o hex.o
if [ x"-fPIC" != x ]; then \
	  mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fPIC ./lbasename.c -o pic/lbasename.o; \
	else true; fi
mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./lbasename.c -o lbasename.o
if [ x"-fPIC" != x ]; then \
	  mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fPIC ./lrealpath.c -o pic/lrealpath.o; \
	else true; fi
mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./lrealpath.c -o lrealpath.o
if [ x"-fPIC" != x ]; then \
	  mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fPIC ./make-relative-prefix.c -o pic/make-relative-prefix.o; \
	else true; fi
mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./make-relative-prefix.c -o make-relative-prefix.o
if [ x"-fPIC" != x ]; then \
	  mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fPIC ./make-temp-file.c -o pic/make-temp-file.o; \
	else true; fi
mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./make-temp-file.c -o make-temp-file.o
if [ x"-fPIC" != x ]; then \
	  mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fPIC ./objalloc.c -o pic/objalloc.o; \
	else true; fi
mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./objalloc.c -o objalloc.o
if [ x"-fPIC" != x ]; then \
	  mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fPIC ./obstack.c -o pic/obstack.o; \
	else true; fi
mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./obstack.c -o obstack.o
if [ x"-fPIC" != x ]; then \
	  mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fPIC ./partition.c -o pic/partition.o; \
	else true; fi
mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./partition.c -o partition.o
if [ x"-fPIC" != x ]; then \
	  mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fPIC ./pexecute.c -o pic/pexecute.o; \
	else true; fi
mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./pexecute.c -o pexecute.o
if [ x"-fPIC" != x ]; then \
	  mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fPIC ./physmem.c -o pic/physmem.o; \
	else true; fi
mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./physmem.c -o physmem.o
if [ x"-fPIC" != x ]; then \
	  mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fPIC ./pex-common.c -o pic/pex-common.o; \
	else true; fi
mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./pex-common.c -o pex-common.o
if [ x"-fPIC" != x ]; then \
	  mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fPIC ./pex-one.c -o pic/pex-one.o; \
	else true; fi
mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./pex-one.c -o pex-one.o
if [ x"-fPIC" != x ]; then \
	  mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fPIC ./pex-unix.c -o pic/pex-unix.o; \
	else true; fi
./pex-unix.c: In function 'pex_unix_cleanup':
./pex-unix.c:558:27: warning: identifier 'this' conflicts with C++ keyword
./pex-unix.c:561:7: warning: identifier 'this' conflicts with C++ keyword
./pex-unix.c:562:14: warning: identifier 'this' conflicts with C++ keyword
./pex-unix.c:563:13: warning: identifier 'this' conflicts with C++ keyword
mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./pex-unix.c -o pex-unix.o
./pex-unix.c: In function 'pex_unix_cleanup':
./pex-unix.c:558:27: warning: identifier 'this' conflicts with C++ keyword
./pex-unix.c:561:7: warning: identifier 'this' conflicts with C++ keyword
./pex-unix.c:562:14: warning: identifier 'this' conflicts with C++ keyword
./pex-unix.c:563:13: warning: identifier 'this' conflicts with C++ keyword
if [ x"-fPIC" != x ]; then \
	  mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fPIC ./sort.c -o pic/sort.o; \
	else true; fi
mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./sort.c -o sort.o
if [ x"-fPIC" != x ]; then \
	  mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fPIC ./spaces.c -o pic/spaces.o; \
	else true; fi
mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./spaces.c -o spaces.o
if [ x"-fPIC" != x ]; then \
	  mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fPIC ./splay-tree.c -o pic/splay-tree.o; \
	else true; fi
mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./splay-tree.c -o splay-tree.o
if [ x"-fPIC" != x ]; then \
	  mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fPIC ./strerror.c -o pic/strerror.o; \
	else true; fi
./strerror.c: In function 'strerror':
./strerror.c:662:3: warning: return discards qualifiers from pointer target type
mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ./strerror.c -o strerror.o
./strerror.c: In function 'strerror':
./strerror.c:662:3: warning: return discards qualifiers from pointer target type
if [ x"-fPIC" != x ]; then \
	  mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fPIC ./strsignal.c -o pic/strsignal.o; \
	else true; fi
./strsignal.c:554:1: error: conflicting types for 'psignal'
/home/man/trunk/staging_dir/toolchain-mipsel_gcc-linaro_uClibc-0.9.32/lib/gcc/mipsel-openwrt-linux-uclibcgnueabi/4.5.2/../../../../mipsel-openwrt-linux-uclibcgnueabi/sys-include/signal.h:165:13: note: previous declaration of 'psignal' was here
make[6]: *** [strsignal.o] Error 1
make[6]: Leaving directory `/home/man/trunk/build_dir/target-mipsel_uClibc-0.9.32/binutils-2.20.1/libiberty'
make[5]: *** [all-libiberty] Error 2
make[5]: Leaving directory `/home/man/trunk/build_dir/target-mipsel_uClibc-0.9.32/binutils-2.20.1'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/man/trunk/build_dir/target-mipsel_uClibc-0.9.32/binutils-2.20.1'
make[3]: *** [/home/man/trunk/build_dir/target-mipsel_uClibc-0.9.32/binutils-2.20.1/.built] Error 2
make[3]: Leaving directory `/home/man/trunk/feeds/packages/devel/binutils'
make[2]: *** [package/feeds/packages/binutils/compile] Error 2
make[2]: Leaving directory `/home/man/trunk'
make[1]: *** [/home/man/trunk/staging_dir/target-mipsel_uClibc-0.9.32/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/man/trunk'
make: *** [world] Error 2

{{{

{{{
make[6]: Entering directory `/home/user/trunk/build_dir/target-mipsel_uClibc-0.9.32/binutils-2.20.1/libiberty'
if [ x"-fPIC" != x ]; then \
	  mipsel-openwrt-linux-uclibcgnueabi-gcc -c -DHAVE_CONFIG_H -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -I. -I./../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fPIC ./gettimeofday.c -o pic/gettimeofday.o; \
	else true; fi
./gettimeofday.c:23:1: error: conflicting types for 'gettimeofday'
/home/user/trunk/staging_dir/toolchain-mipsel_gcc-linaro_uClibc-0.9.32/lib/gcc/mipsel-openwrt-linux-uclibcgnueabi/4.5.2/../../../../mipsel-openwrt-linux-uclibcgnueabi/sys-include/sys/time.h:73:12: note: previous declaration of 'gettimeofday' was here
./gettimeofday.c: In function 'gettimeofday':
./gettimeofday.c:26:5: warning: implicit declaration of function 'abort'
./gettimeofday.c:26:5: warning: incompatible implicit declaration of built-in function 'abort'
make[6]: *** [gettimeofday.o] Error 1
make[6]: Leaving directory `/home/user/trunk/build_dir/target-mipsel_uClibc-0.9.32/binutils-2.20.1/libiberty'
make[5]: *** [all-libiberty] Error 2
make[5]: Leaving directory `/home/user/trunk/build_dir/target-mipsel_uClibc-0.9.32/binutils-2.20.1'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/user/trunk/build_dir/target-mipsel_uClibc-0.9.32/binutils-2.20.1'
make[3]: *** [/home/user/trunk/build_dir/target-mipsel_uClibc-0.9.32/binutils-2.20.1/.built] Error 2
make[3]: Leaving directory `/home/user/trunk/feeds/packages/devel/binutils'
make[2]: *** [package/feeds/packages/binutils/compile] Error 2
make[2]: Leaving directory `/home/user/trunk'
make[1]: *** [/home/user/trunk/staging_dir/target-mipsel_uClibc-0.9.32/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/user/trunk'
make: *** [world] Error 2
}}}

Host system is fully-updated Arch x86_64.  Compiled a full image, then decided to add binutils to the mix.
}}}

Attachments (1)

binutils.log (240.6 KB) - added by anonymous 7 years ago.
build log uClibc-0.9.32, binutils-2.20.1, gcc-linaro (OpenWRT trunk)

Download all attachments as: .zip

Change History (17)

comment:1 Changed 7 years ago by anonymous

We experience a similar error on mipsel with uClibc-0.9.32, binutils-2.20.1, gcc-linaro (OpenWRT trunk).

The build log is attached.

Changed 7 years ago by anonymous

build log uClibc-0.9.32, binutils-2.20.1, gcc-linaro (OpenWRT trunk)

comment:2 Changed 7 years ago by ddxx0n

Same error here, binutils does not compile, latest trunk for ar71xx:

{{{/build/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9.32/lib/gcc/mips-openwrt-linux-uclibc/4.5.2/../../../../mips-openwrt-linux-uclibc/bin/ld: /build/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9.32/lib/libiberty.a(cplus-dem.o): relocation R_MIPS_HI16 against `_sch_istable' can not be used when making a shared object; recompile with -fPIC
/build/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9.32/lib/libiberty.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[8]: * [libbfd.la] Error 1}}}

comment:3 Changed 7 years ago by jow

  • Owner changed from developers to nbd
  • Status changed from new to assigned

comment:4 Changed 7 years ago by ddxx0n

Please note that the R_MIPS_HI16 error anonymous #2 before me put in this ticket (and which I am experiencing, too) is different than the original psignal/gettimeofday problem from anyonymous #1 in the ticket.

Both occcur in the binutils package - but apart from that, it should have been a seperate ticket.

comment:5 Changed 7 years ago by nbd

Was this a fresh build? Did you try using make dirclean?

comment:6 Changed 7 years ago by anonymous

yes, the same with dirclean.

comment:7 Changed 7 years ago by anonymous

i made it build by adding:

$(SED) 's/\"CFLAGS=/\"CFLAGS=$(FPIC) /' $(HOST_BUILD_DIR)/libiberty/Makefile.in

in

Host/Configure

section of

toolchain/binutils/Makefile

.

The problem is that CFLAGS (from TARGET_CFLAGS) is not get passed down to make subdirs. And $(FPIC) is apparentely required for libiberty. So TARGET_CFLAGS+=$(FPIC) doesn't work (even if it was there).

Another thing left we wonder is why package binutils would use libiberty from binutils toolchain?

comment:8 Changed 7 years ago by anonymous

The patch is here, too: http://dpaste.com/500646/

comment:9 Changed 7 years ago by ddxxon

The patch does not help w/ my binutils error, because it's the target package and not the toolchain that breaks - thus there has to be a fix for feeds/packages/devel/binutils/Makefile:

make[3] -C feeds/packages/devel/binutils compile
make -r world: build failed. Please re-run make with V=99 to see what's going on
make: *** [world] Error 1

The last part of the V=99 log:

/build/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9.32/lib/gcc/mips-openwrt-linux-uclibc/4.5.2/../../../../mips-openwrt-linux-uclibc/bin/ld: /build/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9.32/lib/libiberty.a(cplus-dem.o): relocation R_MIPS_HI16 against `_sch_istable' can not be used when making a shared object; recompile with -fPIC
/build/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9.32/lib/libiberty.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[8]: *** [libbfd.la] Error 1
make[8]: Leaving directory `/build/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/binutils-2.20.1/bfd'
make[7]: *** [all-recursive] Error 1
make[7]: Leaving directory `/build/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/binutils-2.20.1/bfd'
make[6]: *** [all] Error 2
make[6]: Leaving directory `/build/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/binutils-2.20.1/bfd'
make[5]: *** [all-bfd] Error 2
make[5]: Leaving directory `/build/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/binutils-2.20.1'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/build/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/binutils-2.20.1'
make[3]: *** [/build/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/binutils-2.20.1/.built] Error 2
make[3]: Leaving directory `/build/openwrt/trunk/feeds/packages/devel/binutils'
make[2]: *** [package/feeds/packages/binutils/compile] Error 2
make[2]: Leaving directory `/build/openwrt/trunk'
make[1]: *** [/build/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/stamp/.package_compile] Error 2
make[1]: Leaving directory `/build/openwrt/trunk'
make: *** [world] Error 2

comment:10 Changed 7 years ago by anonymous

As told, "Another thing left we wonder is why package binutils would use libiberty from binutils toolchain?"

As you can see, you binutils pacakge is using libiberty from toolchain (/build/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9.32/lib/libiberty.a: could not read symbols: Bad value).

Therefore, the patch is working. Make sure to make clean/whatever.

comment:11 Changed 7 years ago by ddxx0n

Sorry, I did apply the patch, but it didn't work since I obviously didn't clean enough.

However, just as you suspected the real problem is that libiberty.a from the host toolchain instead of the local cross libiberty.a is used. The selection priority has to be fixed, the host libiberty.a w/o -fPIC seems to be just fine otherwise. Try this: after moving or deleting staging_dir/toolchain-mips_r2_gcc-.../lib/libiberty.a, a 'make package/binutils/compile V=99' works by forcing the local (working) ibiberty.a to be selected since the prioritized other one is missing now.

comment:12 follow-up: Changed 7 years ago by anonymous

nice idea man, the following patch should fix the priorities:
http://dpaste.com/506337/

Drop the above binutils toolchain patch.

comment:13 in reply to: ↑ 12 Changed 7 years ago by ddxx0n

Replying to anonymous:

Drop the above binutils toolchain patch.

Yes, this looks very reasonable and should do it - thx. I am pasting the patch here again in case your link expires.

Index: devel/binutils/Makefile
===================================================================
--- devel/binutils/Makefile	(revision 26172)
+++ devel/binutils/Makefile	(working copy)
@@ -57,6 +57,7 @@
 		$(call qstrip,$(CONFIG_EXTRA_BINUTILS_CONFIG_OPTIONS))
 
 TARGET_CFLAGS += $(FPIC)
+TARGET_LDFLAGS := -L$(PKG_BUILD_DIR)/libiberty $(TARGET_LDFLAGS)
 
 define Build/Configure
 	$(call Build/Configure/Default)

comment:14 Changed 7 years ago by jow

  • Resolution set to fixed
  • Status changed from assigned to closed

Fix committed in r26254 - thanks!

comment:15 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

comment:16 Changed 2 years ago by anonymous

This was very helpful, the info about the patch that is. It fixed my build issue. Thanks.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.