You are not logged in.

#1 2007-09-25 14:33:27

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

serious problems with custom kernels (resolved)

kernel 2.6.22.6
command
make menuconfig
gcc: Internal error: Segmentation fault (program cc1)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
gcc: Internal error: Segmentation fault (program cc1)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
  HOSTCC  scripts/basic/fixdep
gcc: Internal error: Segmentation fault (program cc1)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2

command
make xconfig
gcc: Internal error: Segmentation fault (program cc1)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
gcc: Internal error: Segmentation fault (program cc1)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
  HOSTCC  scripts/basic/fixdep
gcc: Internal error: Segmentation fault (program cc1)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2



this is really annoying as not that long ago xconfig count dot find qt2 (posted here not resolved).
Now it seems that I can't compile custom kernel at all.

Is there any fix for this? (downgrading gcc for example)/

Last edited by broch (2007-09-26 13:49:42)

Offline

#2 2007-09-26 08:11:27

klixon
Member
From: Nederland
Registered: 2007-01-17
Posts: 525

Re: serious problems with custom kernels (resolved)

Are you trying this in /usr/src/linux-2.6.22-ARCH?
If so, these messages make perfect sense, as this directory does _not_ contain the full kernel-sources. It contains the bear minimum necessary to build out-of-tree modules against it. You cannot use it to configure and build a customized kernel.
If you want to do that, use abs to get the core repo's PKGBUILDs, copy the core/base/kernel26 directory to your local repo's build-directory, modify the PKGBUILD so that it contains "make menuconfig" in the appropriate place and execute "makepkg".
Don't forget to rebuild any additional (out-of-tree) modules you have installed...


Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!

Offline

#3 2007-09-26 12:54:26

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: serious problems with custom kernels (resolved)

thanks, but, no
this is compilation from standard kernel vanilla sources. And gcc is evidently broken (also check users complaining here:
http://bbs.archlinux.org/viewtopic.php?id=37763 )

previously, when this happened i simply downgraded gcc and this fixed my problem, now with core being fresh at all, every server I checked has only recent (broken) version of gcc.

Offline

#4 2007-09-26 13:14:45

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: serious problems with custom kernels (resolved)

Whatever's going on here, it's not just about gcc - I have the same package versions installed, and I can build my kernels. Post a bug report with all relevant details.

Offline

#5 2007-09-26 13:48:55

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: serious problems with custom kernels (resolved)

o.k.
re-installing gcc helped. It looks like something actually happened as more users are/were complaining about this exactly same error. As far as I remember, I had problems connecting to main repository and nethat. It is possible that broken package ended up somewhere.

Offline

Board footer

Powered by FluxBB