public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/15137] New: make profiledbootstrap fails on Cygwin
@ 2004-04-25 20:09 blair at orcaware dot com
  2004-04-25 20:13 ` [Bug bootstrap/15137] " blair at orcaware dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: blair at orcaware dot com @ 2004-04-25 20:09 UTC (permalink / raw)
  To: gcc-bugs

I can compile gcc 3.4.0 with "make bootstrap" using gcc 3.3.3 as
the bootstrap compiler.

Using "make profiledbootstrap" get's this failure

stage1/xgcc.exe -Bstage1/ -B/opt/i386-cygwin/installed/gcc-3.4.0/i686-pc-
cygwin/bin/ -c   -O3 -fprofile-use -DIN_GCC   -W -Wall -Wwrite-strings -
Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-
definition     -DHAVE_CONFIG_H    -I. -I. -I../../gcc-3.4.0/gcc -I../../gcc-
3.4.0/gcc/. -I../../gcc-3.4.0/gcc/../include  ../../gcc-3.4.0/gcc/cpperror.c -
o cpperror.o
stage1/xgcc.exe -Bstage1/ -B/opt/i386-cygwin/installed/gcc-3.4.0/i686-pc-
cygwin/bin/ -c   -O3 -fprofile-use -DIN_GCC   -W -Wall -Wwrite-strings -
Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-
definition     -DHAVE_CONFIG_H    -I. -I. -I../../gcc-3.4.0/gcc -I../../gcc-
3.4.0/gcc/. -I../../gcc-3.4.0/gcc/../include  ../../gcc-3.4.0/gcc/cppinit.c -o 
cppinit.o
stage1/xgcc.exe -Bstage1/ -B/opt/i386-cygwin/installed/gcc-3.4.0/i686-pc-
cygwin/bin/ -c   -O3 -fprofile-use -DIN_GCC   -W -Wall -Wwrite-strings -
Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-
definition     -DHAVE_CONFIG_H    -I. -I. -I../../gcc-3.4.0/gcc -I../../gcc-
3.4.0/gcc/. -I../../gcc-3.4.0/gcc/../include  ../../gcc-
3.4.0/gcc/cppcharset.c -o cppcharset.o
stage1/xgcc.exe -Bstage1/ -B/opt/i386-cygwin/installed/gcc-3.4.0/i686-pc-
cygwin/bin/ -c   -O3 -fprofile-use -DIN_GCC   -W -Wall -Wwrite-strings -
Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-
definition     -DHAVE_CONFIG_H    -I. -I. -I../../gcc-3.4.0/gcc -I../../gcc-
3.4.0/gcc/. -I../../gcc-3.4.0/gcc/../include  ../../gcc-3.4.0/gcc/hashtable.c -
o hashtable.o
../../gcc-3.4.0/gcc/hashtable.c: In function `ht_lookup':
../../gcc-3.4.0/gcc/hashtable.c:165: error: corrupted profile info: number of 
executions for edge 0-1 thought to be 8692467
../../gcc-3.4.0/gcc/hashtable.c:165: error: corrupted profile info: number of 
executions for edge 0-2 thought to be -1
make[2]: *** [hashtable.o] Error 1
make[2]: Leaving directory `/cygdrive/c/Blair/Cygwin/Code/g/g/gcc'
make[1]: *** [stagefeedback_build] Error 2
make[1]: Leaving directory `/cygdrive/c/Blair/Cygwin/Code/g/g/gcc'
make: *** [profiledbootstrap] Error 2

Best,
Blair

-- 
           Summary: make profiledbootstrap fails on Cygwin
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: blair at orcaware dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-cygwin
  GCC host triplet: i686-pc-cygwin
GCC target triplet: i686-pc-cygwin


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15137


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug bootstrap/15137] make profiledbootstrap fails on Cygwin
  2004-04-25 20:09 [Bug bootstrap/15137] New: make profiledbootstrap fails on Cygwin blair at orcaware dot com
@ 2004-04-25 20:13 ` blair at orcaware dot com
  2004-04-25 20:17 ` blair at orcaware dot com
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: blair at orcaware dot com @ 2004-04-25 20:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From blair at orcaware dot com  2004-04-25 19:08 -------
Some more information:

Configured with

../gcc-3.4.0/configure --prefix=/opt/i386-cygwin/installed/gcc-3.4.0 \
--enable-languages=c,c++ --verbose --enable-shared \
--enable-threads=posix --with-system-zlib --disable-win32-registry

and

CFLAGS=-O3
CXXFLAGS=-O3
GCJFLAGS=-O3
LIBCFLAGS=-O3
LIBCXXFLAGS=-O3 -fno-implicit-templates
BOOT_CFLAGS=-O3

Blair

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15137


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug bootstrap/15137] make profiledbootstrap fails on Cygwin
  2004-04-25 20:09 [Bug bootstrap/15137] New: make profiledbootstrap fails on Cygwin blair at orcaware dot com
  2004-04-25 20:13 ` [Bug bootstrap/15137] " blair at orcaware dot com
@ 2004-04-25 20:17 ` blair at orcaware dot com
  2004-04-25 20:39 ` blair at orcaware dot com
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: blair at orcaware dot com @ 2004-04-25 20:17 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From blair at orcaware dot com  2004-04-25 19:10 -------
Created an attachment (id=6161)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6161&action=view)
Compressed output from my configure and build steps


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15137


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug bootstrap/15137] make profiledbootstrap fails on Cygwin
  2004-04-25 20:09 [Bug bootstrap/15137] New: make profiledbootstrap fails on Cygwin blair at orcaware dot com
                   ` (2 preceding siblings ...)
  2004-04-25 20:39 ` blair at orcaware dot com
@ 2004-04-25 20:39 ` pinskia at gcc dot gnu dot org
  2004-04-25 23:57 ` blair at orcaware dot com
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-25 20:39 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-25 20:13 -------
What happens if BOOT_CFLAGS and CFLAGS are not set?

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15137


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug bootstrap/15137] make profiledbootstrap fails on Cygwin
  2004-04-25 20:09 [Bug bootstrap/15137] New: make profiledbootstrap fails on Cygwin blair at orcaware dot com
  2004-04-25 20:13 ` [Bug bootstrap/15137] " blair at orcaware dot com
  2004-04-25 20:17 ` blair at orcaware dot com
@ 2004-04-25 20:39 ` blair at orcaware dot com
  2004-04-25 20:39 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: blair at orcaware dot com @ 2004-04-25 20:39 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From blair at orcaware dot com  2004-04-25 20:17 -------
I'll try the same compile without setting any CFLAGS right now and let you
know.

But I use the same script to compile 3.4.0 on my Linux box and it worked fine,
so my guess it's a Cygwin specific issue.

Best,
Blair

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15137


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug bootstrap/15137] make profiledbootstrap fails on Cygwin
  2004-04-25 20:09 [Bug bootstrap/15137] New: make profiledbootstrap fails on Cygwin blair at orcaware dot com
                   ` (3 preceding siblings ...)
  2004-04-25 20:39 ` pinskia at gcc dot gnu dot org
@ 2004-04-25 23:57 ` blair at orcaware dot com
  2004-07-11  4:44 ` blair at orcaware dot com
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: blair at orcaware dot com @ 2004-04-25 23:57 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From blair at orcaware dot com  2004-04-25 22:43 -------
The same failure occurs without setting any CFLAGS:

bzcat.exe gcc-3.4.0.tar.bz2 | tar xvf -
mkdir g
cd g
env CC=/opt/i386-cygwin/gcc/bin/gcc ../gcc-3.4.0/configure \
--prefix=/tmp/gcc3.4.0 --enable-languages="c,c++" --verbose \
--enable-shared --enable-threads --with-system-zlib \
--disable-win32-registry
make profiledbootstrap

Here's the output:

