Modify

Opened 7 years ago

Closed 6 years ago

Last modified 4 years ago

#9846 closed defect (fixed)

kexec-tools fails to build (ar71xx, gcc 4.6.1, linux-2.6.39.3)

Reported by: risa2000 Owned by: florian
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: kexec-tools Cc:

Description

When building trunk (r27838) for ar71xx, using gcc 4.6.1 and 2.6.39.3 kernel, kexec-tools emits following error:

make[3]: Entering directory `/home/risa/openwrt/openwrt/package/kexec-tools'
. /home/risa/openwrt/openwrt/include/shell.sh; . /home/risa/openwrt/openwrt/include/shell.sh; bzcat /home/risa/openwrt/openwrt/dl/kexec-tools-2.0.2.tar.bz2 | /bin/tar -C /home/risa/openwrt/openwrt/build_dir/target-mips_r2_uClibc-0.9.32/kexec-tools-2.0.2/.. -xf - 

Applying ./patches/0004-mips_regdefs.patch using plaintext: 
patching file kexec/arch/mips/regdef.h
touch /home/risa/openwrt/openwrt/build_dir/target-mips_r2_uClibc-0.9.32/kexec-tools-2.0.2/.prepared_44360cdf9e996fe42715bb1c6cb8f1da
(cd /home/risa/openwrt/openwrt/build_dir/target-mips_r2_uClibc-0.9.32/kexec-tools-2.0.2; rm -f aclocal.m4; if [ -f ./configure.ac ] || [ -f ./configure.in ]; then [ -d ./autom4te.cache ] && rm -rf autom4te.cache; touch NEWS AUTHORS COPYING ChangeLog; AUTOM4TE=/home/risa/openwrt/openwrt/staging_dir/host/bin/autom4te AUTOCONF=/home/risa/openwrt/openwrt/staging_dir/host/bin/autoconf AUTOMAKE=/home/risa/openwrt/openwrt/staging_dir/host/bin/automake ACLOCAL=/home/risa/openwrt/openwrt/staging_dir/host/bin/aclocal AUTOHEADER=/home/risa/openwrt/openwrt/staging_dir/host/bin/autoheader LIBTOOLIZE=/home/risa/openwrt/openwrt/staging_dir/host/bin/libtoolize LIBTOOL=/home/risa/openwrt/openwrt/staging_dir/host/bin/libtool M4=/home/risa/openwrt/openwrt/staging_dir/host/bin/m4 AUTOPOINT=true /home/risa/openwrt/openwrt/staging_dir/host/bin/autoreconf -v -f -i -s -B /home/risa/openwrt/openwrt/staging_dir/host/share/aclocal -I /home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/host/share/aclocal -I /home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/usr/share/aclocal -I m4 -I . . || true; [ -e ./config.rpath ] || ln -s /home/risa/openwrt/openwrt/scripts/config.rpath ./config.rpath; fi; );
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: /home/risa/openwrt/openwrt/staging_dir/host/bin/aclocal -I /home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/host/share/aclocal -I /home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/usr/share/aclocal -I m4 -I . --force 
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /home/risa/openwrt/openwrt/staging_dir/host/bin/autoconf --include=/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/host/share/aclocal --include=/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/usr/share/aclocal --include=m4 --include=. --prepend-include=/home/risa/openwrt/openwrt/staging_dir/host/share/aclocal --force
autoreconf: running: /home/risa/openwrt/openwrt/staging_dir/host/bin/autoheader --include=/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/host/share/aclocal --include=/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/usr/share/aclocal --include=m4 --include=. --prepend-include=/home/risa/openwrt/openwrt/staging_dir/host/share/aclocal --force
autoreconf: configure.ac: not using Automake
autoreconf: Leaving directory `.'
(cd /home/risa/openwrt/openwrt/build_dir/target-mips_r2_uClibc-0.9.32/kexec-tools-2.0.2/./; if [ -x ./configure ]; then /usr/bin/find /home/risa/openwrt/openwrt/build_dir/target-mips_r2_uClibc-0.9.32/kexec-tools-2.0.2/ -name config.guess | xargs -r chmod u+w; /usr/bin/find /home/risa/openwrt/openwrt/build_dir/target-mips_r2_uClibc-0.9.32/kexec-tools-2.0.2/ -name config.guess | xargs -r -n1 cp /home/risa/openwrt/openwrt/scripts/config.guess; /usr/bin/find /home/risa/openwrt/openwrt/build_dir/target-mips_r2_uClibc-0.9.32/kexec-tools-2.0.2/ -name config.sub | xargs -r chmod u+w; /usr/bin/find /home/risa/openwrt/openwrt/build_dir/target-mips_r2_uClibc-0.9.32/kexec-tools-2.0.2/ -name config.sub | xargs -r -n1 cp /home/risa/openwrt/openwrt/scripts/config.sub; AR=mips-openwrt-linux-uclibc-ar AS="mips-openwrt-linux-uclibc-gcc -c -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float" 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 -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float " CXXFLAGS="-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float " CPPFLAGS="-I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/include " LDFLAGS="-L/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/usr/lib -L/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/lib -L/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/usr/lib -L/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/lib "  BUILD_CC="gcc" TARGET_CC="mips-openwrt-linux-uclibc-gcc"  ./configure --target=mips-linux-uclibc --host=mips-openwrt-linux-uclibc --build=x86_64-pc-linux-gnu --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc ; fi; )
configure: loading site script /home/risa/openwrt/openwrt/include/site/mips-openwrt-linux-uclibc
checking build system type... x86_64-pc-linux-gnu
checking host system type... mips-openwrt-linux-uclibc
checking target system type... mips-unknown-linux-uclibc
checking for mips-openwrt-linux-uclibc-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 x86_64-pc-linux-gnu-gcc... gcc
checking how to run the C preprocessor... mips-openwrt-linux-uclibc-gcc -E
checking for mips-openwrt-linux-uclibc-ld... mips-openwrt-linux-uclibc-ld
checking for mips-openwrt-linux-uclibc-as... mips-openwrt-linux-uclibc-gcc -c -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float
checking for mips-openwrt-linux-uclibc-objcopy... mips-openwrt-linux-uclibc-objcopy
checking for mips-openwrt-linux-uclibc-ar... mips-openwrt-linux-uclibc-ar
checking for mips-linux-uclibc-gcc... mips-openwrt-linux-uclibc-gcc
checking for mips-linux-uclibc-ld... no
checking for mips-unknown-linux-uclibc-ld... no
checking for ld... ld
checking whether mips-openwrt-linux-uclibc-gcc accepts -fno-zero-initialized-in-bss... Yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for mkdir... mkdir
checking for rm... rm
checking for cp... cp
checking for ln... ln
checking for tar... /bin/tar
checking for rpmbuild... no
checking for sed... sed
checking for find... /usr/bin/find
checking for xargs... xargs
checking for dirname... dirname
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /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 zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for inflateInit_ in -lz... yes
checking lzma.h usability... no
checking lzma.h presence... no
checking for lzma.h... no
checking xenctrl.h usability... no
checking xenctrl.h presence... no
checking for xenctrl.h... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/config.h
touch /home/risa/openwrt/openwrt/build_dir/target-mips_r2_uClibc-0.9.32/kexec-tools-2.0.2/.configured_
make -C /home/risa/openwrt/openwrt/build_dir/target-mips_r2_uClibc-0.9.32/kexec-tools-2.0.2 DESTDIR="/home/risa/openwrt/openwrt/build_dir/target-mips_r2_uClibc-0.9.32/kexec-tools-2.0.2/ipkg-install" all install
make[4]: Entering directory `/home/risa/openwrt/openwrt/build_dir/target-mips_r2_uClibc-0.9.32/kexec-tools-2.0.2'
mips-openwrt-linux-uclibc-gcc -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float  -fno-strict-aliasing -Wall -Wstrict-prototypes -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/include  -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/mips/libfdt -I./kexec/arch/mips/include  -c -MD -o kexec/kexec.o kexec/kexec.c
kexec/kexec.c: In function 'my_exec':
kexec/kexec.c:818:6: warning: variable 'result' set but not used [-Wunused-but-set-variable]
mips-openwrt-linux-uclibc-gcc -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float  -fno-strict-aliasing -Wall -Wstrict-prototypes -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/include  -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/mips/libfdt -I./kexec/arch/mips/include  -c -MD -o kexec/ifdown.o kexec/ifdown.c
mips-openwrt-linux-uclibc-gcc -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float  -fno-strict-aliasing -Wall -Wstrict-prototypes -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/include  -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/mips/libfdt -I./kexec/arch/mips/include  -c -MD -o kexec/kexec-elf.o kexec/kexec-elf.c
mips-openwrt-linux-uclibc-gcc -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float  -fno-strict-aliasing -Wall -Wstrict-prototypes -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/include  -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/mips/libfdt -I./kexec/arch/mips/include  -c -MD -o kexec/kexec-elf-exec.o kexec/kexec-elf-exec.c
mips-openwrt-linux-uclibc-gcc -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float  -fno-strict-aliasing -Wall -Wstrict-prototypes -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/include  -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/mips/libfdt -I./kexec/arch/mips/include  -c -MD -o kexec/kexec-elf-core.o kexec/kexec-elf-core.c
mips-openwrt-linux-uclibc-gcc -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float  -fno-strict-aliasing -Wall -Wstrict-prototypes -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/include  -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/mips/libfdt -I./kexec/arch/mips/include  -c -MD -o kexec/kexec-elf-rel.o kexec/kexec-elf-rel.c
kexec/kexec-elf-rel.c: In function 'elf_rel_load':
kexec/kexec-elf-rel.c:351:13: warning: 'rel.r_offset' may be used uninitialized in this function [-Wuninitialized]
mips-openwrt-linux-uclibc-gcc -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float  -fno-strict-aliasing -Wall -Wstrict-prototypes -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/include  -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/mips/libfdt -I./kexec/arch/mips/include  -c -MD -o kexec/kexec-elf-boot.o kexec/kexec-elf-boot.c
mips-openwrt-linux-uclibc-gcc -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float  -fno-strict-aliasing -Wall -Wstrict-prototypes -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/include  -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/mips/libfdt -I./kexec/arch/mips/include  -c -MD -o kexec/kexec-iomem.o kexec/kexec-iomem.c
mips-openwrt-linux-uclibc-gcc -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float  -fno-strict-aliasing -Wall -Wstrict-prototypes -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/include  -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/mips/libfdt -I./kexec/arch/mips/include  -c -MD -o kexec/firmware_memmap.o kexec/firmware_memmap.c
mips-openwrt-linux-uclibc-gcc -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float  -fno-strict-aliasing -Wall -Wstrict-prototypes -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/include  -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/mips/libfdt -I./kexec/arch/mips/include  -c -MD -o kexec/crashdump.o kexec/crashdump.c
mips-openwrt-linux-uclibc-gcc -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float  -fno-strict-aliasing -Wall -Wstrict-prototypes -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/include  -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/mips/libfdt -I./kexec/arch/mips/include  -c -MD -o kexec/crashdump-xen.o kexec/crashdump-xen.c
mips-openwrt-linux-uclibc-gcc -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float  -fno-strict-aliasing -Wall -Wstrict-prototypes -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/include  -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/mips/libfdt -I./kexec/arch/mips/include  -c -MD -o kexec/phys_arch.o kexec/phys_arch.c
mips-openwrt-linux-uclibc-gcc -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float  -fno-strict-aliasing -Wall -Wstrict-prototypes -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/include  -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/mips/libfdt -I./kexec/arch/mips/include  -c -MD -o kexec/lzma.o kexec/lzma.c
mips-openwrt-linux-uclibc-gcc -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float  -fno-strict-aliasing -Wall -Wstrict-prototypes -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/include  -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/mips/libfdt -I./kexec/arch/mips/include  -c -MD -o kexec/zlib.o kexec/zlib.c
mips-openwrt-linux-uclibc-gcc -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float  -fno-strict-aliasing -Wall -Wstrict-prototypes -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/include  -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/mips/libfdt -I./kexec/arch/mips/include  -c -MD -o kexec/proc_iomem.o kexec/proc_iomem.c
mips-openwrt-linux-uclibc-gcc -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float  -fno-strict-aliasing -Wall -Wstrict-prototypes -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/include  -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/mips/libfdt -I./kexec/arch/mips/include  -c -MD -o kexec/phys_to_virt.o kexec/phys_to_virt.c
mips-openwrt-linux-uclibc-gcc -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float  -fno-strict-aliasing -Wall -Wstrict-prototypes -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/include  -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/mips/libfdt -I./kexec/arch/mips/include  -c -MD -o kexec/arch_reuse_initrd.o kexec/arch_reuse_initrd.c
mips-openwrt-linux-uclibc-gcc -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float  -fno-strict-aliasing -Wall -Wstrict-prototypes -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/include  -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/mips/libfdt -I./kexec/arch/mips/include  -c -MD -o kexec/arch_init.o kexec/arch_init.c
mips-openwrt-linux-uclibc-gcc -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float  -fno-strict-aliasing -Wall -Wstrict-prototypes -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/include  -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/mips/libfdt -I./kexec/arch/mips/include  -c -MD -o kexec/arch/mips/kexec-mips.o kexec/arch/mips/kexec-mips.c
mips-openwrt-linux-uclibc-gcc -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float  -fno-strict-aliasing -Wall -Wstrict-prototypes -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/include  -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/mips/libfdt -I./kexec/arch/mips/include  -c -MD -o kexec/arch/mips/kexec-elf-mips.o kexec/arch/mips/kexec-elf-mips.c
mips-openwrt-linux-uclibc-gcc -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float  -fno-strict-aliasing -Wall -Wstrict-prototypes -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/include  -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/mips/libfdt -I./kexec/arch/mips/include  -c -MD -o kexec/arch/mips/kexec-elf-rel-mips.o kexec/arch/mips/kexec-elf-rel-mips.c
mips-openwrt-linux-uclibc-gcc -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float  -fno-strict-aliasing -Wall -Wstrict-prototypes -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/usr/include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/include  -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/mips/libfdt -I./kexec/arch/mips/include  -c -MD -o kexec/arch/mips/crashdump-mips.o kexec/arch/mips/crashdump-mips.c
mips-openwrt-linux-uclibc-gcc -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float  -fno-strict-aliasing -Wall -Wstrict-prototypes -fno-zero-initialized-in-bss  -Os -fno-builtin -ffreestanding  -I./purgatory/include -I./purgatory/arch/mips/include -I./util_lib/include -I./include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/lib/gcc/mips-openwrt-linux-uclibc/4.6.1/include  -c -MD -o purgatory/purgatory.o purgatory/purgatory.c
mips-openwrt-linux-uclibc-gcc -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float  -fno-strict-aliasing -Wall -Wstrict-prototypes -fno-zero-initialized-in-bss  -Os -fno-builtin -ffreestanding  -I./purgatory/include -I./purgatory/arch/mips/include -I./util_lib/include -I./include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/lib/gcc/mips-openwrt-linux-uclibc/4.6.1/include  -c -MD -o purgatory/printf.o purgatory/printf.c
mips-openwrt-linux-uclibc-gcc -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float  -fno-strict-aliasing -Wall -Wstrict-prototypes -fno-zero-initialized-in-bss  -Os -fno-builtin -ffreestanding  -I./purgatory/include -I./purgatory/arch/mips/include -I./util_lib/include -I./include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/lib/gcc/mips-openwrt-linux-uclibc/4.6.1/include  -c -MD -o purgatory/string.o purgatory/string.c
mips-openwrt-linux-uclibc-gcc -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float  -fno-strict-aliasing -Wall -Wstrict-prototypes -fno-zero-initialized-in-bss  -Os -fno-builtin -ffreestanding  -I./purgatory/include -I./purgatory/arch/mips/include -I./util_lib/include -I./include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/lib/gcc/mips-openwrt-linux-uclibc/4.6.1/include  -c -MD -o purgatory/arch/mips/purgatory-mips.o purgatory/arch/mips/purgatory-mips.c
mips-openwrt-linux-uclibc-gcc -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float  -fno-strict-aliasing -Wall -Wstrict-prototypes -fno-zero-initialized-in-bss  -Os -fno-builtin -ffreestanding  -I./purgatory/include -I./purgatory/arch/mips/include -I./util_lib/include -I./include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/lib/gcc/mips-openwrt-linux-uclibc/4.6.1/include  -c -MD -o purgatory/arch/mips/console-mips.o purgatory/arch/mips/console-mips.c
mkdir -p purgatory
mips-openwrt-linux-uclibc-gcc -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float  -fno-strict-aliasing -Wall -Wstrict-prototypes -fno-zero-initialized-in-bss  -Os -fno-builtin -ffreestanding -O0  -I./purgatory/include -I./purgatory/arch/mips/include -I./util_lib/include -I./include -I/home/risa/openwrt/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6.1_uClibc-0.9.32/lib/gcc/mips-openwrt-linux-uclibc/4.6.1/include  -c -o purgatory/sha256.o util_lib/sha256.c
mkdir -p purgatory
mips-openwrt-linux-uclibc-gcc  --no-undefined -nostartfiles -nostdlib -nodefaultlibs -e purgatory_start -r -o purgatory/purgatory.ro purgatory/purgatory.o purgatory/printf.o purgatory/string.o purgatory/arch/mips/purgatory-mips.o purgatory/arch/mips/console-mips.o purgatory/sha256.o
mips-openwrt-linux-uclibc-gcc: error: unrecognized option '--no-undefined'
make[4]: *** [purgatory/purgatory.ro] Error 1
make[4]: Leaving directory `/home/risa/openwrt/openwrt/build_dir/target-mips_r2_uClibc-0.9.32/kexec-tools-2.0.2'
make[3]: *** [/home/risa/openwrt/openwrt/build_dir/target-mips_r2_uClibc-0.9.32/kexec-tools-2.0.2/.built] Error 2
make[3]: Leaving directory `/home/risa/openwrt/openwrt/package/kexec-tools'
make[2]: *** [package/kexec-tools/compile] Error 2
make[2]: Leaving directory `/home/risa/openwrt/openwrt'
make[1]: *** [/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/risa/openwrt/openwrt'
make: *** [world] Error 2

Attachments (0)

Change History (4)

comment:1 Changed 6 years ago by florian

  • Owner changed from developers to florian
  • Status changed from new to accepted

comment:2 Changed 6 years ago by amain@…

Problem is still there(ar71xx, gcc):

mips-openwrt-linux-uclibc-gcc: error: unrecognized option '--no-undefined'

comment:3 Changed 6 years ago by florian

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

Fixed with r30493.

comment:4 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

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.