Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34994 - genkernel makes broken busybox/initrd with hcc, with no error checking, and truncated logfile
Summary: genkernel makes broken busybox/initrd with hcc, with no error checking, and t...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All All
: High major
Assignee: Brad House
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-03 11:31 UTC by Scott Taylor (RETIRED)
Modified: 2004-01-18 08:19 UTC (History)
3 users (show)

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 Scott Taylor (RETIRED) gentoo-dev 2003-12-03 11:31:08 UTC
During genkernel's execution, I get this (if it were an ebuild, filter-flags -fPIC would do the trick, but this is not an ebuild):

gcc -Wall -Wshadow -Os -march=i386 -mpreferred-stack-boundary=2 -falign-functions=1 -falign-jumps=0 -falign-loops=0 -fomit-frame-pointer -D_GNU_SOURCE  -DBB_VER='"0.60.5"' -DBB_BT='"2003.12.03-18:53+0000"' -DUSE_SYSTEM_PWD_GRP  -Ilibbb -c libbb/syscalls.c -o libbb/syscalls.o
libbb/syscalls.c: In function `sysfs':
libbb/syscalls.c:43: error: can't find a register in class `BREG' while reloading `asm'
make: *** [libbb/syscalls.o] Error 1
5000+0 records in
5000+0 records out
cp: cannot stat `/tmp/busybox-0.60.5/busybox': No such file or directory
ln: accessing `/tmp/kernel-initrd/bin/busybox': No such file or directory
(numerous repeats of the previous line deleted)
Warning: sym53c8xx.o not found; skipping...
Warning: a100u2w.o not found; skipping...
Warning: cpqfc.o not found; skipping...
Warning: dmx3191d.o not found; skipping...
Warning: dpt_i2o.o not found; skipping...
Warning: imm.o not found; skipping...
Warning: in2000.o not found; skipping...
Warning: ips.o not found; skipping...
Warning: qla1280.o not found; skipping...
Warning: sim710.o not found; skipping...
Warning: sym53c416.o not found; skipping...
Warning: ieee1394.o not found; skipping...
Warning: ohci1394.o not found; skipping...
Warning: eth1394.o not found; skipping...
Warning: sbp2.o not found; skipping...
Warning: ataraid.o not found; skipping...
Warning: pdcraid.o not found; skipping...
Warning: hptraid.o not found; skipping...
Warning: ide-cs.o not found; skipping...
Warning: usbcore.o not found; skipping...

^^^ some of those are rather critical to this system running. Those missing files are a really bad thing.

The last few lines displayed by genkernel however tell lies!

* Building busybox...                                                    [ ok 
* Creating initrd...                                                     [ ok  
* Moving initrd to /boot/initrd-2.4.22-grsec-2.0-rc3...                  [ ok 
* Build completed successfully!
* Please specify /boot/kernel-2.4.22-grsec-2.0-rc3 and /boot/initrd-2.4.22-grsc-2.0-rc3
* when customizing your boot loader configuration files.
* A detailed log can be found at /var/log/genkernel.log.

Silver log # cat /var/log/genkernel.log
umount: /tmp/kernel-initrd: not mounted
Silver log # mozilla bugs.gentoo.org
Comment 1 Brad House 2004-01-18 08:19:46 UTC
not accepting bugs on genkernel versions less than 3.x