stage1/xgcc.exe -Bstage1/ -B/tmp/gcc3.4.0/i686-pc-cygwin/bin/ -c   -g -O2 -
fprofile-use -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-
prototypes -pedantic -Wno-long-long -Wold-style-definition     -
DHAVE_CONFIG_H    -I. -I. -I../../gcc-3.4.0/gcc -I../../gcc-3.4.0/gcc/. -
I../../gcc-3.4.0/gcc/../include  ../../gcc-3.4.0/gcc/cppinit.c -o cppinit.o
stage1/xgcc.exe -Bstage1/ -B/tmp/gcc3.4.0/i686-pc-cygwin/bin/ -c   -g -O2 -
fprofile-use -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-
prototypes -pedantic -Wno-long-long -Wold-style-definition     -
DHAVE_CONFIG_H    -I. -I. -I../../gcc-3.4.0/gcc -I../../gcc-3.4.0/gcc/. -
I../../gcc-3.4.0/gcc/../include  ../../gcc-3.4.0/gcc/cppcharset.c -o 
cppcharset.o
stage1/xgcc.exe -Bstage1/ -B/tmp/gcc3.4.0/i686-pc-cygwin/bin/ -c   -g -O2 -
fprofile-use -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-
prototypes -pedantic -Wno-long-long -Wold-style-definition     -
DHAVE_CONFIG_H    -I. -I. -I../../gcc-3.4.0/gcc -I../../gcc-3.4.0/gcc/. -
I../../gcc-3.4.0/gcc/../include  ../../gcc-3.4.0/gcc/hashtable.c -o hashtable.o
../../gcc-3.4.0/gcc/hashtable.c: In function `ht_lookup':
../../gcc-3.4.0/gcc/hashtable.c:165: error: corrupted profile info: number of 
executions for edge 0-1 thought to be 8962734
../../gcc-3.4.0/gcc/hashtable.c:165: error: corrupted profile info: number of 
executions for edge 0-2 thought to be -1
make[2]: *** [hashtable.o] Error 1
make[2]: Leaving directory `/cygdrive/c/Blair/Cygwin/Code/g/g/gcc'
make[1]: *** [stagefeedback_build] Error 2
make[1]: Leaving directory `/cygdrive/c/Blair/Cygwin/Code/g/g/gcc'
make: *** [profiledbootstrap] Error 2

Best,
Blair

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15137


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug bootstrap/15137] make profiledbootstrap fails on Cygwin
  2004-04-25 20:09 [Bug bootstrap/15137] New: make profiledbootstrap fails on Cygwin blair at orcaware dot com
                   ` (4 preceding siblings ...)
  2004-04-25 23:57 ` blair at orcaware dot com
@ 2004-07-11  4:44 ` blair at orcaware dot com
  2004-07-15 18:53 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: blair at orcaware dot com @ 2004-07-11  4:44 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From blair at orcaware dot com  2004-07-11 04:44 -------
The same bug appears in 3.4.1.

Blair


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|3.4.0                       |3.4.1


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15137


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug bootstrap/15137] make profiledbootstrap fails on Cygwin
  2004-04-25 20:09 [Bug bootstrap/15137] New: make profiledbootstrap fails on Cygwin blair at orcaware dot com
                   ` (5 preceding siblings ...)
  2004-07-11  4:44 ` blair at orcaware dot com
@ 2004-07-15 18:53 ` pinskia at gcc dot gnu dot org
  2004-10-07  9:27 ` giovannibajo at libero dot it
  2005-01-06  1:04 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-15 18:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-07-15 18:53 -------
*** Bug 16569 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mds-gcc at gbnet dot net


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15137


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug bootstrap/15137] make profiledbootstrap fails on Cygwin
  2004-04-25 20:09 [Bug bootstrap/15137] New: make profiledbootstrap fails on Cygwin blair at orcaware dot com
                   ` (6 preceding siblings ...)
  2004-07-15 18:53 ` pinskia at gcc dot gnu dot org
@ 2004-10-07  9:27 ` giovannibajo at libero dot it
  2005-01-06  1:04 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: giovannibajo at libero dot it @ 2004-10-07  9:27 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From giovannibajo at libero dot it  2004-10-07 09:27 -------
Can you please attacch a preprocessed output of the file which causes the 
internal error in make profiledbootstrap?

Since you are at it, would you please check with an updated 3.4 snapshot?

CC'ing to Jan which is the maintainer of profile stuff.

Thanks


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15137


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug bootstrap/15137] make profiledbootstrap fails on Cygwin
  2004-04-25 20:09 [Bug bootstrap/15137] New: make profiledbootstrap fails on Cygwin blair at orcaware dot com
                   ` (7 preceding siblings ...)
  2004-10-07  9:27 ` giovannibajo at libero dot it
@ 2005-01-06  1:04 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-06  1:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-06 01:04 -------
No feedback in 3 months (T -2 days).

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15137


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2005-01-06  1:04 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-25 20:09 [Bug bootstrap/15137] New: make profiledbootstrap fails on Cygwin blair at orcaware dot com
2004-04-25 20:13 ` [Bug bootstrap/15137] " blair at orcaware dot com
2004-04-25 20:17 ` blair at orcaware dot com
2004-04-25 20:39 ` blair at orcaware dot com
2004-04-25 20:39 ` pinskia at gcc dot gnu dot org
2004-04-25 23:57 ` blair at orcaware dot com
2004-07-11  4:44 ` blair at orcaware dot com
2004-07-15 18:53 ` pinskia at gcc dot gnu dot org
2004-10-07  9:27 ` giovannibajo at libero dot it
2005-01-06  1:04 ` pinskia at gcc dot gnu dot org

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).