Modify

Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#11897 closed defect (worksforme)

Unable to compile due to [world] Error 2

Reported by: Daniel Holm <d.holmen@…> Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: base system Version: Trunk
Keywords: Cc:

Description

I haven't been able to compile an image for my TP-Link WR1043-nd (ar7xx) for a while, and now I creating this ticket.

I've run make clean, make prereq and then I'm trying to run "make V=s", just as usual, but after a short while, I get the error below.

{{{make[3]: Nothing to be done for `prepare'.
make[3]: Leaving directory `/home/daniel/openwrt/trunk/toolchain/uClibc'
make[3]: Entering directory `/home/daniel/openwrt/trunk/toolchain/uClibc'
/home/daniel/openwrt/trunk/staging_dir/host/bin/sed -i -e 's,CROSS=.*,CROSS=mips-openwrt-linux-uclibc-,g' /home/daniel/openwrt/trunk/build_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/uClibc-0.9.33.2/Rules.mak
PATH='/home/daniel/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/initial/bin:/home/daniel/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/bin:/home/daniel/openwrt/trunk/staging_dir/host/bin:/home/daniel/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/bin:/home/daniel/openwrt/trunk/staging_dir/host/bin:/home/daniel/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/bin:/home/daniel/openwrt/trunk/staging_dir/host/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' make -C /home/daniel/openwrt/trunk/build_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/uClibc-0.9.33.2 AR=mips-openwrt-linux-uclibc-ar AS="mips-openwrt-linux-uclibc-gcc -c -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -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 DEVEL_PREFIX=/ RUNTIME_PREFIX=/ HOSTCC="gcc" CPU_CFLAGS="-funsigned-char -fno-builtin -fno-asm --std=gnu99 -ffunction-sections -fdata-sections -Wno-unused-but-set-variable -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float" ARCH=""mips"" LIBGCC="/home/daniel/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/lib/gcc/mips-openwrt-linux-uclibc/4.6.3/libgcc_initial.a" DOSTRIP="" PREFIX= all
make[4]: Entering directory `/home/daniel/openwrt/trunk/build_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/uClibc-0.9.33.2'
mips-openwrt-linux-uclibc-gcc -c libc/misc/internals/errno.c -o libc/misc/internals/errno.os -include ./include/libc-symbols.h -Wall -Wstrict-prototypes -Wstrict-aliasing -funsigned-char -fno-builtin -fno-asm --std=gnu99 -ffunction-sections -fdata-sections -Wno-unused-but-set-variable -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -fno-stack-protector -nostdinc -I./include -I./include -I. -I./libc/sysdeps/linux -I./libc/sysdeps/linux/mips -Os -funit-at-a-time -fmerge-all-constants -fstrict-aliasing -fno-tree-loop-optimize -fno-tree-dominator-opts -fno-strength-reduce -mno-split-addresses -I./libpthread/nptl -I./libpthread/nptl -I./libpthread/nptl/sysdeps/unix/sysv/linux/mips/ -I./libpthread/nptl/sysdeps/unix/sysv/linux/mips -I./libpthread/nptl/sysdeps/mips -I./libpthread/nptl/sysdeps/mips -I./libpthread/nptl/sysdeps/unix/sysv/linux -I./libpthread/nptl/sysdeps/unix/sysv/linux -I./libpthread/nptl/sysdeps/pthread -I./libpthread/nptl/sysdeps/pthread/bits -I./libpthread/nptl/sysdeps/generic -I./ldso/ldso/mips -I./ldso/include -I./libc/sysdeps/linux/common -I/home/daniel/openwrt/trunk/build_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/linux-dev/include/ -isystem /home/daniel/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/lib/gcc/mips-openwrt-linux-uclibc/4.6.3/include-fixed -isystem /home/daniel/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/lib/gcc/mips-openwrt-linux-uclibc/4.6.3/include -DNDEBUG -DUSE_STDIO_FUTEXES -fPIC -MT libc/misc/internals/errno.os -MD -MP -MF libc/misc/internals/.errno.os.dep
libc/misc/internals/errno.c:8:1: internal compiler error: in do_assemble_alias, at varasm.c:5444
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://dev.openwrt.org/> for instructions.
make[4]: * [libc/misc/internals/errno.os] Error 1
make[4]: Leaving directory `/home/daniel/openwrt/trunk/build_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/uClibc-0.9.33.2'
make[3]:
* home/daniel/openwrt/trunk/build_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/uClibc-0.9.33.2/.built Error 2
make[3]: Leaving directory `/home/daniel/openwrt/trunk/toolchain/uClibc'
make[2]: * [toolchain/uClibc/compile] Error 2
make[2]: Leaving directory `/home/daniel/openwrt/trunk'
make[1]:
* home/daniel/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/stamp/.toolchain_install Error 2
make[1]: Leaving directory `/home/daniel/openwrt/trunk'
make: * [world] Error 2
}}}

Attachments (0)

Change History (3)

comment:1 Changed 6 years ago by jow

  • Resolution set to worksforme
  • Status changed from new to closed

Your tree is unclean and the toolchain needs a rebuild - "make dirclean" will fix the issue above.

comment:2 Changed 6 years ago by Daniel Holm <d.holmen@…>

Alright, thanks!

comment:3 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.