problems while compiling in Arm processor

kavitha kavithao at in.ceeyes.com
Mon Dec 17 02:08:49 PST 2001


hi jyothi
u have just specified about a document u received. will u please send that
document attachement to me at kavithao at in.ceeyes.com

thanks
kavitha

----- Original Message -----
From: "Jyothi" <jyothi at ncoretech.com>
To: <kaffe at rufus.w3.org>; <v_valchev at prosyst.bg>
Sent: Monday, December 17, 2001 3:18 PM
Subject: Re: problems while compiling in Arm processor


>
> Thanks for the document... The make went fine without any error. But
> when I try to run on ARM-LINUX I am getting Dynamic linker error.
>
> error I got is
> BUG IN DYNAMIC LINKER ld.so: ../sysdeps/arm/dl-machine.h: 450 :
> elf_machine_rel: Assertion `! "unexpected dynamic reloc type"' failed
>
> I saw the same question in archieve , But, I couldn't get the answer...
> What should I do to get rid of this error ??
>
> Thanks in Advance,
> Jyothi.
>
> Valentin Valchev wrote:
>
> > I've attached a single document - part of article that describes how
> > to create embedded arm distribution (along with cross-compilers) with
> > java support (kaffe).
> >
> > ---------------------------------------------------------------
> > ProSyst Bulgaria Ltd.            Valentin Valchev
> > 48 Vladajska Str.                Project Manager
> > Sofia 1606, Bulgaria             Dept: mBedded Server/Broadband
> > http://www.prosyst.com/          Phone: +359 02 (9631394) 223
> > ---------------------------------------------------------------
> > Leading Software Technology for Open Service Gateways
> >
> >      ----- Original Message -----
> >      From:Jyothi
> >      To: kaffe at rufus.w3.org
> >      Sent: Saturday, December 15, 2001 2:17 PM
> >      Subject: problems while compiling in Arm processor
> >
> >
> >
> >      Hi,
> >
> >      I am having problems while cross compiling kaffe to ARM
> >      processor...
> >
> >      I configured with
> >
> >      CC=arm-linux-gcc ./configure --host=i686-arm
> >      --target=arm-linux
> >      --with-x  --x-includes=/skiff/local/arm-linux/include
> >      --x-libraries=/skiff/local/arm-linux/lib/X11 --disable-nls
> >
> >      it configured fine but when I ran the makefile it gave me
> >      error in
> >      machine.c in jit3 directory.....
> >      machine.c.195: inconsistent constraints for operand in an
> >      'asm'
> >
> >      I changed the Makefile in config directorty. In Makefile I
> >      changed all
> >      i386 to arm.. and then ran make again. But of no use.
> >
> >      I saw the FAQ.profilier and thought it is just for timing
> >      purposes and
> >      then commented the line
> >      profiler_get_clicks(xmeth->jitclicks);
> >      and ran I got few more error like above wherever profiler
> >      functions were
> >      there... so I commented them and then ran. but it gave an
> >      error
> >
> >      Error: bad instruction :'call    soft_fixup_trampoline'
> >
> >      I have attached the error file...
> >
> >      So How should I compile this ???
> >
> >      I saw the www.kaffe.org/archieves and saw they have
> >      configured with
> >      host=arm-linux . So I did the same and make went fine and
> >      then i
> >      installed it in /usr/local... But when i try to run the
> >      Helloworld.java
> >      on arm processor it says
> >      cannot find library "libnative"  in the path
> >      /usr/local/lib/kaffe:/usr/local/lib:/usr/lib:/lib
> >
> >      Even though the library libnative.so.* and libnative.a are
> >      there in path
> >      /usr/local/lib/kaffe , it is continuously giving this
> >      error...
> >      When I do "arm-linux-strip libnative*", it says Warning :
> >      Output file
> >      cannot represent architecture UNKNOWN!!
> >
> >      Please tell me what is wrong and what all u need to run
> >      basic java
> >      program on any machine.
> >
> >      Is there any document for cross compiling kaffe for arm. Is
> >      my configure
> >      correct ?.. what is this profiling used for ???..
> >
> >      Please tell me the exact procedure for cross compiling kaffe
> >      for arm
> >      processor !!
> >
> >      thanks in advance,
> >      Jyothi.
> >
> >
>
>



More information about the kaffe mailing list