Opened 10 years ago

Closed 10 years ago

#2197 closed defect (fixed)

Trunk is broken (r8390)

Reported by: nabcore Owned by: developers
Priority: high Milestone: Kamikaze 8.09 RC1
Component: toolchain Version:
Keywords: ar7 Cc:


Something seems to be wrong in the final stages of the build process:

make[7]: Entering directory `/scratch/openwrt/trunk/build_dir/linux-2.6-ar7/loader-0.05'
mipsel-linux-uclibc-gcc -fno-builtin -Os -G 0 -ffunction-sections -mno-abicalls -fno-pic -mabi=32 -march=mips32 -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap -Wall -DRAMSTART=0x94000000 -DRAMSIZE=0x00100000 -DKERNEL_ENTRY=0x94100000 -D_LZMA_IN_CB -c start.S -o start.o
mipsel-linux-uclibc-gcc -fno-builtin -Os -G 0 -ffunction-sections -mno-abicalls -fno-pic -mabi=32 -march=mips32 -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap -Wall -DRAMSTART=0x94000000 -DRAMSIZE=0x00100000 -DKERNEL_ENTRY=0x94100000 -D_LZMA_IN_CB -c decompress.c -o decompress.o
decompress.c: In function 'entry':
decompress.c:122: warning: assignment from incompatible pointer type
decompress.c:124: warning: pointer targets in assignment differ in signedness
mipsel-linux-uclibc-gcc -fno-builtin -Os -G 0 -ffunction-sections -mno-abicalls -fno-pic -mabi=32 -march=mips32 -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap -Wall -DRAMSTART=0x94000000 -DRAMSIZE=0x00100000 -DKERNEL_ENTRY=0x94100000 -D_LZMA_IN_CB -c LzmaDecode.c -o LzmaDecode.o
sed -e 's,@LOADADDR@,0x94600000,g' -e 's,@ENTRY@,_start,g' >
mipsel-linux-uclibc-ld -r -b binary --oformat elf32-tradlittlemips -o kernel.o vmlinux.lzma
mipsel-linux-uclibc-ld -s -o lzma.elf start.o decompress.o LzmaDecode.o kernel.o
make[7]: Leaving directory `/scratch/openwrt/trunk/build_dir/linux-2.6-ar7/loader-0.05'
cp -fpR /scratch/openwrt/trunk/build_dir/linux-2.6-ar7/loader-0.05/lzma.elf /scratch/openwrt/trunk/build_dir/linux-2.6-ar7/loader.elf
make[6]: Leaving directory `/scratch/openwrt/trunk/target/linux/generic-2.6/image/lzma-loader'
Creating little endian 3.0 filesystem on /scratch/openwrt/trunk/build_dir/linux-2.6-ar7/root.squashfs, block size 65536.

Little endian filesystem, data block size 65536, compressed data, compressed metadata, compressed fragments
Filesystem size 1388.09 Kbytes (1.36 Mbytes)
        35.50% of uncompressed filesystem size (3909.84 Kbytes)
Inode table size 2965 bytes (2.90 Kbytes)
        25.25% of uncompressed inode table size (11744 bytes)
Directory table size 3208 bytes (3.13 Kbytes)
        64.10% of uncompressed directory table size (5005 bytes)
Number of duplicate files found 0
Number of inodes 368
Number of files 165
Number of fragments 13
Number of symbolic links  159
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 44
Number of uids 1
        root (0)
Number of gids 0
1631+1 records in
1631+1 records out
835258 bytes (835 kB) copied, 0.00890926 seconds, 93.8 MB/s
cat: /scratch/openwrt/trunk/build_dir/mipsel/linux-2.6-ar7/root.squashfs: No such file or directory
make[5]: *** [install] Error 1
make[5]: Leaving directory `/scratch/openwrt/trunk/target/linux/ar7-2.6/image'
make[4]: *** [install] Error 2
make[4]: Leaving directory `/scratch/openwrt/trunk/target/linux/ar7-2.6'
make[3]: *** [install] Error 2
make[3]: Leaving directory `/scratch/openwrt/trunk/target/linux'
make[2]: *** [target/linux/install] Error 2
make[2]: Leaving directory `/scratch/openwrt/trunk'
make[1]: *** [/scratch/openwrt/trunk/staging_dir/mipsel/stampfiles/.target_install] Error 2
make[1]: Leaving directory `/scratch/openwrt/trunk'
make: *** [world] Error 2

The cat command is expecting a file at:


but it has been created in a different place:


Attachments (0)

Change History (3)

comment:1 follow-up: Changed 10 years ago by nabcore

Possible patch/solution for SW here:

comment:2 in reply to: ↑ 1 Changed 10 years ago by anonymous

Replying to nabcore:

Possible patch/solution for SW here:

That should read from SW, not for SW :)

comment:3 Changed 10 years ago by nbd

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

fixed in [8393]

Add Comment

Modify Ticket

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

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

Note: See TracTickets for help on using tickets.