pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/35437: games/wesnoth generates internal compiler error (NetBSD 3.0)
>Number: 35437
>Category: pkg
>Synopsis: games/wesnoth generates internal compiler error (NetBSD 3.0)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jan 17 11:50:00 +0000 2007
>Originator: Robert Elz
>Release: NetBSD 3.99.15 (-- pkgsrc current as of a few hours ago)
>Organization:
Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 3.99.15 NetBSD 3.99.15
(GENERIC-1.696-20060125) #8: Wed Jan 25 04:59:39 ICT 2006
kre%jade.coe.psu.ac.th@localhost:/usr/obj/current/kernels/JADE_ASUS i386
Architecture: i386
Machine: i386
>Description:
After the recent upgrade, games/wesnoth no longer builds on
a (fairly pure) NetBSD 3.0 release system (I'm actually
using something newer, but with pkg_comp, libkver, and
netBSD 3.0 binaries (including gcc naturally) and sources
all in the pkg_comp sandbox.
Compiling wesnoth-1.2.1/src/unit_types.cpp generates an
internal compiler error
>How-To-Repeat:
Build games/wesnoth (today's version, the previous one built OK
in the same environment)) on a NetBSD 3.0-RELEASE system.
Using pkg_comp with libkver and the 3.0 sets installed makes
this pretty easy for anyone to repeat.
Expect to see ...
depbase=`echo unit_types.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; c++ -DHAVE_CONFI
G_H -I. -I.. -I/usr/X11R6/include -I/usr/pkg/include -I/usr/pkg/include/SDL -
I/usr/include -I/usr/pkg/include/freetype2 -DGLX_GLXEXT_LEGACY -I/usr/pkg/includ
e/freetype2 -I/usr/pkg/include -I ./sdl_ttf -I../intl -I../intl -I/usr/pkg/incl
ude/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -DWESNOTH_PATH=\"/usr/pkg/s
hare/wesnoth\" -DLOCALEDIR=\"translations\" -DHAS_RELATIVE_LOCALEDIR=1 -DFIFO
DIR=\"/usr/pkg/var/run/wesnothd\" -O2 -W -Wall -ansi -O2 -I/usr/pkg/include -I/
usr/pkg/include/SDL -I/usr/include -I/usr/pkg/include/freetype2 -DGLX_GLXEXT_LEG
ACY -D_X11 -I/usr/X11R6/include -MT unit_types.o -MD -MP -MF $depbase.Tpo -c
-o unit_types.o unit_types.cpp && mv -f $depbase.Tpo $depbase.Po
unit_types.cpp: In constructor `unit_type::unit_type(const config&, const
movement_type_map&, const race_map&, const std::vector<config*,
std::allocator<config*> >&)':
unit_types.cpp:869: 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.
[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/pkg_comp/obj/pkgsrc/games/wesnoth/default/.gcc/bin/g++ -DHAVE_CONFIG_H -I. -I..
-I/pkg_comp/obj/pkgsrc/games/wesnoth/default/.x11-buildlink/include -I/pkg_comp
/obj/pkgsrc/games/wesnoth/default/.buildlink/include -I/pkg_comp/obj/pkgsrc/game
s/wesnoth/default/.buildlink/include/SDL -I/pkg_comp/obj/pkgsrc/games/wesnoth/de
fault/.buildlink/include/freetype2 -DGLX_GLXEXT_LEGACY -I./sdl_ttf -I../intl -D_
GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -DWESNOTH_PATH=\"/usr/pkg/share/wesnoth
\" -DLOCALEDIR=\"translations\" -DHAS_RELATIVE_LOCALEDIR=1 -DFIFODIR=\"/usr/pkg/
var/run/wesnothd\" -O2 -W -Wall -ansi -O2 -D_X11 -MT unit_types.o -MD -MP -MF .d
eps/unit_types.Tpo -c -o unit_types.o unit_types.cpp -L/pkg_comp/obj/pkgsrc/game
s/wesnoth/default/.buildlink/lib
*** Error code 1
Stop.
make: stopped in /pkg_comp/obj/pkgsrc/games/wesnoth/default/wesnoth-1.2.1/src
*** Error code 1
>Fix:
No idea, but as pkgsrc is supposed to support NetBSD 3.0,
I guess a patch for wesnoth to avoid whatever construct is bugging
gcc is needed, even though there's clearly also some gcc bug
exposed here (I don't have anything new enough running at the
minute to know whether the gcc bug has been fixed in later versions)
Home |
Main Index |
Thread Index |
Old Index