http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52017
Bug #: 52017 Summary: internal compiler error: Segmentation fault in compiling Perl Tk on Cygwin Classification: Unclassified Product: gcc Version: 4.5.3 Status: UNCONFIRMED Severity: critical Priority: P3 Component: c AssignedTo: unassig...@gcc.gnu.org ReportedBy: marc.gi...@gmail.com Created attachment 26478 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26478 pre-processed file the compilation of which produces the error Compiling Perl Tk-804.030 (from CPAN) pTk> uname -srvp CYGWIN_NT-6.0 1.7.9(0.237/5/3) 2011-03-29 10:10 unknown pTk> gcc-4 --version gcc-4 (GCC) 4.5.3 Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. pTk> cygcheck -c gcc4-core Cygwin Package Information Package Version Status gcc4-core 4.5.3-3 OK pTk> gcc-4 -c -save-temps -I.. -I. -Ibitmaps -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g3 -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -DUSEIMPORTLIB -O3 -DVERSION=\"804.03\" -DXS_VERSION=\"804.03\" "-I/usr/lib/perl5/5.10/i686-cygwin/CORE" -U_WIN32 -DWINARCH_X -Wall -Wno-implicit-int -Wno-comment -Wno-unused -D__USE_FIXED_PROTOTYPES__ imgBMP.c gcc-4: warning: -pipe ignored because -save-temps specified imgBMP.c: In function ‘CommonReadBMP’: imgBMP.c:242:2: warning: pointer targets in passing argument 2 of ‘ImgRead’ differ in signedness imgInt.h:53:12: note: expected ‘char *’ but argument is of type ‘unsigned char *’ imgBMP.c:256:3: warning: pointer targets in passing argument 2 of ‘ImgRead’ differ in signedness imgInt.h:53:12: note: expected ‘char *’ but argument is of type ‘unsigned char *’ imgBMP.c:264:3: warning: pointer targets in passing argument 2 of ‘ImgRead’ differ in signedness imgInt.h:53:12: note: expected ‘char *’ but argument is of type ‘unsigned char *’ imgBMP.c:278:3: warning: pointer targets in passing argument 2 of ‘ImgRead’ differ in signedness imgInt.h:53:12: note: expected ‘char *’ but argument is of type ‘unsigned char *’ imgBMP.c:297:3: warning: pointer targets in passing argument 2 of ‘ImgRead’ differ in signedness imgInt.h:53:12: note: expected ‘char *’ but argument is of type ‘unsigned char *’ imgBMP.c: In function ‘CommonWriteBMP’: imgBMP.c:503:1: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions.