Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68088 - genkernel 3.0.2j failes with incorrect -march setting
Summary: genkernel 3.0.2j failes with incorrect -march setting
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: PPC64 Linux
: High normal (vote)
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-18 19:15 UTC by Tom Gall (RETIRED)
Modified: 2004-10-23 19:45 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 Tom Gall (RETIRED) gentoo-dev 2004-10-18 19:15:55 UTC
pod2man --center=BusyBox --release="version 1.00-pre7" \
        docs/busybox.pod > docs/BusyBox.1
pod2html --noindex docs/busybox.pod > \
    docs/busybox.net/BusyBox.html
gcc -s -Wl,-warn-common --static -o busybox -Wl,--start-group ./applets/applets.a ./archival/archival.a ./archival/libunarchive/libunarchive.a ./coreutils/coreutils.a ./console-tools/console-tools.a ./debianutils/debianutils.a ./editors/editors.a ./findutils/findutils.a ./init/init.a ./miscutils/miscutils.a ./modutils/modutils.a ./networking/networking.a ./networking/libiproute/libiproute.a ./networking/udhcp/udhcp.a ./procps/procps.a ./loginutils/loginutils.a ./shell/shell.a ./sysklogd/sysklogd.a ./util-linux/util-linux.a ./libpwdgrp/libpwdgrp.a ./coreutils/libcoreutils/libcoreutils.a ./libbb/libbb.a  -Wl,--end-group
/usr/lib/gcc/powerpc64-unknown-linux-gnu/3.4.1/../../../../lib64/libc.a(dl-open.o): warning: definition of `_dl_tls_static_size' overriding common
/usr/lib/gcc/powerpc64-unknown-linux-gnu/3.4.1/../../../../lib64/libc.a(libc-tls.o): warning: common is here
--
source='depmod.c' object='depmod.o' libtool=no \
depfile='.deps/depmod.Po' tmpdepfile='.deps/depmod.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"0.9.15-pre4\"  -I. -I.     -g -O2 -Wunused -Wall -Wcast-align -c `test -f 'depmod.c' || echo './'`depmod.c
modprobe.c: In function `do_wildcard':
modprobe.c:889: warning: passing arg 1 of `underscores' discards qualifiers from pointer target type
modprobe.c: At top level:
modprobe.c:831: warning: 'do_modprobe' defined but not used
--
*                    >> Copying to cache...
* devfsd: >> Compiling...
COMMAND: make -j2 CC="gcc" LD="ld" AS="as" LDFLAGS=-static
gcc -march=pentium3 -O3 -pipe -I. -I/usr/src/linux/include -Wall  -DLIBNSL="\"/lib/libnsl.so.1\""   -c -o devfsd.o devfsd.c
gcc -march=pentium3 -O3 -pipe -I. -I/usr/src/linux/include -Wall  -DLIBNSL="\"/lib/libnsl.so.1\""   -c -o expression.o expression.c
cc1: error: invalid option `arch=pentium3'
cc1: error: invalid option `arch=pentium3'
make: *** [devfsd.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [expression.o] Error 1
* Gentoo Linux Genkernel; Version 3.0.2j

* ERROR: Failed to compile the "LDFLAGS=-static" target...

* -- 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!
* 

!!! catalyst: Runscript kernel build failed

!!! catalyst: Runscript aborting due to error.
!!! catalyst: could not complete build


note the -march=pentium3  (on a ppc64 box) is only correct if one is sufficently blastered with reasonably good beer.

Cheers!
Comment 1 Tom Gall (RETIRED) gentoo-dev 2004-10-18 19:18:19 UTC
here's the contents of the livecd-stage2.spec file: (I'll paste in here since it's so small and it's easier to cut and paste than to upload it)


subarch: ppc64
target: livecd-stage2

rel_type: default
rel_version: 2004.3
snapshot: 20041017
version_stamp: 20041017
profile: default-ppc64-2004.3
source_subpath: default/livecd-stage1-ppc64-20041017

livecd/cdfstype: noloop
livecd/archscript: livecd/runscript/ppc64-archscript.sh
livecd/runscript: livecd/runscript/default-runscript.sh
livecd/cdtar: livecd/cdtar/yaboot-1.3.11-cdtar.tar.bz2
livecd/devmanager: udev
# livecd/gk_mainargs: --udev

boot/kernel: G5
### boot/kernel/G5/sources: =sys-kernel/gentoo-dev-sources-2.6.7-r10
boot/kernel/G5/sources: =sys-kernel/development-sources-2.6.9_rc4
boot/kernel/G5/use: extlib
boot/kernel/G5/config: /usr/src/configs/G5
boot/kernel/G5/extraversion: G5

livecd/unmerge:
        autoconf automake binutils libtool m4 bison  make perl patch 
        linux-headers man-pages
        sash bison flex gettext sys-apps/texinfo ccache addpatches man 
        groff lib-compat gcc python miscfiles xfree

...

left off livcd/empty:

and livecd/rm:  
Comment 2 Tim Yamin (RETIRED) gentoo-dev 2004-10-19 10:25:09 UTC
Should be fixed in http://dev.gentoo.org/~plasmaroo/patches/kernel/genkernel/3.0.2/genkernel-3.0.2l.tar.bz2 -- please reopen this bug if you have any more issues or this still fails. Thanks!
Comment 3 Tom Gall (RETIRED) gentoo-dev 2004-10-23 19:45:58 UTC
stick a fork in it!