From: Paul H. Hargrove (PHHargrove_at_lbl_dot_gov)
Date: Tue Dec 22 2009 - 07:49:41 PST
It is safe to just ignore these warnings if you wish to. The code is compiled correctly both with or without the patch. -Paul Andreev Nikita wrote: > Paul > > Do you I have to necessarily apply this patch or I can just ignore > these warning messages? > > >> Nikita, >> > > >> I have installed "SunStudio 12 Update 1" for Linux on my workstaation >> and am trying to reproduce your problem w/ dbg_inst and opt_inst. So >> far, I cannot (and I get an assertion failure inside Sun's compiler >> compiling GASNet instead). >> > > >> While I can't repdoduce your error, I *have* resolved the excessive >> E_PASTE_RESULT_NOT_TOKEN warnings with the attached patch. >> > > >> -Paul >> > > >> Andreev Nikita wrote: >> >>> Paul, >>> >>> I tried compiling without dbg_inst and opt_inst and it went w\o errors. >>> >>> But when I compile UPC apps it shows warnings (attachment). I also saw >>> these warnings during runtime compilation. It creates executables and >>> runs well though. >>> >>> Nikita >>> >>> >>> >>>> Nikita, >>>> >>>> >>> >>> >>>> We have successfully used various older Sun compilers for Linux, but >>>> nothing as recent as what you report. I will look into this some more >>>> when I can. However, the error message after a large number of warnings is >>>> >>>> >>> >>> >>>> "/home/nikita/install/berkeley_upc-2.10.0/upcr_profile.c", line 36: >>>> left operand must be modifiable lvalue: op "=" >>>> >>>> >>> >>> >>>> but line 36 is >>>> return info; >>>> which certainly doesn't contain any "="; >>>> >>>> >>> >>> >>>> -Paul >>>> >>>> >>> >>> >>>> Andreev Nikita wrote: >>>> >>>> >>>>> Hi, >>>>> >>>>> I'm trying to build BUPC 2.10.0 on HPC cluster built from Sun X2200 M2 >>>>> machines usind Sun compiler (Sun Ceres Studio IDE 9.0 Linux_i386 >>>>> 2009/03/06) as a backend. >>>>> >>>>> It configures ok but always builds with errors. I tried suncc, sunc89 >>>>> and sunc99 compilers with no luck. Top level directory config.log, >>>>> make.log and configure line is in the attachment. >>>>> >>>>> I'm also using Paul H. Hargrove's dbg_inst.patch but it can't create >>>>> any problems. >>>>> >>>>> Does Berkeley UPC support Sun compiler as a backend? >>>>> >>>>> Nikita >>>>> >>>>> >>> >>> > > > > -- Paul H. Hargrove PHHargrove_at_lbl_dot_gov Future Technologies Group Tel: +1-510-495-2352 HPC Research Department Fax: +1-510-486-6900 Lawrence Berkeley National Laboratory