GCC Compile problem with kernel 3.5.

Hello,

I have installed the last kernel from tumbleweed.
Linux hpprol 3.5.0-35-xen #1 SMP Thu Jul 26 09:15:49 UTC 2012 (79fb0ad) x86_64 x86_64 x86_64 GNU/Linux
KDE:4.8

When I compile the Seamonkey sources I receive a segmentation error

gcc: internal compiler error: Erreur de segmentation (program as) 

and I have this error in /var/log/messages

Jul 28 17:48:26 hpprol kernel: [45445.835157] as[28230]: segfault at ffffffffffff0010 ip 000000000041057f sp 00007fff94861320 error 4 in as[400000+50000]

With the preceding kernel (3.4] the compile runs correctly.
gcc has not been changed since February 2011
I have reloaded all sources of Seamonkey but the error remains.
Strange is that the compile doesn’t fails every time on the same step.

Anybody has the same problem?
Regards
Philippe

i believe your assembler segfaulted (program as), not gcc.

low hanging fruit may be to just remove and re-install the binutils package. failing that, do you see any output from as during your compilation run?

you mention the failure does not occur in the same spot… does it still succeed with your 3.4 kernel? have you tested this recently? reason i ask, is a failure like this in a random spot could also signify faulty ram (perhaps a bit presumptuous at the moment, but something to keep in mind).

It is possible its a bug of some sort in kernel 3.5. I am running kernel 3.5 in regular openSUSE 12.1, but others have complained of a keyboard problem in kernel 3.5 and one might wonder if the kernel 3.5 default configuration in Tumbleweed might be at fault. If you have enabled multiple kernel versions, why not drop back to kernel 3.4 and see what you get? I give instructions here on how to enable the ability to maintain more than one kernel version here:

http://forums.opensuse.org/english/get-technical-help-here/tumbleweed/477037-no-keyboard-after-update-kernel-3-5-a.html

If YaST does not provide you with the ability to drop back to kernel 3.4, you can do so using my bash script SAKC you can find here:

S.A.K.C. - SUSE Automated Kernel Compiler - Version 2.75 - Blogs - openSUSE Forums

It would be interesting to know that going back to kernel 3.4.6 (at kernel.org) solves the compile problem.

Thank You,

I have reinstalled the binutils package but this doesn’t solve the problem.
I checked the memory and the disks: no error found
Thereafter I rebooted with the default kernel, reloaded all sources : The compile was ok
I rebooted with the xen kernel, reloaded all sources and thereafter the compile failed.>:(

So there is a maybe problem with the xen kernel.
Next task to do :reinstall xen kernel

Regards
Philippe

I can confirm that the compile with the xen kernel 3.4.6 ran without problem last week.

There seems to be a problem with the installed 3.5 xen kernel.

Regards
Philippe

I’m having the same problem building GraphicsMagick with a 3.5.0 xen kernel. My kernel config was created with “cloneconfig” (which I believe means taken from my 3.4.4 config). I didn’t try buiding this with 3.4.4.

And by the way, the error is random. Sometimes it is a seg fault. fail with -j9 - Pastebin.com
Sometimes it is something else: fail with -j9 without seg fault - Pastebin.com
And without -j9, just with “make”, it usually succeeds.

I’m using openSUSE 12.1, not tumbleweed. My kernel is from the kernelstable repository.

hello,
I tested with a second kernel (3.5.0.36) from tumbleweed: same problem and kde exit randomly with a sefgault

Problem is solved with the new kernel 3.5.1-37-xen #1 SMP Thu Aug 9 18:02:33 UTC 2012 (daed3d9) x86_64 x86_64 x86_64 GNU/Linux from tumbleweed repository. :wink:

Regards
Philippe