← Back to team overview

yade-users team mailing list archive

Re: Problem with g++ version ????


Hi, Lionel, could you try running

scons pretty=0 jobs=1

and paste full output for the critical file here? It is a compiler bug, 
though what triggers it is yet to be investigated.

You can also try installing g++-4.2 package and compile with scons 
CXX=g++-4.2 instead, to see if it makes any difference.

Regards, Vaclav
> Hi,
> When I try to install yade-0.11.0 I have the following message:
> *(end of normal compilation)*
> ? 
> /home/3S-LAB/lfavier/PackYade/YADE/lib/yade-0.11.0/pkg-dem/libGeometricalModelForceColorizer.so 
> C 
> pkg/dem/Engine/EngineUnit/InteractingBox2InteractingSphere4SpheresContactGeometry.cpp 
> L 
> /home/3S-LAB/lfavier/PackYade/build-0.11.0/pkg/dem/Engine/EngineUnit/InteractingBox2InteractingSphere4SpheresContactGeometry.os 
> ? 
> /home/3S-LAB/lfavier/PackYade/YADE/lib/yade-0.11.0/pkg-dem/libInteractingBox2InteractingSphere4SpheresContactGeometry.so 
> C pkg/dem/Engine/EngineUnit/InteractingMyTetrahedron2AABB.cpp
> *(problems starting)*
> {standard input}: Assembler messages:
> {standard input}:229138: Warning: partial line at end of file ignored
> g++: Internal error: Killed (program cc1plus)
> Please submit a full bug report.
> See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> For Debian GNU/Linux specific bug reporting instructions, see
> <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.
> scons: *** 
> [/home/3S-LAB/lfavier/PackYade/build-0.11.0/pkg/dem/PreProcessor/Funnel.os] 
> Error 1
> scons: building terminated because of errors.
> This message occurs when I'm lucky, because when I'm not, there is not 
> even a message error. The computer crashes so I have to reboot it.
> Before trying the installation, I recently made an update and upgrade on 
> Linux (debian) and I think there is now g++-4.1.1-21 instead of g++-4.0. 
> Everybody in the laboratory who works with YADE has g++-4.0, and for 
> them it works.
> Do you know where does it come from ? It seems to be because of g++ 
> version ...
> Thanks, Lionel

Yade-users mailing list