Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Will Wagner <will_wagner@carallon.com>
To: buildroot@busybox.net
Subject: [Buildroot] Build error
Date: Thu, 20 Dec 2007 14:35:18 +0000	[thread overview]
Message-ID: <476A7DA6.7000102@carallon.com> (raw)

Hi all

I am trying to build for an arm target. I have successfully built an 
image with just the basic packages selected by default. However I then 
add in the qtopia4 package and nothing else and get this error when 
trying to link the kernel:

rm -f
/home/willw/buildroot/project_build_arm/badger/_fakeroot."rootfs".arm.tar
/usr/bin/make -j1 HOSTCC="/usr/bin/gcc" HOSTCFLAGS="" ARCH=arm
CFLAGS_KERNEL="-Os -pipe
-I/home/willw/buildroot/build_arm/staging_dir/usr/include
-I/home/willw/buildroot/build_arm/staging_dir/include
--sysroot=/home/willw/buildroot/build_arm/staging_dir/ -isysroot
/home/willw/buildroot/build_arm/staging_dir -mtune=arm1136jf-s"
INSTALL_MOD_PATH=/home/willw/buildroot/project_build_arm/badger/root
CROSS_COMPILE=/home/willw/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibcgnueabi- 

LDFLAGS="-L/home/willw/buildroot/build_arm/staging_dir/lib
-L/home/willw/buildroot/build_arm/staging_dir/usr/lib
--sysroot=/home/willw/buildroot/build_arm/staging_dir/"
LZMA="/home/willw/buildroot/toolchain_build_arm/bin/lzma"  \
                 -C
/home/willw/buildroot/project_build_arm/badger/linux-2.6.19.2 zImage
make[1]: Entering directory
`/home/willw/buildroot/project_build_arm/badger/linux-2.6.19.2'
   CHK     include/linux/version.h
make[2]: `include/asm-arm/mach-types.h' is up to date.
   CHK     include/linux/utsrelease.h
   CHK     include/linux/compile.h
   GEN     usr/initramfs_data.cpio.gz
   AS      usr/initramfs_data.o
   LD      usr/built-in.o
   GEN     .version
   CHK     include/linux/compile.h
   UPD     include/linux/compile.h
   CC      init/version.o
   LD      init/built-in.o
   LD      .tmp_vmlinux1
init/built-in.o: In function `init':
calibrate.c:(.text+0x68): relocation truncated to fit: R_ARM_CALL
against symbol `spawn_ksoftirqd' defined in .init.text section in
kernel/built-in.o
calibrate.c:(.text+0x6c): relocation truncated to fit: R_ARM_CALL
against symbol `sched_init_smp' defined in .init.text section in
kernel/built-in.o
calibrate.c:(.text+0x70): relocation truncated to fit: R_ARM_CALL
against symbol `populate_rootfs' defined in .init.text section in
init/built-in.o
calibrate.c:(.text+0x78): relocation truncated to fit: R_ARM_CALL
against symbol `usermodehelper_init' defined in .init.text section in
kernel/built-in.o
calibrate.c:(.text+0x7c): relocation truncated to fit: R_ARM_CALL
against symbol `driver_init' defined in .init.text section in
drivers/built-in.o
calibrate.c:(.text+0x80): relocation truncated to fit: R_ARM_CALL
against symbol `sysctl_init' defined in .init.text section in
kernel/built-in.o
calibrate.c:(.text+0x194): relocation truncated to fit: R_ARM_CALL
against symbol `prepare_namespace' defined in .init.text section in
init/built-in.o
init/built-in.o: In function `loglevel':
calibrate.c:(.init.text+0x174): relocation truncated to fit: R_ARM_CALL
against symbol `get_option' defined in .text section in
lib/lib.a(cmdline.o)
init/built-in.o: In function `maxcpus':
calibrate.c:(.init.text+0x1a8): relocation truncated to fit: R_ARM_CALL
against symbol `get_option' defined in .text section in
lib/lib.a(cmdline.o)
init/built-in.o: In function `unknown_bootoption':
calibrate.c:(.init.text+0x1d8): relocation truncated to fit: R_ARM_CALL
against symbol `strlen' defined in .text section in lib/lib.a(string.o)
calibrate.c:(.init.text+0x214): additional relocation overflows omitted
from the output
make[1]: *** [.tmp_vmlinux1] Error 1
make[1]: Leaving directory
`/home/willw/buildroot/project_build_arm/badger/linux-2.6.19.2'
make: ***
[/home/willw/buildroot/binaries/badger/linux-kernel-2.6.19.2-arm] Error
2

Can someone explain what the errors mean? It appears to be an error when 
linking the kernel but how can adding a package cause this?

Any help is much appreciated.

Will.

-- 
------------------------------------------------------------------------
Will Wagner                                     will_wagner at carallon.com
Senior Project Engineer                  Office Tel: +44 (0)20 7371 2032
Carallon Ltd, Studio G20, Shepherds Building, Rockley Rd, London W14 0DA
------------------------------------------------------------------------

             reply	other threads:[~2007-12-20 14:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-20 14:35 Will Wagner [this message]
2007-12-20 16:00 ` [Buildroot] Build error Ivan Kuten
2007-12-21 17:27   ` Will Wagner
2007-12-23 23:50     ` Ivan Kuten
2008-01-03 16:37       ` Will Wagner
2008-01-03 17:55         ` Ivan Kuten
  -- strict thread matches above, loose matches on Subject: below --
2008-03-23 12:29 Shashi Ranjan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=476A7DA6.7000102@carallon.com \
    --to=will_wagner@carallon.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox