Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Heid Oliver <oliver.heid@siemens.com>
To: "'axp-list@redhat.com'" <axp-list@redhat.com>
Subject: gcc-3.3.1 problem on ev6 ?!
Date: Tue, 23 Sep 2003 18:30:11 +0200	[thread overview]
Message-ID: <850F2E3B91BCD611A3FC00508B94988A01E19F42@erlh908a.med.siemens.de> (raw)

hello all,

When building a 2.4.22-rc2-ac3 kernel with gcc-3.3.1 built for ev6 arch on an XP1000 (ev6),
I get the following error message:

***************

gcc -D__KERNEL__ -I/usr/src/2.4.22-rc2-ac3/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -mcpu=ev6 -Wa,-mev6   -nostdinc -iwithprefix include -DKBUILD_BASENAME=fork  -c -o fork.o fork.c
fork.c: In function `dup_mmap':
fork.c:148: error: unrecognizable insn:
(insn 61 54 63 0 0x20000d311e0 (set (reg/f:DI 83)
        (symbol_ref:DI ("@Smmlist_nr"))) -1 (nil)
    (expr_list:REG_EQUAL (symbol_ref:DI ("@Smmlist_nr"))
        (nil)))
fork.c:148: internal compiler error: in extract_insn, at recog.c:2175
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

******************

This does NOT happen (i.e. the compile runs successfully)
- with gcc-3.3.1 compiled for and run on either ev56 or ev68 machines
- with gcc-3.2.3
- when I remove either the inline or the static keyword of the offending code line #148
	static inline int dup_mmap(struct mm_struct * mm)

I guess this is a ev6 specific gcc bug. Anybody seen this too?

	Oliver



             reply	other threads:[~2003-09-23 16:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-23 16:30 Heid Oliver [this message]
2003-09-23 16:40 ` gcc-3.3.1 problem on ev6 ?! Falk Hueffner
  -- strict thread matches above, loose matches on Subject: below --
2003-09-23 16:42 Heid Oliver
2003-09-23 18:00 ` Falk Hueffner
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox