public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jay dot krell at cornell dot edu" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/37109] New: can't canadian cross ada (if host=target, but host!=build) Date: Wed, 13 Aug 2008 09:15:00 -0000 [thread overview] Message-ID: <bug-37109-16543@http.gcc.gnu.org/bugzilla/> (raw) 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
next reply other threads:[~2008-08-13 9:15 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-08-13 9:15 jay dot krell at cornell dot edu [this message] 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-37109-16543@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).