build log attachment follows. Reproducible: Always
Created attachment 116672 [details] build.log.bz2
# emerge --info Portage 2.1.2.4 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 i686) ================================================================= System uname: 2.6.19-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System release 1.12.9 Timestamp of tree: Wed, 18 Apr 2007 19:50:01 +0000 dev-java/java-config: 1.3.7, 2.0.31-r7 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.15-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-march=pentium4 -O2 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distcc distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo http://mirror.datapipe.net/gentoo http://gentoo.chem. wisc.edu/gentoo/" LANG="en_US.utf8" LC_ALL="en_US.utf8" LDFLAGS="-Wl,-O1" LINGUAS="en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X aalib alsa bitmap-fonts cairo cdr cli cracklib crypt cups dbus dri dvd dvdr eds emboss encode fbcon firefox gif gpm gstreamer gtk hal iconv imlib isdnlog jpeg libg++ mad midi mikmod mmx mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pcre perl png ppds pppd python quicktime readline reflection sdl session slang spell spl sse sse2 ssl tcpd truetype truetype-fonts type1-fonts unicode vorbis win32codecs x86 xcomposite xml xml2 xorg xv xvid zlib" ALSA_CARDS="emu10k1 intel8x0 bt87x" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nv nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I was rebuilding this driver for kernel 2.6.20-gentoo-r6.
Philip, could you please try recompiling this with your LDFLAGS cleared (ie, without the linker optimization) to see if that clears up the problem? If not, please feel free to come back and open the bug. Thanks... 5:)
Please also attach the compile log uncompressed - make it easy for us to view it.
I ran 4 tests. With my kernel source tree (/usr/src/linux) set at linux-2.6.19-gentoo-r5, it compiles with or without LDFLAGS set. When I select the new linux-2.6.20-gentoo-r6 kernel tree, it fails with or without LDFLAGS set. build.log on its way.
Created attachment 116679 [details] build.log against linux-2.6.20-gentoo-r6 w/no LDFLAGS
Thanks for testing. Please confirm that alsa-driver-1.0.14_rc3 builds OK
I was running x86 stable alsa-driver, alsa-utils and alsa-headers, but I added them to package.keywords for the purposes of this test. headers and utils 1.0.14rc3 installed ok, but I got a build error on drivers. i'll attach the build log.
Created attachment 116681 [details] build.log for 1.0.14rc3 against linux-2.6.20-gentoo-r6
one of the patches failed... 3 out of 5 hunks FAILED -- saving rejects to file mpu401.c.rej
Actually, rc2 works with 2.6.20. I have just stabilized it (and alsa-headers) for x86.
*** Bug 175171 has been marked as a duplicate of this bug. ***
Please stable 1.0.14_rc2 versions of these packages: media-libs/alsa-lib-1.0.14_rc2 media-sound/alsa-driver-1.0.14_rc2-r1 media-sound/alsa-firmware-1.0.14_rc2-r1 media-sound/alsa-utils-1.0.14_rc2-r3 media-sound/alsa-headers-1.0.14_rc2 media-plugins/alsa-plugins-1.0.14_rc2 After 1.0.14, we probably won't mark -rc versions stable again.
sparc already got there stable when we shipped 2.6.20: alsa-tools-1.0.14_rc3 alsa-utils-1.0.14_rc2-r3 alsa-headers-1.0.14_rc3 alsa-firmware-1.0.14_rc3 just missed alsa-plugins-1.0.14_rc3 which is now stable. and we don't dig alsa-driver :-)
confirmed fixed here on x86. alsa-driver-1.0.14-rc2 compiles ok against 2.6.20-gentoo-r6 kernel source tree. -lib and -utils are at -rc1 (x86 stable) -headers and -driver are at -rc2 (x86 stable) thanks all.
(In reply to comment #16) > confirmed fixed here on x86. > > alsa-driver-1.0.14-rc2 compiles ok against 2.6.20-gentoo-r6 kernel source tree. > > -lib and -utils are at -rc1 (x86 stable) > -headers and -driver are at -rc2 (x86 stable) > > thanks all. > I've just upgraded to gentoo-sources 2.6.20-r6 and alsa-driver 1.0.14_rc2 emerge fails. -- In file included from /var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2/work/alsa-driver-1.0.14rc2/include/sound/driver.h:47, from /var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2/work/alsa-driver-1.0.14rc2/pci/emu10k1/../../alsa-kernel/pci/emu10k1/emu10k1_synth_local.h:24, from /var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2/work/alsa-driver-1.0.14rc2/pci/emu10k1/../../alsa-kernel/pci/emu10k1/emu10k1_synth.c:22, from /var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2/work/alsa-driver-1.0.14rc2/pci/emu10k1/emu10k1_synth.c:2: /var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2/work/alsa-driver-1.0.14rc2/include/adriver.h: In function 'snd_pci_orig_save_state': /var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2/work/alsa-driver-1.0.14rc2/include/adriver.h:1163: error: too many arguments to function 'pci_save_state' /var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2/work/alsa-driver-1.0.14rc2/include/adriver.h: In function 'snd_pci_orig_restore_state': ... --
ppc stable
x86 stable
Erlend, please file a new bug for your issues, including the full error message (you truncated it)
amd64 stable
ppc64 done last arch -> marking as FIXED.