DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2009-01-31 01:23:17

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

g++ crashes a lot

I've been compiling some C++ applications lately and noticed that the compiler crashes quite often. Mostly it's segmentation faults.
Sometimes it is enough to just type "make" again. And sometimes I have to compile single files manually because they just won't compile with the original Makefile.

It seems to me g++ requires quite a lot of resources and that is maybe the reason for the crashes.
Did anyone experience similar behavior?
Is  there a newer version of the compiler available? (I've got g++ 4.1.3 from fonz).

Offline

 

#2 2009-01-31 02:10:48

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: g++ crashes a lot

yes, i've seen sporadic internal compiler errors, too. but since they are not repeatable (i.e. running make again works), i don't think it's a problem with the compiler. with vanilla kernels, i haven't seen a single compiler ice. i think, gcc triggers a kernel bug. if you don't want (or can't) to run vanilla kernels on your dns323,  qemu might help.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB