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

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

[Octave-bug-tracker] [bug #45280] mkoctfile needs to add XTRA_*FLAGS to


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #45280] mkoctfile needs to add XTRA_*FLAGS to link stage command
Date: Thu, 11 Jun 2015 14:34:10 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.0.1

Follow-up Comment #14, bug #45280 (project octave):

For me, on Debian, XTRA_CXXFLAGS="-pthread -fopenmp", and I can see that
-fopenmp is *not* on the link command line for e.g. mpfr_matrix_mul_d.oct, but
it successfully builds anyway.

So a viable workaround for now is


>> setenv ("DL_LDFLAGS", "-shared -fopenmp");
>> pkg install -forge interval


to force the linker to correctly link with OpenMP. But this should be fixed in
mkoctfile.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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