logo       

avr32 target build error on linux26: msg#00007

Subject: avr32 target build error on linux26
Hi,

I just checked out t2-7.0 and started building. I configured the
generic embedded version for the avr32 target.

The build runs fine for a while, but stops at linux26:

== 22:01:11 =[1]=> Building base/linux26 [2.6.20.1-avr2 7.0-stable].
-> Parallel build using 2 jobs enabled.
-> Reading build/.../tools.cross/lib/pkg_linux26_pre.conf
-> Including SquashFS (3.2) patch ...
-> Including UnionFS patch ...
-> Reading package config: package/base/linux26/linux26.conf
-> Reading build/.../tools.cross/lib/pkg_linux26_post.conf
-> Preparing build in src.linux26.system.20071121.220110.9609.bilbo
-> Building. Writing output to $root/var/adm/logs/1-linux26.out
*> The use of custmain is deprecated, please use hooks instead.
!> patching file include/linux/magic.h
!> Hunk #1 succeeded at 33 (offset -2 lines).
!> patching file include/linux/mm.h
!> Hunk #1 succeeded at 1156 (offset -1 lines).
!> patching file include/linux/namei.h
!> patching file include/linux/union_fs.h
!> Due to previous errors, no 1-linux26.log file!
!> (Try enabling xtrace in the config to track an error inside the
build system.)
-> $root/var/adm/logs/1-linux26.out -> 1-linux26.err
== 11/21/07 22:01:50 =[1]=> Aborted building package linux26.
-> Unmounting loop mounts ...

Anyone knows what I am doing wrong? Ill attach the full log below.

Regards,
Leen Toelen





