Subject: toolchain/34990: internal compiler error netbsd-3-1
To: None <toolchain-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <george@galis.org>
List: netbsd-bugs
Date: 11/04/2006 16:25:00
>Number:         34990
>Category:       toolchain
>Synopsis:       src/regex/regc_color.c:522: internal compiler error: Segmentation fault
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 04 16:25:00 +0000 2006
>Originator:     George Georgalis
>Release:        NetBSD 3.1.0_PATCH  Nov  2 22:00 (EST)
>Organization:
>Environment:
System: NetBSD tea 3.1.0_PATCH NetBSD 3.1.0_PATCH (GENERIC) #0: Thu Nov 2 23:03:34 EST 2006 root@tea:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
Configured wxWidgets 2.6.3 for `x86_64-unknown-netbsd3.1.0.'

  Which GUI toolkit should wxWidgets use?                 GTK+ 2
  Should wxWidgets be compiled into single library?       no
  Should wxWidgets be compiled in debug mode?             no
  Should wxWidgets be linked as a shared library?         yes
  Should wxWidgets be compiled in Unicode mode?           no
  What level of wxWidgets compatibility should be enabled?
                                       wxWidgets 2.2      no
                                       wxWidgets 2.4      yes
  Which libraries should wxWidgets use?
                                       jpeg               sys
                                       png                sys
                                       regex              builtin
                                       tiff               sys
                                       zlib               sys
                                       odbc               no
                                       expat              sys
                                       libmspack          no
                                       sdl                no
                                       gnomeprint         no
                                       hildon             no

=> Modifying libtool scripts to use pkgsrc libtool
===> Building for wxGTK-2.6.3nb1
libtool  --mode=compile --tag=CC ./bk-deps cc -c -o wxregex_regcomp.lo -D__WXGTK__   -fPIC -DPIC -DGTK_NO_CHECK_CASTS -Ilib/wx/include/gtk2-ansi-release-2.6 -I./include -O2 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI -pthread -I/usr/pkg/include/gtk-2.0 -I/usr/pkg/lib/gtk-2.0/include -I/usr/pkg/include/atk-1.0 -I/usr/pkg/include/cairo -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/xorg/include -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/libpng12 -Dunix=1 -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include -I/usr/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -O2 -fno-strict-aliasing -O2 -I/usr/pkg/include -I/usr/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -pthread -Wall -Wundef ./src/regex/regcomp.c
mkdir .libs
 ./bk-deps cc -c -D__WXGTK__ -fPIC -DPIC -DGTK_NO_CHECK_CASTS -Ilib/wx/include/gtk2-ansi-release-2.6 -I./include -O2 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI -pthread -I/usr/pkgsrc/x11/wxGTK/work/.buildlink/include/gtk-2.0 -I/usr/pkgsrc/x11/wxGTK/work/.buildlink/lib/gtk-2.0/include -I/usr/pkgsrc/x11/wxGTK/work/.buildlink/include/atk-1.0 -I/usr/pkgsrc/x11/wxGTK/work/.buildlink/include/cairo -I/usr/pkgsrc/x11/wxGTK/work/.buildlink/include/pango-1.0 -I/usr/pkgsrc/x11/wxGTK/work/.buildlink/include -I/usr/pkgsrc/x11/wxGTK/work/.buildlink/include/freetype2 -I/usr/pkgsrc/x11/wxGTK/work/.x11-buildlink/include -I/usr/pkgsrc/x11/wxGTK/work/.buildlink/include/glib/glib-2.0 -I/usr/pkgsrc/x11/wxGTK/work/.buildlink/lib/glib-2.0/include -I/usr/pkgsrc/x11/wxGTK/work/.buildlink/include/libpng12 -Dunix=1 -DPNG_NO_ASSEMBLER_CODE -DGLX_GLXEXT_LEGACY -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -O2 -fno-strict-aliasing -O2 -pthread -Wall -Wundef ./src/regex/regcomp.c  -fPIC -DPIC -o
  .libs/wxregex_regcomp.o
In file included from src/regex/regcomp.c:2175:
src/regex/regc_lex.c: In function `prefixes':
src/regex/regc_lex.c:132: warning: subscript has type `char'
src/regex/regc_lex.c:135: warning: subscript has type `char'
src/regex/regc_lex.c: In function `next':
src/regex/regc_lex.c:530: warning: subscript has type `char'
src/regex/regc_lex.c:623: warning: subscript has type `char'
src/regex/regc_lex.c: In function `lexescape':
src/regex/regc_lex.c:675: warning: subscript has type `char'
src/regex/regc_lex.c:802: warning: subscript has type `char'
src/regex/regc_lex.c: In function `brenext':
src/regex/regc_lex.c:963: warning: subscript has type `char'
src/regex/regc_lex.c: In function `skip':
src/regex/regc_lex.c:987: warning: subscript has type `char'
In file included from src/regex/regcomp.c:2176:
src/regex/regc_color.c: In function `subblock':
src/regex/regc_color.c:522: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.netbsd.org/Misc/send-pr.html> for instructions.
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/x11/wxGTK/work/wxGTK-2.6.3
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/x11/wxGTK
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/x11/wxGTK
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/multimedia/vlc

>How-To-Repeat:
on a new world from netbsd-3-1 of Nov 2, 2006; building pkgsrc/x11/wxGTK fails.
GENERIC kernel and mk.conf
PYTHON_VERSION_DEFAULT=24
X11_TYPE=xorg
CLEANDEPENDS=yes
MKSENDMAIL=no
MKPOSTFIX=no
ACCEPTABLE_LICENSES+=lame-license
sorry if this is the wrong catagory, but I guess  internal compiler error is toolchain.

>Fix:
unknown