bugGNU Octave - Bugs: bug #61576, [octave forge] (ltfat) Set LDFLAGS


bug #61576: [octave forge] (ltfat) Set LDFLAGS

Submitter:  Markus Mützel <mmuetzel>
Submitted:  Sun 28 Nov 2021 07:25:04 PM UTC
Category:  Octave Forge Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * dev Operating System:  * Any
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:


Sun 28 Nov 2021 07:26:45 PM UTC, comment #1: 

A possible patch is attached.

(file #52364)

Markus Mützel <mmuetzel>
Project Member
Sun 28 Nov 2021 07:25:04 PM UTC, original submission:  

Support for settings LFLAGS with mkoctfile will be removed in a future version of Octave. It was a misnomer and should have been called LDFLAGS from the start.

Unfortunately, LDFLAGS are added too early by mkoctfile in the command line arguments for the linker. That means LDFLAGS don't work correctly in some packages for Octave 6 and earlier. That will hopefully be fixed in time for Octave 7. See bug #61571.

For the time being, it would probably be best if packages set both LFLAGS and LDFLAGS to be able to compile with older and newer versions of Octave. Packages should remove setting LFLAGS, once they no longer support Octave 6 or earlier.

I'll attach a patch that does that for the package ltfat as soon as I'll have a bug number.

Markus Mützel <mmuetzel>
Project Member


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #52364:  of-ltfat-2-LDFLAGS.patch added by mmuetzel (1KiB - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by mmuetzel (Submitted the item)
  • -email is unavailable- added by mmuetzel (Zdenek Prusa (maintainer of ltfat))

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only project members can vote.





    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-11-28 mmuetzel Attached File- Added of-ltfat-2-LDFLAGS.patch, #52364
    2021-11-28 mmuetzel Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.9