Problems building 2.6.31.6 with 64bit Fedora-11
OK, Im new to Fedora-11, and this will be my first 64bit kernel build, so this is probably going to be something stupid, but I dont see it.
The top of my .config file reads:
---
#
# Automatically generated make config: don't edit # Linux kernel version: 2.6.31.6-PPS
# Thu Nov 19 20:08:27 2009
#CONFIG_64BIT=y
# CONFIG_X86_32 is not setCONFIG_X86_64=yCONFIG_X86=yCONFIG_OUTPUT_FORMAT="elf64-x86-64" CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig" CONFIG_GENERIC_TIME=y CONFIG_GENERIC_CMOS_UPDATE=y CONFIG_CLOCKSOURCE_WATCHDOG=y CONFIG_GENERIC_CLOCKEVENTS=y
---
So it seems that I am really doing a 64bit build, but the problems start with the first cc/ld, viz
---
[root@deneb linux-2.6.31.6-PPS]# make -j3 mod
ules ; make -j3 bzImage
HOSTLD scripts/kconfig/confscripts/kconfig/conf -s arch/x86/Kconfig
CHK include/linux/version.h UPD include/linux/version.h CHK include/linux/utsrelease.h UPD include/linux/utsrelease.h SYMLINK include/asm -> include/asm-x86 HOSTCC scripts/kallsyms CC scripts/mod/empty.o HOSTCC scripts/selinux/mdp/mdp nm: scripts/mod/empty.o: File format not recognized objdump: scripts/mod/empty.o: File format not recognized HOSTCC scripts/mod/mk_elfconfig HOSTCC scripts/pnmtologo MKELF scripts/mod/elfconfig.h HOSTCC scripts/mod/file2alias.o HOSTCC scripts/mod/modpost.o HOSTCC scripts/mod/sumversion.o HOSTCC scripts/conmakehash HOSTLD scripts/mod/modpost CC kernel/bounds.s GEN include/linux/bounds.h CC arch/x86/kernel/asm-offsets.s GEN include/asm/asm-offsets.h CALL scripts/checksyscalls.sh CC [M] arch/x86/crypto/crc32c-intel.o CC [M] arch/x86/kernel/test_nx.o CC [M] arch/x86/kernel/microcode_core.o
nm: arch/x86/crypto/crc32c-intel.o: File format not recognized
nm: arch/x86/kernel/test_nx.o: File format not recognized
objdump: arch/x86/kernel/test_nx.o: File format not recognized
objdump: arch/x86/crypto/crc32c-intel.o: File format not recognized
CC [M] arch/x86/kvm/svm.o
CC [M] arch/x86/kvm/vmx.o
nm: arch/x86/kernel/microcode_core.o: File format not recognized
---
So whats going on here?
Why the file-format-not-recognized ???
Signature · 2 lines
Reg.Clemens
[email protected]What arch are you building on?
What does 'file' say about the bad object files?
eg file vmlinux.o
vmlinux.o: ELF 64-bit LSB relocatable, AMD x86-64, version 1 (SYSV), not stripped
Quoted 85 lines · Reg Clemens
OK, Im new to Fedora-11, and this will be my first 64bit kernel build, so this is probably going to be something stupid, but I dont see it.
The top of my .config file reads:
---
#
# Automatically generated make config: don't edit # Linux kernel version: 2.6.31.6-PPS
# Thu Nov 19 20:08:27 2009
#CONFIG_64BIT=y
#CONFIG_X86_32is not setCONFIG_X86_64=yCONFIG_X86=yCONFIG_OUTPUT_FORMAT="elf64-x86-64"CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig"CONFIG_GENERIC_TIME=yCONFIG_GENERIC_CMOS_UPDATE=yCONFIG_CLOCKSOURCE_WATCHDOG=yCONFIG_GENERIC_CLOCKEVENTS=y---
So it seems that I am really doing a 64bit build, but the problems start with the first cc/ld, viz
---
[root@deneb linux-2.6.31.6-PPS]# make -j3 mod
ules ; make -j3 bzImage
HOSTLD scripts/kconfig/confscripts/kconfig/conf-sarch/x86/Kconfig
CHKinclude/linux/version.h
UPDinclude/linux/version.h
CHKinclude/linux/utsrelease.h
UPDinclude/linux/utsrelease.h
SYMLINKinclude/asm->include/asm-x86
HOSTCC scripts/kallsyms
CC scripts/mod/empty.o
HOSTCC scripts/selinux/mdp/mdp
nm:scripts/mod/empty.o: File format not recognized
objdump:scripts/mod/empty.o: File format not recognized HOSTCC scripts/mod/mk_elfconfig
HOSTCC scripts/pnmtologo
MKELFscripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/sumversion.o
HOSTCC scripts/conmakehash
HOSTLD scripts/mod/modpost
CC kernel/bounds.s
GENinclude/linux/bounds.h
CC arch/x86/kernel/asm-offsets.s
GENinclude/asm/asm-offsets.h
CALL scripts/checksyscalls.sh
CC [M] arch/x86/crypto/crc32c-intel.o
CC [M] arch/x86/kernel/test_nx.o
CC [M] arch/x86/kernel/microcode_core.o
nm:arch/x86/crypto/crc32c-intel.o: File format not recognized
nm:arch/x86/kernel/test_nx.o: File format not recognized
objdump:arch/x86/kernel/test_nx.o: File format not recognized
objdump:arch/x86/crypto/crc32c-intel.o: File format not recognized CC [M] arch/x86/kvm/svm.o
CC [M] arch/x86/kvm/vmx.o
nm:arch/x86/kernel/microcode_core.o: File format not recognized---
So whats going on here?
Why the file-format-not-recognized ???--
Reg.Clemens [email protected]--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/