| Bug#: 228517 (PR36533) | Product: Gentoo Linux | Version: 2008.0 | Platform: x86 |
| OS/Version: Linux | Status: RESOLVED | Severity: normal | Priority: P2 |
| Resolution: FIXED | Assigned To: toolchain@gentoo.org | Reported By: loki_val@gentoo.org | |
| Component: GCC Porting | |||
| URL: http://gcc.gnu.org/PR36533 | |||
| Summary: [4.3/wrong-code] causes ext* filesystems to oops: BUG: unable to handle kernel paging request at <first byte, next page> | |||
| Keywords: | |||
| Status Whiteboard: | |||
| Opened: 2008-06-20 11:55 0000 | |||
| Description: | Opened: 2008-06-20 11:55 0000 |
Upstream bug: "Incorrectly assumed aligned_operand" This is a regression from gcc-4.3.0->gcc-4.3.1 introduced by the fix for PR28690: http://gcc.gnu.org/bugzilla/show_bug.cgi?28690 Upstream commit: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=135124 Fedora bug: https://bugzilla.redhat.com/show_bug.cgi?id=451068
Well, today they created following upstream commit: http://gcc.gnu.org/viewcvs?view=rev&revision=137039 How long till it be added to gcc patches ?
FWIW simply compiling the pr36533.c test with -Os will exhibit the bug (segfault). If toolchain/kernel teams are busy I'd be glad to volunteer and provide an ebuild patch.
Created an attachment (id=158189) [details] Patch for gcc bug #36533
Created an attachment (id=158191) [details]
Patch for ebuild
The patches will fix gcc to correctly compile the test program from http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36533 with -Os. Other programs still compile & run as well ;)
(In reply to comment #5) > The patches will fix gcc to correctly compile the test program from > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36533 with -Os. Forget the above URL - if you need the standalone test use the "upstream commit" mentioned in comment#1.
Closing, fixed in GCC-4.3.1-r1