| Summary: | emerge of vegastrike crashes on ppc | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Roland Bramm <roland> |
| Component: | New packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | PPC | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
the emerge of vegastrike crashed reagardles of the CFLAGS (tried empty and "-O2 -mcpu=7400 -maltivec -fno-strict-aliasing -pipe") with gcc version 3.4.4 (Gentoo 3.4.4, ssp-3.4.4-1.0, pie-8.7.8) error happens during access to python, a rebuild of python (with and without CFLAGS) didnt help Reproducible: Always Steps to Reproduce: 1.emerge vegastrike 2. 3. Actual Results: if powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src -I../../../src/boost -DHAVE_SDL=1 -DSDL_WINDOWING =1 -DHAVE_SDL_MIXER=1 -DHAVE_AL=1 -I/usr/include/python2.4 -DHAVE_PYTHON=1 -DUSE_BOOST_128=1 -O2 -mcpu=7400 -maltivec -fno- strict-aliasing -pipe -DGLX_GLXEXT_LEGACY -pipe -O2 -fexpensive-optimizations -fomit-frame-pointer -Wall -ffast-math -I/usr/include/S DL -D_REENTRANT -pipe -MT fireall.o -MD -MP -MF ".deps/fireall.Tpo" -c -o fireall.o fireall.cpp; \ then mv -f ".deps/fireall.Tpo" ".deps/fireall.Po"; else rm -f ".deps/fireall.Tpo"; exit 1; fi fire.cpp: In member function `void TurretBin::AssignTargets(const TargetAndRange&, const Matrix&)': fire.cpp:206: warning: array subscript has type `char' fire.cpp:207: warning: array subscript has type `char' fire.cpp:208: warning: array subscript has type `char' fire.cpp:210: warning: array subscript has type `char' fire.cpp:211: warning: array subscript has type `char' fire.cpp: In member function `void Orders::FireAt::PossiblySwitchTarget(bool)': fire.cpp:403: warning: unused variable 'targetswitchprobability' if powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src -I../../../src/boost -DHAVE_SDL=1 -DSDL_WINDOWING =1 -DHAVE_SDL_MIXER=1 -DHAVE_AL=1 -I/usr/include/python2.4 -DHAVE_PYTHON=1 -DUSE_BOOST_128=1 -O2 -mcpu=7400 -maltivec -fno- strict-aliasing -pipe -DGLX_GLXEXT_LEGACY -pipe -O2 -fexpensive-optimizations -fomit-frame-pointer -Wall -ffast-math -I/usr/include/S DL -D_REENTRANT -pipe -MT hard_coded_scripts.o -MD -MP -MF ".deps/hard_coded_scripts.Tpo" -c -o hard_coded_scripts.o hard_coded_scri pts.cpp; \ then mv -f ".deps/hard_coded_scripts.Tpo" ".deps/hard_coded_scripts.Po"; else rm -f ".deps/hard_coded_scripts.Tpo"; exit 1; fi In file included from /usr/include/python2.4/Python.h:8, from ../../../src/python/python_class.h:3, from hard_coded_scripts.cpp:9: /usr/include/python2.4/pyconfig.h:835:1: warning: "_POSIX_C_SOURCE" redefined In file included from /usr/include/math.h:27, from ../../../src/gfx/vec.h:4, from order.h:32, from script.h:3, from hard_coded_scripts.cpp:1: /usr/include/features.h:150:1: warning: this is the location of the previous definition In file included from ../../../src/boost/boost/config.hpp:35, from ../../../src/boost/boost/python/detail/config.hpp:15, from ../../../src/boost/boost/python/objects.hpp:13, from ../../../src/python/python_class.h:19, from hard_coded_scripts.cpp:9: ../../../src/boost/boost/config/compiler/gcc.hpp:57:7: warning: #warning "Unknown compiler version - please run the configure tests a nd report the results" In file included from ../../../src/boost/boost/python/reference.hpp:23, from ../../../src/boost/boost/python/objects.hpp:14, from ../../../src/python/python_class.h:19, from hard_coded_scripts.cpp:9: ../../../src/boost/boost/python/conversions.hpp: In function `EnumType boost::python::from_python(PyObject*, boost::python::type<X>)' : ../../../src/boost/boost/python/conversions.hpp:47: error: there are no arguments to `from_python' that depend on a template paramete r, so a declaration of `from_python' must be available ../../../src/boost/boost/python/conversions.hpp:47: error: (if you use `-fpermissive', G++ will accept your code, but allowing the us e of an undeclared name is deprecated) ../../../src/boost/boost/python/conversions.hpp: In function `EnumType boost::python::from_python(PyObject*, boost::python::type<cons t EnumType&>)': ../../../src/boost/boost/python/conversions.hpp:53: error: there are no arguments to `from_python' that depend on a template paramete r, so a declaration of `from_python' must be available ../../../src/boost/boost/python/conversions.hpp: In function `PyObject* boost::python::to_python(EnumType)': ../../../src/boost/boost/python/conversions.hpp:58: error: there are no arguments to `to_python' that depend on a template parameter, so a declaration of `to_python' must be available In file included from ../../../src/boost/boost/python/detail/types.hpp:27, from ../../../src/boost/boost/python/classes.hpp:13, from ../../../src/boost/boost/python/detail/extension_class.hpp:21, from ../../../src/boost/boost/python/class_builder.hpp:7, from ../../../src/python/python_class.h:20, from hard_coded_scripts.cpp:9: ../../../src/boost/boost/python/detail/base_object.hpp: In destructor `boost::python::detail::base_object<PythonType>::~base_object() ': ../../../src/boost/boost/python/detail/base_object.hpp:55: error: `ob_type' undeclared (first use this function) ../../../src/boost/boost/python/detail/base_object.hpp:55: error: (Each undeclared identifier is reported only once for each function it appears in.) In file included from ../../../src/boost/boost/python/classes.hpp:13, from ../../../src/boost/boost/python/detail/extension_class.hpp:21, from ../../../src/boost/boost/python/class_builder.hpp:7, from ../../../src/python/python_class.h:20, from hard_coded_scripts.cpp:9: ../../../src/boost/boost/python/detail/types.hpp: In constructor `boost::python::detail::callable<Base>::callable(PyTypeObject*, cons t char*)': ../../../src/boost/boost/python/detail/types.hpp:242: error: `call' undeclared (first use this function) ../../../src/boost/boost/python/detail/types.hpp: In constructor `boost::python::detail::callable<Base>::callable(PyTypeObject*)': ../../../src/boost/boost/python/detail/types.hpp:249: error: `call' undeclared (first use this function) ../../../src/boost/boost/python/detail/types.hpp: In constructor `boost::python::detail::getattrable<Base>::getattrable(PyTypeObject* , const char*)': ../../../src/boost/boost/python/detail/types.hpp:263: error: `getattr' undeclared (first use this function) ../../../src/boost/boost/python/detail/types.hpp: In constructor `boost::python::detail::getattrable<Base>::getattrable(PyTypeObject* and so on Portage 2.0.51.22-r1 (default-linux/ppc/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.12-gentoo ppc) ================================================================= System uname: 2.6.12-gentoo ppc 7455, altivec supported Gentoo Base System version 1.6.12 ccache version 2.4 [disabled] dev-lang/python: 2.3.4-r1, 2.4.1-r1 sys-apps/sandbox: 1.2.9 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="ppc ~ppc" AUTOCLEAN="yes" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O2 -mcpu=7400 -maltivec -fno-strict-aliasing -pipe" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -mcpu=7400 -maltivec -fno-strict-aliasing -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg ccashe digest distlocks sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="ppc X a52 aac alsa altivec apache2 audiofile bash-completion berkdb bitmap-fonts bluetooth bonobo bzlib cdparanoia cdr crypt cups curl directfb doc dvd dvdr dvdread eds emboss encode esd exif f77 fam fbcon ffmpeg flac fortran freetype gd gdbm gif glut gnome gnutls gpm gstreamer gtk gtk2 gtkhtml guile icq imagemagick imap imlib ipv6 java javascript jpeg junit lcms ldap libwww mad maildir motif mozilla mp3 mpeg mysql nas ncurses nls offensive ogg oggvorbis opengl pam pda pdflib perl plotutils png portaudio python qt quicktime readline ruby scanner sdl slang socks5 spell ssl svg tcltk tcpd tetex threads tidy tiff truetype truetype-fonts type1-fonts unicode usb vcd videos vorbis xine xinerama xml xml2 xmms xosd xpm xprint xsl xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY