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: Wed, 10 Jun 2015 19:26:40 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Firefox/38.0

Update of bug #45280 (project octave):

                Category:    Octave Forge Package => Configuration and Build
System
                  Status:               Need Info => Confirmed              
                 Summary: interval wont install in 4.0.0 => mkoctfile needs to
add XTRA_*FLAGS to link stage command

    _______________________________________________________

Follow-up Comment #11:

Ok, thanks for taking the time to do that both of you.

This actually looks like a bug in mkoctfile unfortunately.

When mkoctfile builds an oct-file it compiles to a .o file first, and then
links the .o to a shared object .oct file. The link stage does not put
XTRA_CXXFLAGS on the command line, we need to add this. Automake/libtool do
properly add all CXXFLAGS variables to link commands, so oct-files built
within Octave's build system are done correctly.

I think this bug might also affect pthreads, e.g. if some oct-file uses some
obscure pthreads function that isn't known to Octave it might complain about
undefined symbols as well.

Yikes. Thanks for finding this.

    _______________________________________________________

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]