From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12494 invoked by alias); 18 Mar 2004 19:17:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 12479 invoked by uid 48); 18 Mar 2004 19:17:19 -0000 Date: Thu, 18 Mar 2004 19:17:00 -0000 Message-ID: <20040318191719.12478.qmail@sources.redhat.com> From: "ehicks at binarymagi dot com" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040318013053.14626.ehicks@binarymagi.com> References: <20040318013053.14626.ehicks@binarymagi.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug ada/14626] make gnatlib_and_tools problem on cross compiler (formerly: Compile fails at stage2) X-Bugzilla-Reason: CC X-SW-Source: 2004-03/txt/msg02240.txt.bz2 List-Id: ------- Additional Comments From ehicks at binarymagi dot com 2004-03-18 19:17 ------- I see. I always through cross-compilers were a lot more effort than that - I thought I was just compiling for another set of libraries on the server. Ok, it made it through the regular compile however the 'make gnatlib_and_tools' for the Ada utilities is not. ../../xgcc -B../../ -DIN_GCC `echo -g -W -Wall -Wwrite-strings -Wstrict- prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long |sed - e 's/-pedantic//g' -e 's/-Wtraditional//g'` -o ../../gnatmake b_gnatm.o ali.o ali-util.o alloc.o atree.o binderr.o butil.o casing.o csets.o debug.o einfo.o elists.o errout.o fmap.o fname.o fname-uf.o fname-sf.o gnatmake.o gnatvsn.o hostparm.o krunch.o lib.o make.o makeusg.o mlib.o mlib-fil.o mlib- prj.o mlib-tgt.o mlib-utl.o namet.o nlists.o opt.o osint.o osint-m.o output.o prj.o prj-attr.o prj-com.o prj-dect.o prj-env.o prj-ext.o prj-nmsc.o prj- pars.o prj-part.o prj-proc.o prj-strt.o prj-tree.o prj-util.o rident.o scans.o scn.o sdefault.o sfn_scan.o sinfo.o sinfo-cn.o sinput.o sinput-l.o sinput-p.o snames.o stand.o stringt.o style.o stylesw.o validsw.o switch.o switch-m.o switch-c.o table.o targparm.o tree_io.o types.o uintp.o uname.o urealp.o usage.o widechar.o ../../prefix.o ../../version.o ../rts/libgnat.a ../../../libiberty/ libiberty.a ld: fatal: file ../../prefix.o: wrong ELF class: ELFCLASS32 ld: fatal: File processing errors. No output written to ../../gnatmake collect2: ld returned 1 exit status make[2]: *** [../../gnatmake] Error 1 gnatbind and half a dozen other things I've seen compile just fine with prefix.o so I wouldn't know why it's a problem now. (gnatbind is just a regular 32bit binary according to ldd.) Any idea what it's problem is now? -- What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Component|bootstrap |ada Resolution|INVALID | Summary|Compile fails at stage2 |make gnatlib_and_tools | |problem on cross compiler | |(formerly: Compile fails at | |stage2) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14626