Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 447754

Summary: sys-kernel/vanilla-sources with sys-devel/gcc-4.6+ creates unbootable kernel images on ia64
Product: Gentoo Linux Reporter: Dennis Schridde <dschridde+gentoobugs>
Component: [OLD] Core systemAssignee: The Gentoo Linux Hardened Kernel Team (OBSOLETE) <hardened-kernel+disabled>
Status: RESOLVED UPSTREAM    
Severity: normal CC: hardened, ia64, kernel, pageexec, spender
Priority: Normal    
Version: unspecified   
Hardware: IA64   
OS: Linux   
See Also: https://bugzilla.kernel.org/show_bug.cgi?id=54251
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: config-3.7.9

Description Dennis Schridde 2012-12-18 18:35:58 UTC
I tried to build versions 2.6.32-r116, 3.2.34-r2, 3.2.35, 3.7.0 of sys-kernel/hardened-sources using sys-devel/gcc-4.6.3 and while the build succeeded, the resulting kernel images did not boot. (After elilo loaded the image, nothing happened, and the system rebooted after a while.)

A kernel compiled with the same config using gcc-4.5.4 boots.
# make clean
# make CC=gcc-4.5.4

This on a HP rx2600 ia64 machine. Kernel config for 3.7.0: attachment #332620 [details] - I can provide the others upon request.

Reproducible: Always
Comment 1 Dennis Schridde 2012-12-18 18:45:33 UTC
(In reply to comment #0)
> This on a HP rx2600 ia64 machine. Kernel config for 3.7.0: attachment
> #332620 [details] - I can provide the others upon request.
emerge --info at bug #447682 comment #0
Comment 2 Anthony Basile gentoo-dev 2012-12-18 22:04:51 UTC
Can you get the stuff that listed in the Kernel Crashes/Hangs in

  http://en.wikibooks.org/wiki/Grsecurity/Reporting_Bugs

and pass them along upstream.  I can't really do much with ia64.
Comment 3 PaX Team 2012-12-18 22:56:28 UTC
does vanilla built with the same gcc fail as well?
Comment 4 Dennis Schridde 2013-02-21 01:59:49 UTC
Created attachment 339532 [details]
config-3.7.9

(In reply to comment #3)
> does vanilla built with the same gcc fail as well?

sys-kernel/vanilla-sources-3.7.9, compiled with sys-devel/gcc-4.7.2, linked with sys-devel/binutils-2.22-r1, fails to boot. Config attached.
Comment 5 Dennis Schridde 2013-02-21 02:03:25 UTC
config, System.map, vmlinuz all available at: http://kynes.de/~dschridde/vanilla-3.7.9.tar.xz
Comment 6 PaX Team 2013-02-21 02:19:12 UTC
i guess this is then something you'll have to work out on lkml and the kernel bugzilla (https://bugzilla.kernel.org/).
Comment 7 Dennis Schridde 2013-02-22 20:34:22 UTC
I created a bugreport upstream: https://bugzilla.kernel.org/show_bug.cgi?id=54251