On Thu, 3 Mar 2011, Matthias Klose wrote:
please don't hide compiler and linker invocations in the build log.
sorry about that, here goes the same with more verbosity enabled:
/usr/bin/make ARCH=x86_64 \
bzImage
make[1]: Entering directory `/usr/src/linux-source-2.6.37'
rm -f include/config/kernel.release
echo "2.6.37-jak$(/bin/sh
/usr/src/linux-source-2.6.37/scripts/setlocalversion
//usr/src/linux-source-2.6.37)" > include/config/kernel.release
set -e; : ' CHK include/linux/version.h'; mkdir -p include/linux/;
(echo \#define LINUX_VERSION_CODE 132645; echo '#define
KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))';) <
/usr/src/linux-source-2.6.37/Makefile > include/linux/version.h.tmp; if [ -r
/include/linux/version.h ] && cmp -s include/linux/version.h
/include/linux/version.h.tmp; then rm -f include/linux/version.h.tmp; else :
/' UPD include/linux/version.h'; mv -f include/linux/version.h.tmp
/include/linux/version.h; fi
set -e; : ' CHK include/generated/utsrelease.h'; mkdir -p
/include/generated/; if [ `echo -n "2.6.37-jak" | wc -c ` -gt 64 ]; then
/echo '"2.6.37-jak" exceeds 64 characters' >&2; exit 1; fi; (echo \#define
/UTS_RELEASE \"2.6.37-jak\";) < include/config/kernel.release >
/include/generated/utsrelease.h.tmp; if [ -r include/generated/utsrelease.h
/] && cmp -s include/generated/utsrelease.h
/include/generated/utsrelease.h.tmp; then rm -f
/include/generated/utsrelease.h.tmp; else : ' UPD
/include/generated/utsrelease.h'; mv -f include/generated/utsrelease.h.tmp
/include/generated/utsrelease.h; fi
mkdir -p .tmp_versions
/usr/bin/make -f scripts/Makefile.build obj=scripts/basic
rm -f .tmp_quiet_recordmcount
/usr/bin/make -f scripts/Makefile.build obj=.
mkdir -p kernel/
mkdir -p arch/x86/kernel/
/usr/bin/make -f scripts/Makefile.build obj=. missing-syscalls
/bin/sh scripts/checksyscalls.sh gcc -Wp,-MD,./.missing-syscalls.d
/-nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.5/include
/--I/usr/src/linux-source-2.6.37/arch/x86/include -Iinclude -include
/--include/generated/autoconf.h -D__KERNEL__ -Wall -Wundef
/---Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
/----Werror-implicit-function-declaration -Wno-format-security
/-----fno-delete-null-pointer-checks -O2 -m64 -march=core2 -mno-red-zone
/------mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args
/-------fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1
/--------DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -pipe
/---------Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse
/----------mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048
/-----------fomit-frame-pointer -Wdeclaration-after-statement
/------------Wno-pointer-sign -fno-strict-overflow -fconserve-stack
/-------------D"KBUILD_STR(s)=#s"
/--------------D"KBUILD_BASENAME=KBUILD_STR(missing_syscalls)"
/---------------D"KBUILD_MODNAME=KBUILD_STR(missing_syscalls)"
/usr/bin/make -f scripts/Makefile.build obj=scripts
/usr/bin/make -f scripts/Makefile.build obj=scripts/genksyms
/usr/bin/make -f scripts/Makefile.build obj=scripts/mod
/usr/bin/make -f scripts/Makefile.build obj=scripts/selinux
/usr/bin/make -f scripts/Makefile.build obj=scripts/selinux/genheaders
/usr/bin/make -f scripts/Makefile.build obj=scripts/selinux/mdp
/usr/bin/make -f scripts/Makefile.build obj=init
/bin/sh /usr/src/linux-source-2.6.37/scripts/mkcompile_h
/include/generated/compile.h \
"x86_64" "y" "" "gcc -Wall -Wundef -Wstrict-prototypes
-Wno-trigraphs -fno-strict-aliasing -fno-common
-Werror-implicit-function-declaration -Wno-format-security
--fno-delete-null-pointer-checks -O2 -m64 -march=core2 -mno-red-zone
---mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args
----fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1
-----DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -pipe -Wno-sign-compare
------fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow
-------Wframe-larger-than=2048 -fomit-frame-pointer
--------Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow
---------fconserve-stack"
/usr/bin/make -f scripts/Makefile.build obj=usr
/bin/sh /usr/src/linux-source-2.6.37/scripts/gen_initramfs_list.sh -l -d >
/usr/.initramfs_data.cpio.d
/usr/bin/make -f scripts/Makefile.build obj=arch/x86
/usr/bin/make -f scripts/Makefile.build obj=arch/x86/crypto
/usr/bin/make -f scripts/Makefile.build obj=arch/x86/ia32
/usr/bin/make -f scripts/Makefile.build obj=arch/x86/kernel
gcc -Wp,-MD,arch/x86/kernel/.entry_64.o.d -nostdinc -isystem
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/include
-I/usr/src/linux-source-2.6.37/arch/x86/include -Iinclude -include
/include/generated/autoconf.h -D__KERNEL__ -D__ASSEMBLY__ -m64
/-DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1
/--DCONFIG_AS_FXSAVEQ=1 -c -o arch/x86/kernel/entry_64.o
/--arch/x86/kernel/entry_64.S
arch/x86/kernel/entry_64.S: Assembler messages:
arch/x86/kernel/entry_64.S:1531: Error: .size expression does not evaluate
to a constant
make[3]: *** [arch/x86/kernel/entry_64.o] Error 1
make[2]: *** [arch/x86/kernel] Error 2
make[1]: *** [arch/x86] Error 2
make[1]: Leaving directory `/usr/src/linux-source-2.6.37'
make: *** [debian/stamp/build/kernel] Error 2
afaik, that's a bug in the kernel.
as I said before, the exact same error occurs also when compiling a "known
good" kernel source, i.e. one which I had previously compiled successfully
(and which is running on my laptop now) without changing anything in the
configuration anywhere. However, if there is any check you would like me to
perform to make sure of that, please let me know.
Bye
Giacomo
--
_________________________________________________________________
Giacomo Mulas <gmu...@oa-cagliari.inaf.it>
_________________________________________________________________
OSSERVATORIO ASTRONOMICO DI CAGLIARI
Str. 54, Loc. Poggio dei Pini * 09012 Capoterra (CA)
Tel. (OAC): +39 070 71180 248 Fax : +39 070 71180 222
Tel. (UNICA): +39 070 675 4916
_________________________________________________________________
"When the storms are raging around you, stay right where you are"
(Freddy Mercury)
_________________________________________________________________
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org