[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-tiny
Subject: problem with inflate cleanup patches on ARM
From: tim.bird () am ! sony ! com (Tim Bird)
Date: 2005-12-06 19:11:54
Message-ID: 439637F2.7030008 () am ! sony ! com
[Download RAW message or body]
Matt Mackall wrote:
> Try changing that bit in arch/arm/boot/compressed to:
>
> $(call rule,cc_o_c)
>
> which does:
>
> define rule_cc_o_c
> ...
> $(cmd_cc_o_c);
> $(cmd_modversions)
> ...
> endef
>
I tried the above, and it didn't even try to compile \
arch/arm/boot/compressed/inflate.o The definitions in scripts/Makefile.build seem \
pretty straightforward, but they don't seem to get invoked as I expect.
I finally gave up (for now), and set CONFIG_MODVERSIONS=n so I could
get to some testing. As you can see from the build output below, this
fixes the .tmp_inflate.o problem, but now on ARM I get an unresolved
external. Any ideas?
arm-sony-linux-gcc -Wp,-MD,arch/arm/boot/compressed/.inflate.o.d -nostdinc \
-isystem /usr/local/arm-sony-linux.phase8/devel/bin/../lib/gcc/arm-sony-linux/3.4.4/include \
-D__KERNEL__ -Iinclude
-Iinclude2 -I/home/tbird/work/alp9-test-14/alp-linux/include -mlittle-endian \
-I/home/tbird/work/alp9-test-14/alp-linux/arch/arm/boot/compressed \
-Iarch/arm/boot/compressed -Wall -Wundef
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding \
-Os -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -fno-omit-frame-pointer \
-mapcs -mno-sched-prolog -mapcs-32
-mno-thumb-interwork -D__LINUX_ARM_ARCH__=4 -march=armv4 -mtune=arm9tdmi \
-malignment-traps -msoft-float -Uarm -funit-at-a-time -Wdeclaration-after-statement \
-fpic -fno-instrument-functions
-DKBUILD_BASENAME=inflate -DKBUILD_MODNAME=inflate -c -o \
arch/arm/boot/compressed/inflate.o \
/home/tbird/work/alp9-test-14/alp-linux/lib/inflate.c arm-sony-linux-ld -EL \
--defsym zreladdr=0x10008000 --defsym initrd_phys=0x10800000 --defsym \
params_phys=0x10000100 -p --no-undefined -X
/usr/local/arm-sony-linux.phase8/devel/bin/../lib/gcc/arm-sony-linux/3.4.4/libgcc.a \
-T arch/arm/boot/compressed/vmlinux.lds arch/arm/boot/compressed/head.o \
arch/arm/boot/compressed/piggy.o arch/arm/boot/compressed/misc.o \
arch/arm/boot/compressed/inflate.o -o arch/arm/boot/compressed/vmlinux \
arch/arm/boot/compressed/inflate.o(.text+0x79c): In function \
`huft_build':
/home/tbird/work/alp9-test-14/alp-linux/lib/inflate.c:644: undefined reference to \
`free_mem_end_ptr' make[3]: *** [arch/arm/boot/compressed/vmlinux] Error 1
make[2]: *** [arch/arm/boot/compressed/vmlinux] Error 2
make[1]: *** [uImage] Error 2
make: *** [uImage] Error 2
=============================
Tim Bird
Architecture Group Chair, CE Linux Forum
Senior Staff Engineer, Sony Electronics
=============================
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic