octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #31047] DLD-FUNCTIONS/fltk_backend.cc:467: err


From: Rik
Subject: [Octave-bug-tracker] [bug #31047] DLD-FUNCTIONS/fltk_backend.cc:467: error: unable to find a register to spill in class ‘MMX_REGS’
Date: Sun, 07 Nov 2010 23:42:38 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027 Ubuntu/9.10 (karmic) Firefox/3.6.12

Follow-up Comment #4, bug #31047 (project octave):

Comparison with my compilation on a Linux machine reveals a few things to try
changing in your CFLAGS/CXXFLAGS variable.

"-arch i386"

This option doesn't exist on non-Darwin platforms like mine.  However, if it
accepts the same arguments as -march, then I would use '-arch=native' and let
the compiler figure out what MMX instructions it can use.  

"-O"

You are using the equivalent of "-O1".  GCC is warning that it can't find
enough registers to use.  Sometimes by using more optimization the compiler
can find a way to share registers more efficiently and therefore free up some
for use.  I would try compiling with "-O2".

"-fforce-addr" 

I don't have this turned on.  It might be worth removing this to see if it is
causing the issue.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31047>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]