public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/38753] New: gcc 4.4.0 20090106 - make profiledbootstrap - No ".gcda" files created in the libiberty/pic directory
@ 2009-01-07 12:12 rob1weld at aol dot com
2009-01-07 12:28 ` [Bug middle-end/38753] " rob1weld at aol dot com
` (10 more replies)
0 siblings, 11 replies; 12+ messages in thread
From: rob1weld at aol dot com @ 2009-01-07 12:12 UTC (permalink / raw)
To: gcc-bugs
+++ 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
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug middle-end/38753] gcc 4.4.0 20090106 - make profiledbootstrap - No ".gcda" files created in the libiberty/pic directory
2009-01-07 12:12 [Bug middle-end/38753] New: gcc 4.4.0 20090106 - make profiledbootstrap - No ".gcda" files created in the libiberty/pic directory rob1weld at aol dot com
@ 2009-01-07 12:28 ` rob1weld at aol dot com
2009-01-07 13:11 ` rob1weld at aol dot com
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: rob1weld at aol dot com @ 2009-01-07 12:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from rob1weld at aol dot com 2009-01-07 12:27 -------
The "non-pic" directory works much of the time but I also get the
occasional missing ".gcda" in the 'build'/libiberty directory; whereas
in the 'build'/libiberty/pic directory _all_ the ".gcda" files are
missing.
../../gcc_trunk/libiberty/sha1.c:416: note: file
/usr/share/src/gcc_build/libiberty/sha1.gcda not found, execution counts
estimated
../../gcc_trunk/libiberty/alloca.c:215: note: file
/usr/share/src/gcc_build/libiberty/alloca.gcda not found, execution counts
estimate
../../gcc_trunk/libiberty/choose-temp.c:71: note: file
/usr/share/src/gcc_build/libiberty/choose-temp.gcda not found, execution counts
estimated
../../gcc_trunk/libiberty/cp-demint.c:234: note: file
/usr/share/src/gcc_build/libiberty/cp-demint.gcda not found, execution counts
estimated
../../gcc_trunk/libiberty/dyn-string.c:397: note: file
/usr/share/src/gcc_build/libiberty/dyn-string.gcda not found, execution counts
estimated
../../gcc_trunk/libiberty/fdmatch.c:68: note: file
/usr/share/src/gcc_build/libiberty/fdmatch.gcda not found, execution counts
estimated
../../gcc_trunk/libiberty/filename_cmp.c:77: note: file
/usr/share/src/gcc_build/libiberty/pic/filename_cmp.gcda not found, execution
counts estimated
../../gcc_trunk/libiberty/filename_cmp.c:77: note: file
/usr/share/src/gcc_build/libiberty/filename_cmp.gcda not found, execution
counts estimated
...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38753
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug middle-end/38753] gcc 4.4.0 20090106 - make profiledbootstrap - No ".gcda" files created in the libiberty/pic directory
2009-01-07 12:12 [Bug middle-end/38753] New: gcc 4.4.0 20090106 - make profiledbootstrap - No ".gcda" files created in the libiberty/pic directory rob1weld at aol dot com
2009-01-07 12:28 ` [Bug middle-end/38753] " rob1weld at aol dot com
@ 2009-01-07 13:11 ` rob1weld at aol dot com
2009-01-07 17:34 ` rob1weld at aol dot com
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: rob1weld at aol dot com @ 2009-01-07 13:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from rob1weld at aol dot com 2009-01-07 13:11 -------
The intl directoy has only 4 missing files:
../../gcc_trunk/intl/dcngettext.c:55: note: file
/usr/share/src/gcc_build/intl/dcngettext.gcda not found, execution counts
estimated
../../gcc_trunk/intl/dngettext.c:57: note: file
/usr/share/src/gcc_build/intl/dngettext.gcda not found, execution counts
estimated
../../gcc_trunk/intl/ngettext.c:63: note: file
/usr/share/src/gcc_build/intl/ngettext.gcda not found, execution counts
estimated
../../gcc_trunk/intl/ngettext.c:63: note: file
/usr/share/src/gcc_build/intl/intl-compat.gcda not found, execution counts
estimated
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38753
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug middle-end/38753] gcc 4.4.0 20090106 - make profiledbootstrap - No ".gcda" files created in the libiberty/pic directory
2009-01-07 12:12 [Bug middle-end/38753] New: gcc 4.4.0 20090106 - make profiledbootstrap - No ".gcda" files created in the libiberty/pic directory rob1weld at aol dot com
2009-01-07 12:28 ` [Bug middle-end/38753] " rob1weld at aol dot com
2009-01-07 13:11 ` rob1weld at aol dot com
@ 2009-01-07 17:34 ` rob1weld at aol dot com
2009-01-07 17:40 ` jakub at gcc dot gnu dot org
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: rob1weld at aol dot com @ 2009-01-07 17:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from rob1weld at aol dot com 2009-01-07 17:34 -------
I configured using "--without-system-zlib" and _every_ file in gcc_build/zlib
failed to create it's accompanying ".gcda" files. The build continued into
the libcpp directory and thus far has been working OK in libcpp and the
libdecnumber directories; going on to build the compiler ...
...
config.status: executing libtool commands
gmake[3]: Entering directory `/usr/share/src/gcc_build/zlib'
../../gcc_trunk/zlib/adler32.c:149: note: file
/usr/share/src/gcc_build/zlib/libz_a-adler32.gcda not found, execution counts
estimated
../../gcc_trunk/zlib/compress.c:79: note: file
/usr/share/src/gcc_build/zlib/libz_a-compress.gcda not found, execution counts
estimated
../../gcc_trunk/zlib/crc32.c:423: note: file
/usr/share/src/gcc_build/zlib/libz_a-crc32.gcda not found, execution counts
estimated
../../gcc_trunk/zlib/deflate.c:1674: note: file
/usr/share/src/gcc_build/zlib/libz_a-deflate.gcda not found, execution counts
estimated
../../gcc_trunk/zlib/gzio.c:1026: note: file
/usr/share/src/gcc_build/zlib/libz_a-gzio.gcda not found, execution counts
estimated
../../gcc_trunk/zlib/infback.c:623: note: file
/usr/share/src/gcc_build/zlib/libz_a-infback.gcda not found, execution counts
estimated
../../gcc_trunk/zlib/inffast.c:302: note: file
/usr/share/src/gcc_build/zlib/libz_a-inffast.gcda not found, execution counts
estimated
../../gcc_trunk/zlib/inflate.c:1368: note: file
/usr/share/src/gcc_build/zlib/libz_a-inflate.gcda not found, execution counts
estimated
../../gcc_trunk/zlib/inftrees.c:329: note: file
/usr/share/src/gcc_build/zlib/libz_a-inftrees.gcda not found, execution counts
estimated
../../gcc_trunk/zlib/trees.c:1219: note: file
/usr/share/src/gcc_build/zlib/libz_a-trees.gcda not found, execution counts
estimated
../../gcc_trunk/zlib/uncompr.c:61: note: file
/usr/share/src/gcc_build/zlib/libz_a-uncompr.gcda not found, execution counts
estimated
../../gcc_trunk/zlib/zutil.c:316: note: file
/usr/share/src/gcc_build/zlib/libz_a-zutil.gcda not found, execution counts
estimated
...
gmake[3]: Leaving directory `/usr/share/src/gcc_build/zlib'
Configuring stage feedback in ./libcpp
...
gmake[3]: Leaving directory `/usr/share/src/gcc_build/libcpp'
Configuring stage feedback in ./libdecnumber
...
gmake[3]: Leaving directory `/usr/share/src/gcc_build/libdecnumber'
gmake[3]: Entering directory `/usr/share/src/gcc_build/gcc'
...
build/gcov-iov '4.4.0' 'experimental' > tmp-gcov-iov.h
/bin/sh ../../gcc_trunk/gcc/../move-if-change tmp-gcov-iov.h gcov-iov.h
echo timestamp > s-iov
...
Continues to work, correctly, using -fprofile-use to build gcc ...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38753
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug middle-end/38753] gcc 4.4.0 20090106 - make profiledbootstrap - No ".gcda" files created in the libiberty/pic directory
2009-01-07 12:12 [Bug middle-end/38753] New: gcc 4.4.0 20090106 - make profiledbootstrap - No ".gcda" files created in the libiberty/pic directory rob1weld at aol dot com
` (2 preceding siblings ...)
2009-01-07 17:34 ` rob1weld at aol dot com
@ 2009-01-07 17:40 ` jakub at gcc dot gnu dot org
2009-01-07 20:58 ` rob1weld at aol dot com
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-01-07 17:40 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from jakub at gcc dot gnu dot org 2009-01-07 17:40 -------
Obviously during bootstrap not all the code is actually executed. I don't see
how that is a bug.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38753
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug middle-end/38753] gcc 4.4.0 20090106 - make profiledbootstrap - No ".gcda" files created in the libiberty/pic directory
2009-01-07 12:12 [Bug middle-end/38753] New: gcc 4.4.0 20090106 - make profiledbootstrap - No ".gcda" files created in the libiberty/pic directory rob1weld at aol dot com
` (3 preceding siblings ...)
2009-01-07 17:40 ` jakub at gcc dot gnu dot org
@ 2009-01-07 20:58 ` rob1weld at aol dot com
2009-01-07 21:07 ` rob1weld at aol dot com
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: rob1weld at aol dot com @ 2009-01-07 20:58 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from rob1weld at aol dot com 2009-01-07 20:57 -------
While building in ./gcc _almost_ all ".gcda"'s are found, but a few are missed:
../../gcc_trunk/gcc/ebitmap.c:1018: note: file
/usr/share/src/gcc_build/gcc/ebitmap.gcda not found, execution counts estimated
../../gcc_trunk/gcc/resource.c:1264: note: file
/usr/share/src/gcc_build/gcc/resource.gcda not found, execution counts
estimated
Finally it runs out of juice with a -Werror ...
/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 -g -O2 -fprofile-use -DIN_GCC -W
-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual
-Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror
-DHAVE_CONFIG_H -I. -I. -I../../gcc_trunk/gcc -I../../gcc_trunk/gcc/.
-I../../gcc_trunk/gcc/../include -I./../intl
-I../../gcc_trunk/gcc/../libcpp/include -I../../gcc_trunk/gcc/../libdecnumber
-I../../gcc_trunk/gcc/../libdecnumber/dpd -I../libdecnumber
-DCLOOG_PPL_BACKEND -fexceptions \
../../gcc_trunk/gcc/config/i386/i386.c -o i386.o
cc1: warnings being treated as errors
../../gcc_trunk/gcc/config/i386/i386.c: In function 'ix86_expand_call':
../../gcc_trunk/gcc/config/i386/i386.c:18511: error: ISO C90 forbids variable
length array 'vec'
gmake[3]: *** [i386.o] Error 1
gmake[3]: Leaving directory `/usr/share/src/gcc_build/gcc'
gmake[2]: *** [all-stagefeedback-gcc] Error 2
gmake[2]: Leaving directory `/usr/share/src/gcc_build'
gmake[1]: *** [stagefeedback-bubble] Error 2
gmake[1]: Leaving directory `/usr/share/src/gcc_build'
gmake: *** [profiledbootstrap] Error 2
user@opensolaris:/usr/share/src/gcc_build#
Continuing by removing -Werror and manually compiling the one file.
Next restart the make.
Unfortunately the Makefile wants to over-re-check.
We already installed libgcc_s.so (and friends) but when we restart
we must re-install libgcc_s.so and amd64/libgcc_s.so (and 'ln' the
friends) two times over again, unnecessary.
The "intl" was already configured but we will re-do that too.
# gmake profiledbootstrap
...
gmake[2]: Entering directory `/usr/share/src/gcc_build'
Configuring stage feedback in ./intl
Re-configuring 'intl' (and any more to come) is _very_ slow since at this
stage we are using ./gcc/xgcc and are back to the point where we were
collecting profiling info (again) instead of recognizing that this section
had been done already and skipping it as make ought to do ...
Wait a few more hours ...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38753
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug middle-end/38753] gcc 4.4.0 20090106 - make profiledbootstrap - No ".gcda" files created in the libiberty/pic directory
2009-01-07 12:12 [Bug middle-end/38753] New: gcc 4.4.0 20090106 - make profiledbootstrap - No ".gcda" files created in the libiberty/pic directory rob1weld at aol dot com
` (4 preceding siblings ...)
2009-01-07 20:58 ` rob1weld at aol dot com
@ 2009-01-07 21:07 ` rob1weld at aol dot com
2009-01-08 17:53 ` rob1weld at aol dot com
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: rob1weld at aol dot com @ 2009-01-07 21:07 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from rob1weld at aol dot com 2009-01-07 21:07 -------
(In reply to comment #4)
> Obviously during bootstrap not all the code is actually executed. I don't see
> how that is a bug.
>
Note the messages generated by the compiler.
We need to do one or both of the following (to fix this bug):
1. Execute the code needed to eliminate the messages generated by the compiler
as this will cause _all_ the parts to be optimal instead of simply a portion.
2. Do not have the Makefile or scripts cause the compiler to look for ".gcda"
files when none are present as this will cause messages to be generated by
the compiler.
The zlib directory is not being processed correctly and when we get hit
by the -Werror and try to restart the Makefile does not correctly know
how to resume the build from the point where it quit.
There are bugs to fix and it (profiled building) has worked better in years
past.
Rob
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38753
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug middle-end/38753] gcc 4.4.0 20090106 - make profiledbootstrap - No ".gcda" files created in the libiberty/pic directory
2009-01-07 12:12 [Bug middle-end/38753] New: gcc 4.4.0 20090106 - make profiledbootstrap - No ".gcda" files created in the libiberty/pic directory rob1weld at aol dot com
` (5 preceding siblings ...)
2009-01-07 21:07 ` rob1weld at aol dot com
@ 2009-01-08 17:53 ` rob1weld at aol dot com
2009-01-09 20:30 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: rob1weld at aol dot com @ 2009-01-08 17:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from rob1weld at aol dot com 2009-01-08 17:53 -------
I skirted the i386 file by adding this to the line 189 of the Makefile:
# Added - "make profiledbootstrap" is slow and we don't want to break the build
# i386.c - causes "ISO C90 forbids variable length array 'vec'"
i386.o-warn = -Wno-error
That saves a lot of work on that 'generated file' but is not the correct fix.
Building the gcc directory generates few messages compared to the number of
faults thus far versus it's large size. The few that are being show are
related to the "gcc/gcov.gcda", "gcc/errors.gcda" and "gcc/gcov-dump.gcda"
which makes sense that we do not have those ".gcda" files.
I don't know that we need to worry about making profiled versions of
"gcc/genchecksum.c" and other locally used generator executables.
The ada directory works very well. I could not see a single ".gcda" file miss.
Once we've finished gnatbind and get on to the 'cp' directory we loose:
../../gcc_trunk/gcc/cp/cp-lang.c:132: note: file
/usr/share/src/gcc_build/gcc/cp/cp-lang.gcda not found, execution counts
estimated
../../gcc_trunk/gcc/cp/call.c:7312: note: file
/usr/share/src/gcc_build/gcc/cp/call.gcda not found, execution counts estimated
...
(so far) Every(?) file in 'cp' is unprofiled.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38753
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug middle-end/38753] gcc 4.4.0 20090106 - make profiledbootstrap - No ".gcda" files created in the libiberty/pic directory
2009-01-07 12:12 [Bug middle-end/38753] New: gcc 4.4.0 20090106 - make profiledbootstrap - No ".gcda" files created in the libiberty/pic directory rob1weld at aol dot com
` (6 preceding siblings ...)
2009-01-08 17:53 ` rob1weld at aol dot com
@ 2009-01-09 20:30 ` pinskia at gcc dot gnu dot org
2009-01-09 22:04 ` rob1weld at aol dot com
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-01-09 20:30 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from pinskia at gcc dot gnu dot org 2009-01-09 20:30 -------
The pic library is not used while compiling gcc so this warning is ok and not a
bug.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38753
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug middle-end/38753] gcc 4.4.0 20090106 - make profiledbootstrap - No ".gcda" files created in the libiberty/pic directory
2009-01-07 12:12 [Bug middle-end/38753] New: gcc 4.4.0 20090106 - make profiledbootstrap - No ".gcda" files created in the libiberty/pic directory rob1weld at aol dot com
` (7 preceding siblings ...)
2009-01-09 20:30 ` pinskia at gcc dot gnu dot org
@ 2009-01-09 22:04 ` rob1weld at aol dot com
2009-01-09 22:07 ` pinskia at gcc dot gnu dot org
2009-01-11 4:50 ` rob1weld at aol dot com
10 siblings, 0 replies; 12+ messages in thread
From: rob1weld at aol dot com @ 2009-01-09 22:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from rob1weld at aol dot com 2009-01-09 22:04 -------
(In reply to comment #8)
> The pic library is not used while compiling gcc so this warning is ok and
> not a bug.
Reopened.
That "bug" would be fixed it the "-fprofile-use" option were not given in
the directories that are expected to be empty of ".gcda" files. We could
get the Makefile's formula to look for ".gcda" files first and compile the
corresponding ".c" files, then compile the remaining ".c" files _without_
using "-fprofile-use" -- not much to figure out and no spurious warnings.
The _other_ bugs are:
2. ... _every_ file in gcc_build/zlib failed to create it's accompanying
".gcda" files ... and we miss an opportunity to optimize this library.
3. There is a "-Werror" to be fixed. Use: "i386.o-warn = -Wno-error"
4. The Makefile won't restart in the correct spot if the build breaks.
It takes hours to re-configure and re-build what it already has done.
5. The "C" and "Ada" Languages are being profiled (for the most part) but
the c++,fortran,java,objc,obj-c++ compilers are NOT profiled at all.
Rob
--
rob1weld at aol dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38753
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug middle-end/38753] gcc 4.4.0 20090106 - make profiledbootstrap - No ".gcda" files created in the libiberty/pic directory
2009-01-07 12:12 [Bug middle-end/38753] New: gcc 4.4.0 20090106 - make profiledbootstrap - No ".gcda" files created in the libiberty/pic directory rob1weld at aol dot com
` (8 preceding siblings ...)
2009-01-09 22:04 ` rob1weld at aol dot com
@ 2009-01-09 22:07 ` pinskia at gcc dot gnu dot org
2009-01-11 4:50 ` rob1weld at aol dot com
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-01-09 22:07 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from pinskia at gcc dot gnu dot org 2009-01-09 22:07 -------
>3. There is a "-Werror" to be fixed. Use: "i386.o-warn = -Wno-error"
I already mentioned this was really fixed in trunk already.
>5. The "C" and "Ada" Languages are being profiled (for the most part) but
the c++,fortran,java,objc,obj-c++ compilers are NOT profiled at all.
This is expected.
Anyways this is invalid and nothing to be done here really because parts of
the compiler are not really tested while doing a bootstrap.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38753
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug middle-end/38753] gcc 4.4.0 20090106 - make profiledbootstrap - No ".gcda" files created in the libiberty/pic directory
2009-01-07 12:12 [Bug middle-end/38753] New: gcc 4.4.0 20090106 - make profiledbootstrap - No ".gcda" files created in the libiberty/pic directory rob1weld at aol dot com
` (9 preceding siblings ...)
2009-01-09 22:07 ` pinskia at gcc dot gnu dot org
@ 2009-01-11 4:50 ` rob1weld at aol dot com
10 siblings, 0 replies; 12+ messages in thread
From: rob1weld at aol dot com @ 2009-01-11 4:50 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from rob1weld at aol dot com 2009-01-11 04:50 -------
(In reply to comment #10)
> >3. There is a "-Werror" to be fixed. Use: "i386.o-warn = -Wno-error"
> I already mentioned this was really fixed in trunk already.
I re-read this entire thread and still do not see your prior comment but
thanks for fixing that (hopefully NOT with "i386.o-warn = -Wno-error").
> >5. The "C" and "Ada" Languages are being profiled (for the most part) but
> the c++,fortran,java,objc,obj-c++ compilers are NOT profiled at all.
> This is expected.
> Anyways this is invalid and nothing to be done here really because parts of
> the compiler are not really tested while doing a bootstrap.
OK, we will not test everything.
Rob
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38753
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2009-01-11 4:50 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-07 12:12 [Bug middle-end/38753] New: gcc 4.4.0 20090106 - make profiledbootstrap - No ".gcda" files created in the libiberty/pic directory rob1weld at aol dot com
2009-01-07 12:28 ` [Bug middle-end/38753] " rob1weld at aol dot com
2009-01-07 13:11 ` rob1weld at aol dot com
2009-01-07 17:34 ` rob1weld at aol dot com
2009-01-07 17:40 ` jakub at gcc dot gnu dot org
2009-01-07 20:58 ` rob1weld at aol dot com
2009-01-07 21:07 ` rob1weld at aol dot com
2009-01-08 17:53 ` rob1weld at aol dot com
2009-01-09 20:30 ` pinskia at gcc dot gnu dot org
2009-01-09 22:04 ` rob1weld at aol dot com
2009-01-09 22:07 ` pinskia at gcc dot gnu dot org
2009-01-11 4:50 ` rob1weld at aol dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).