harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Garner" <robin.gar...@anu.edu.au>
Subject Re: [drlvm] building jitrino in release mode
Date Mon, 06 Nov 2006 05:34:10 GMT
> I've been having some problems getting some test cases to exhibit
> misbehavior for DRLVM, and it turns out that jitrino is built in release
> mode no matter what BUILD_CFG is set to.
>
> Putting this inconsistency aside for a moment, how do I get jitrino to
> build in debug?
>
> I tried changing the setting in build.sh for -Dvm.jitrino.cfg from
> 'release' to 'debug', but then DRLVM doesn't build on Ubunutu 6 with gcc
>   3.4.6.  There's some linker problem.
>
> Can anyone duplicate this (or have it build successfully in debug)?
>
> geir
>

That wouldn't be this problem, would it ?

--------------------
build.native.link:
       [cc] 0 total files to be compiled.
       [cc] Starting link
       [cc] `.L217' referenced in section `.rodata' of
../_obj/jit_generic_rt_support_ia32.o: defined in discarded section
`.gnu.linkonce.t._ZN8Imm_OpndC1E9Opnd_Sizei' of
../_obj/jit_generic_rt_support_ia32.o
       [cc] `.L220' referenced in section `.rodata' of
../_obj/jit_generic_rt_support_ia32.o: defined in discarded section
`.gnu.linkonce.t._ZN8Imm_OpndC1E9Opnd_Sizei' of
../_obj/jit_generic_rt_support_ia32.o
[snip]
       [cc] `.L46' referenced in section `.rodata' of
/home/robing/tmp/harmony/harmony/working_vm/build/lnx_ia32_gcc_debug/semis/vm/jthread/_bin/libjthread.a(thread_helpers.o):
defined in discarded section
`.gnu.linkonce.t._ZN8Imm_OpndC1E9Opnd_Sizei' of
/home/robing/tmp/harmony/harmony/working_vm/build/lnx_ia32_gcc_debug/semis/vm/jthread/_bin/libjthread.a(thread_helpers.o)
       [cc] collect2: ld returned 1 exit status

----------------------

In which case it's happening without the 'debug' setting, and I'd
appreciate some help too.  :)

robin



Mime
View raw message