1 |
I just got done following the GCC migration guide on 3 computers. It went |
2 |
smoothly on 2 of them, everything works fine, but on the third, after I |
3 |
recompiled the kernel, alsa-driver won't compile. I'm using vanilla-sources |
4 |
2.6.14.2, the kernel options are all identical to what they were before I |
5 |
did the GCC migration. It's getting stuck very early in the ALSA compile: |
6 |
|
7 |
In file included from /var/tmp/portage/alsa- |
8 |
driver-1.0.10_rc3/work/alsa-driver-1.0.10rc3/include/adriver.h:765, |
9 |
from /var/tmp/portage/alsa- |
10 |
driver-1.0.10_rc3/work/alsa-driver-1.0.10rc3/acore/sgbuf.c:13: |
11 |
include/linux/pci.h:392: error: parse error before numeric constant |
12 |
make[4]: *** [/var/tmp/portage/alsa- |
13 |
driver-1.0.10_rc3/work/alsa-driver-1.0.10rc3/acore/sgbuf.o] Error 1 |
14 |
make[3]: *** [/var/tmp/portage/alsa- |
15 |
driver-1.0.10_rc3/work/alsa-driver-1.0.10rc3/acore] Error 2 |
16 |
make[2]: *** [_module_/var/tmp/portage/alsa- |
17 |
driver-1.0.10_rc3/work/alsa-driver-1.0.10rc3] Error 2 |
18 |
make[1]: *** [modules] Error 2 |
19 |
make[1]: Leaving directory `/usr/src/linux-2.6.14.2' |
20 |
make: *** [compile] Error 2 |
21 |
|
22 |
!!! ERROR: media-sound/alsa-driver-1.0.10_rc3 failed. |
23 |
!!! Function src_compile, Line 96, Exitcode 2 |
24 |
!!! Make Failed |
25 |
!!! If you need support, post the topmost build error, NOT this status |
26 |
message. |
27 |
|
28 |
I have no idea how to solve this...it's only happening on one computer. On |
29 |
the others, ALSA compiled fine after recompiling the kernel with the new |
30 |
compiler. The only change that I made after switching compiler was changing |
31 |
my CFLAGS. 3.3.6 didn't have a --march entry for my processor, so I had to |
32 |
use i686. After the GCC update, I changed the CFLAGS to --march=c3-2, then |
33 |
I did emerge -e system and emerge -e world afterwards. Everything but ALSA |
34 |
is working fine. I'm lost here, I can't imagine what the problem could be. |
35 |
ALSA would've been recompiled as part of world after the GCC upgrade/CFLAGS |
36 |
change, it must've worked then as I didn't get any errors from the emerge. |