[Bug target/56716] during gcc 4.8.0 build on Cygwin: bid128_fma.c:4460:1: internal compiler error: Segmentation fault

2013-04-27 Thread gccbugzi...@tru-traffic.com


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



--- Comment #10 from Greg  2013-04-27 23:28:21 UTC 
---

(In reply to comment #9)

> b internal_error

> run

> bt



Alas, still no results.



gbullock@gbullock-W7 ~

$ cd /home/gbullock/gcc48o/i686-pc-mingw32/libgcc



gbullock@gbullock-W7 ~/gcc48o/i686-pc-mingw32/libgcc

$ export PATH=/home/gbullock/gcc48o/./gcc/:$PATH



gbullock@gbullock-W7 ~/gcc48o/i686-pc-mingw32/libgcc

$ gdb /home/gbullock/gcc48o/./gcc/xgcc

GNU gdb (GDB) 7.5

Copyright (C) 2012 Free Software Foundation, Inc.

License GPLv3+: GNU GPL version 3 or later 

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law.  Type "show copying"

and "show warranty" for details.

This GDB was configured as "i686-pc-mingw32".

For bug reporting instructions, please see:

...

Reading symbols from

C:\MinGW\msys\1.0\home\gbullock\gcc48o\gcc\xgcc.exe...done.

http://gcc.gnu.org/bugs.html> for instructions.

[Inferior 1 (process 4328) exited with code 01]

(gdb) bt

No stack.

(gdb)


[Bug target/56716] during gcc 4.8.0 build on Cygwin: bid128_fma.c:4460:1: internal compiler error: Segmentation fault

2013-04-27 Thread gccbugzi...@tru-traffic.com


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



--- Comment #8 from Greg  2013-04-27 21:54:25 UTC 
---

(In reply to comment #7)

> (In reply to comment #6)

> > > Can you please provide a backtrace from the crash?

> 

> Alas, no success.  gdb reports "No stack." after the crash.  I'd used

> 

> make BOOT_CFLAGS='-g -O' bootstrap

> 

> I'm happy to help if I can.  Any suggestions on what more I can do?



To be more complete, here's the entire set of commands that I entered, along

with the screen output (which is abbreviated for most of the build):



$ make BOOT_CFLAGS='-g -O' bootstrap



...(redacted)



/home/gbullock/gcc48o/./gcc/xgcc -B/home/gbullock/gcc48o/./gcc/

-L/home/gbullock/gcc48o/i686-pc-mingw32/winsup/mingw

-L/home/gbullock/gcc48o/i686-pc-mingw32/winsup/w32api/lib -isystem

/home/gbullock/gcc-4_8/winsup/mingw/

include -isystem /home/gbullock/gcc-4_8/winsup/w32api/include

-B/usr/local/i686-pc-mingw32/bin/ -B/usr/local/i686-pc-mingw32/lib/ -isystem

/usr/local/i686-pc-mingw32/include -isystem

/usr/local/i686-pc-mingw32/sys-includ

e-g -O2 -O2 -I../../../gcc-4_8/libgcc/../winsup/w32api/include -g -O2

-DIN_GCC   -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual

-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem

./include

   -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector   -I. -I.

-I../.././gcc -I../../../gcc-4_8/libgcc -I../../../gcc-4_8/libgcc/.

-I../../../gcc-4_8/libgcc/../gcc -I../../../gcc-4_8/libgcc/../include

-I../../../gcc

-4_8/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS

-DUSE_EMUTLS -o bid128_fma.o -MT bid128_fma.o -MD -MP -MF bid128_fma.dep -c

../../../gcc-4_8/libgcc/config/libbid/bid128_fma.c

../../../gcc-4_8/libgcc/config/libbid/bid128_fma.c:4460:1: internal compiler

error: Segmentation fault

 }

 ^

Please submit a full bug report,

with preprocessed source if appropriate.

See  for instructions.

make[3]: *** [bid128_fma.o] Error 1

make[3]: Leaving directory `/home/gbullock/gcc48o/i686-pc-mingw32/libgcc'

make[2]: *** [all-stage2-target-libgcc] Error 2

make[2]: Leaving directory `/home/gbullock/gcc48o'

make[1]: *** [stage2-bubble] Error 2

make[1]: Leaving directory `/home/gbullock/gcc48o'

make: *** [bootstrap] Error 2



$ cd /home/gbullock/gcc48o/i686-pc-mingw32/libgcc

$ export PATH=/home/gbullock/gcc48o/./gcc/:$PATH

$ gdb /home/gbullock/gcc48o/./gcc/xgcc

GNU gdb (GDB) 7.5

Copyright (C) 2012 Free Software Foundation, Inc.

License GPLv3+: GNU GPL version 3 or later 

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law.  Type "show copying"

and "show warranty" for details.

This GDB was configured as "i686-pc-mingw32".

For bug reporting instructions, please see:

...

Reading symbols from

C:\MinGW\msys\1.0\home\gbullock\gcc48o\gcc\xgcc.exe...done.

(gdb) set args -B/home/gbullock/gcc48o/./gcc/

-L/home/gbullock/gcc48o/i686-pc-mingw32/winsup/mingw

-L/home/gbullock/gcc48o/i686-pc-mingw32/winsup/w32api/lib -isystem

/home/gbullock/gcc-4_8/winsup/mingw/include -isystem

/home/gbullock/gcc-4_8/winsup/w32api/include -B/usr/local/i686-pc-mingw32/bin/

-B/usr/local/i686-pc-mingw32/lib/ -isystem /usr/local/i686-pc-mingw32/include

-isystem /usr/local/i686-pc-mingw32/sys-include-g -O2 -O2

-I../../../gcc-4_8/libgcc/../winsup/w32api/include -g -O2 -DIN_GCC   -W -Wall

-Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes

-Wmissing-prototypes -Wold-style-definition  -isystem ./include   -g

-DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector   -I. -I. -I../.././gcc

-I../../../gcc-4_8/libgcc -I../../../gcc-4_8/libgcc/.

-I../../../gcc-4_8/libgcc/../gcc -I../../../gcc-4_8/libgcc/../include

-I../../../gcc-4_8/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT

-DHAVE_CC_TLS -DUSE_EMUTLS -o bid128_fma.o -MT bid128_fma.o -MD -MP -MF

bid128_fma.dep -c ../../../gcc-4_8/libgcc/config/libbid/bid128_fma.c

(gdb) run

Starting program: C:\MinGW\msys\1.0\home\gbullock\gcc48o\gcc\xgcc.exe

-B/home/gbullock/gcc48o/./gcc/

-L/home/gbullock/gcc48o/i686-pc-mingw32/winsup/mingw

-L/home/gbullock/gcc48o/i686-pc-mingw32/winsup/w32api/lib -isystem

 /home/gbullock/gcc-4_8/winsup/mingw/include -isystem

/home/gbullock/gcc-4_8/winsup/w32api/include -B/usr/local/i686-pc-mingw32/bin/

-B/usr/local/i686-pc-mingw32/lib/ -isystem /usr/local/i686-pc-mingw32/include

-isystem

/usr/local/i686-pc-mingw32/sys-include-g -O2 -O2

-I../../../gcc-4_8/libgcc/../winsup/w32api/include -g -O2 -DIN_GCC   -W -Wall

-Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes

-Wmissing-prototypes -Wold

-style-definition  -isystem ./include   -g -DIN_LIBGCC2 -fbuilding-libgcc

-fno-stack-protector   -I. -I. -I../.././gcc -I../../../gcc-4_8/libgcc

-I../../../gcc-4_8/libgcc/. -I../../../gcc-4_8/libgcc/../gcc -I../../../gcc

-4_8/libgcc/../include -I..

[Bug target/56716] during gcc 4.8.0 build on Cygwin: bid128_fma.c:4460:1: internal compiler error: Segmentation fault

2013-04-27 Thread gccbugzi...@tru-traffic.com


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



--- Comment #7 from Greg  2013-04-27 16:16:02 UTC 
---

(In reply to comment #6)

> > Can you please provide a backtrace from the crash?



Alas, no success.  gdb reports "No stack." after the crash.  I'd used



make BOOT_CFLAGS='-g -O' bootstrap



I'm happy to help if I can.  Any suggestions on what more I can do?


[Bug target/56716] during gcc 4.8.0 build on Cygwin: bid128_fma.c:4460:1: internal compiler error: Segmentation fault

2013-04-25 Thread gccbugzi...@tru-traffic.com


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



--- Comment #6 from Greg  2013-04-25 22:32:13 UTC 
---

> Can you please provide a backtrace from the crash?



I'll be happy to provide a backtrace from the crash.  It will take a day or so,

as I'm such a novice that I don't yet know how to create a backtrace.



In the meantime, here's a new development: The build that crashed was launched

using



make BOOT_CFLAGS='-O' bootstrap



Thinking that I'd need to remove the BOOT_CFLAGS='-O' in order to create a

backtrace, I rebuilt using simply



make bootstrap



Only this time, the bootstrap built to successful completion -- no crash.



This used revision 198253 with no changes (that is, I'd first reverted from my

working-directory the revision 197165 merged from trunk).



Any tips for a novice on how to create a backtrace from the crashed build?


[Bug target/56716] during gcc 4.8.0 build on Cygwin: bid128_fma.c:4460:1: internal compiler error: Segmentation fault

2013-04-24 Thread gccbugzi...@tru-traffic.com


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



Greg  changed:



   What|Removed |Added



 CC||gccbugzi...@tru-traffic.com



--- Comment #4 from Greg  2013-04-24 23:53:15 UTC 
---

(In reply to comment #3)

> Author: rguenth

> Date: Wed Mar 27 15:10:50 2013

> New Revision: 197165

> 

> URL: http://gcc.gnu.org/viewcvs?rev=197165&root=gcc&view=rev

> Log:

> 2013-03-27  Richard Biener  

> 

> PR tree-optimization/56716

> * tree-ssa-structalias.c (perform_var_substitution): Adjust

> dumping for ref nodes.

> 

> Modified:

> trunk/gcc/ChangeLog

> trunk/gcc/tree-ssa-structalias.c

> 

> Fixed the issue on trunk.  Back to analysis.



I get the same error, and merging revision 197165 from trunk into my

working-directory for gcc-4_8-branch revision 198253 did not fix the error on

my system.



This error occured during one of the stages while building gcc, revision

198065, checked out from svn://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch for

MinGW32, Windows 7 Pro 64-bit SP1.

The error also occurs with revisions 198027 and 198253 -- that is, the error

has been occuring with revisions for at least these past 7 days.



The error persists after I merged revision 197165 from trunk into my

working-directory for gcc-4_8-branch revision 198253.