Modify ↓
Opened 7 years ago
Closed 7 years ago
#8447 closed defect (fixed)
r24510-r24512 breaks sstrip build
Reported by: | risa2000 | Owned by: | developers |
---|---|---|---|
Priority: | normal | Milestone: | Backfire 10.03.1 |
Component: | toolchain | Version: | Trunk |
Keywords: | Cc: | cshore |
Description
Building toolchain from the trunk (r24513) on system:
$ uname -a Linux core-i3 2.6.36.1 #2 SMP Sun Nov 28 09:36:41 CET 2010 x86_64 Intel(R) Core(TM) i3 CPU 530 @ 2.93GHz GenuineIntel GNU/Linux
gives error:
$ make V=99 make[1]: Entering directory `/home/risa/openwrt/openwrt' make[2]: Entering directory `/home/risa/openwrt/openwrt' + mkdir -p /home/risa/openwrt/openwrt/staging_dir/target-mipsel_uClibc-0.9.32 + cd /home/risa/openwrt/openwrt/staging_dir/target-mipsel_uClibc-0.9.32 + mkdir -p bin lib include stamp mkdir -p /home/risa/openwrt/openwrt/build_dir/target-mipsel_uClibc-0.9.32/stamp touch /home/risa/openwrt/openwrt/staging_dir/target-mipsel_uClibc-0.9.32/.prepared + mkdir -p /home/risa/openwrt/openwrt/staging_dir/host + cd /home/risa/openwrt/openwrt/staging_dir/host + mkdir -p bin lib include stamp mkdir -p /home/risa/openwrt/openwrt/build_dir/host/stamp install -m0644 /home/risa/openwrt/openwrt/tools/include/*.h /home/risa/openwrt/openwrt/staging_dir/host/include/ touch /home/risa/openwrt/openwrt/staging_dir/host/.prepared make[3]: Entering directory `/home/risa/openwrt/openwrt/tools/gmp' make[3]: Leaving directory `/home/risa/openwrt/openwrt/tools/gmp' make[3]: Entering directory `/home/risa/openwrt/openwrt/tools/gmp' make[3]: Leaving directory `/home/risa/openwrt/openwrt/tools/gmp' make[3]: Entering directory `/home/risa/openwrt/openwrt/tools/mpfr' make[3]: Leaving directory `/home/risa/openwrt/openwrt/tools/mpfr' make[3]: Entering directory `/home/risa/openwrt/openwrt/tools/mpfr' make[3]: Leaving directory `/home/risa/openwrt/openwrt/tools/mpfr' make[3]: Entering directory `/home/risa/openwrt/openwrt/tools/m4' make[3]: Leaving directory `/home/risa/openwrt/openwrt/tools/m4' make[3]: Entering directory `/home/risa/openwrt/openwrt/tools/m4' make[3]: Leaving directory `/home/risa/openwrt/openwrt/tools/m4' make[3]: Entering directory `/home/risa/openwrt/openwrt/tools/autoconf' make[3]: Leaving directory `/home/risa/openwrt/openwrt/tools/autoconf' make[3]: Entering directory `/home/risa/openwrt/openwrt/tools/autoconf' make[3]: Leaving directory `/home/risa/openwrt/openwrt/tools/autoconf' make[3]: Entering directory `/home/risa/openwrt/openwrt/tools/automake' make[3]: Leaving directory `/home/risa/openwrt/openwrt/tools/automake' make[3]: Entering directory `/home/risa/openwrt/openwrt/tools/automake' make[3]: Leaving directory `/home/risa/openwrt/openwrt/tools/automake' make[3]: Entering directory `/home/risa/openwrt/openwrt/tools/bison' make[3]: Leaving directory `/home/risa/openwrt/openwrt/tools/bison' make[3]: Entering directory `/home/risa/openwrt/openwrt/tools/bison' make[3]: Leaving directory `/home/risa/openwrt/openwrt/tools/bison' make[3]: Entering directory `/home/risa/openwrt/openwrt/tools/sed' make[3]: Leaving directory `/home/risa/openwrt/openwrt/tools/sed' make[3]: Entering directory `/home/risa/openwrt/openwrt/tools/sed' make[3]: Leaving directory `/home/risa/openwrt/openwrt/tools/sed' make[3]: Entering directory `/home/risa/openwrt/openwrt/tools/pkg-config' make[3]: Leaving directory `/home/risa/openwrt/openwrt/tools/pkg-config' make[3]: Entering directory `/home/risa/openwrt/openwrt/tools/pkg-config' make[3]: Leaving directory `/home/risa/openwrt/openwrt/tools/pkg-config' make[3]: Entering directory `/home/risa/openwrt/openwrt/tools/mklibs' make[3]: Leaving directory `/home/risa/openwrt/openwrt/tools/mklibs' make[3]: Entering directory `/home/risa/openwrt/openwrt/tools/mklibs' make[3]: Leaving directory `/home/risa/openwrt/openwrt/tools/mklibs' make[3]: Entering directory `/home/risa/openwrt/openwrt/tools/sstrip' touch /home/risa/openwrt/openwrt/build_dir/host/sstrip/.preparedd765e480e2408c2c35337666cd868cb2 (cd /home/risa/openwrt/openwrt/build_dir/host/sstrip/; if [ -x configure ]; then cp -fpR /home/risa/openwrt/openwrt/scripts/config.{guess,sub} /home/risa/openwrt/openwrt/build_dir/host/sstrip// && ./configure CFLAGS="-O2 -I/home/risa/openwrt/openwrt/staging_dir/host/include" CPPFLAGS="-O2 -I/home/risa/openwrt/openwrt/staging_dir/host/include" LDFLAGS="-L/home/risa/openwrt/openwrt/staging_dir/host/lib" SHELL="/bin/bash" --target=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --program-prefix="" --program-suffix="" --prefix=/home/risa/openwrt/openwrt/staging_dir/host --exec-prefix=/home/risa/openwrt/openwrt/staging_dir/host --sysconfdir=/home/risa/openwrt/openwrt/staging_dir/host/etc --localstatedir=/home/risa/openwrt/openwrt/staging_dir/host/var --sbindir=/home/risa/openwrt/openwrt/staging_dir/host/bin ; fi ) touch /home/risa/openwrt/openwrt/build_dir/host/sstrip/.configured cc -O2 -I/home/risa/openwrt/openwrt/staging_dir/host/include -I/home/risa/openwrt/openwrt/tools/include -include endian.h -o /home/risa/openwrt/openwrt/build_dir/host/sstrip/sstrip src/sstrip.c In file included from /usr/include/stdlib.h:43, from src/sstrip.c:56: /usr/include/bits/waitstatus.h:80: error: duplicate member '__w_retcode' /usr/include/bits/waitstatus.h:80: error: duplicate member '({anonymous})' /usr/include/bits/waitstatus.h:80: error: duplicate member '({anonymous})' /usr/include/bits/waitstatus.h:81: error: duplicate member '__w_coredump' /usr/include/bits/waitstatus.h:81: error: duplicate member '({anonymous})' /usr/include/bits/waitstatus.h:81: error: duplicate member '({anonymous})' /usr/include/bits/waitstatus.h:81: error: duplicate member '({anonymous})' /usr/include/bits/waitstatus.h:82: error: duplicate member '__w_termsig' /usr/include/bits/waitstatus.h:82: error: duplicate member '({anonymous})' /usr/include/bits/waitstatus.h:82: error: duplicate member '({anonymous})' /usr/include/bits/waitstatus.h:82: error: duplicate member '({anonymous})' /usr/include/bits/waitstatus.h:82: error: duplicate member '({anonymous})' /usr/include/bits/waitstatus.h:94: error: duplicate member '__w_stopsig' /usr/include/bits/waitstatus.h:94: error: duplicate member '({anonymous})' /usr/include/bits/waitstatus.h:94: error: duplicate member '({anonymous})' /usr/include/bits/waitstatus.h:95: error: duplicate member '__w_stopval' /usr/include/bits/waitstatus.h:95: error: duplicate member '({anonymous})' /usr/include/bits/waitstatus.h:95: error: duplicate member '({anonymous})' /usr/include/bits/waitstatus.h:95: error: duplicate member '({anonymous})' src/sstrip.c: In function 'readelfheader32': src/sstrip.c:363: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:363: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:363: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:363: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c: In function 'readphdrtable32': src/sstrip.c:363: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:363: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:363: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c: In function 'getmemorysize32': src/sstrip.c:363: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:363: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:363: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:363: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:363: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:363: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c: In function 'modifyheaders32': src/sstrip.c:363: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:363: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:363: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:363: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:363: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:363: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:363: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:363: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:363: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:363: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:363: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:363: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:363: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:363: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:363: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:363: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:363: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c: In function 'commitchanges32': src/sstrip.c:363: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:363: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:363: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:363: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c: In function 'readelfheader64': src/sstrip.c:365: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:365: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:365: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:365: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c: In function 'readphdrtable64': src/sstrip.c:365: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:365: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:365: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c: In function 'getmemorysize64': src/sstrip.c:365: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:365: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:365: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:365: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:365: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:365: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c: In function 'modifyheaders64': src/sstrip.c:365: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:365: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:365: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:365: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:365: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:365: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:365: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:365: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:365: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:365: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:365: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:365: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:365: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:365: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:365: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:365: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:365: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c: In function 'commitchanges64': src/sstrip.c:365: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:365: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:365: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/sstrip.c:365: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' make[3]: *** [/home/risa/openwrt/openwrt/build_dir/host/sstrip/.built] Error 1 make[3]: Leaving directory `/home/risa/openwrt/openwrt/tools/sstrip' make[2]: *** [tools/sstrip/compile] Error 2 make[2]: Leaving directory `/home/risa/openwrt/openwrt' make[1]: *** [/home/risa/openwrt/openwrt/staging_dir/target-mipsel_uClibc-0.9.32/stamp/.tools_install_ynnnn] Error 2 make[1]: Leaving directory `/home/risa/openwrt/openwrt' make: *** [world] Error 2
Looking at preprocessed file for sstrip.i indicates that when including bits/waitstatus.h, apparently:
- __USE_BSD is defined
- __BYTE_ORDER, __LITTLE_ENDIAN, __BIG_ENDIAN either all have the same value, or all are undefined.
Attachments (0)
Change History (1)
comment:1 Changed 7 years ago by florian
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
Fixed with r24516