This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Right BOOT_CFLAGS for profiling sparcv9?
- From: Brad Lucier <lucier at math dot purdue dot edu>
- To: gcc at gcc dot gnu dot org
- Cc: lucier at math dot purdue dot edu (Brad Lucier)
- Date: Mon, 18 Mar 2002 08:22:30 -0500 (EST)
- Subject: Right BOOT_CFLAGS for profiling sparcv9?
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.
Brad