public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/32753] New: building a crosscompiler for arm-elf fails because of an error in cirrus.md
@ 2007-07-13 7:12 leo at marco dot de
2007-07-13 7:13 ` [Bug bootstrap/32753] " leo at marco dot de
` (13 more replies)
0 siblings, 14 replies; 15+ messages in thread
From: leo at marco dot de @ 2007-07-13 7:12 UTC (permalink / raw)
To: gcc-bugs
When trying to build a crosscompiler for arm-elf with
cd i386-linux8; CC="gcc" CFLAGS="-O" LDFLAGS="-s" CLIB="" LANGUAGES=c
../gcc-4.2.1-RC-20070703/configure --srcdir=../gcc-4.2.1-RC-20070703
--prefix=/usr/arch --with-local-prefix=/usr/arch --target=arm-elf --with-newlib
--disable-libssp
it will fail with:
build/genoutput.o build/rtl.o build/read-rtl.o build/ggc-none.o build/vec.o
build/min-insn-modes.o build/gensupport.o build/print-rtl.o build/errors.o
../build-i686-pc-linux-gnu/libiberty/libiberty.a
build/genoutput ../../gcc-4.2.1-RC-20070703/gcc/config/arm/arm.md \
insn-conditions.md > tmp-output.c
../../gcc-4.2.1-RC-20070703/gcc/config/arm/cirrus.md:407: error: undefined
machine-specific constraint at this point: "T,*v"
../../gcc-4.2.1-RC-20070703/gcc/config/arm/cirrus.md:407: note: in operand 0
../../gcc-4.2.1-RC-20070703/gcc/config/arm/cirrus.md:407: error: undefined
machine-specific constraint at this point: "T,*v,*v"
../../gcc-4.2.1-RC-20070703/gcc/config/arm/cirrus.md:407: note: in operand 1
gmake[2]: *** [s-output] Error 1
gmake[2]: Leaving directory
`/mnt/projekt/soft/uti/cmd/gcc/thumb/i386-linux8/gcc'
gmake[1]: *** [all-gcc] Error 2
gmake[1]: Leaving directory `/mnt/projekt/soft/uti/cmd/gcc/thumb/i386-linux8'
gmake: *** [all] Error 2
*** Error code 2
Stop.
--
Summary: building a crosscompiler for arm-elf fails because of an
error in cirrus.md
Product: gcc
Version: 4.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: leo at marco dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32753
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug bootstrap/32753] building a crosscompiler for arm-elf fails because of an error in cirrus.md
2007-07-13 7:12 [Bug bootstrap/32753] New: building a crosscompiler for arm-elf fails because of an error in cirrus.md leo at marco dot de
@ 2007-07-13 7:13 ` leo at marco dot de
2007-07-15 20:58 ` pinskia at gcc dot gnu dot org
` (12 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: leo at marco dot de @ 2007-07-13 7:13 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from leo at marco dot de 2007-07-13 07:12 -------
Created an attachment (id=13908)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13908&action=view)
Stupid patch to fix the problem
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32753
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug bootstrap/32753] building a crosscompiler for arm-elf fails because of an error in cirrus.md
2007-07-13 7:12 [Bug bootstrap/32753] New: building a crosscompiler for arm-elf fails because of an error in cirrus.md leo at marco dot de
2007-07-13 7:13 ` [Bug bootstrap/32753] " leo at marco dot de
@ 2007-07-15 20:58 ` pinskia at gcc dot gnu dot org
2007-07-15 21:24 ` [Bug target/32753] [4.2 Regression] " mmitchel at gcc dot gnu dot org
` (11 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-07-15 20:58 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mmitchel at gcc dot gnu dot
| |org
Target Milestone|--- |4.2.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32753
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/32753] [4.2 Regression] building a crosscompiler for arm-elf fails because of an error in cirrus.md
2007-07-13 7:12 [Bug bootstrap/32753] New: building a crosscompiler for arm-elf fails because of an error in cirrus.md leo at marco dot de
2007-07-13 7:13 ` [Bug bootstrap/32753] " leo at marco dot de
2007-07-15 20:58 ` pinskia at gcc dot gnu dot org
@ 2007-07-15 21:24 ` mmitchel at gcc dot gnu dot org
2007-07-15 23:39 ` rask at sygehus dot dk
` (10 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-07-15 21:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from mmitchel at gcc dot gnu dot org 2007-07-15 21:24 -------
Paul, can you confirm that it is impossible to build an arm-elf cross-compiler
with GCC 4.2.1? AFAICT, nothing has changed in cirrus.md in a long time, and
cirrus.md is included in all ARM configurations, so I would think that this
means that GCC 4.2.1 for ARM is completely broken?
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pbrook at gcc dot gnu dot
| |org
Priority|P3 |P1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32753
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/32753] [4.2 Regression] building a crosscompiler for arm-elf fails because of an error in cirrus.md
2007-07-13 7:12 [Bug bootstrap/32753] New: building a crosscompiler for arm-elf fails because of an error in cirrus.md leo at marco dot de
` (2 preceding siblings ...)
2007-07-15 21:24 ` [Bug target/32753] [4.2 Regression] " mmitchel at gcc dot gnu dot org
@ 2007-07-15 23:39 ` rask at sygehus dot dk
2007-07-16 1:05 ` pbrook at gcc dot gnu dot org
` (9 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: rask at sygehus dot dk @ 2007-07-15 23:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from rask at sygehus dot dk 2007-07-15 23:39 -------
There are test results for GCC 4.2.1 20070706 on arm-elf here:
<URL:http://gcc.gnu.org/ml/gcc-testresults/2007-07/msg00334.html>.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32753
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/32753] [4.2 Regression] building a crosscompiler for arm-elf fails because of an error in cirrus.md
2007-07-13 7:12 [Bug bootstrap/32753] New: building a crosscompiler for arm-elf fails because of an error in cirrus.md leo at marco dot de
` (3 preceding siblings ...)
2007-07-15 23:39 ` rask at sygehus dot dk
@ 2007-07-16 1:05 ` pbrook at gcc dot gnu dot org
2007-07-16 1:28 ` pbrook at gcc dot gnu dot org
` (8 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pbrook at gcc dot gnu dot org @ 2007-07-16 1:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from pbrook at gcc dot gnu dot org 2007-07-16 01:04 -------
Builds fine for me.
The bogus constraint is in a pattern that is never used - the predicate is
"TARGET_ARM && TARGET_HARD_FLOAT && TARGET_MAVERICK && 0 [...]"
gen* are clever enough to eliminate it before it causes problems.
My guess is you broke genconditions by overriding CFLAGS.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32753
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/32753] [4.2 Regression] building a crosscompiler for arm-elf fails because of an error in cirrus.md
2007-07-13 7:12 [Bug bootstrap/32753] New: building a crosscompiler for arm-elf fails because of an error in cirrus.md leo at marco dot de
` (4 preceding siblings ...)
2007-07-16 1:05 ` pbrook at gcc dot gnu dot org
@ 2007-07-16 1:28 ` pbrook at gcc dot gnu dot org
2007-07-16 2:08 ` mmitchel at gcc dot gnu dot org
` (7 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pbrook at gcc dot gnu dot org @ 2007-07-16 1:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from pbrook at gcc dot gnu dot org 2007-07-16 01:28 -------
In further investigation building with a prehistoric (<3.0.1) host compiler may
also cause the same failure.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32753
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/32753] [4.2 Regression] building a crosscompiler for arm-elf fails because of an error in cirrus.md
2007-07-13 7:12 [Bug bootstrap/32753] New: building a crosscompiler for arm-elf fails because of an error in cirrus.md leo at marco dot de
` (5 preceding siblings ...)
2007-07-16 1:28 ` pbrook at gcc dot gnu dot org
@ 2007-07-16 2:08 ` mmitchel at gcc dot gnu dot org
2007-07-16 7:18 ` leo at marco dot de
` (6 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-07-16 2:08 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from mmitchel at gcc dot gnu dot org 2007-07-16 02:08 -------
Paul --
Thanks for investigating.
Since this should occur only for a minority of people, this is not a
showstopper. However, would you please remove the disabled pattern? It's not
doing anything useful, and we have some evidence that it can do something
harmful. It's OK to remove this now, or wait until after 4.2.1 is released, as
you like.
Thanks,
-- Mark
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pbrook at gcc dot gnu dot
|dot org |org
Priority|P1 |P2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32753
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/32753] [4.2 Regression] building a crosscompiler for arm-elf fails because of an error in cirrus.md
2007-07-13 7:12 [Bug bootstrap/32753] New: building a crosscompiler for arm-elf fails because of an error in cirrus.md leo at marco dot de
` (6 preceding siblings ...)
2007-07-16 2:08 ` mmitchel at gcc dot gnu dot org
@ 2007-07-16 7:18 ` leo at marco dot de
2007-07-16 13:01 ` pbrook at gcc dot gnu dot org
` (5 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: leo at marco dot de @ 2007-07-16 7:18 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from leo at marco dot de 2007-07-16 07:17 -------
Sorry for not noting, this. You are right, we are building on a suse 8.0 system
with gcc-2.95.3 as the host compiler. Thanks, Matthias.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32753
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/32753] [4.2 Regression] building a crosscompiler for arm-elf fails because of an error in cirrus.md
2007-07-13 7:12 [Bug bootstrap/32753] New: building a crosscompiler for arm-elf fails because of an error in cirrus.md leo at marco dot de
` (7 preceding siblings ...)
2007-07-16 7:18 ` leo at marco dot de
@ 2007-07-16 13:01 ` pbrook at gcc dot gnu dot org
2007-07-16 13:03 ` pbrook at gcc dot gnu dot org
` (4 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pbrook at gcc dot gnu dot org @ 2007-07-16 13:01 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from pbrook at gcc dot gnu dot org 2007-07-16 13:01 -------
Subject: Bug 32753
Author: pbrook
Date: Mon Jul 16 13:01:18 2007
New Revision: 126679
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126679
Log:
2007-07-16 Paul Brook <paul@codesourcery.com>
PR target/32753
gcc/
* config/arm/cirrus.md (cirrus_arm_movsi_insn): Remove dead insn.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/arm/cirrus.md
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32753
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/32753] [4.2 Regression] building a crosscompiler for arm-elf fails because of an error in cirrus.md
2007-07-13 7:12 [Bug bootstrap/32753] New: building a crosscompiler for arm-elf fails because of an error in cirrus.md leo at marco dot de
` (8 preceding siblings ...)
2007-07-16 13:01 ` pbrook at gcc dot gnu dot org
@ 2007-07-16 13:03 ` pbrook at gcc dot gnu dot org
2007-07-16 13:19 ` pbrook at gcc dot gnu dot org
` (3 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pbrook at gcc dot gnu dot org @ 2007-07-16 13:03 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from pbrook at gcc dot gnu dot org 2007-07-16 13:03 -------
Subject: Bug 32753
Author: pbrook
Date: Mon Jul 16 13:03:07 2007
New Revision: 126680
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126680
Log:
2007-07-16 Paul Brook <paul@codesourcery.com>
PR target/32753
gcc/
* config/arm/cirrus.md (cirrus_arm_movsi_insn): Remove dead insn.
Modified:
branches/gcc-4_2-branch/gcc/ChangeLog
branches/gcc-4_2-branch/gcc/config/arm/cirrus.md
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32753
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/32753] [4.2 Regression] building a crosscompiler for arm-elf fails because of an error in cirrus.md
2007-07-13 7:12 [Bug bootstrap/32753] New: building a crosscompiler for arm-elf fails because of an error in cirrus.md leo at marco dot de
` (9 preceding siblings ...)
2007-07-16 13:03 ` pbrook at gcc dot gnu dot org
@ 2007-07-16 13:19 ` pbrook at gcc dot gnu dot org
2007-07-20 3:49 ` mmitchel at gcc dot gnu dot org
` (2 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pbrook at gcc dot gnu dot org @ 2007-07-16 13:19 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from pbrook at gcc dot gnu dot org 2007-07-16 13:18 -------
Subject: Bug 32753
Author: pbrook
Date: Mon Jul 16 13:18:45 2007
New Revision: 126681
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126681
Log:
2007-07-16 Paul Brook <paul@codesourcery.com>
PR target/32753
gcc/
* config/arm/cirrus.md (cirrus_arm_movsi_insn): Remove dead insn.
(cirrus_thumb2_movsi_insn): Ditto.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/arm/cirrus.md
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32753
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/32753] [4.2 Regression] building a crosscompiler for arm-elf fails because of an error in cirrus.md
2007-07-13 7:12 [Bug bootstrap/32753] New: building a crosscompiler for arm-elf fails because of an error in cirrus.md leo at marco dot de
` (10 preceding siblings ...)
2007-07-16 13:19 ` pbrook at gcc dot gnu dot org
@ 2007-07-20 3:49 ` mmitchel at gcc dot gnu dot org
2007-07-25 15:47 ` pbrook at gcc dot gnu dot org
2007-07-26 6:33 ` leo at marco dot de
13 siblings, 0 replies; 15+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-07-20 3:49 UTC (permalink / raw)
To: gcc-bugs
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.2.1 |4.2.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32753
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/32753] [4.2 Regression] building a crosscompiler for arm-elf fails because of an error in cirrus.md
2007-07-13 7:12 [Bug bootstrap/32753] New: building a crosscompiler for arm-elf fails because of an error in cirrus.md leo at marco dot de
` (11 preceding siblings ...)
2007-07-20 3:49 ` mmitchel at gcc dot gnu dot org
@ 2007-07-25 15:47 ` pbrook at gcc dot gnu dot org
2007-07-26 6:33 ` leo at marco dot de
13 siblings, 0 replies; 15+ messages in thread
From: pbrook at gcc dot gnu dot org @ 2007-07-25 15:47 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from pbrook at gcc dot gnu dot org 2007-07-25 15:47 -------
Should be fixed now.
--
pbrook at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32753
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/32753] [4.2 Regression] building a crosscompiler for arm-elf fails because of an error in cirrus.md
2007-07-13 7:12 [Bug bootstrap/32753] New: building a crosscompiler for arm-elf fails because of an error in cirrus.md leo at marco dot de
` (12 preceding siblings ...)
2007-07-25 15:47 ` pbrook at gcc dot gnu dot org
@ 2007-07-26 6:33 ` leo at marco dot de
13 siblings, 0 replies; 15+ messages in thread
From: leo at marco dot de @ 2007-07-26 6:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from leo at marco dot de 2007-07-26 06:33 -------
Subject: Re: [4.2 Regression] building a crosscompiler
for arm-elf fails because of an error in cirrus.md
pbrook at gcc dot gnu dot org wrote:
> ------- Comment #11 from pbrook at gcc dot gnu dot org 2007-07-25 15:47 -------
> Should be fixed now.
It works fine for me.
Matthias
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32753
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2007-07-26 6:33 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-13 7:12 [Bug bootstrap/32753] New: building a crosscompiler for arm-elf fails because of an error in cirrus.md leo at marco dot de
2007-07-13 7:13 ` [Bug bootstrap/32753] " leo at marco dot de
2007-07-15 20:58 ` pinskia at gcc dot gnu dot org
2007-07-15 21:24 ` [Bug target/32753] [4.2 Regression] " mmitchel at gcc dot gnu dot org
2007-07-15 23:39 ` rask at sygehus dot dk
2007-07-16 1:05 ` pbrook at gcc dot gnu dot org
2007-07-16 1:28 ` pbrook at gcc dot gnu dot org
2007-07-16 2:08 ` mmitchel at gcc dot gnu dot org
2007-07-16 7:18 ` leo at marco dot de
2007-07-16 13:01 ` pbrook at gcc dot gnu dot org
2007-07-16 13:03 ` pbrook at gcc dot gnu dot org
2007-07-16 13:19 ` pbrook at gcc dot gnu dot org
2007-07-20 3:49 ` mmitchel at gcc dot gnu dot org
2007-07-25 15:47 ` pbrook at gcc dot gnu dot org
2007-07-26 6:33 ` leo at marco dot de
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).