Re: [Gems-users] Compilation issue


Date: Fri, 28 Mar 2008 21:51:11 -0700
From: "Heng (Henry) Du" <hda2@xxxxxx>
Subject: Re: [Gems-users] Compilation issue
Hi,

Thanks Dan for quick reply. It's true that I tried to build GEMS on "SunOS
coolthreads 5.11 snv_61-xb_15 sun4v sparc SUNW,Sun-Fire-T200". I run
$GEMS/scripts/calc_host.sh, the value is "sun4v-sol8-64" instead of
"v9-sol8-64". The gcc version is 4.2.1. I changed the cpu value to sun4v,
but still got the problem. 

"OPT_FLAGS = -m64 -mcpu=sun4v -DUSE_DIRENT"

compile:

generated/parser.c:1: error: bad value (sun4v) for -mcpu= switch
make[2]: *** [sun4v-sol8-64/obj/parser.o] Error 1
make[2]: Leaving directory `/cs/systems/home/hda2/GEMS/slicc'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/cs/systems/home/hda2/GEMS/slicc'
make: *** [all] Error 2

It seems I need to revise more info in Makefile. Any idea?

Thanks
Henry


On Fri, 28 Mar 2008 20:55:51 -0600 degibson@xxxxxxxx wrote:
> I think CC is set to /dev/null when something isn't properly configured. 
> You may want to have a look at $GEMS/common/Makefile.common to see why 
> /dev/null is selected as your compiler -- its probably because we 
> haven't tested compilation on your platform.
> 
> Regards,
> Dan
> 
> Heng (Henry) Du wrote:
> > Hi, 
> >
> > I have another question, do I need use root account to compile GEMS? 
> since I
> > have encountered the following errors.
> >
> > make[2]: Leaving directory `/cs/systems/home/hda2/GEMS/slicc'
> > make[2]: Entering directory `/cs/systems/home/hda2/GEMS/slicc'
> > mkdir -p sun4v-sol8-64/bin/
> > touch sun4v-sol8-64/bin/created
> > /dev/null -o sun4v-sol8-64/obj/parser.o -c generated/parser.c
> -DYY_NO_UNPUT
> > -Wall -W -Wwrite-strings -Woverloaded-virtual -Wno-unused  -g -ggdb
> -g3 -O2
> > -finline-functions -DNO_VECTOR_BOUNDS_CHECKS -DMULTIFACET_NO_OPT_WARN	
   -I.
> > -I../common -Igenerated -Isymbols -Igenerator -Iast 
> > make[2]: execvp: /dev/null: Permission denied
> > make[2]: *** [sun4v-sol8-64/obj/parser.o] Error 127
> > make[2]: Leaving directory `/cs/systems/home/hda2/GEMS/slicc'
> > make[1]: *** [all] Error 2
> > make[1]: Leaving directory `/cs/systems/home/hda2/GEMS/slicc'
> > make: *** [all] Error 2
> >
> > The permission is denied when access /dev/null. 
> >
> > Thanks
> > Henry
> > _______________________________________________
> > 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.
> >
> >
> >	
> 
> -- 
> http://www.cs.wisc.edu/~gibson [esc]:wq!
> 
> 
[← Prev in Thread] Current Thread [Next in Thread→]