Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157777 - genkernel initrd fails to build busybox on uclibc
Summary: genkernel initrd fails to build busybox on uclibc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2006-12-10 16:28 UTC by Aurélien Francillon
Modified: 2007-01-04 09:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aurélien Francillon 2006-12-10 16:28:29 UTC
hi, 
genkernel initrd fails on a hardened/uuclibc host with the message:

  AR cru shell/shell.a
  AR cru util-linux/util-linux.a
  AR cru coreutils/libcoreutils/libcoreutils.a
  AR cru libbb/libbb.a
  DOC BusyBox.txt
  DOC BusyBox.1
  LINK busybox_unstripped
  DOC BusyBox.html
/var/tmp/genkernel/10084.27835.29376.4685/busybox-1.1.3+gentoo/coreutils/coreutils.a(sort.o): In function `compare_keys':
sort.c:(.text+0x44b): undefined reference to `__isnan'
sort.c:(.text+0x45e): undefined reference to `__isnan'
sort.c:(.text+0x477): undefined reference to `__isnan'
sort.c:(.text+0x493): undefined reference to `__isinf'
sort.c:(.text+0x4b5): undefined reference to `__isinf'
sort.c:(.text+0x4e7): undefined reference to `__isinf'
sort.c:(.text+0x518): undefined reference to `__isinf'
collect2: ld returned 1 exit status
make[1]: *** [busybox_unstripped] Error 1
make: *** [all] Error 2
* Gentoo Linux Genkernel; Version 3.4.5
* Running with options: initrd

* ERROR: Failed to compile the "all" target...
* -- Grepping log... --
* -- End log... --
* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.
* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
*
* Please do *not* report compilation failures as genkernel bugs!
*


the error is triggered by the option :
full SuSv3 compliant sort (Support -ktcsbdfiozgM) (CONFIG_FEATURE_SORT_BIG) [Y/n/?] (NEW)

manually adding "# CONFIG_FEATURE_SORT_BIG is not set"
to /usr/share/genkernel/x86/busy-config
makes a workaround...

Aur
Comment 1 Aurélien Francillon 2006-12-10 16:28:29 UTC
hi, 
genkernel initrd fails on a hardened/uuclibc host with the message:

  AR cru shell/shell.a
  AR cru util-linux/util-linux.a
  AR cru coreutils/libcoreutils/libcoreutils.a
  AR cru libbb/libbb.a
  DOC BusyBox.txt
  DOC BusyBox.1
  LINK busybox_unstripped
  DOC BusyBox.html
/var/tmp/genkernel/10084.27835.29376.4685/busybox-1.1.3+gentoo/coreutils/coreutils.a(sort.o): In function `compare_keys':
sort.c:(.text+0x44b): undefined reference to `__isnan'
sort.c:(.text+0x45e): undefined reference to `__isnan'
sort.c:(.text+0x477): undefined reference to `__isnan'
sort.c:(.text+0x493): undefined reference to `__isinf'
sort.c:(.text+0x4b5): undefined reference to `__isinf'
sort.c:(.text+0x4e7): undefined reference to `__isinf'
sort.c:(.text+0x518): undefined reference to `__isinf'
collect2: ld returned 1 exit status
make[1]: *** [busybox_unstripped] Error 1
make: *** [all] Error 2
* Gentoo Linux Genkernel; Version 3.4.5
* Running with options: initrd

* ERROR: Failed to compile the "all" target...
* -- Grepping log... --
* -- End log... --
* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.
* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
*
* Please do *not* report compilation failures as genkernel bugs!
*


the error is triggered by the option :
full SuSv3 compliant sort (Support -ktcsbdfiozgM) (CONFIG_FEATURE_SORT_BIG) [Y/n/?] (NEW)

manually adding "# CONFIG_FEATURE_SORT_BIG is not set"
to /usr/share/genkernel/x86/busy-config
makes a workaround...

Aurélien
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2006-12-13 11:54:14 UTC
I've changed this in subversion and it'll appear in the next genkernel version.
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2007-01-04 09:21:38 UTC
Fixed in 3.4.6