ppc64 gcc-3.4.2 lk-2.6.10-rc1-mm4 link errors

Doug Maxey dwm at austin.ibm.com
Wed Nov 10 16:27:00 EST 2004


On Wed, 10 Nov 2004 12:24:26 +1030, Alan Modra wrote:
>On Tue, Nov 09, 2004 at 07:40:32PM -0600, Doug Maxey wrote:
>> Have I created a monster by missing some flags?
>
>Probably a wrong BOOTCC compiler or something like that.  I can't tell
>because of the idiotic kernel practice of hiding actual commands run
>by make.  If you use make V=1 it will likely become obvious.
>

Below is the 'make O=... V=1 zImage' from the point of the previous failure.

I should point out that with the stock gcc-3.3.3-43.24, the compile _does_ 
succeed.

-------------- next part --------------
COMMAND=={make}
ARGS={O=/build/dwm/build/lk-2.6.10-rc1-mm4.edit/ppc64 V=1 zImage}
STARTED  Tue Nov  9 23:14:15 2004  ON  io-browns
 
cmd=={make O=/build/dwm/build/lk-2.6.10-rc1-mm4.edit/ppc64 V=1 zImage}
make -C /build/dwm/build/lk-2.6.10-rc1-mm4.edit/ppc64		\
KBUILD_SRC=/build/dwm/linux/lk-2.6.10-rc1-mm4.edit	     KBUILD_VERBOSE=1	\
KBUILD_CHECK= KBUILD_EXTMOD=""	\
        -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/Makefile zImage
  Using /build/dwm/linux/lk-2.6.10-rc1-mm4.edit as source for kernel
if [ -h /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/include/asm -o -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/.config ]; then \
	echo "  /build/dwm/linux/lk-2.6.10-rc1-mm4.edit is not clean, please run 'make mrproper'";\
	echo "  in the '/build/dwm/linux/lk-2.6.10-rc1-mm4.edit' directory.";\
	/bin/false; \
fi;
if [ ! -d include2 ]; then mkdir -p include2; fi;
ln -fsn /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/include/asm-ppc64 include2/asm
if /usr/bin/env test ! /build/dwm/linux/lk-2.6.10-rc1-mm4.edit -ef /build/dwm/build/lk-2.6.10-rc1-mm4.edit/ppc64; then \
/bin/sh /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/mkmakefile              \
    /build/dwm/linux/lk-2.6.10-rc1-mm4.edit /build/dwm/build/lk-2.6.10-rc1-mm4.edit/ppc64 2 6         \
    > /build/dwm/build/lk-2.6.10-rc1-mm4.edit/ppc64/Makefile;                                 \
    echo '  GEN    /build/dwm/build/lk-2.6.10-rc1-mm4.edit/ppc64/Makefile';                   \
fi
  GEN    /build/dwm/build/lk-2.6.10-rc1-mm4.edit/ppc64/Makefile
  CHK     include/linux/version.h
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/Makefile silentoldconfig
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=scripts/basic
if /usr/bin/env test ! /build/dwm/linux/lk-2.6.10-rc1-mm4.edit -ef /build/dwm/build/lk-2.6.10-rc1-mm4.edit/ppc64; then \
/bin/sh /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/mkmakefile              \
    /build/dwm/linux/lk-2.6.10-rc1-mm4.edit /build/dwm/build/lk-2.6.10-rc1-mm4.edit/ppc64 2 6         \
    > /build/dwm/build/lk-2.6.10-rc1-mm4.edit/ppc64/Makefile;                                 \
    echo '  GEN    /build/dwm/build/lk-2.6.10-rc1-mm4.edit/ppc64/Makefile';                   \
fi
  GEN    /build/dwm/build/lk-2.6.10-rc1-mm4.edit/ppc64/Makefile
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=scripts/kconfig silentoldconfig
scripts/kconfig/conf -s arch/ppc64/Kconfig
#
# using defaults found in .config
#
  SPLIT   include/linux/autoconf.h -> include/config/*
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=scripts/basic
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=scripts
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=scripts/genksyms
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=scripts/mod
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=arch/ppc64/kernel arch/ppc64/kernel/asm-offsets.s
make[2]: `arch/ppc64/kernel/asm-offsets.s' is up to date.
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=init
  CHK     include/linux/compile.h
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=usr
set -e; echo '  CHK     usr/initramfs_list'; mkdir -p usr/; /bin/sh /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/gen_initramfs_list.sh ""  > usr/initramfs_list.tmp; if [ -r usr/initramfs_list ] && cmp -s usr/initramfs_list usr/initramfs_list.tmp; then rm -f usr/initramfs_list.tmp; else echo '  UPD     usr/initramfs_list'; mv -f usr/initramfs_list.tmp usr/initramfs_list; fi
  CHK     usr/initramfs_list
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=arch/ppc64/kernel
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=arch/ppc64/mm
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=arch/ppc64/xmon
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=kernel
  gzip -f -9 < .config > kernel/config_data.gz
  (echo "const char kernel_config_data[] = MAGIC_START"; cat kernel/config_data.gz | scripts/bin2c; echo "MAGIC_END;") > kernel/config_data.h
  gcc -m64 -Wp,-MD,kernel/.configs.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2 -I/build/dwm/linux/lk-2.6.10-rc1-mm4.edit/include -I/build/dwm/linux/lk-2.6.10-rc1-mm4.edit/kernel -Ikernel -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -fno-omit-frame-pointer -msoft-float -pipe -mminimal-toc -mtraceback=none -mtune=power4 -funit-at-a-time -Wdeclaration-after-statement  -DKBUILD_BASENAME=configs -DKBUILD_MODNAME=configs -c -o kernel/.tmp_configs.o /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/kernel/configs.c
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=kernel/irq
   ld -m elf64ppc -m elf64ppc  -r -o kernel/built-in.o kernel/sched.o kernel/fork.o kernel/exec_domain.o kernel/panic.o kernel/printk.o kernel/profile.o kernel/exit.o kernel/itimer.o kernel/time.o kernel/softirq.o kernel/resource.o kernel/sysctl.o kernel/capability.o kernel/ptrace.o kernel/timer.o kernel/user.o kernel/signal.o kernel/sys.o kernel/kmod.o kernel/workqueue.o kernel/pid.o kernel/rcupdate.o kernel/intermodule.o kernel/extable.o kernel/params.o kernel/posix-timers.o kernel/kthread.o kernel/wait.o kernel/kfifo.o kernel/sys_ni.o kernel/futex.o kernel/dma.o kernel/cpu.o kernel/spinlock.o kernel/module.o kernel/kallsyms.o kernel/acct.o kernel/compat.o kernel/configs.o kernel/stop_machine.o kernel/audit.o kernel/auditsc.o kernel/ksysfs.o kernel/irq/built-in.o
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=mm
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=fs
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=fs/autofs
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=fs/autofs4
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=fs/cifs
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=fs/cramfs
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=fs/devpts
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=fs/exportfs
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=fs/ext2
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=fs/ext3
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=fs/fat
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=fs/hfs
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=fs/hfsplus
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=fs/hugetlbfs
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=fs/isofs
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=fs/jbd
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=fs/jfs
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=fs/lockd
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=fs/minix
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=fs/msdos
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=fs/ncpfs
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=fs/nfs
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=fs/nfsd
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=fs/nls
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=fs/partitions
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=fs/proc
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=fs/ramfs
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=fs/reiserfs
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=fs/smbfs
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=fs/sysfs
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=fs/udf
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=fs/vfat
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=fs/xfs
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=ipc
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=security
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=security/selinux
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=security/selinux/ss
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=crypto
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/base
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/base/power
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/block
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/cdrom
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/char
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/char/drm
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/char/ipmi
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/char/watchdog
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/firmware
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/i2c
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/i2c/algos
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/i2c/busses
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/i2c/chips
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/ide
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/ide/arm
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/ide/legacy
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/ide/pci
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/ieee1394
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/input
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/input/keyboard
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/input/misc
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/input/mouse
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/input/serio
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/md
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/media
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/media/common
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/media/dvb
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/media/dvb/b2c2
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/media/dvb/bt8xx
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/media/dvb/cinergyT2
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/media/dvb/dibusb
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/media/dvb/dvb-core
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/media/dvb/frontends
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/media/dvb/ttpci
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/media/dvb/ttusb-budget
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/media/dvb/ttusb-dec
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/media/radio
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/media/video
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/misc
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/net
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/net/appletalk
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/net/bonding
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/net/e1000
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/net/fc
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/net/ixgb
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/net/tokenring
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/pci
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/pci/hotplug
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/scsi
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/scsi/ibmvscsi
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/scsi/qla2xxx
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/scsi/sym53c8xx_2
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/serial
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/usb
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/usb/core
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/usb/host
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/usb/input
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/usb/serial
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/usb/storage
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/video
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/video/aty
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/video/console
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/video/logo
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=drivers/video/matrox
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=sound
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=arch/ppc64/oprofile
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=net
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=net/802
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=net/8021q
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=net/appletalk
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=net/bridge
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=net/bridge/netfilter
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=net/core
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=net/ethernet
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=net/ipv4
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=net/ipv4/netfilter
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=net/ipv6
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=net/ipv6/netfilter
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=net/ipx
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=net/key
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=net/llc
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=net/netlink
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=net/packet
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=net/sched
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=net/sctp
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=net/sunrpc
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=net/sunrpc/auth_gss
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=net/unix
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=net/xfrm
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=lib
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=lib/zlib_deflate
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=lib/zlib_inflate
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=arch/ppc64/lib
  set -e; . /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/mkversion > .tmp_version; mv -f .tmp_version .version; make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=init
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  gcc -m64 -Wp,-MD,init/.version.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2 -I/build/dwm/linux/lk-2.6.10-rc1-mm4.edit/include -I/build/dwm/linux/lk-2.6.10-rc1-mm4.edit/init -Iinit -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -fno-omit-frame-pointer -msoft-float -pipe -mminimal-toc -mtraceback=none -mtune=power4 -funit-at-a-time -Wdeclaration-after-statement  -DKBUILD_BASENAME=version -DKBUILD_MODNAME=version -c -o init/.tmp_version.o /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/init/version.c
   ld -m elf64ppc -m elf64ppc  -r -o init/built-in.o init/main.o init/version.o init/mounts.o init/initramfs.o init/calibrate.o
  ld -m elf64ppc -m elf64ppc -Bstatic -e 0xc000000000000000 -Ttext 0xc000000000000000 -o .tmp_vmlinux1 -T arch/ppc64/kernel/vmlinux.lds arch/ppc64/kernel/head.o  init/built-in.o --start-group  usr/built-in.o  arch/ppc64/kernel/built-in.o  arch/ppc64/mm/built-in.o  arch/ppc64/xmon/built-in.o  kernel/built-in.o  mm/built-in.o  fs/built-in.o  ipc/built-in.o  security/built-in.o  crypto/built-in.o  lib/lib.a  arch/ppc64/lib/lib.a  lib/built-in.o  arch/ppc64/lib/built-in.o  drivers/built-in.o  sound/built-in.o  arch/ppc64/oprofile/built-in.o  net/built-in.o --end-group 
echo 'cmd_.tmp_vmlinux1 := ld -m elf64ppc -m elf64ppc -Bstatic -e 0xc000000000000000 -Ttext 0xc000000000000000 -o .tmp_vmlinux1 -T arch/ppc64/kernel/vmlinux.lds arch/ppc64/kernel/head.o  init/built-in.o --start-group  usr/built-in.o  arch/ppc64/kernel/built-in.o  arch/ppc64/mm/built-in.o  arch/ppc64/xmon/built-in.o  kernel/built-in.o  mm/built-in.o  fs/built-in.o  ipc/built-in.o  security/built-in.o  crypto/built-in.o  lib/lib.a  arch/ppc64/lib/lib.a  lib/built-in.o  arch/ppc64/lib/built-in.o  drivers/built-in.o  sound/built-in.o  arch/ppc64/oprofile/built-in.o  net/built-in.o --end-group ' > ./..tmp_vmlinux1.cmd
  nm -n .tmp_vmlinux1 | scripts/kallsyms  > .tmp_kallsyms1.S
set -e; echo '  gcc -m64 -Wp,-MD,./..tmp_kallsyms1.o.d -D__ASSEMBLY__  -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2 -I/build/dwm/linux/lk-2.6.10-rc1-mm4.edit/include    -c -o .tmp_kallsyms1.o .tmp_kallsyms1.S'; gcc -m64 -Wp,-MD,./..tmp_kallsyms1.o.d -D__ASSEMBLY__  -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2 -I/build/dwm/linux/lk-2.6.10-rc1-mm4.edit/include    -c -o .tmp_kallsyms1.o .tmp_kallsyms1.S; scripts/basic/fixdep ./..tmp_kallsyms1.o.d .tmp_kallsyms1.o 'gcc -m64 -Wp,-MD,./..tmp_kallsyms1.o.d -D__ASSEMBLY__  -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2 -I/build/dwm/linux/lk-2.6.10-rc1-mm4.edit/include    -c -o .tmp_kallsyms1.o .tmp_kallsyms1.S' > ./..tmp_kallsyms1.o.tmp; rm -f ./..tmp_kallsyms1.o.d; mv -f ./..tmp_kallsyms1.o.tmp ./..tmp_kallsyms1.o.cmd
  gcc -m64 -Wp,-MD,./..tmp_kallsyms1.o.d -D__ASSEMBLY__  -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2 -I/build/dwm/linux/lk-2.6.10-rc1-mm4.edit/include    -c -o .tmp_kallsyms1.o .tmp_kallsyms1.S
  ld -m elf64ppc -m elf64ppc -Bstatic -e 0xc000000000000000 -Ttext 0xc000000000000000 -o .tmp_vmlinux2 -T arch/ppc64/kernel/vmlinux.lds arch/ppc64/kernel/head.o  init/built-in.o --start-group  usr/built-in.o  arch/ppc64/kernel/built-in.o  arch/ppc64/mm/built-in.o  arch/ppc64/xmon/built-in.o  kernel/built-in.o  mm/built-in.o  fs/built-in.o  ipc/built-in.o  security/built-in.o  crypto/built-in.o  lib/lib.a  arch/ppc64/lib/lib.a  lib/built-in.o  arch/ppc64/lib/built-in.o  drivers/built-in.o  sound/built-in.o  arch/ppc64/oprofile/built-in.o  net/built-in.o --end-group .tmp_kallsyms1.o
  nm -n .tmp_vmlinux2 | scripts/kallsyms  > .tmp_kallsyms2.S
set -e; echo '  gcc -m64 -Wp,-MD,./..tmp_kallsyms2.o.d -D__ASSEMBLY__  -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2 -I/build/dwm/linux/lk-2.6.10-rc1-mm4.edit/include    -c -o .tmp_kallsyms2.o .tmp_kallsyms2.S'; gcc -m64 -Wp,-MD,./..tmp_kallsyms2.o.d -D__ASSEMBLY__  -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2 -I/build/dwm/linux/lk-2.6.10-rc1-mm4.edit/include    -c -o .tmp_kallsyms2.o .tmp_kallsyms2.S; scripts/basic/fixdep ./..tmp_kallsyms2.o.d .tmp_kallsyms2.o 'gcc -m64 -Wp,-MD,./..tmp_kallsyms2.o.d -D__ASSEMBLY__  -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2 -I/build/dwm/linux/lk-2.6.10-rc1-mm4.edit/include    -c -o .tmp_kallsyms2.o .tmp_kallsyms2.S' > ./..tmp_kallsyms2.o.tmp; rm -f ./..tmp_kallsyms2.o.d; mv -f ./..tmp_kallsyms2.o.tmp ./..tmp_kallsyms2.o.cmd
  gcc -m64 -Wp,-MD,./..tmp_kallsyms2.o.d -D__ASSEMBLY__  -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2 -I/build/dwm/linux/lk-2.6.10-rc1-mm4.edit/include    -c -o .tmp_kallsyms2.o .tmp_kallsyms2.S
  ld -m elf64ppc -m elf64ppc -Bstatic -e 0xc000000000000000 -Ttext 0xc000000000000000 -o vmlinux -T arch/ppc64/kernel/vmlinux.lds arch/ppc64/kernel/head.o  init/built-in.o --start-group  usr/built-in.o  arch/ppc64/kernel/built-in.o  arch/ppc64/mm/built-in.o  arch/ppc64/xmon/built-in.o  kernel/built-in.o  mm/built-in.o  fs/built-in.o  ipc/built-in.o  security/built-in.o  crypto/built-in.o  lib/lib.a  arch/ppc64/lib/lib.a  lib/built-in.o  arch/ppc64/lib/built-in.o  drivers/built-in.o  sound/built-in.o  arch/ppc64/oprofile/built-in.o  net/built-in.o --end-group .tmp_kallsyms2.o
echo 'cmd_vmlinux := ld -m elf64ppc -m elf64ppc -Bstatic -e 0xc000000000000000 -Ttext 0xc000000000000000 -o vmlinux -T arch/ppc64/kernel/vmlinux.lds arch/ppc64/kernel/head.o  init/built-in.o --start-group  usr/built-in.o  arch/ppc64/kernel/built-in.o  arch/ppc64/mm/built-in.o  arch/ppc64/xmon/built-in.o  kernel/built-in.o  mm/built-in.o  fs/built-in.o  ipc/built-in.o  security/built-in.o  crypto/built-in.o  lib/lib.a  arch/ppc64/lib/lib.a  lib/built-in.o  arch/ppc64/lib/built-in.o  drivers/built-in.o  sound/built-in.o  arch/ppc64/oprofile/built-in.o  net/built-in.o --end-group .tmp_kallsyms2.o' > ./.vmlinux.cmd
echo '  /bin/sh /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/mksysmap System.map' && /bin/sh /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/mksysmap vmlinux System.map; if [ $? -ne 0 ]; then rm -f vmlinux; /bin/false; fi;
  /bin/sh /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/mksysmap System.map
echo '  /bin/sh /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/mksysmap .tmp_System.map' && /bin/sh /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/mksysmap .tmp_vmlinux2 .tmp_System.map
  /bin/sh /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/mksysmap .tmp_System.map
cmp -s System.map .tmp_System.map || (echo Inconsistent kallsyms data; echo Try setting CONFIG_KALLSYMS_EXTRA_PASS; rm .tmp_kallsyms* ; /bin/false )
make -f /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/scripts/Makefile.build obj=arch/ppc64/boot arch/ppc64/boot/zImage
  strip -s vmlinux -o vmlinux.strip
  gzip -f -9 < vmlinux.strip > arch/ppc64/boot/kernel-vmlinux.strip.gz
touch arch/ppc64/boot/kernel-vmlinux.strip.c
  gcc -Wp,-MD,arch/ppc64/boot/.kernel-vmlinux.strip.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -Iinclude -Iinclude2 -I/build/dwm/linux/lk-2.6.10-rc1-mm4.edit/include -fno-builtin  -c -o arch/ppc64/boot/kernel-vmlinux.strip.o arch/ppc64/boot/kernel-vmlinux.strip.c
objcopy  arch/ppc64/boot/kernel-vmlinux.strip.o --add-section=.kernel:vmlinux.strip=arch/ppc64/boot/kernel-vmlinux.strip.gz --set-section-flags=.kernel:vmlinux.strip=contents,alloc,load,readonly,data
  gcc -Wp,-MD,arch/ppc64/boot/.crt0.o.d -D__ASSEMBLY__ -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -Iinclude -Iinclude2 -I/build/dwm/linux/lk-2.6.10-rc1-mm4.edit/include -fno-builtin  -traditional -c -o arch/ppc64/boot/crt0.o /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/arch/ppc64/boot/crt0.S
  gcc -Wp,-MD,arch/ppc64/boot/.string.o.d -D__ASSEMBLY__ -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -Iinclude -Iinclude2 -I/build/dwm/linux/lk-2.6.10-rc1-mm4.edit/include -fno-builtin  -traditional -c -o arch/ppc64/boot/string.o /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/arch/ppc64/boot/string.S
  gcc -Wp,-MD,arch/ppc64/boot/.prom.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -Iinclude -Iinclude2 -I/build/dwm/linux/lk-2.6.10-rc1-mm4.edit/include -fno-builtin  -c -o arch/ppc64/boot/prom.o /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/arch/ppc64/boot/prom.c
  gcc -Wp,-MD,arch/ppc64/boot/.main.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -Iinclude -Iinclude2 -I/build/dwm/linux/lk-2.6.10-rc1-mm4.edit/include -fno-builtin  -c -o arch/ppc64/boot/main.o /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/arch/ppc64/boot/main.c
  gcc -Wp,-MD,arch/ppc64/boot/.zlib.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -Iinclude -Iinclude2 -I/build/dwm/linux/lk-2.6.10-rc1-mm4.edit/include -fno-builtin  -c -o arch/ppc64/boot/zlib.o /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/arch/ppc64/boot/zlib.c
Generating arch/ppc64/boot/imagesize.c
ls -l vmlinux.strip | \
awk '{printf "/* generated -- do not edit! */\n" \
	"unsigned long vmlinux_filesize = %d;\n", $5}' > arch/ppc64/boot/imagesize.c
nm -n vmlinux | tail -n 1 | \
awk '{printf "unsigned long vmlinux_memsize = 0x%s;\n", substr($1,8)}' \
	>> arch/ppc64/boot/imagesize.c
  gcc -Wp,-MD,arch/ppc64/boot/.imagesize.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -Iinclude -Iinclude2 -I/build/dwm/linux/lk-2.6.10-rc1-mm4.edit/include -fno-builtin  -c -o arch/ppc64/boot/imagesize.o arch/ppc64/boot/imagesize.c
  gcc -Wp,-MD,arch/ppc64/boot/.div64.o.d -D__ASSEMBLY__ -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -Iinclude -Iinclude2 -I/build/dwm/linux/lk-2.6.10-rc1-mm4.edit/include -fno-builtin  -traditional -c -o arch/ppc64/boot/div64.o /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/arch/ppc64/boot/div64.S
  gcc -Wp,-MD,arch/ppc64/boot/.addnote.d -Iarch/ppc64/boot -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer  -o arch/ppc64/boot/addnote /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/arch/ppc64/boot/addnote.c
  ld -Ttext 0x00400000 -e _start -T /build/dwm/linux/lk-2.6.10-rc1-mm4.edit/arch/ppc64/boot/zImage.lds -o arch/ppc64/boot/zImage arch/ppc64/boot/crt0.o arch/ppc64/boot/string.o arch/ppc64/boot/prom.o arch/ppc64/boot/main.o arch/ppc64/boot/zlib.o arch/ppc64/boot/imagesize.o arch/ppc64/boot/div64.o  arch/ppc64/boot/kernel-vmlinux.strip.o && arch/ppc64/boot/addnote arch/ppc64/boot/zImage
ld: warning: powerpc:common64 architecture of input file `arch/ppc64/boot/crt0.o' is incompatible with powerpc:common output
ld: warning: powerpc:common64 architecture of input file `arch/ppc64/boot/string.o' is incompatible with powerpc:common output
ld: warning: powerpc:common64 architecture of input file `arch/ppc64/boot/prom.o' is incompatible with powerpc:common output
ld: warning: powerpc:common64 architecture of input file `arch/ppc64/boot/main.o' is incompatible with powerpc:common output
ld: warning: powerpc:common64 architecture of input file `arch/ppc64/boot/zlib.o' is incompatible with powerpc:common output
ld: warning: powerpc:common64 architecture of input file `arch/ppc64/boot/imagesize.o' is incompatible with powerpc:common output
ld: warning: powerpc:common64 architecture of input file `arch/ppc64/boot/div64.o' is incompatible with powerpc:common output
ld: warning: powerpc:common64 architecture of input file `arch/ppc64/boot/kernel-vmlinux.strip.o' is incompatible with powerpc:common output
arch/ppc64/boot/prom.o(.text+0x3d0): In function `.fputs':
: undefined reference to `.strlen'
arch/ppc64/boot/main.o(.text+0x5c0): In function `.start':
: undefined reference to `.memmove'
arch/ppc64/boot/main.o(.text+0x688): In function `.start':
: undefined reference to `.flush_cache'
arch/ppc64/boot/main.o(.text+0x7b0): In function `.start':
: undefined reference to `.memmove'
arch/ppc64/boot/zlib.o(.text+0x934): In function `.inflateIncomp':
: undefined reference to `.memcpy'
arch/ppc64/boot/zlib.o(.text+0x9c4): In function `.inflateIncomp':
: undefined reference to `.memcpy'
arch/ppc64/boot/zlib.o(.text+0xb38): In function `.inflate_flush':
: undefined reference to `.memcpy'
arch/ppc64/boot/zlib.o(.text+0xbc0): In function `.inflate_flush':
: undefined reference to `.memcpy'
arch/ppc64/boot/zlib.o(.text+0xc64): In function `.inflate_flush':
: undefined reference to `.memcpy'
arch/ppc64/boot/zlib.o(.text+0x1e30): more undefined references to `.memcpy' follow
CC { Reading specs from /opt/gcc-3.4.2/lib/gcc/powerpc64-unknown-linux-gnu/3.4.2/specs
 Configured with: /build/dwm/toolchain/gcc-3.4.2/configure --prefix=/opt/gcc-3.4.2 --disable-multilib --with-ld=/opt/binutils-2.15-041109/bin/ld --with-as=/opt/binutils-2.15-041109/bin/as --enable-languages=c,c++,f77 --enable-altivec
 Thread model: posix
 gcc version 3.4.2
 }
UNAME  Linux io-browns 2.6.5-7.97-pseries64 #1 SMP Fri Jul 2 14:21:59 UTC 2004 ppc64 ppc64 ppc64 GNU/Linux
uid=1001(dwm) gid=100(users) groups=10(wheel),14(uucp),16(dialout),17(audio),33(video),100(users)
COMPLETE at  Tue Nov  9 23:14:40 2004 
RETURN from {make O=/build/dwm/build/lk-2.6.10-rc1-mm4.edit/ppc64 V=1 zImage} is 0
ELAPSED time  0:00:25
 


More information about the Linuxppc64-dev mailing list