Thanks mike. I will check with gcc 3.4.3 and see if oval compilation works. It doesn't work with gcc3.4.6 ( which i have tried). As i said before Ruby is complied ( not oval) but while loading i get following error
Error loading module 'ruby': Failed to load module 'ruby' ('/home/vineet/software/Gems/simics_3_workspace/x86-linux/lib/ruby.so'): "version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)"
Any clues ?
Regards, Vineet
On 1/17/07, Mike Marty <mikem@xxxxxxxxxxx> wrote:
I don't think this error occurs with gcc 3.4.3 or earlier. I've reproduced the problem with gcc 4.x and will work on fixing it.
We will be putting out another release of GEMS in the next few weeks. It
will (hopefully) include fixes like this and more LogTM functionality.
--Mike
> Hi, > > I am compiling opal on fedora core. I have been following wikipedia > guidelines to compile ruby and opal. ruby is compiled
> successfully. but opal gives error. > http://www.cs.wisc.edu/gems/doc/wiki/moin.cgi/QuickStart > > I execute following command:
> make module DESTINATION=MOSI_SMP_bcast > > I have tried using g++ or gcc both 4.1.1. Infact I have tried with gcc > 3.4.6 also. I have checked > in $GEMS/simics/compiler.mk. It has gcc configured in it. Also, I
> tried modifying it to g++, it didn;t work. > Here is snippet of error: > > system/dx.i: In function `void dx_ldswa()': > system/dx.i:2685: error: invalid use of `this' in non-member function
> system/dx.i:2685: error: `m_pseq' was not declared in this scope > system/dx.i:2685: error: `getDestReg' was not declared in this scope > system/dx.i:2685: error: `m_pseq' was not declared in this scope
> system/dx.i:2685: error: `setTrapType' was not declared in this scope > system/dx.i: In function `void dx_lduba()': > system/dx.i:2689: error: invalid use of `this' in non-member function
> system/dx.i:2689: error: `m_pseq' was not declared in this scope > system/dx.i:2689: error: `getDestReg' was not declared in this scope > system/dx.i:2689: error: `m_pseq' was not declared in this scope
> system/dx.i:2689: error: `setTrapType' was not declared in this scope > system/dx.i: In function `void dx_lduha()': > system/dx.i:2693: error: invalid use of `this' in non-member function
> system/dx.i:2693: error: `m_pseq' was not declared in this scope > system/dx.i:2693: error: `getDestReg' was not declared in this scope > system/dx.i:2693: error: `m_pseq' was not declared in this scope
> system/dx.i:2693: error: `setTrapType' was not declared in this scope > system/dx.i: In function `void dx_lduwa()': > system/dx.i:2697: error: invalid use of `this' in non-member function
> system/dx.i:2697: error: `m_pseq' was not declared in this scope > system/dx.i:2697: error: `getDestReg' was not declared in this scope > system/dx.i:2697: error: `m_pseq' was not declared in this scope
> system/dx.i:2697: error: `setTrapType' was not declared in this scope > system/dx.i: In function `void dx_ldxa()': > system/dx.i:2701: error: invalid use of `this' in non-member function
> system/dx.i:2701: error: `m_pseq' was not declared in this scope > system/dx.i:2701: error: `getDestReg' was not declared in this scope > system/dx.i:2701: error: `m_pseq' was not declared in this scope
> system/dx.i:2701: error: `setTrapType' was not declared in this scope > system/dx.i: In function `void dx_ldda()': > system/dx.i:2706: error: invalid use of `this' in non-member function
> system/dx.i:2711: error: `m_pseq' was not declared in this scope > system/dx.i:2714: error: `getDestReg' was not declared in this scope > system/dx.i:2719: error: `m_pseq' was not declared in this scope
> system/dx.i:2720: error: `setTrapType' was not declared in this scope > system/dx.i: In function `void dx_ldqa()': > system/dx.i:2726: error: invalid use of `this' in non-member function
> system/dx.i:2730: error: `m_pseq' was not declared in this scope > system/dx.i:2733: error: `getDestReg' was not declared in this scope > system/dx.i:2738: error: `m_pseq' was not declared in this scope
> system/dx.i:2739: error: `setTrapType' was not declared in this scope > system/dx.i: In function `void dx_stf()': > system/dx.i:2744: error: `getTrapType' was not declared in this scope
> system/dx.i:2744: error: `setTrapType' was not declared in this scope > system/dx.i: In function `void dx_stdf()': > system/dx.i:2748: error: `getTrapType' was not declared in this scope > system/dx.i:2748: error: `setTrapType' was not declared in this scope
> system/dx.i: In function `void dx_stqf()': > system/dx.i:2752: error: `getTrapType' was not declared in this scope > system/dx.i:2752: error: `setTrapType' was not declared in this scope
> system/dx.i: In function `void dx_stb()': > system/dx.i:2756: error: `getTrapType' was not declared in this scope > system/dx.i:2756: error: `setTrapType' was not declared in this scope > system/dx.i: In function `void dx_sth()':
> system/dx.i:2760: error: `getTrapType' was not declared in this scope > system/dx.i:2760: error: `setTrapType' was not declared in this scope > system/dx.i: In function `void dx_stw()':
> system/dx.i:2764: error: `getTrapType' was not declared in this scope > system/dx.i:2764: error: `setTrapType' was not declared in this scope > system/dx.i: In function `void dx_stx()': > system/dx.i:2768: error: `getTrapType' was not declared in this scope
> system/dx.i:2768: error: `setTrapType' was not declared in this scope > system/dx.i: In function `void dx_std()': > system/dx.i:2772: error: `getTrapType' was not declared in this scope
> system/dx.i:2772: error: `setTrapType' was not declared in this scope > system/dx.i: In function `void dx_stfa()': > system/dx.i:2776: error: `getTrapType' was not declared in this scope > system/dx.i:2776: error: `setTrapType' was not declared in this scope
> system/dx.i: In function `void dx_stdfa()': > system/dx.i:2780: error: `getTrapType' was not declared in this scope > system/dx.i:2780: error: `setTrapType' was not declared in this scope
> system/dx.i: In function `void dx_stblk()': > system/dx.i:2784: error: `getTrapType' was not declared in this scope > system/dx.i:2784: error: `setTrapType' was not declared in this scope > system/dx.i: In function `void dx_stqfa()':
> system/dx.i:2788: error: `getTrapType' was not declared in this scope > system/dx.i:2788: error: `setTrapType' was not declared in this scope > system/dx.i: In function `void dx_stba()':
> system/dx.i:2792: error: `getTrapType' was not declared in this scope > system/dx.i:2792: error: `setTrapType' was not declared in this scope > system/dx.i: In function `void dx_stha()': > system/dx.i:2796: error: `getTrapType' was not declared in this scope
> system/dx.i:2796: error: `setTrapType' was not declared in this scope > system/dx.i: In function `void dx_stwa()': > system/dx.i:2800: error: `getTrapType' was not declared in this scope
> system/dx.i:2800: error: `setTrapType' was not declared in this scope > system/dx.i: In function `void dx_stxa()': > system/dx.i:2804: error: `getTrapType' was not declared in this scope > system/dx.i:2804: error: `setTrapType' was not declared in this scope
> system/dx.i: In function `void dx_stda()': > system/dx.i:2808: error: `getTrapType' was not declared in this scope > system/dx.i:2808: error: `setTrapType' was not declared in this scope
> system/dx.i: In function `void dx_ldstub()': > system/dx.i:2812: error: invalid use of `this' in non-member function > system/dx.i:2812: error: `m_pseq' was not declared in this scope > system/dx.i:2812: error: `getDestReg' was not declared in this scope
> system/dx.i:2812: error: `m_pseq' was not declared in this scope > system/dx.i:2812: error: `setTrapType' was not declared in this scope > system/dx.i:2815: error: invalid use of `this' in non-member function
> system/dx.i: In function `void dx_ldstuba()': > system/dx.i:2819: error: invalid use of `this' in non-member function > system/dx.i:2819: error: `m_pseq' was not declared in this scope
> system/dx.i:2819: error: `getDestReg' was not declared in this scope > system/dx.i:2819: error: `m_pseq' was not declared in this scope > system/dx.i:2819: error: `setTrapType' was not declared in this scope
> system/dx.i:2822: error: invalid use of `this' in non-member function > system/dx.i: In function `void dx_swap()': > system/dx.i:2833: error: invalid use of `this' in non-member function
> system/dx.i:2837: error: `getSourceReg' was not declared in this scope > system/dx.i:2840: error: `getDestReg' was not declared in this scope > system/dx.i:2843: error: invalid use of `this' in non-member function
> system/dx.i:2845: error: `setTrapType' was not declared in this scope > system/dx.i: In function `void dx_swapa()': > system/dx.i:2851: error: invalid use of `this' in non-member function
> system/dx.i:2855: error: `getSourceReg' was not declared in this scope > system/dx.i:2858: error: `getDestReg' was not declared in this scope > system/dx.i:2861: error: invalid use of `this' in non-member function
> system/dx.i:2863: error: `setTrapType' was not declared in this scope > system/dx.i: In function `void dx_ldfsr()': > system/dx.i:2868: error: invalid use of `this' in non-member function
> system/dx.i:2872: error: `getSourceReg' was not declared in this scope > system/dx.i:2875: error: `getDestReg' was not declared in this scope > system/dx.i:2876: error: `getDestReg' was not declared in this scope
> system/dx.i:2881: error: `setTrapType' was not declared in this scope > system/dx.i: In function `void dx_ldxfsr()': > system/dx.i:2886: error: invalid use of `this' in non-member function
> system/dx.i:2888: error: `getDestReg' was not declared in this scope > system/dx.i:2889: error: `getDestReg' was not declared in this scope > system/dx.i:2894: error: `setTrapType' was not declared in this scope
> system/dx.i: In function `void dx_cmp()': > system/dx.i:2928: error: `getSourceReg' was not declared in this scope > system/dx.i:2928: error: `getStaticInst' was not declared in this scope
> system/dx.i:2929: error: `getDestReg' was not declared in this scope > system/dx.i: In function `void dx_jmp()': > system/dx.i:2933: error: `getSourceReg' was not declared in this scope
> system/dx.i:2933: error: `getStaticInst' was not declared in this scope > system/dx.i:2946: error: invalid use of `this' in non-member function > system/dx.i: In function `void dx_mov()': > system/dx.i:2950: error: `getStaticInst' was not declared in this scope
> system/dx.i:2950: error: `getSourceReg' was not declared in this scope > system/dx.i:2951: error: `getDestReg' was not declared in this scope > system/dx.i: In function `void dx_not()':
> system/dx.i:2959: error: `getSourceReg' was not declared in this scope > system/dx.i:2960: error: `getDestReg' was not declared in this scope > system/dx.i: In function `void dx_rdpr()': > system/dx.i:2964: error: `getSourceReg' was not declared in this scope
> system/dx.i:2966: error: `setTrapType' was not declared in this scope > system/dx.i:2982: error: `getDestReg' was not declared in this scope > system/dx.i: In function `void dx_wrpr()':
> system/dx.i:2987: error: `getDestReg' was not declared in this scope > system/dx.i:2994: error: `getSourceReg' was not declared in this scope > system/dx.i:2994: error: `getStaticInst' was not declared in this scope
> system/dx.i:3019: error: invalid use of `this' in non-member function > system/dx.i:3039: error: invalid use of `this' in non-member function > system/dx.i: In function `void dx_faligndata()':
> system/dx.i:3052: error: `getSourceReg' was not declared in this scope > system/dx.i:3078: error: `getDestReg' was not declared in this scope > system/dx.i: In function `void dx_alignaddr()':
> system/dx.i:3083: error: `getSourceReg' was not declared in this scope > system/dx.i:3095: error: `getDestReg' was not declared in this scope > system/dx.i:3096: error: `getDestReg' was not declared in this scope
> system/dx.i: In function `void dx_alignaddrl()': > system/dx.i:3105: error: `getSourceReg' was not declared in this scope > system/dx.i:3112: error: `getDestReg' was not declared in this scope
> system/dx.i:3113: error: `getDestReg' was not declared in this scope > system/dx.i: In function `void dx_fzero()': > system/dx.i:3121: error: `getDestReg' was not declared in this scope
> system/dx.i: In function `void dx_fzeros()': > system/dx.i:3125: error: `getDestReg' was not declared in this scope > system/dx.i: In function `void dx_fsrc1()': > system/dx.i:3129: error: `getDestReg' was not declared in this scope
> system/dx.i:3129: error: `getSourceReg' was not declared in this scope > system/dx.i: In function `void dx_doneretry()': > system/dx.i:3133: error: `getDestReg' was not declared in this scope
> system/dx.i:3136: error: `getSourceReg' was not declared in this scope > system/dx.i:3139: error: `setTrapType' was not declared in this scope > system/dx.i:3146: error: `getDestReg' was not declared in this scope
> system/dx.i:3170: error: invalid use of `this' in non-member function > system/dx.i:3170: error: `getStaticInst' was not declared in this scope > system/dx.i: In function `void dx_fcmple16()':
> system/dx.i:3176: error: `getSourceReg' was not declared in this scope > system/dx.i:3176: error: `getDestReg' was not declared in this scope > system/dx.i: In function `void dx_fcmpne16()':
> system/dx.i:3180: error: `getSourceReg' was not declared in this scope > system/dx.i:3180: error: `getDestReg' was not declared in this scope > system/dx.i: In function `void dx_fcmple32()':
> system/dx.i:3184: error: `getSourceReg' was not declared in this scope > system/dx.i: In function `void dx_fcmpne32()': > system/dx.i:3188: error: `getSourceReg' was not declared in this scope
> system/dx.i: In function `void dx_fcmpgt16()': > system/dx.i:3192: error: `getSourceReg' was not declared in this scope > system/dx.i:3192: error: `getDestReg' was not declared in this scope
> system/dx.i: In function `void dx_fcmpeq16()': > system/dx.i:3196: error: `getSourceReg' was not declared in this scope > system/dx.i:3196: error: `getDestReg' was not declared in this scope
> system/dx.i: In function `void dx_fcmpgt32()': > system/dx.i:3200: error: `getSourceReg' was not declared in this scope > system/dx.i: In function `void dx_fcmpeq32()': > system/dx.i:3204: error: `getSourceReg' was not declared in this scope
> system/dx.i: In function `void dx_bshuffle()': > system/dx.i:3209: error: `getSourceReg' was not declared in this scope > system/dx.i:3244: error: `getDestReg' was not declared in this scope
> system/dx.i: In function `void dx_bmask()': > system/dx.i:3248: error: `getSourceReg' was not declared in this scope > system/dx.i:3252: error: `getDestReg' was not declared in this scope
> system/dx.i: In function `void dx_idealwr()': > system/dx.i:3260: error: `getDestReg' was not declared in this scope > system/dx.i:3263: error: `getDestReg' was not declared in this scope > make[1]: *** [x86-linux/obj/dx.o] Error 1
> > Please help. > > Regards, > Vineet > _______________________________________________ Gems-users mailing list Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users Use Google to search the GEMS Users mailing list by adding "site:
https://lists.cs.wisc.edu/archive/gems-users/" to your search.
|