Command Wrapper Debug: running 'avr32-t2-linux-uclibc-gcc --version' ..
avr32-t2-linux-uclibc-gcc is
/root/t2-trunk/build/system-8.0-trunk-embedded-avr32-ap7000-cross/TOOLCHAIN/tools.cross/wrapper/avr32-t2-linux-uclibc-gcc
Old Command: avr32-t2-linux-uclibc-gcc --version
ENVPREFIX = 'CMD'
OTHERS = ''
INSERT = '--help?:-pipe -Os -mcpu=ap7000'
REMOVE = '-O -O[0-9s] -mtune* -march* -mcpu* -g*'
APPEND = '-s */X11R6/include?-I/usr/X11/include
*/X11R6/lib?-L/usr/X11/lib */X11R6/lib64?-L/usr/X11/lib64'
FILTER = 'sed -e
's,^\(-[LI]\)*\(/\|/usr/\|/usr/[^/]*/\|/opt/[^/]*/\)\(include\|lib\),\1/root/t2-trunk/build/system-8.0-trunk-embedded-avr32-ap7000-cross\2\3,''
conditonal arg: --help?:-pipe.
conditonal: --help, lhs: , rhs: -pipe.
Insert: -pipe
Insert: -Os
Insert: -mcpu=ap7000
Copy:   --version
Append: -s
conditonal arg: */X11R6/include?-I/usr/X11/include.
conditonal: */X11R6/include, lhs: -I/usr/X11/include, rhs: .
conditonal arg: */X11R6/lib?-L/usr/X11/lib.
conditonal: */X11R6/lib, lhs: -L/usr/X11/lib, rhs: .
conditonal arg: */X11R6/lib64?-L/usr/X11/lib64.
conditonal: */X11R6/lib64, lhs: -L/usr/X11/lib64, rhs: .
Run Filter: sed -e
's,^\(-[LI]\)*\(/\|/usr/\|/usr/[^/]*/\|/opt/[^/]*/\)\(include\|lib\),\1/root/t2-trunk/build/system-8.0-trunk-embedded-avr32-ap7000-cross\2\3,'
Old PATH: 
/root/t2-trunk/build/system-8.0-trunk-embedded-avr32-ap7000-cross/TOOLCHAIN/tools.cross/wrapper:/root/t2-trunk/build/system-8.0-trunk-embedded-avr32-ap7000-cross/TOOLCHAIN/tools.cross/bin:/root/t2-trunk/build/system-8.0-trunk-embedded-avr32-ap7000-cross/TOOLCHAIN/tools.cross/crosscc:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
New PATH: 
/root/t2-trunk/build/system-8.0-trunk-embedded-avr32-ap7000-cross/TOOLCHAIN/tools.cross/bin:/root/t2-trunk/build/system-8.0-trunk-embedded-avr32-ap7000-cross/TOOLCHAIN/tools.cross/crosscc:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
New Command: avr32-t2-linux-uclibc-gcc -pipe -Os -mcpu=ap7000 --version -s
avr32-t2-linux-uclibc-gcc (GCC) 4.0.4-atmel.0.99.0
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[ writing debug log to
/root/t2-trunk/src.linux26.system.20071121.205635.24339.bilbo/cmd_wrapper.log
]
create symbolic link
`/root/t2-trunk/src.linux26.system.20071121.205635.24339.bilbo/archdir/linux-2.6.20.tar.bz2'
to `/root/t2-trunk/download/mirror/l/linux-2.6.20.tar.bz2'
create symbolic link
`/root/t2-trunk/src.linux26.system.20071121.205635.24339.bilbo/archdir/patch-2.6.20-avr2.bz2'
to `/root/t2-trunk/download/mirror/p/patch-2.6.20-avr2.bz2'
Running main build function 'build_this_package' ...
Extracting linux-2.6.20.tar.bz2 (--use-compress-program=bzip2 -xf) ...
Fixing ownership and permissions ...
Removing CVS, .svn, {arch} and .arch-ids directories ...
Changeing into 
/root/t2-trunk/src.linux26.system.20071121.205635.24339.bilbo/linux-2.6.20
...
Creating 
/root/t2-trunk/build/system-8.0-trunk-embedded-avr32-ap7000-cross/usr/<..>
if required ...
Generic linux patching ...
patching file kernel-patches/linux-2.4.34/squashfs3.1-patch
Apply patch /root/t2-trunk/download/mirror/p/patch-2.6.20-avr2.bz2 ...
patching file Makefile
patching file include/linux/mtd/physmap.h
patching file drivers/usb/gadget/ether.c
patching file drivers/usb/gadget/file_storage.c
patching file drivers/usb/gadget/serial.c
patching file drivers/usb/gadget/zero.c
patching file arch/avr32/boards/atstk1000/Makefile
patching file arch/avr32/boards/atstk1000/atstk1002.c
patching file arch/avr32/boards/atstk1000/spi.c
patching file arch/avr32/kernel/cpu.c
patching file arch/avr32/kernel/irq.c
patching file arch/avr32/kernel/setup.c
patching file arch/avr32/kernel/syscall_table.S
patching file arch/avr32/kernel/traps.c
patching file arch/avr32/lib/libgcc.h
patching file arch/avr32/lib/longlong.h
patching file arch/avr32/mach-at32ap/Makefile
patching file arch/avr32/mach-at32ap/at32ap7000.c
patching file arch/avr32/mach-at32ap/clock.c
patching file arch/avr32/mach-at32ap/extint.c
patching file arch/avr32/mach-at32ap/pio.c
patching file arch/avr32/mm/cache.c
patching file include/asm-avr32/Kbuild
patching file include/asm-avr32/arch-at32ap/at32ap7000.h
patching file include/asm-avr32/arch-at32ap/board.h
patching file include/asm-avr32/arch-at32ap/gpio.h
patching file include/asm-avr32/arch-at32ap/irq.h
patching file include/asm-avr32/arch-at32ap/portmux.h
patching file include/asm-avr32/checksum.h
patching file include/asm-avr32/dma-mapping.h
patching file include/asm-avr32/gpio.h
patching file include/asm-avr32/io.h
patching file include/asm-avr32/irq.h
patching file include/asm-avr32/posix_types.h
patching file include/asm-avr32/uaccess.h
patching file include/asm-avr32/unistd.h
patching file drivers/net/macb.c
patching file drivers/serial/atmel_serial.c
patching file MAINTAINERS
patching file drivers/spi/Kconfig
patching file drivers/spi/Makefile
patching file drivers/spi/atmel_spi.c
patching file drivers/spi/atmel_spi.h
patching file scripts/checkstack.pl
patching file arch/avr32/oprofile/Kconfig
patching file arch/avr32/oprofile/Makefile
patching file arch/avr32/oprofile/common.c
patching file arch/avr32/oprofile/init.c
patching file arch/avr32/oprofile/op_avr32_model.h
patching file arch/avr32/oprofile/op_counter.h
patching file arch/avr32/oprofile/op_model_avr32.c
patching file arch/avr32/oprofile/op_model_avr32.h
patching file arch/avr32/Kconfig
patching file arch/avr32/Makefile
patching file arch/avr32/kernel/time.c
patching file arch/avr32/mach-at32ap/Kconfig
patching file arch/avr32/mm/dma-coherent.c
patching file arch/avr32/drivers/Makefile
patching file arch/avr32/drivers/dw-dmac.c
patching file arch/avr32/drivers/dw-dmac.h
patching file arch/avr32/kernel/Makefile
patching file arch/avr32/kernel/dma-controller.c
patching file include/asm-avr32/dma-controller.h
patching file drivers/mmc/Kconfig
patching file drivers/mmc/Makefile
patching file drivers/mmc/atmel-mci.c
patching file drivers/mmc/atmel-mci.h
patching file drivers/video/fbmem.c
patching file include/linux/fb.h
patching file drivers/video/Kconfig
patching file drivers/video/Makefile
patching file drivers/video/sidsafb.c
patching file include/asm-avr32/periph/lcdc.h
patching file drivers/video/backlight/Kconfig
patching file drivers/video/backlight/Makefile
patching file drivers/video/backlight/ltv350qv.c
patching file drivers/i2c/busses/atmeltwi.h
patching file drivers/i2c/busses/i2c-atmeltwi.c
patching file drivers/i2c/busses/Kconfig
patching file drivers/i2c/busses/Makefile
patching file drivers/usb/gadget/Kconfig
patching file drivers/usb/gadget/Makefile
patching file drivers/usb/gadget/gadget_chips.h
patching file drivers/usb/gadget/husb2_udc.c
patching file drivers/usb/gadget/husb2_udc.h
patching file sound/Kconfig
patching file sound/Makefile
patching file sound/avr32/Kconfig
patching file sound/avr32/Makefile
patching file sound/avr32/ac97c.c
patching file sound/avr32/ac97c.h
patching file sound/avr32/at73c213.c
patching file sound/avr32/at73c213.h
patching file sound/oss/Kconfig
patching file sound/oss/Makefile
patching file sound/oss/at32dac.c
patching file sound/oss/at32dac.h
patching file arch/avr32/mach-at32ap/hsmc.c
patching file include/asm-avr32/arch-at32ap/smc.h
patching file include/asm-avr32/ide.h
patching file drivers/mtd/chips/cfi_cmdset_0001.c
patching file drivers/mtd/chips/cfi_cmdset_0002.c
Apply patch /root/t2-trunk/package/base/linux26/12-conf-hacks.patch ...
patching file scripts/kconfig/Makefile
Hunk #2 succeeded at 55 (offset -1 lines).
patching file scripts/kconfig/conf.c
Hunk #5 succeeded at 580 (offset 1 line).
Apply patch 
/root/t2-trunk/architecture/avr32/package/linux26/9-avr32-fixes.patch
...
patching file arch/avr32/kernel/ptrace.c
patching file arch/avr32/mm/cache.c
patching file include/asm-avr32/dma-mapping.h
Apply patch 
/root/t2-trunk/architecture/avr32/package/linux26/add-compactflash-glue-for-at32ap7000.patch
...
patching file drivers/pcmcia/Kconfig
patching file drivers/pcmcia/Makefile
patching file drivers/pcmcia/at32_cf.c
Apply patch 
/root/t2-trunk/architecture/avr32/package/linux26/avr32-ap7000-add-platform_device-for-compactflash.patch
...
patching file arch/avr32/mach-at32ap/at32ap7000.c
patching file arch/avr32/mach-at32ap/hmatrix.h
patching file include/asm-avr32/arch-at32ap/board.h
Apply patch 
/root/t2-trunk/architecture/avr32/package/linux26/avr32-make-i-o-access-macros-work-with-external-devices.patch
...
patching file arch/avr32/mach-at32ap/Kconfig
patching file include/asm-avr32/arch-at32ap/io.h
patching file include/asm-avr32/io.h
Apply patch 
/root/t2-trunk/architecture/avr32/package/linux26/avr32-wire-up-compactflash-on-stk1000.patch
...
patching file arch/avr32/boards/atstk1000/atstk1002.c
Apply patch 
/root/t2-trunk/architecture/avr32/package/linux26/cistpl-fix-misaligned-load.patch
...
patching file drivers/pcmcia/cistpl.c
Apply patch 
/root/t2-trunk/architecture/avr32/package/linux26/pcmcia-ioaddr_t-is-32-bits-on-avr32.patch
...
patching file include/pcmcia/cs_types.h
Apply patch 
/root/t2-trunk/architecture/avr32/package/linux26/x-arch-arvr32-hotfixes.patch
...
patching file sound/avr32/at73c213.c
patching file arch/avr32/boards/atstk1000/atstk1002.c
patching file arch/avr32/mach-at32ap/at32ap7000.c
patching file arch/avr32/mm/init.c
Apply patch 
/root/t2-trunk/architecture/avr32/package/linux26/x-arch-arvr32-sidsafb.patch
...
patching file drivers/video/sidsafb.c
Apply patch architecture/avr32/package/linux26/9-avr32-fixes.patch ...
sed: can't read
architecture/avr32/package/linux26/9-avr32-fixes.patch: No such file
or directory
Apply patch 
architecture/avr32/package/linux26/add-compactflash-glue-for-at32ap7000.patch
...
sed: can't read
architecture/avr32/package/linux26/add-compactflash-glue-for-at32ap7000.patch:
No such file or directory
Apply patch 
architecture/avr32/package/linux26/avr32-ap7000-add-platform_device-for-compactflash.patch
...
sed: can't read
architecture/avr32/package/linux26/avr32-ap7000-add-platform_device-for-compactflash.patch:
No such file or directory
Apply patch 
architecture/avr32/package/linux26/avr32-make-i-o-access-macros-work-with-external-devices.patch
...
sed: can't read
architecture/avr32/package/linux26/avr32-make-i-o-access-macros-work-with-external-devices.patch:
No such file or directory
Apply patch 
architecture/avr32/package/linux26/avr32-wire-up-compactflash-on-stk1000.patch
...
sed: can't read
architecture/avr32/package/linux26/avr32-wire-up-compactflash-on-stk1000.patch:
No such file or directory
Apply patch architecture/avr32/package/linux26/cistpl-fix-misaligned-load.patch
...
sed: can't read
architecture/avr32/package/linux26/cistpl-fix-misaligned-load.patch:
No such file or directory
Apply patch 
architecture/avr32/package/linux26/pcmcia-ioaddr_t-is-32-bits-on-avr32.patch
...
sed: can't read
architecture/avr32/package/linux26/pcmcia-ioaddr_t-is-32-bits-on-avr32.patch:
No such file or directory
Apply patch architecture/avr32/package/linux26/x-arch-arvr32-hotfixes.patch ...
sed: can't read
architecture/avr32/package/linux26/x-arch-arvr32-hotfixes.patch: No
such file or directory
Apply patch architecture/avr32/package/linux26/x-arch-arvr32-sidsafb.patch ...
sed: can't read
architecture/avr32/package/linux26/x-arch-arvr32-sidsafb.patch: No
such file or directory
Apply patch squashfs3.3/kernel-patches/linux-2.6.20/squashfs3.3-patch ...
patching file fs/Kconfig
patching file fs/Makefile
patching file fs/squashfs/inode.c
patching file fs/squashfs/Makefile
patching file fs/squashfs/squashfs2_0.c
patching file fs/squashfs/squashfs.h
patching file include/linux/squashfs_fs.h
patching file include/linux/squashfs_fs_i.h
patching file include/linux/squashfs_fs_sb.h
patching file init/do_mounts_rd.c
Apply patch 
/root/t2-trunk/download/mirror/u/unionfs-2.1.6_for_2.6.23-rc8.diff.bz2
...
patching file Documentation/filesystems/00-INDEX
Hunk #1 FAILED at 86.
1 out of 1 hunk FAILED -- saving rejects to file
Documentation/filesystems/00-INDEX.rej
patching file Documentation/filesystems/unionfs/00-INDEX
patching file Documentation/filesystems/unionfs/concepts.txt
patching file Documentation/filesystems/unionfs/issues.txt
patching file Documentation/filesystems/unionfs/rename.txt
patching file Documentation/filesystems/unionfs/usage.txt
patching file MAINTAINERS
Hunk #1 succeeded at 3287 (offset -453 lines).
patching file fs/Kconfig
Hunk #1 succeeded at 1041 (offset 14 lines).
Hunk #2 FAILED at 1134.
1 out of 2 hunks FAILED -- saving rejects to file fs/Kconfig.rej
patching file fs/Makefile
Hunk #1 succeeded at 116 (offset -2 lines).
patching file fs/drop_caches.c
patching file fs/ecryptfs/dentry.c
patching file fs/ecryptfs/inode.c
Hunk #1 succeeded at 589 (offset -12 lines).
Hunk #2 succeeded at 878 (offset -83 lines).
patching file fs/ecryptfs/main.c
Hunk #1 succeeded at 113 (offset -38 lines).
patching file fs/namei.c
Hunk #1 succeeded at 373 (offset -1 lines).
patching file fs/stack.c
Hunk #2 succeeded at 26 with fuzz 2.
Hunk #3 FAILED at 41.
1 out of 3 hunks FAILED -- saving rejects to file fs/stack.c.rej
patching file fs/unionfs/Makefile
patching file fs/unionfs/commonfops.c
patching file fs/unionfs/copyup.c
patching file fs/unionfs/debug.c
patching file fs/unionfs/dentry.c
patching file fs/unionfs/dirfops.c
patching file fs/unionfs/dirhelper.c
patching file fs/unionfs/fanout.h
patching file fs/unionfs/file.c
patching file fs/unionfs/inode.c
patching file fs/unionfs/lookup.c
patching file fs/unionfs/main.c
patching file fs/unionfs/mmap.c
patching file fs/unionfs/rdstate.c
patching file fs/unionfs/rename.c
patching file fs/unionfs/sioq.c
patching file fs/unionfs/sioq.h
patching file fs/unionfs/subr.c
patching file fs/unionfs/super.c
patching file fs/unionfs/union.h
patching file fs/unionfs/unlink.c
patching file fs/unionfs/xattr.c
patching file include/linux/fs_stack.h
patching file include/linux/magic.h
Hunk #1 succeeded at 33 (offset -2 lines).
patching file include/linux/mm.h
Hunk #1 FAILED at 20.
Hunk #2 succeeded at 1157 (offset -51 lines).
1 out of 2 hunks FAILED -- saving rejects to file include/linux/mm.h.rej
patching file include/linux/namei.h
Hunk #2 succeeded at 100 (offset -1 lines).
patching file include/linux/union_fs.h
Due to previous errors, no 1-linux26.log file!
(Try enabling xtrace in the config to track an error inside the build system.)
--- BUILD ERROR ---
Creating file list and doing final adaptions ...
Searching for orphaned files ...
Found 6 files for this package.
Found 0 orphaned files for this package.
Clear (old) md5sums ...
Creating md5sum files ... done.
Creating package description ...
Making post-install adaptions.





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    politics.lenini...    audio.emagic.ex...    tex.texinfo.gen...    handhelds.linux...    ietf.sipping/20...    lang.erlang.gen...    cygwin.talk/200...    yellowdog.gener...    mozilla.devel.l...    xfree86.newbie/...    openbsd.ports/2...    db.oracle.devel...    kde.kalyxo.deve...    user-groups.lin...    bbc.cvs/2003-04...    gnu.libtool.bug...    redhat.k12osn/2...    emulators.wine....    freebsd.devel.d...    search.xapian.g...    java.izpack.use...    network.mrtg.us...    windows.total-c...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe