Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cc1plus: out of memory allocating 306100200 bytes etc
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Dutch
View previous topic :: View next topic  
Author Message
boudewijn
Apprentice
Apprentice


Joined: 11 Jan 2005
Posts: 257
Location: Netherlands

PostPosted: Mon Feb 28, 2005 11:06 pm    Post subject: cc1plus: out of memory allocating 306100200 bytes etc Reply with quote

Hoi

kreeg net bij emergen van wat apps deze error.
waar kan ik die boundary instellen?


mijn (erg agressieve, was benieud hoe ver je kunt gaan :+ ) make.conf:


CFLAGS="-O3 -fforce-addr -foptimize-sibling-calls -finline-functions -finline-limit=60000 -fmerge-constants -ffloat-store -ffast-math -fomit-frame-pointer -fstrength-reduce -frerun-loop-opt-fno-gcse -fexpensive-optimizations -fprefetch-loop-arrays"
_________________
Mijn Nederlandstalige Gentoo forum:
http://www.gentoo-forum.nl
Back to top
View user's profile Send private message
Braempje
l33t
l33t


Joined: 31 Jan 2003
Posts: 748

PostPosted: Tue Mar 01, 2005 8:24 am    Post subject: Reply with quote

Je kon dit antwoord al verwachten: die vlaggen zijn gewoon te aggressief. Het is onmogelijk om te weten of je gcc niet corrupt is...
_________________
Dictionary of the Flemish Sign Language - Woordenboek Vlaamse Gebarentaal
Back to top
View user's profile Send private message
boudewijn
Apprentice
Apprentice


Joined: 11 Jan 2005
Posts: 257
Location: Netherlands

PostPosted: Tue Mar 01, 2005 11:26 am    Post subject: Reply with quote

ja klopt, maar hij gaat over een bepaale boundary ivm mem allocation heen....
is die boundary dan in te stellen ofzo?
_________________
Mijn Nederlandstalige Gentoo forum:
http://www.gentoo-forum.nl
Back to top
View user's profile Send private message
Rainmaker
Veteran
Veteran


Joined: 12 Feb 2004
Posts: 1650
Location: /home/NL/ehv/

PostPosted: Tue Mar 01, 2005 4:16 pm    Post subject: Reply with quote

indirect wel:

Code:
       -finline-limit=n
      By default, gcc limits the size of functions that can be inlined.
      This flag allows the control of this limit for functions that are
      explicitly marked as inline (i.e., marked with the inline keyword
      or defined within the class definition in c++).  n is the size of
      functions that can be inlined in number of pseudo instructions (not
      counting parameter handling).  The default value of n is 600.
      Increasing this value can result in more inlined code at the cost
      of compilation time and memory consumption.   Decreasing usually
      makes the compilation faster and less code will be inlined (which
      presumably means slower programs).  This option is particularly
      useful for programs that use inlining heavily such as those based
      on recursive templates with C++.

      Inlining is actually controlled by a number of parameters, which
      may be specified individually by using --param name=value.  The
      -finline-limit=n option sets some of these parameters as follows:

       @item max-inline-insns
        is set to I<n>.
       @item max-inline-insns-single
        is set to I<n>/2.
       @item max-inline-insns-single-auto
        is set to I<n>/2.
       @item min-inline-insns
        is set to 130 or I<n>/4, whichever is smaller.
       @item max-inline-insns-rtl
        is set to I<n>.

      Using -finline-limit=600 thus results in the default settings for
      these parameters.  See below for a documentation of the individual
      parameters controlling inlining.

      Note: pseudo instruction represents, in this particular context, an
      abstract measurement of function's size.  In no way, it represents
      a count of assembly instructions and as such its exact meaning
      might change from one release to an another.


Het hangt af van het programma zelf, maar ik kan me voorstellen dat er een aantal zijn die hier niet tegenkunnen. Misschien es proberen zonder dat finline ding. Als dat werkt, even reporten op bugs.gentoo.org zodat de ebuild aangepast kan worden.
_________________
If you can't dazzle them with brilliance, baffle them with bullshit.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Dutch All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum