public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/37109] New: can't canadian cross ada (if host=target, but host!=build)
@ 2008-08-13 9:15 jay dot krell at cornell dot edu
2008-08-13 9:29 ` [Bug ada/37109] " charlet at gcc dot gnu dot org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: jay dot krell at cornell dot edu @ 2008-08-13 9:15 UTC (permalink / raw)
To: gcc-bugs
gcc+binutils+gmp+mpfr in /src
(4.3.1, 2.18, whatever)
build=i686-pc-cygwin
mkdir /obj/native
cd /obj/native
/src/configure -enable-languges=all,ada -disable-bootstrap && make && make
install
mkdir /obj/cross
cd /obj/cross
/src/configure -host i686-pc-cygwin -target sparc64-sun-solaris2.10
-enable-languges=all,ada -disable-bootstrap && make && make install
mkdir /obj/canadian
cd /obj/canadian
/src/configure -host sparc64-sun-solaris2.10 -target sparc64-sun-solaris2.10
-enable-languges=all,ada -disable-bootstrap && make && make install
Last one fails:
sparc64-sun-solaris2.10-gcc -c -g -gnatpg -gnata -nostdinc -I- -I.
-Iada -I
/src/gcc/gcc/ada /src/gcc/gcc/ada/butil.adb -o ada/butil.o
sparc64-sun-solaris2.10-gcc -c -g -gnatpg -gnata -nostdinc -I- -I.
-Iada -I
/src/gcc/gcc/ada /src/gcc/gcc/ada/casing.adb -o ada/casing.o
mkdir -p ada/bldtools/nmake_b
rm -f ada/bldtools/nmake_b/sinfo.ads ada/bldtools/nmake_b/nmake.adt
ada/bldtools
/nmake_b/xnmake.adb
cp -p /src/gcc/gcc/ada/sinfo.ads /src/gcc/gcc/ada/nmake.adt
/src/gcc/gcc/ada/xnm
ake.adb ada/bldtools/nmake_b
(cd ada/bldtools/nmake_b; sparc64-sun-solaris2.10-gnatmake -q xnmake ;
./xnmake
-b ../../nmake.adb )
./xnmake: ./xnmake: cannot execute binary file
make[2]: *** [ada/nmake.adb] Error 126
make[2]: Leaving directory
`/obj/gcc.1/sparc64-sun-solaris2.10/sparc64-sun-solar
is2.10/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory
`/obj/gcc.1/sparc64-sun-solaris2.10/sparc64-sun-solar
is2.10'
make: *** [all] Error 2
Something to do with Canadian cross not being cross -- if target == host, but
host != build. Builds needs to discern between building a cross compiler vs.
cross building a native compiler, vs. perhaps cross building a cross compiler.
--
Summary: can't canadian cross ada (if host=target, but
host!=build)
Product: gcc
Version: 4.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ada
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jay dot krell at cornell dot edu
GCC build triplet: i686-pc-cygwin
GCC host triplet: sparc64-sun-solaris2.10
GCC target triplet: sparc64-sun-solaris2.10
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37109
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug ada/37109] can't canadian cross ada (if host=target, but host!=build)
2008-08-13 9:15 [Bug ada/37109] New: can't canadian cross ada (if host=target, but host!=build) jay dot krell at cornell dot edu
@ 2008-08-13 9:29 ` charlet at gcc dot gnu dot org
2009-05-13 10:24 ` christian dot joensson at gmail dot com
2009-05-13 10:25 ` christian dot joensson at gmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: charlet at gcc dot gnu dot org @ 2008-08-13 9:29 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from charlet at gcc dot gnu dot org 2008-08-13 09:28 -------
This was broken by the following change AFAICT (rev 121082):
<<
2007-01-23 Richard Guenther <rguenther@suse.de>
PR bootstrap/30541
* Makefile.def (flags_to_pass): Add GNATBIND and GNATMAKE.
* Makefile.tpl (GNATBIND): Substitute it.
(GNATMAKE): Likewise.
(POSTSTAGE1_FLAGS_TO_PASS): Pass staged GNATBIND instead
of STAGE_PREFIX.
* Makefile.in: Regenerate.
* configure: Regenerate.
config/
* acx.m4 (ACX_PROG_GNAT): Check for gnatmake.
libada/
* Makefile.in (STAGE_PREFIX): Do not define.
(FLAGS_TO_PASS): Do not pass STAGE_PREFIX.
gnattools/
* Makefile.in (STAGE_PREFIX): Do not define.
ada/
* Make-lang.in: Replace invocations of gnatmake with $(GNATMAKE).
(gnatboot2): Pass staged GNATMAKE instead of STAGE_PREFIX.
(gnatboot3): Likewise.
(GNATBIND): Do not define.
* Makefile.in (GNATBIND): Do not define.
>>
Before that, we were using 'gnatmake' instead of '$(GNATMAKE)', which is what's
causing troubles here.
Arno
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37109
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug ada/37109] can't canadian cross ada (if host=target, but host!=build)
2008-08-13 9:15 [Bug ada/37109] New: can't canadian cross ada (if host=target, but host!=build) jay dot krell at cornell dot edu
2008-08-13 9:29 ` [Bug ada/37109] " charlet at gcc dot gnu dot org
@ 2009-05-13 10:24 ` christian dot joensson at gmail dot com
2009-05-13 10:25 ` christian dot joensson at gmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: christian dot joensson at gmail dot com @ 2009-05-13 10:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from christian dot joensson at gmail dot com 2009-05-13 10:24 -------
what is the current situation concerning gnatlib? is that passed explicitly
from stage to stage?
--
christian dot joensson at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |christian dot joensson at
| |gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37109
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug ada/37109] can't canadian cross ada (if host=target, but host!=build)
2008-08-13 9:15 [Bug ada/37109] New: can't canadian cross ada (if host=target, but host!=build) jay dot krell at cornell dot edu
2008-08-13 9:29 ` [Bug ada/37109] " charlet at gcc dot gnu dot org
2009-05-13 10:24 ` christian dot joensson at gmail dot com
@ 2009-05-13 10:25 ` christian dot joensson at gmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: christian dot joensson at gmail dot com @ 2009-05-13 10:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from christian dot joensson at gmail dot com 2009-05-13 10:25 -------
sorry, I meant gnatbind instead of gnatlib...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37109
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-05-13 10:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-13 9:15 [Bug ada/37109] New: can't canadian cross ada (if host=target, but host!=build) jay dot krell at cornell dot edu
2008-08-13 9:29 ` [Bug ada/37109] " charlet at gcc dot gnu dot org
2009-05-13 10:24 ` christian dot joensson at gmail dot com
2009-05-13 10:25 ` christian dot joensson at gmail dot com
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).