pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: i386-current ICE/Bus error building wxGTK30?
On Sun, 19 Jan 2020 at 07:19:10 -0600, John D. Baker wrote:
> Building wxGTK30 (pkgsrc-2019Q4) on i386-current (9.99.38) fails with
> an internal compiler error/Bus error:
>
> [...]
> /d0/build/pkgsrc/x11/wxGTK30/work/wxWidgets-3.0.4/bk-make-pch
> ./.pch/wxprec_xmldll/wx/wxprec.h.gch wx/wxprec.h c++
> -I./.pch/wxprec_xmldll -D__WXGTK__ -DWXBUILDING -
> I./src/regex -DwxUSE_GUI=0 -DWXUSINGDLL -DWXMAKINGDLL_XML -fPIC
> -DPIC -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy
> -Woverloaded-virtual -D_FILE_OFFSET_BITS=64
> -I/d0/build/pkgsrc/x11/wxGTK30/work/wxWidgets-
> 3.0.4/lib/wx/include/gtk3-unicode-3.0 -I./include
> -I/usr/pkg/include/gtk-3.0 -I/usr/pkg/include/pango-1.0
> -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-
> 2.0/include -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/fribidi
> -I/usr/X11R7/include -I/usr/X11R7/include/freetype2
> -I/usr/pkg/include/cairo -I/usr/X11R7/include/pixman-1
> -I/usr/pkg/include/libpng16 -I/usr/pkg/include/gdk-pixbuf-2.0
> -D_REENTRANT -I/usr/pkg/include/gio-unix-2.0 -D_REENTRANT
> -I/usr/pkg/include/atk-1.0 -I/usr/pkg/include/at-spi2-atk/2.0
> -I/usr/pkg/include/at-spi-2.0 -I/usr/pkg/include/dbus-1.0
> -I/usr/pkg/lib/dbus-1.0/include -D_REENTRANT -pthread
> -I/usr/pkg/include/gstreamer-1.0 -I/usr/pkg/include/glib-2.0
> -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -pthread
> -I/usr/pkg/include/orc-0.4 -D_NETBSD_SOURCE -D_LIBC -I/usr/pkg/include
> -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-
> unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/X11R7/include
> -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm
> -DWX_PRECOMP -pthread -I/usr/pkg/include/gtk-3.0/unix-print
> -I/usr/pkg/include/gtk-3.0 -I/usr/pkg/include/pango-1.0
> -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-
> 2.0/include -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/fribidi
> -I/usr/X11R7/include -I/usr/X11R7/include/freetype2
> -I/usr/pkg/include/cairo -I/usr/X11R7/include/pixman-1
> -I/usr/pkg/include/libpng16 -I/usr/pkg/include/gdk-pixbuf-2.0
> -D_REENTRANT -I/usr/pkg/include/gio-unix-2.0 -D_REENTRANT
> -I/usr/pkg/include/atk-1.0 -I/usr/pkg/include/at-spi2-atk/2.0
> -I/usr/pkg/include/at-spi-2.0 -I/usr/pkg/include/dbus-1.0
> -I/usr/pkg/lib/dbus-1.0/include -D_REENTRANT -D_REENTRANT -pthread -O2
> -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include
> -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0
> -I/usr/pkg/lib/glib-2.0/include -I/usr/X11R7/include
> -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm
> g++: internal compiler error: Bus error signal terminated program
> cc1plus
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <http://www.NetBSD.org/support/send-pr.html> for instructions.
> *** [./.pch/wxprec_xmldll/wx/wxprec.h.gch] Error code 4
>
> make: stopped in /d0/build/pkgsrc/x11/wxGTK30/work/wxWidgets-3.0.4
> 1 error
>
> make: stopped in /d0/build/pkgsrc/x11/wxGTK30/work/wxWidgets-3.0.4
> *** Error code 2
>
> Stop.
> make[1]: stopped in /x/pkgsrc/x11/wxGTK30
> *** Error code 1
>
> Stop.
> make: stopped in /x/pkgsrc/x11/wxGTK30
>
>
> The substring "pch" in the above sounds like "pre-compiled headers"
> which
> seems to be a persistent problem with GCC on i386 although usually
> only
> an issue with "boost-libs".
>
> There was no issue with the same machine building wxGTK30 under
> 9.0_RC1.
>
> I haven't seen any bulk builds using i386-current for comparison.
I can reproduce this example with a similar state of -current on i386.
I've also seen other, probably related examples with other packages. In
one case (with libfilezilla, IIRC), it also happened with a much older
state of -current that still had GCC 7.4, so the general issue may
predate the current compiler version. The commonality I've seen is that
it's always C++ code that triggers it.
Regards,
Dave
Home |
Main Index |
Thread Index |
Old Index