Since installing gentoo-sources-2.6.15 (and -r1) I cannot build any third party kernel modules. I have tried net-wireless/ieee80211softmac, media-video/spca5xx, net-wireless/zd1211 and net-wireless/linux-wlan-ng-modules. All of them fail with similar errors, I'll attach one of the log files. The same packages still install without problems on previous kernels. The .config is created from the 2.6.14 config using make oldconfig. I have had no such problems with my amd64 box. # emerge --info Portage 2.1_pre3-r1 (default-linux/ppc/2005.1/ppc/G4, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-gentoo-r1 ppc) ================================================================= System uname: 2.6.15-gentoo-r1 ppc 7447A, altivec supported Gentoo Base System version 1.12.0_pre14 ccache version 2.4 [enabled] dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r4 ACCEPT_KEYWORDS="ppc ~ppc" AUTOCLEAN="yes" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O2 -pipe -mcpu=G4 -maltivec -mabi=altivec -fno-strict-aliasing -fomit-frame-pointer" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /etc/env.d /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -pipe -mcpu=G4 -maltivec -mabi=altivec -fno-strict-aliasing -fomit-frame-pointer" DISTDIR="/mnt/portage/distfiles" FEATURES="autoconfig buildpkg ccache distlocks parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="ftp://gentoo.digimed.co.uk/ http://pandemonium.tiscali.de/pub/gentoo/ http://mir.zyrianes.net/gentoo/ ftp://mir.zyrianes.net/gentoo/ ftp://mirror.nutsmaas.nl/gentoo" LANG="en_GB" LINGUAS="en_GB" MAKEOPTS="-j2" PKGDIR="/mnt/portage/packages/krikkit" PORTAGE_TMPDIR="/mnt/scratch" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/mnt/portage/local" SYNC="rsync://desiato/gentoo" USE="ppc X alsa altivec arts artswrappersuid audiofile berkdb bitmap-fonts bluetooth bonobo bzip2 cdb cddb cdr crypt cups curl dbus dv dvd emboss encode exif expat fam ffmpeg flac foomaticdb gdbm gif gimpprint gmp gphoto2 gpm gtk gtk2 guile hal ieee1394 imagemagick imlib java jpeg kde kdeenablefinal libwww lua mad mng motif mp3 mpeg musicbrainz mysql ncurses nptl nptlonly offensive ogg oggvorbis opengl pcre pdflib perl png ppds python qt readline sdl slang speex spell ssl tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vhosts vorbis wifi xine xml xml2 xmms xv zlib elibc_glibc kernel_linux linguas_en_GB userland_GNU" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS
Created attachment 77270 [details] Log of failed emerge
Created attachment 77271 [details] Kernel config file
Are you sure you have compile the source of linux-2.6.15? Try `make modules_prepare` and remerge the external modules.
I should have added, I have compiled and booted from the 2.6.15 kernel when these errors occur.
I have now tried vanilla-sources and ck-sources, in addition to the original gentoo-sources, and all are affected the same way.
Created attachment 77463 [details, diff] toolchain-funcs.eclass This is caused by the fact that ARCH="powerpc" isn't the default for 2.6.15 on ppc32 (it is on ppc64), but it's assumed to be the default by toochain-funcs.eclass. This problem will go away in 2.6.16 when ppc32 has ARCH="powerpc" for the default as well, but we'll need the patch to toolchain-funcs.eclass for now.
Adding ppc and ppc64, since this patch would affect ppc64 too.
This really stops us from releasing 2006.0 in time. Suggestion: create a release with 2.6.15 or 2.6.14 as CD-kernel, so that the last PPC-PowerBooks are supported. Users should install 2.6.14-gentoo-sources on their system, so that their ide-controller is supported, as it is not in vanilla-sources. Furthermore external module-building will work. After 2.6.16 has been released, we could create a 2006.0-r1 with updated snapshot and InstallCD.
We should not *ever* put out an official release CD with a kernel on it (or *any* package, for that matter) that is not marked stable in the tree. For one, it is a QA mightmare to do so. Second, it means extra hoops for our users to jump through to be able to get the same environment as the CD.
(In reply to comment #9) > We should not *ever* put out an official release CD with a kernel on it (or > *any* package, for that matter) that is not marked stable in the tree. As we use gentoo-sources, it should not be a problem to use a 2.6.14-kernel. This holds us back from adding the bcm43xx-driver (AirportExpress), but there is another issue with the firmware on the CD. So staying with 2.6.14 is okay for me.
That seems to be working now, thanks for the patch. Now I can try to get my Airport Extreme to work.
Ack! I've just noticed a but - why is there always a but? When doing an emerge world with the patched eclass, I get hundreds of lines like this for each kernel ebuild QA Notice: awk in global scope: sys-kernel/gentoo-sources-2.6.14-r2
I've added the fix to the tree, it's ugly, but I don't see another way. :p