[Bug target/33755] Gcc 4.2.2 broken for mips linux kernel builds

2007-10-24 Thread rsandifo at gcc dot gnu dot org
--- Comment #17 from rsandifo at gcc dot gnu dot org 2007-10-24 17:55 --- Patches applied to mainline and 4.2. -- rsandifo at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/33755] Gcc 4.2.2 broken for mips linux kernel builds

2007-10-24 Thread rsandifo at gcc dot gnu dot org
--- Comment #16 from rsandifo at gcc dot gnu dot org 2007-10-24 17:54 --- Subject: Bug 33755 Author: rsandifo Date: Wed Oct 24 17:54:40 2007 New Revision: 129607 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129607 Log: gcc/ PR target/33755 * config/mips/mips.c

[Bug target/33755] Gcc 4.2.2 broken for mips linux kernel builds

2007-10-24 Thread rsandifo at gcc dot gnu dot org
--- Comment #15 from rsandifo at gcc dot gnu dot org 2007-10-24 17:52 --- Subject: Bug 33755 Author: rsandifo Date: Wed Oct 24 17:52:16 2007 New Revision: 129606 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129606 Log: gcc/ PR target/33755 * config/mips/mips.c

[Bug target/33755] Gcc 4.2.2 broken for mips linux kernel builds

2007-10-22 Thread rsandifo at gcc dot gnu dot org
--- Comment #14 from rsandifo at gcc dot gnu dot org 2007-10-22 20:47 --- Created an attachment (id=14392) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14392&action=view) Mainline version of proposed patch -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33755

[Bug target/33755] Gcc 4.2.2 broken for mips linux kernel builds

2007-10-22 Thread rsandifo at gcc dot gnu dot org
--- Comment #13 from rsandifo at gcc dot gnu dot org 2007-10-22 20:47 --- Created an attachment (id=14391) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14391&action=view) 4.2 version of the proposed patch -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33755

[Bug target/33755] Gcc 4.2.2 broken for mips linux kernel builds

2007-10-15 Thread rsandifo at gcc dot gnu dot org
--- Comment #12 from rsandifo at gcc dot gnu dot org 2007-10-15 16:23 --- As a status update: I've got a patch I'm reasonably happy with, tested against 4.2 and trunk. The trunk version depends on some uncommitted patches, which in turn depend on a system.h patch, so I'll hold off appl

[Bug target/33755] Gcc 4.2.2 broken for mips linux kernel builds

2007-10-14 Thread rsandifo at nildram dot co dot uk
--- Comment #11 from rsandifo at nildram dot co dot uk 2007-10-14 09:41 --- Subject: Re: Gcc 4.2.2 broken for mips linux kernel builds "ddaney at avtrex dot com" <[EMAIL PROTECTED]> writes: > rsandifo at gcc dot gnu dot org wrote: >> --- Comment #9 from rsandifo at gcc dot gnu dot

[Bug target/33755] Gcc 4.2.2 broken for mips linux kernel builds

2007-10-13 Thread ddaney at avtrex dot com
--- Comment #10 from ddaney at avtrex dot com 2007-10-14 02:02 --- Subject: Re: Gcc 4.2.2 broken for mips linux kernel builds rsandifo at gcc dot gnu dot org wrote: > --- Comment #9 from rsandifo at gcc dot gnu dot org 2007-10-13 10:47 > --- > The problem comes from dbr_sched

[Bug target/33755] Gcc 4.2.2 broken for mips linux kernel builds

2007-10-13 Thread rsandifo at gcc dot gnu dot org
--- Comment #9 from rsandifo at gcc dot gnu dot org 2007-10-13 10:47 --- The problem comes from dbr_schedule, although it's not really a bug there. We have: bne $5,$0,L1# A ...stuff... L1: bne $5,$0,L2# B ...printk call... L2: an

[Bug target/33755] Gcc 4.2.2 broken for mips linux kernel builds

2007-10-12 Thread daney at gcc dot gnu dot org
--- Comment #8 from daney at gcc dot gnu dot org 2007-10-12 22:35 --- It appears to be a GCC bug not binutils: If you look at the assembly output for gcc-4.2, we emit: lui $2,%hi($LC6) But there is no corresponding %lo($LC6) to be found. No amount of relocation sorting could

[Bug target/33755] Gcc 4.2.2 broken for mips linux kernel builds

2007-10-12 Thread daney at gcc dot gnu dot org
--- Comment #7 from daney at gcc dot gnu dot org 2007-10-12 22:08 --- The reduced testcase is different than the reported problem. At a minimum the relocation types are different. Also the kernel is compiled with -G 0 -mno-abicalls If we compile the reduced testcase thusly: (sid)[EMAI

[Bug target/33755] Gcc 4.2.2 broken for mips linux kernel builds

2007-10-12 Thread daney at gcc dot gnu dot org
--- Comment #6 from daney at gcc dot gnu dot org 2007-10-12 21:06 --- >From the reduced testcase could you post the result of: objdump -r -j .text 33755.o Thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33755

[Bug target/33755] Gcc 4.2.2 broken for mips linux kernel builds

2007-10-12 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2007-10-12 20:56 --- This does sound like an gas/ld issue. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33755

[Bug target/33755] Gcc 4.2.2 broken for mips linux kernel builds

2007-10-12 Thread daney at gcc dot gnu dot org
--- Comment #4 from daney at gcc dot gnu dot org 2007-10-12 20:44 --- Not that I have looked into the problem, but this sounds similar to this problem: http://sourceware.org/ml/binutils/2006-11/msg00059.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33755

[Bug target/33755] Gcc 4.2.2 broken for mips linux kernel builds

2007-10-12 Thread tbm at cyrius dot com
--- Comment #3 from tbm at cyrius dot com 2007-10-12 20:32 --- /* Testcase by Martin Michlmayr <[EMAIL PROTECTED]> */ struct mtd_blktrans_ops { int (*readsect) (void); int exiting; }; static void do_blktrans_request (struct mtd_blktrans_ops *tr, long flags) { switch (flags & 1)

[Bug target/33755] Gcc 4.2.2 broken for mips linux kernel builds

2007-10-12 Thread tbm at cyrius dot com
--- Comment #2 from tbm at cyrius dot com 2007-10-12 19:30 --- Reducing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33755

[Bug target/33755] Gcc 4.2.2 broken for mips linux kernel builds

2007-10-12 Thread tbm at cyrius dot com
--- Comment #1 from tbm at cyrius dot com 2007-10-12 19:19 --- Created an attachment (id=14350) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14350&action=view) preprocessed source (sid)160:[EMAIL PROTECTED]: ~] gcc-4.2 -c -O2 -march=mips32r2 33755.i (sid)161:[EMAIL PROTECTED]: ~]