harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jingxia xing" <xingji...@gmail.com>
Subject Re: how to use the jet?
Date Tue, 29 Aug 2006 08:55:23 GMT
Hi, Egor,
   It now works. It doesn`t work first because I add the printf as follows:
#if defined(_DEBUG) || defined(JIT_STATS) || defined(JIT_LOGS)
   fprintf(stdout, "");
#endif

   And the default cfg for jitrino is: release. So the _DEBUG is not
defined. So I modified
the  $ANT_COMMAND -f ./make/build.xml -Dvm.jitrino.cfg=debug "$@"  || ERROR
in build.sh.
I have to do this because I want to get more trace from JET.
   Then I build the drlvm again, but this time error happens in compiling
it:

     [cc] `.L1249' referenced in section `.rodata' of
../_obj/JavaLabelPrepass.o: defined in discarded section
`.gnu.linkonce.t._ZN7Jitrino16JavaLabelPrepass11getJavaTypeEPNS_4TypeE' of
../_obj/JavaLabelPrepass.o
       [cc] `.L1234' referenced in section `.rodata' of
../_obj/JavaLabelPrepass.o: defined in discarded section
`.gnu.linkonce.t._ZN7Jitrino16JavaLabelPrepass11getJavaTypeEPNS_4TypeE' of
../_obj/JavaLabelPrepass.o
       [cc] `.L1248' referenced in section `.rodata' of
../_obj/JavaLabelPrepass.o: defined in discarded section
`.gnu.linkonce.t._ZN7Jitrino16JavaLabelPrepass11getJavaTypeEPNS_4TypeE' of
../_obj/JavaLabelPrepass.o
       [cc] `.L1235' referenced in section `.rodata' of
../_obj/JavaLabelPrepass.o: defined in discarded section
`.gnu.linkonce.t._ZN7Jitrino16JavaLabelPrepass11getJavaTypeEPNS_4TypeE' of
../_obj/JavaLabelPrepass.o
       [cc] `.L1236' referenced in section `.rodata' of
../_obj/JavaLabelPrepass.o: defined in discarded section
`.gnu.linkonce.t._ZN7Jitrino16JavaLabelPrepass11getJavaTypeEPNS_4TypeE' of
../_obj/JavaLabelPrepass.o
       [cc] `.L1237' referenced in section `.rodata' of
../_obj/JavaLabelPrepass.o: defined in discarded section
`.gnu.linkonce.t._ZN7Jitrino16JavaLabelPrepass11getJavaTypeEPNS_4TypeE' of
../_obj/JavaLabelPrepass.o
       [cc] `.L1247' referenced in section `.rodata' of
../_obj/JavaLabelPrepass.o: defined in discarded section
`.gnu.linkonce.t._ZN7Jitrino16JavaLabelPrepass11getJavaTypeEPNS_4TypeE' of
../_obj/JavaLabelPrepass.o
       [cc] `.L251' referenced in section `.rodata' of ../_obj/trace.o:
defined in discarded section
`.gnu.linkonce.t._ZN7Jitrino3Jet8Compiler5fetchEjRNS0_5JInstE' of
../_obj/trace.o
       [cc] `.L250' referenced in section `.rodata' of ../_obj/trace.o:
defined in discarded section
`.gnu.linkonce.t._ZN7Jitrino3Jet8Compiler5fetchEjRNS0_5JInstE' of
../_obj/trace.o
       [cc] `.L258' referenced in section `.rodata' of ../_obj/trace.o:
defined in discarded section
`.gnu.linkonce.t._ZN7Jitrino3Jet8Compiler5fetchEjRNS0_5JInstE' of
../_obj/trace.o
       [cc] `.L259' referenced in section `.rodata' of ../_obj/trace.o:
defined in discarded section
`.gnu.linkonce.t._ZN7Jitrino3Jet8Compiler5fetchEjRNS0_5JInstE' of
../_obj/trace.o
       [cc] `.L262' referenced in section `.rodata' of ../_obj/trace.o:
defined in discarded section
`.gnu.linkonce.t._ZN7Jitrino3Jet8Compiler5fetchEjRNS0_5JInstE' of
../_obj/trace.o
       [cc] `.L265' referenced in section `.rodata' of ../_obj/trace.o:
defined in discarded section
`.gnu.linkonce.t._ZN7Jitrino3Jet8Compiler5fetchEjRNS0_5JInstE' of
../_obj/trace.o
       [cc] collect2: ld returned 1 exit status

       The compile i use is gcc-3.4.6, gcc-3.3.4, both have errors
happening. Can you help me to find it out. Thanks

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message