BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000531 [BusyBox] Other major always 11-04-05 10:26 01-09-06 22:11
Reporter swsnyder View Status public  
Assigned To BusyBox
Priority normal Resolution unable to reproduce  
Status closed   Product Version
Summary 0000531: Several link errors when creating flat executable file
Description First, I should note that this is with version busybox-1.1.0-pre1, downloaded from the Busybox website. (This version does not appears in the version choices offered above.)

I don't know why it is choking like this, so I will just show the error that I am seeing. Note that the overall configuration (tools and switches used) works correctly with Busybox v1.01.

arm-elf-gcc -Wl,-elf2flt -o busybox -Wl,--start-group /opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/applets/applets.a /opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/archival/archival.a /opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/archival/libunarchive/libunarchive.a /opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/coreutils/coreutils.a /opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/console-tools/console-tools.a /opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/debianutils/debianutils.a /opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/editors/editors.a /opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/findutils/findutils.a /opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/init/init.a /opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/miscutils/miscutils.a /opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/modutils/modutils.a /opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/networking/networking.a /opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/networking/libiproute/libiproute.a /opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/networking/udhcp/udhcp.a /opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/procps/procps.a /opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/loginutils/loginutils.a /opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/shell/shell.a /opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/sysklogd/sysklogd.a /opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/util-linux/util-linux.a /opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/e2fsprogs/e2fsprogs.a /opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/libpwdgrp/libpwdgrp.a /opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/coreutils/libcoreutils/libcoreutils.a /opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/libbb/libbb.a -lm -lm -lcrypt -Wl,--end-group
/opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/coreutils/coreutils.a(nohup.o): In function `close_stdout':
nohup.o(.text+0x80): This version of __fpending returns bytes remaining in buffer for both narrow and wide streams. glibc's version returns wide chars in buffer for the wide stream case.
busybox.elf2flt: In function `compare_keys':
busybox.elf2flt(.text+0xe3a0): undefined reference to `__isnan'
busybox.elf2flt(.text+0xe3b4): undefined reference to `__isnan'
busybox.elf2flt(.text+0xe3d0): undefined reference to `__isnan'
busybox.elf2flt(.text+0xe3e4): undefined reference to `__isinf'
busybox.elf2flt(.text+0xe414): undefined reference to `__isinf'
busybox.elf2flt(.text+0xe458): undefined reference to `__isinf'
busybox.elf2flt(.text+0xe48c): undefined reference to `__isinf'
busybox.elf2flt: In function `inetd_main':
busybox.elf2flt(.text+0x2b9a4): undefined reference to `daemon'
busybox.elf2flt: In function `telnetd_main':
busybox.elf2flt(.text+0x30328): undefined reference to `daemon'
busybox.elf2flt: In function `klogd_main':
busybox.elf2flt(.text+0x406fc): undefined reference to `daemon'
busybox.elf2flt: In function `syslogd_main':
busybox.elf2flt(.text+0x41424): undefined reference to `daemon'
collect2: ld returned 1 exit status
make[1]: *** [busybox] Error 1
Additional Information # arm-elf-gcc -v
Reading specs from /opt/armutils_2.5.85.0/toolchain/lib/gcc-lib/arm-elf/2.95.3/specs
gcc version 2.95.3 20010315 (release)

Using uClibc v0.9.26.

Busybox build was invoked like this:

  make CFLAGS_EXTRA="-mtune=arm7tdmi -O2" LDFLAGS="-Wl,-elf2flt"

I hope that between the error above and the attached .config file this will be a helpful bug report.
Attached Files  .config [^] (14,373 bytes) 11-04-05 10:26

- Relationships

- Notes
(0000904)
landley
01-09-06 22:11

This is something to do with your build environment. daemon() should be in your libc and I believe __isnan() is libgcc but it could also be libc.
 

- Issue History
Date Modified Username Field Change
11-04-05 10:26 swsnyder New Issue
11-04-05 10:26 swsnyder Status new => assigned
11-04-05 10:26 swsnyder Assigned To  => BusyBox
11-04-05 10:26 swsnyder File Added: .config
11-08-05 06:24 dajomas Issue Monitored: dajomas
01-09-06 22:11 landley Status assigned => closed
01-09-06 22:11 landley Note Added: 0000904
01-09-06 22:11 landley Resolution open => unable to reproduce


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker