This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/14626] make gnatlib_and_tools problem on cross compiler (formerly: Compile fails at stage2)
- From: "ehicks at binarymagi dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Mar 2004 19:17:19 -0000
- Subject: [Bug ada/14626] make gnatlib_and_tools problem on cross compiler (formerly: Compile fails at stage2)
- References: <20040318013053.14626.ehicks@binarymagi.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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