Bug#733152: yade: FTBFS on powerpcspe: virtual memory exhausted: Cannot allocate memory
Roland Stigge
stigge at antcom.de
Thu Dec 26 12:57:52 UTC 2013
Source: yade
Version: 1.05.0-2
Severity: wishlist
Tags: patch
User: debian-powerpcspe at breakpoint.cc
Usertags: powerpcspe
Hi,
yade FTBFS on powerpcspe like this:
...
[ 24%] Building CXX object CMakeFiles/yade.dir/pkg/common/Cylinder.cpp.o
/usr/bin/c++ -Dyade_EXPORTS -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -DYADE_PTR_CAST=static_pointer_cast -DYADE_CAST=static_cast -fPIC -DYADE_VTK -DYADE_OPENMP -fopenmp -DYADE_GTS -DQGLVIEWER_FOUND -DYADE_OPENGL -frounding-math -DYADE_CGAL -DFLOW_ENGINE -DYADE_GL2PS -fPIC -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/eigen3 -I/usr/include/vtk-5.8 -I/usr/include/glib-2.0 -I/usr/lib/powerpc-linux-gnuspe/glib-2.0/include -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/share/
qt4/mkspecs/default -I/usr/include/qt4 -I/usr/include/python2.7 -I/usr/include/powerpc-linux-gnuspe/python2.7 -I/«PKGBUILDDIR»/extra/floating_point_utilities_v3 -I/«PKGBUILDDIR»/debian/build -o CMakeFiles/yade.dir/pkg/common/Cylinder.cpp.o -c /«PKGBUILDDIR»/pkg/common/Cylinder.cpp
virtual memory exhausted: Cannot allocate memory
make[3]: *** [CMakeFiles/yade.dir/pkg/common/Cylinder.cpp.o] Error 1
make[2]: *** [CMakeFiles/yade.dir/all] Error 2
make[1]: *** [all] Error 2
make[3]: Leaving directory `/«PKGBUILDDIR»/debian/build'
make[2]: Leaving directory `/«PKGBUILDDIR»/debian/build'
make[1]: Leaving directory `/«PKGBUILDDIR»/debian/build'
dh_auto_build: make -j1 returned exit code 2
make: *** [build-arch] Error 2
...
This is due to a gcc issue that uses too much memory while compiling, worked
around by the following patch to tweak GC parameters.
Possibly suitable also on arches with similar issues.
Roland
-- System Information:
Debian Release: 7.0
APT prefers unreleased
APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: powerpcspe (ppc)
Kernel: Linux 3.9.0-dirty (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-powerpcspe.patch
Type: text/x-diff
Size: 695 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20131226/b308179b/attachment.patch>
More information about the debian-science-maintainers
mailing list