Skip to contentSkip to conversation

ICE with GCC 4.1

DISCUSSION Ludovic Courtès 3 participants 4 messages May 1, 2007 – May 2, 2007

lore
Share & tools
lore
#0 lore raw

Hi,

Does anyone get the following ICE when compiling the latest kernel (from David Miller's Git tree) on sparc32:

CC kernel/sched.o
kernel/sched.c: In function 'effective_prio':
kernel/sched.c:744: internal compiler error: in choose_multiplier, at expmed.c:3304 Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.

The compiler is gcc-4.1 from Debian unstable:

gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)

Should I be using another version?

Thanks,
Ludovic.

#1 lore raw
Quoted 5 lines · Ludovic Courtès

Hi,

Does anyone get the following ICE when compiling the latest kernel (from David Miller's Git tree) on sparc32:

Does it always error out at the same point? You might want to use a memory tester.

Quoted 16 lines

CC kernel/sched.o
kernel/sched.c: In function 'effective_prio':
kernel/sched.c:744: internal compiler error: in choose_multiplier, at expmed.c:3304 Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.

The compiler is gcc-4.1 from Debian unstable:

gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)

Should I be using another version?

Quoted 8 lines

Thanks,
Ludovic.

-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Jan

#2 lore raw
In reply to Ludovic Courtès

From: Jan Engelhardt <[email protected]>
Date: Wed, 2 May 2007 12:20:25 +0200 (MEST)

Quoted 10 lines · Ludovic Courtès
Quoted 5 lines

Hi,

Does anyone get the following ICE when compiling the latest kernel (from David Miller's Git tree) on sparc32:

Does it always error out at the same point? You might want to use a memory tester.

It's more likely to be a cache or TLB coherency bug in the sparc32 kernel than a real hardware memory problem, actually.

#3 lore raw
In reply to Ludovic Courtès

Hi,

Quoted 2 lines · Jan Engelhardt

Does it always error out at the same point? You might want to use a memory tester.

Yes, always at the same point, which led me to think it was more of a software problem. I even reported the same error while compiling an older kernel a while back:

http://article.gmane.org/gmane.linux.ports.sparc/6239

Back then, using GCC 3 wouldn't help either:

http://article.gmane.org/gmane.linux.ports.sparc/6290

Am I really the only one seeing this? Which compiler do distros use?

Thanks,
Ludovic.