This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Right BOOT_CFLAGS for profiling sparcv9?


On Mon, Mar 18, 2002 at 08:22:30AM -0500, Brad Lucier wrote:
> I want to profile gcc on sparcv9-sun-solaris2.8 and tried:
> 
> ( /bin/rm -rf * ) ; ( env CC='cc -xarch=v9 -xildoff' ../configure --prefix=/home/c/lucier/local/gcc-3.1 --enable-checking=no --enable-languages='c' sparcv9-sun-solaris2.8 ) ; ( make -j 8 bootstrap BOOT_CFLAGS='-O2 -g -pg' BOOT_LDFLAGS='-pg' > & build.log ) &
> 
> (I only enabled C because bootstrap fails in libstdc++.)  This fails with
> 
> make[2]: Entering directory `/export/u3/lucier/programs/gcc/gcc-3.1/objdir-sparcv9/gcc'
> stage1/xgcc -Bstage1/ -B/home/c/lucier/local/gcc-3.1/sparcv9-sun-solaris2.8/bin/ -c -DIN_GCC    -O2 -g -pg -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config -I../../gcc/../include ../../gcc/gengenrtl.c -o gengenrtl.o
> cc1: profiling does not support code models other than medlow
> make[2]: *** [gengenrtl.o] Error 1
> 
> What does this mean and how do I fix it?  I tried to add -m64 to
> BOOT_CFLAGS and BOOT_LDFLAGS and got the same message.

-m64 -mcmodel=medlow

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]