This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/38753] New: gcc 4.4.0 20090106 - make profiledbootstrap - No ".gcda" files created in the libiberty/pic directory
- From: "rob1weld at aol dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jan 2009 12:12:13 -0000
- Subject: [Bug middle-end/38753] New: gcc 4.4.0 20090106 - make profiledbootstrap - No ".gcda" files created in the libiberty/pic directory
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
+++ This bug was initially created as a clone of Bug #32581 +++
I'm building gcc 4.4.0 20090106 on OpenSolaris 2008.11 .
I'll set a ton of configure options (for testing) and build profiled.
No ".gcda" files are being created in the libiberty/pic directory, this
causes a warning message and wastes an opportunity for optimization.
# ../gcc_trunk/configure --enable-languages=ada,c,c++,fortran,java,objc,obj-c++
--enable-shared --disable-static --enable-decimal-float --with-long-double-128
--enable-nls --with-included-gettext --enable-gather-detailed-mem-stats
--with-stabs --enable-debug -enable-largefile --enable-symvers
--without-system-zlib --enable-gtk-cairo --enable-qt-peer --enable-xmlj
--enable-gconf-peer --enable-gjdoc --enable-java-awt=gtk,xlib,qt,x
--enable-gc-debug --enable-libgcj-multifile --enable-libgcj-debug
--enable-objc-gc --enable-libstdcxx-debug --enable-__cxa_atexit
--enable-stage1-checking --enable-checking=release --without-system-libunwind
--with-gnu-as --with-as=/usr/local/bin/as --with-gnu-ld
--with-ld=/usr/local/bin/ld
# gmake profiledbootstrap
Wait 20 hours ...
...
updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating testsuite/Makefile
config.status: creating config.h
config.status: executing default commands
gmake[3]: Entering directory `/usr/share/src/gcc_build/libiberty'
if [ x"-fpic" != x ] && [ ! -d pic ]; then \
mkdir pic; \
else true; fi
touch stamp-picdir
if [ x"-fpic" != x ]; then \
/usr/share/src/gcc_build/./prev-gcc/xgcc
-B/usr/share/src/gcc_build/./prev-gcc/ -B/usr/local/i386-pc-solaris2.11/bin/ -c
-DHAVE_CONFIG_H -g -O2 -fprofile-use -fexceptions -I.
-I../../gcc_trunk/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat
-Wstrict-prototypes -pedantic -fpic ../../gcc_trunk/libiberty/regex.c -o
pic/regex.o; \
else true; fi
../../gcc_trunk/libiberty/regex.c: In function 'byte_compile_range':
../../gcc_trunk/libiberty/regex.c:8126: note: file
/usr/share/src/gcc_build/libiberty/pic/regex.gcda not found, execution counts
estimated
...
# ls -lrt /usr/share/src/gcc_build/libiberty/
total 1592
-rw-r--r-- 1 root root 72 Jan 7 01:14 xhost-mkfrag
-rw-r--r-- 2 root root 176 Jan 7 03:16 unlink-if-ordinary.gcda
-rw-r--r-- 1 root root 9596 Jan 7 03:16 config.cache
-rwxr-xr-x 1 root root 52145 Jan 7 03:16 config.status
-rw------- 1 root root 43166 Jan 7 03:16 Makefile
drwxr-xr-x 2 root root 3 Jan 7 03:16 testsuite
-rw------- 1 root root 12905 Jan 7 03:16 config.h
-rw------- 1 root root 10 Jan 7 03:16 stamp-h
-rw-r--r-- 1 root root 188046 Jan 7 03:16 config.log
-rw-r--r-- 1 root root 0 Jan 7 03:16 stamp-picdir
-rw-r--r-- 1 root root 89464 Jan 7 03:18 regex.o
-rw-r--r-- 1 root root 83252 Jan 7 03:21 cplus-dem.o
-rw-r--r-- 1 root root 86216 Jan 7 03:24 cp-demangle.o
-rw-r--r-- 1 root root 13808 Jan 7 03:29 md5.o
-rw-r--r-- 1 root root 17144 Jan 7 03:33 sha1.o
-rw-r--r-- 1 root root 3840 Jan 7 03:37 alloca.o
-rw-r--r-- 1 root root 10792 Jan 7 03:41 argv.o
-rw-r--r-- 1 root root 2772 Jan 7 03:45 choose-temp.o
-rw-r--r-- 1 root root 9576 Jan 7 03:50 concat.o
-rw-r--r-- 1 root root 11820 Jan 7 03:52 cp-demint.o
-rw-r--r-- 2 root root 13396 Jan 7 03:52 cplus-dem.gcda
-rw-r--r-- 2 root root 12308 Jan 7 03:52 cp-demangle.gcda
-rw-r--r-- 2 root root 984 Jan 7 03:52 md5.gcda
-rw-r--r-- 2 root root 1604 Jan 7 03:52 fibheap.gcda
-rw-r--r-- 2 root root 344 Jan 7 03:52 getpwd.gcda
-rw-r--r-- 2 root root 232 Jan 7 03:52 getruntime.gcda
-rw-r--r-- 2 root root 4348 Jan 7 03:52 hashtab.gcda
-rw-r--r-- 2 root root 180 Jan 7 03:52 hex.gcda
-rw-r--r-- 2 root root 636 Jan 7 03:52 partition.gcda
-rw-r--r-- 2 root root 284 Jan 7 03:52 physmem.gcda
-rw-r--r-- 2 root root 2124 Jan 7 03:52 splay-tree.gcda
-rw-r--r-- 2 root root 204 Jan 7 03:52 asprintf.gcda
-rw-r--r-- 2 root root 392 Jan 7 03:52 vasprintf.gcda
drwxr-xr-x 2 root root 13 Jan 7 03:52 pic
-rw-r--r-- 2 root root 9896 Jan 7 03:52 regex.gcda
-rw-r--r-- 2 root root 1028 Jan 7 03:52 argv.gcda
-rw-r--r-- 2 root root 1568 Jan 7 03:52 concat.gcda
-rw-r--r-- 2 root root 1316 Jan 7 03:52 fopen_unlocked.gcda
-rw-r--r-- 2 root root 1012 Jan 7 03:52 make-relative-prefix.gcda
-rw-r--r-- 2 root root 452 Jan 7 03:52 make-temp-file.gcda
-rw-r--r-- 2 root root 2012 Jan 7 03:52 obstack.gcda
-rw-r--r-- 2 root root 2564 Jan 7 03:52 pex-common.gcda
-rw-r--r-- 2 root root 1012 Jan 7 03:52 pex-unix.gcda
-rw-r--r-- 2 root root 1108 Jan 7 03:52 xexit.gcda
-rw-r--r-- 2 root root 1308 Jan 7 03:52 xmalloc.gcda
-rw-r--r-- 2 root root 348 Jan 7 03:52 xmemdup.gcda
-rw-r--r-- 2 root root 1140 Jan 7 03:52 xstrdup.gcda
-rw-r--r-- 2 root root 372 Jan 7 03:52 xstrerror.gcda
-rw-r--r-- 2 root root 200 Jan 7 03:52 strverscmp.gcda
-rw-r--r-- 2 root root 240 Jan 7 03:52 lbasename.gcda
-rw-r--r-- 2 root root 196 Jan 7 03:52 lrealpath.gcda
# ls -lrt /usr/share/src/gcc_build/libiberty/pic/
total 1099
-rw-r--r-- 1 root root 100768 Jan 7 03:17 regex.o
-rw-r--r-- 1 root root 120044 Jan 7 03:19 cplus-dem.o
-rw-r--r-- 1 root root 122156 Jan 7 03:23 cp-demangle.o
-rw-r--r-- 1 root root 11784 Jan 7 03:27 md5.o
-rw-r--r-- 1 root root 16724 Jan 7 03:31 sha1.o
-rw-r--r-- 1 root root 3904 Jan 7 03:35 alloca.o
-rw-r--r-- 1 root root 9736 Jan 7 03:38 argv.o
-rw-r--r-- 1 root root 2864 Jan 7 03:43 choose-temp.o
-rw-r--r-- 1 root root 7532 Jan 7 03:47 concat.o
-rw-r--r-- 1 root root 11956 Jan 7 03:51 cp-demint.o
-rw-r--r-- 1 root root 12960 Jan 7 03:52 dyn-string.o
-rw-r--r-- 1 root root 4060 Jan 7 03:54 fdmatch.o
-rw-r--r-- 1 root root 16044 Jan 7 03:55 fibheap.o
-rw-r--r-- 1 root root 2292 Jan 7 03:56 filename_cmp.o
-rw-r--r-- 1 root root 30340 Jan 7 03:58 floatformat.o
-rw-r--r-- 1 root root 8492 Jan 7 03:59 fnmatch.o
-rw-r--r-- 1 root root 5832 Jan 7 04:00 fopen_unlocked.o
-rw-r--r-- 1 root root 16096 Jan 7 04:02 getopt.o
-rw-r--r-- 1 root root 3184 Jan 7 04:03 getopt1.o
-rw-r--r-- 1 root root 5068 Jan 7 04:04 getpwd.o
-rw-r--r-- 1 root root 3320 Jan 7 04:05 getruntime.o
-rw-r--r-- 1 root root 26744 Jan 7 04:07 hashtab.o
-rw-r--r-- 1 root root 2616 Jan 7 04:08 hex.o
Thanks,
Rob
--
Summary: gcc 4.4.0 20090106 - make profiledbootstrap - No ".gcda"
files created in the libiberty/pic directory
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rob1weld at aol dot com
GCC build triplet: i386-pc-solaris2.11
GCC host triplet: i386-pc-solaris2.11
GCC target triplet: i386-pc-solaris2.11
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38753