[#4474] trunk head kernel build fails at busybox

Document created by Aaronwu Employee on Aug 29, 2013
Version 1Show Document
  • View in full screen mode

[#4474] trunk head kernel build fails at busybox

Submitted By: Mingquan Pan

Open Date

2008-10-09 22:03:07     Close Date

2008-10-10 03:56:46

Priority:

Medium     Assignee:

Nobody

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

N/A     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Out of Date

Uboot version or rev.:

    Toolchain version or rev.:

Sep 23

App binary format:

N/A     

Summary: trunk head kernel build fails at busybox

Details:

 

trunk head kernel build fails at busybox now.

 

  CC      util-linux/dmesg.o^M

  CC      util-linux/fdisk.o^M

  CC      util-linux/getopt.o^M

  CC      util-linux/hwclock.o^M

  CC      util-linux/losetup.o^M

  CC      util-linux/mdev.o^M

  CC      util-linux/more.o^M

  CC      util-linux/mount.o^M

  CC      util-linux/umount.o^M

  AR      util-linux/lib.a^M

  LD      util-linux/volume_id/built-in.o^M

  AR      util-linux/volume_id/lib.a^M

  LINK    busybox_unstripped^M

Trying libraries: crypt m^M

Failed: -Wl,--start-group -lcrypt -lm -Wl,--end-group^M

Output of:^M

bfin-uclinux-gcc -pipe -Wall -g -O2 -mcpu=bf537-0.2 -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wmissing-prototypes -Wmissing-declarations -Wdeclaration-after-statement -Wold-style-definition -fno-builtin-strlen -finline-limit=0 -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -static-libgcc -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -Os -Wl,-elf2flt -mcpu=bf537-0.2 -o busybox_unstripped -Wl,--sort-common -Wl,--sort-section,alignment -Wl,--gc-sections -Wl,--start-group applets/built-in.o archival/lib.a archival/libunarchive/lib.a console-tools/lib.a coreutils/lib.a coreutils/libcoreutils/lib.a debianutils/lib.a e2fsprogs/lib.a editors/lib.a findutils/lib.a init/lib.a libbb/lib.a libpwdgrp/lib.a loginutils/lib.a miscutils/lib.a modutils/lib.a networking/lib.a networking/libiproute/lib.a networking/udhcp/lib.a printutils/lib.a procps/lib.a runit/lib.a selinux/lib.a shell/lib.a sysklogd/lib.a util-linux/lib.a util-linux/volume_id/lib.a archival/built-in.o archival/libunarchive/built-in.o console-tools/built-in.o coreutils/built-in.o coreutils/libcoreutils/built-in.o debianutils/built-in.o e2fsprogs/built-in.o editors/built-in.o findutils/built-in.o init/built-in.o libbb/built-in.o libpwdgrp/built-in.o loginutils/built-in.o miscutils/built-in.o modutils/built-in.o networking/built-in.o networking/libiproute/built-in.o networking/udhcp/built-in.o printutils/built-in.o procps/built-in.o runit/built-in.o selinux/built-in.o shell/built-in.o sysklogd/built-in.o util-linux/built-in.o util-linux/volume_id/built-in.o -Wl,--end-group -Wl,--start-group -lcrypt -lm -Wl,--end-group^M

==========^M

/opt/uClinux/bfin-uclinux/bin/../lib/gcc/bfin-uclinux/4.1.2/../../../../bfin-uclinux/bin/ld.real: Warning: gc-sections option ignored^M

modutils/lib.a(insmod.o): In function `insmod_main':^M

/home/test/work/cruise/checkouts/uclinux-dist/user/busybox/busybox-1.12.1/modutils/insmod.c:4281: undefined reference to `_init_module'^M

modutils/lib.a(rmmod.o): In function `rmmod_main':^M

/home/test/work/cruise/checkouts/uclinux-dist/user/busybox/busybox-1.12.1/modutils/rmmod.c:68: undefined reference to `_delete_module'^M

/home/test/work/cruise/checkouts/uclinux-dist/user/busybox/busybox-1.12.1/modutils/rmmod.c:93: undefined reference to `_delete_module'^M

collect2: ld returned 1 exit status^M

make[6]: *** [busybox_unstripped] Error 1^M

make[5]: *** [_all] Error 2^M

make[4]: *** [all] Error 2^M

make[4]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user/busybox/build-busybox-1.12.1'^M

make[3]: *** [all] Error 2^M

make[3]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user/busybox'^M

make[2]: *** [busybox] Error 2^M

make[2]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user'^M

make[1]: *** [all] Error 2^M

make[1]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user'^M

make: *** [subdirs] Error 1^M

 

Follow-ups

 

--- Mike Frysinger                                           2008-10-10 00:17:38

your toolchain is out of date

 

--- Mingquan Pan                                             2008-10-10 03:56:46

Yes, it passes with new toolchain.Close.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes