With Gentoo Linux 1.4RC1. This is the code error: gcc -DALSA_BUILD -D__KERNEL__ -DMODULE=1 -I/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include -I/usr/src/linux/include -O2 -mpreferred-stack-boundary=2 -march=k6 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -pipe -DKBUILD_BASENAME=trident_memory -c -o trident_memory.o trident_memory.cln -sf ../pci/trident/snd-trident-synth.o /var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/modules/snd-trident-synth.o rm -f snd-cmipci.o ld -r -o snd-cmipci.o cmipci.o rm -f snd-cs4281.o ld -r -o snd-cs4281.o cs4281.o rm -f snd-ens1370.o ld -r -o snd-ens1370.o ens1370.o rm -f snd-ens1371.o ld -r -o snd-ens1371.o ens1371.o ln -sf ../pci/trident/snd-trident.o /var/tmp/portage/alsa-driver-0.9.0_rc2/work/ alsa-driver-0.9.0rc2/modules/snd-trident.o rm -f snd-es1938.o ld -r -o snd-es1938.o es1938.o rm -f snd-es1968.o ld -r -o snd-es1968.o es1968.o rm -f snd-fm801.o ld -r -o snd-fm801.o fm801.o rm -f snd-ice1712.o ld -r -o snd-ice1712.o ice1712.o rm -f snd-intel8x0.o ld -r -o snd-intel8x0.o intel8x0.o rm -f snd-maestro3.o ld -r -o snd-maestro3.o maestro3.o rm -f snd-rme32.o ld -r -o snd-rme32.o rme32.o rm -f snd-rme96.o ld -r -o snd-rme96.o rme96.o rm -f snd-sonicvibes.o ld -r -o snd-sonicvibes.o sonicvibes.o rm -f snd-via686.o ld -r -o snd-via686.o via686.o rm -f snd-via8233.o ld -r -o snd-via8233.o via8233.o En el fichero inclu
With Gentoo Linux 1.4RC1. This is the code error: gcc -DALSA_BUILD -D__KERNEL__ -DMODULE=1 -I/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include -I/usr/src/linux/include -O2 -mpreferred-stack-boundary=2 -march=k6 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -pipe -DKBUILD_BASENAME=trident_memory -c -o trident_memory.o trident_memory.cln -sf ../pci/trident/snd-trident-synth.o /var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/modules/snd-trident-synth.o rm -f snd-cmipci.o ld -r -o snd-cmipci.o cmipci.o rm -f snd-cs4281.o ld -r -o snd-cs4281.o cs4281.o rm -f snd-ens1370.o ld -r -o snd-ens1370.o ens1370.o rm -f snd-ens1371.o ld -r -o snd-ens1371.o ens1371.o ln -sf ../pci/trident/snd-trident.o /var/tmp/portage/alsa-driver-0.9.0_rc2/work/ alsa-driver-0.9.0rc2/modules/snd-trident.o rm -f snd-es1938.o ld -r -o snd-es1938.o es1938.o rm -f snd-es1968.o ld -r -o snd-es1968.o es1968.o rm -f snd-fm801.o ld -r -o snd-fm801.o fm801.o rm -f snd-ice1712.o ld -r -o snd-ice1712.o ice1712.o rm -f snd-intel8x0.o ld -r -o snd-intel8x0.o intel8x0.o rm -f snd-maestro3.o ld -r -o snd-maestro3.o maestro3.o rm -f snd-rme32.o ld -r -o snd-rme32.o rme32.o rm -f snd-rme96.o ld -r -o snd-rme96.o rme96.o rm -f snd-sonicvibes.o ld -r -o snd-sonicvibes.o sonicvibes.o rm -f snd-via686.o ld -r -o snd-via686.o via686.o rm -f snd-via8233.o ld -r -o snd-via8233.o via8233.o En el fichero incluído de trident_memory.c:1: ../../alsa-kernel/pci/trident/trident_memory.c: En la función `snd_trident_synth _bzero_Re1bb84d6': ../../alsa-kernel/pci/trident/trident_memory.c:402: insn no reconocible: (insn 228 221 230 (set (reg:SI 99) (ashift:SI (plus:SI (reg/v:SI 63) (const_int -1 [0xffffffff])) (const_int 12 [0xc]))) -1 (insn_list 28 (nil)) (nil)) ../../alsa-kernel/pci/trident/trident_memory.c:402: Error interno del compilador extract_insn, en recog.c:2148 Por favor envíe un reporte completo de `bugs', con el código preprocesado si es apropiado. Vea <URL:http://www.gnu.org/software/gcc/bugs.html> para más instrucciones. make[2]: *** [trident_memory.o] Error 1 make[2]: Saliendo directorio `/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-d river-0.9.0rc2/pci/trident' make[1]: *** [_modsubdir_trident] Error 2 make[1]: Saliendo directorio `/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-d river-0.9.0rc2/pci' make: *** [compile] Error 1 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line -13, Exitcode 2 !!! Parallel Make Failed
I get a simmilar error, on gentoo 1.4rc1: gcc -DALSA_BUILD -D__KERNEL__ -DMODULE=1 -I/var/tmp/portage/alsa-driver-0.9.0_rc 2/work/alsa-driver-0.9.0rc2/include -I/usr/src/linux/include -O2 -mpreferred-sta ck-boundary=2 -march=k6 -D__SMP__ -DCONFIG_SMP -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -pipe -DKBUILD_BASENAME=trident_memory -c -o trident_me mory.o trident_memory.c ln -sf ../pci/trident/snd-trident-synth.o /var/tmp/portage/alsa-driver-0.9.0_rc2 /work/alsa-driver-0.9.0rc2/modules/snd-trident-synth.o ln -sf ../pci/trident/snd-trident.o /var/tmp/portage/alsa-driver-0.9.0_rc2/work/ alsa-driver-0.9.0rc2/modules/snd-trident.o rm -f snd-ens1370.o ld -r -o snd-ens1370.o ens1370.o rm -f snd-ens1371.o ld -r -o snd-ens1371.o ens1371.o rm -f snd-es1938.o ld -r -o snd-es1938.o es1938.o rm -f snd-es1968.o ld -r -o snd-es1968.o es1968.o rm -f snd-fm801.o ld -r -o snd-fm801.o fm801.o rm -f snd-ice1712.o ld -r -o snd-ice1712.o ice1712.o In file included from trident_memory.c:1: ../../alsa-kernel/pci/trident/trident_memory.c: In function `snd_trident_synth_b zero_Rsmp_d70a1e60': ../../alsa-kernel/pci/trident/trident_memory.c:402: unrecognizable insn: (insn 228 221 230 (set (reg:SI 99) (ashift:SI (plus:SI (reg/v:SI 63)gcc -DALSA_BUILD -D__KERNEL__ -DMODULE=1 -I/var/tmp/portage/alsa-driver-0.9.0_rc 2/work/alsa-driver-0.9.0rc2/include -I/usr/src/linux/include -O2 -mpreferred-sta ck-boundary=2 -march=k6 -D__SMP__ -DCONFIG_SMP -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -pipe -DKBUILD_BASENAME=trident_memory -c -o trident_me mory.o trident_memory.c ln -sf ../pci/trident/snd-trident-synth.o /var/tmp/portage/alsa-driver-0.9.0_rc2 /work/alsa-driver-0.9.0rc2/modules/snd-trident-synth.o ln -sf ../pci/trident/snd-trident.o /var/tmp/portage/alsa-driver-0.9.0_rc2/work/ alsa-driver-0.9.0rc2/modules/snd-trident.o rm -f snd-ens1370.o ld -r -o snd-ens1370.o ens1370.o rm -f snd-ens1371.o ld -r -o snd-ens1371.o ens1371.o rm -f snd-es1938.o ld -r -o snd-es1938.o es1938.o rm -f snd-es1968.o ld -r -o snd-es1968.o es1968.o rm -f snd-fm801.o ld -r -o snd-fm801.o fm801.o rm -f snd-ice1712.o ld -r -o snd-ice1712.o ice1712.o In file included from trident_memory.c:1: ../../alsa-kernel/pci/trident/trident_memory.c: In function `snd_trident_synth_b zero_Rsmp_d70a1e60': ../../alsa-kernel/pci/trident/trident_memory.c:402: unrecognizable insn: (insn 228 221 230 (set (reg:SI 99) (ashift:SI (plus:SI (reg/v:SI 63) (const_int -1 [rm -f snd-intel8x0.o ld -r -o snd-intel8x0.o intel8x0.o 0xffffffff])) (const_int 12 [0xc]))) -1 (insn_list 28 (nil)) (nil)) ../../alsa-kernel/pci/trident/trident_memory.c:402: Internal compiler error in e xtract_insn, at recog.c:2148 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. make[2]: *** [trident_memory.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-dri ver-0.9.0rc2/pci/trident' make[1]: *** [_modsubdir_trident] Error 2 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-dri ver-0.9.0rc2/pci' make: *** [compile] Error 1 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line -13, Exitcode 2 !!! Parallel Make Failed (const_int -1 [rm -f snd-intel8x0.o ld -r -o snd-intel8x0.o intel8x0.o 0xffffffff])) (const_int 12 [0xc]))) -1 (insn_list 28 (nil)) (nil)) ../../alsa-kernel/pci/trident/trident_memory.c:402: Internal compiler error in e xtract_insn, at recog.c:2148 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. make[2]: *** [trident_memory.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-dri ver-0.9.0rc2/pci/trident' make[1]: *** [_modsubdir_trident] Error 2 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-dri ver-0.9.0rc2/pci' make: *** [compile] Error 1 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line -13, Exitcode 2 !!! Parallel Make Failed For the record, this is on a K6-2 400MHz with 224MB of ram, I tried it with th march=K6-2 and with the mcpu=i586 flags in make.conf, both have the same result.
Doesn't work for me either on 1.4rc1. My CFLAGS are: CFLAGS="-march=athlon-tbird -O3 -pipe" gcc -DALSA_BUILD -D__KERNEL__ -DMODULE=1 -I/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include -I/usr/src/linux/include -O2 -mpreferred-stack-boundary=2 -march=k6 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -pipe -DKBUILD_BASENAME=trident_memory -c -o trident_memory.o trident_memory.c In file included from trident_memory.c:1: ../../alsa-kernel/pci/trident/trident_memory.c: In function `snd_trident_synth_bzero_R75775a45': ../../alsa-kernel/pci/trident/trident_memory.c:402: unrecognizable insn: (insn 228 221 230 (set (reg:SI 99) (ashift:SI (plus:SI (reg/v:SI 63) (const_int -1 [0xffffffff])) (const_int 12 [0xc]))) -1 (insn_list 28 (nil)) (nil)) ../../alsa-kernel/pci/trident/trident_memory.c:402: Internal compiler error in extract_insn, at recog.c:2148 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. make[2]: *** [trident_memory.o] Error 1 make[2]: *** Waiting for unfinished jobs.... rm -f snd-maestro3.o ld -r -o snd-maestro3.o maestro3.o rm -f snd-rme32.o ld -r -o snd-rme32.o rme32.o rm -f snd-rme96.o ld -r -o snd-rme96.o rme96.o rm -f snd-sonicvibes.o ld -r -o snd-sonicvibes.o sonicvibes.o rm -f snd-via686.o ld -r -o snd-via686.o via686.o rm -f snd-via8233.o ld -r -o snd-via8233.o via8233.o make[2]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/pci/trident' make[1]: *** [_modsubdir_trident] Error 2 make[1]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/pci' make: *** [compile] Error 1 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line -13, Exitcode 2 !!! Parallel Make Failed
I am having the same problems -- it seems to me that the configure script is not using what we are entering for the -march flag in CFLAGS (I have it set as i586 but for some reason everything is trying to compile with the flag -march=k6 for me). The ./configure --help script for alsa-driver mentions that the --host flag is guessed. I looked through the ./configure and it appears that it uses it determines it's own flags to pass to gcc instead of using CFLAGS. (take a look at lines 1672-1921 of configure). Following that through, in the Makefile.conf.in, the CFLAGS is overwritten with predetermined values from ./configure (thus generateing Makefile.conf which is included in Makefile). The quick fix would be to add a line above the emake command in the ebuild: echo "CFLAGS = \${MODFLAGS} \${INCLUDE} $CFLAGS -Wall -Wstrict-prototypes -fomit-frame-pointer -pipe" >> Makefile.conf You can easily see how I derived this by looking at the Makefile.conf.in This at least lets it compile... haven't tested much beyond there. I will let you know my results. The long fix is to submit bug reports to the alsa development team (as it's really a bug in thier scripts ignoring the CFLAGS environment variable... The even longer fix would be to submit a bug report to the gcc developers because this seems to stem down to problems in gcc3.2 with the k6 chipset... (though I dont know, alsa may be using old/not-very-well-tested functions--I'm in over my head here)
COuld you try alsa-driver-0.9.0_rc5 and see if it works?
with alsa-driver-0.9.0_rc5: i586-pc-linux-gnu-gcc -D__KERNEL__ -DMODULE=1 -I/var/tmp/portage/alsa-driver-0.9.0_rc5/work/alsa-driver-0.9.0rc5/include -I/usr/src/linux/include -O2 -mpreferred-stack-boundary=2 -march=k6 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -pipe -DALSA_BUILD -DKBUILD_BASENAME=trident_memory -c -o trident_memory.o trident_memory.c ln -sf ../pci/ymfpci/snd-ymfpci.o /var/tmp/portage/alsa-driver-0.9.0_rc5/work/alsa-driver-0.9.0rc5/modules/snd-ymfpci.o rm -f snd-ymfpci.o ld -r -o snd-ymfpci.o ymfpci.o ymfpci_main.o make[2]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.0_rc5/work/alsa-driver-0.9.0rc5/pci/ymfpci' rm -f snd-als4000.o ld -r -o snd-als4000.o als4000.o ln -sf ../pci/trident/snd-trident-synth.o /var/tmp/portage/alsa-driver-0.9.0_rc5/work/alsa-driver-0.9.0rc5/modules/snd-trident-synth.o ln -sf ../pci/trident/snd-trident.o /var/tmp/portage/alsa-driver-0.9.0_rc5/work/alsa-driver-0.9.0rc5/modules/snd-trident.o rm -f snd-cmipci.o ld -r -o snd-cmipci.o cmipci.o rm -f snd-cs4281.o ld -r -o snd-cs4281.o cs4281.o rm -f snd-ens1370.o ld -r -o snd-ens1370.o ens1370.o rm -f snd-ens1371.o ld -r -o snd-ens1371.o ens1371.o rm -f snd-es1938.o ld -r -o snd-es1938.o es1938.o rm -f snd-es1968.o ld -r -o snd-es1968.o es1968.o rm -f snd-fm801.o ld -r -o snd-fm801.o fm801.o rm -f snd-intel8x0.o ld -r -o snd-intel8x0.o intel8x0.o rm -f snd-maestro3.o ld -r -o snd-maestro3.o maestro3.o rm -f snd-rme32.o ld -r -o snd-rme32.o rme32.o rm -f snd-rme96.o ld -r -o snd-rme96.o rme96.o rm -f snd-sonicvibes.o ld -r -o snd-sonicvibes.o sonicvibes.o rm -f snd-via82xx.o ld -r -o snd-via82xx.o via82xx.o En el fichero inclu
with alsa-driver-0.9.0_rc5: i586-pc-linux-gnu-gcc -D__KERNEL__ -DMODULE=1 -I/var/tmp/portage/alsa-driver-0.9.0_rc5/work/alsa-driver-0.9.0rc5/include -I/usr/src/linux/include -O2 -mpreferred-stack-boundary=2 -march=k6 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -pipe -DALSA_BUILD -DKBUILD_BASENAME=trident_memory -c -o trident_memory.o trident_memory.c ln -sf ../pci/ymfpci/snd-ymfpci.o /var/tmp/portage/alsa-driver-0.9.0_rc5/work/alsa-driver-0.9.0rc5/modules/snd-ymfpci.o rm -f snd-ymfpci.o ld -r -o snd-ymfpci.o ymfpci.o ymfpci_main.o make[2]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.0_rc5/work/alsa-driver-0.9.0rc5/pci/ymfpci' rm -f snd-als4000.o ld -r -o snd-als4000.o als4000.o ln -sf ../pci/trident/snd-trident-synth.o /var/tmp/portage/alsa-driver-0.9.0_rc5/work/alsa-driver-0.9.0rc5/modules/snd-trident-synth.o ln -sf ../pci/trident/snd-trident.o /var/tmp/portage/alsa-driver-0.9.0_rc5/work/alsa-driver-0.9.0rc5/modules/snd-trident.o rm -f snd-cmipci.o ld -r -o snd-cmipci.o cmipci.o rm -f snd-cs4281.o ld -r -o snd-cs4281.o cs4281.o rm -f snd-ens1370.o ld -r -o snd-ens1370.o ens1370.o rm -f snd-ens1371.o ld -r -o snd-ens1371.o ens1371.o rm -f snd-es1938.o ld -r -o snd-es1938.o es1938.o rm -f snd-es1968.o ld -r -o snd-es1968.o es1968.o rm -f snd-fm801.o ld -r -o snd-fm801.o fm801.o rm -f snd-intel8x0.o ld -r -o snd-intel8x0.o intel8x0.o rm -f snd-maestro3.o ld -r -o snd-maestro3.o maestro3.o rm -f snd-rme32.o ld -r -o snd-rme32.o rme32.o rm -f snd-rme96.o ld -r -o snd-rme96.o rme96.o rm -f snd-sonicvibes.o ld -r -o snd-sonicvibes.o sonicvibes.o rm -f snd-via82xx.o ld -r -o snd-via82xx.o via82xx.o En el fichero incluído de trident_memory.c:2: ../../alsa-kernel/pci/trident/trident_memory.c: En la función `snd_trident_synth_bzero_Re9b89433': ../../alsa-kernel/pci/trident/trident_memory.c:401: insn no reconocible: (insn 228 221 230 (set (reg:SI 99) (ashift:SI (plus:SI (reg/v:SI 63) (const_int -1 [0xffffffff])) (const_int 12 [0xc]))) -1 (insn_list 28 (nil)) (nil)) ../../alsa-kernel/pci/trident/trident_memory.c:401: Error interno del compilador extract_insn, en recog.c:2148 Por favor envíe un reporte completo de `bugs', con el código preprocesado si es apropiado. Vea <URL:http://www.gnu.org/software/gcc/bugs.html> para más instrucciones. make[2]: *** [trident_memory.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.0_rc5/work/alsa-driver-0.9.0rc5/pci/trident' make[1]: *** [_modsubdir_trident] Error 2 make[1]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.0_rc5/work/alsa-driver-0.9.0rc5/pci' make: *** [compile] Error 1 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line -7, Exitcode 2 !!! Parallel Make Failed :'(
An updated version of the tarball was released a few days ago, which specifically addresses gcc-3.2 problems. Perhaps you downloaded an old one? Could you please do the following: 1. rm /usr/portage/distfiles/alsa-driver-0.9.0rc5.tar.bz2 2. emerge rsync (to update the digest file if needed) 3. emerge alsa-driver and tell me whether this works for you?
sorry, the same error.
Now, alsa-driver-0.9.0_rc2 emerge! :-|
Now, alsa-driver-0.9.0_rc2 emerge! :-| ¿bug fixed?
Have you updated your binutils package lately? That could have fixed it. Closing this one.