bugGNU Octave - Bugs: bug #64725, Inconsistent behavior of...


bug #64725: Inconsistent behavior of mkoctifile when a compiler -f* option is used

Submitter:  Rafael Laboissière <rlaboiss>
Submitted:  Thu 28 Sep 2023 02:11:29 PM UTC
Category:  Other Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 8.3.0 Operating System:  * Any
Fixed Release:  None Planned Release:  8.4.0
* Mandatory Fields

Add a New Comment Rich Markup

Sun 01 Oct 2023 10:03:32 AM UTC, comment #4: 

Thank you for checking and reporting back.

Closing as fixed.

Markus Mützel <mmuetzel>
Group administrator
Sat 30 Sep 2023 07:13:32 PM UTC, comment #3: 

Thanks for the fix, Markus.

I patched the Debian package for Octave with your commit f760ab9 and released version 8.3.0-3 of the package. This seems to fix the building problem reported on the octave-image package (Bug#1052973).

Rafael Laboissière <rlaboiss>
Fri 29 Sep 2023 10:14:02 AM UTC, comment #2: 

Thanks for the report.

It's not easy to get that right in general unless we know how to tread all possible possible options for all possible compilers.

I hope the following change does "The Right Thing"™ in most of the cases now:

I pushed it to the stable branch. So, it should be part of 8.4.0 if there is another release before Octave 9.

Marking as ready for test.

Markus Mützel <mmuetzel>
Group administrator
Thu 28 Sep 2023 02:19:12 PM UTC, comment #1: 

This seems to be related to bug #64590.

Rafael Laboissière <rlaboiss>
Thu 28 Sep 2023 02:11:29 PM UTC, original submission:  

If mkoctifile is called like this:

mkoctfile a.cc b.o

then file a.oct is created, as expected.

However, when adding a compiler option like this:

mkoctfile -fcf-protection a.cc b.o

file b.oct is created, unexpectedly.

Rafael Laboissière <rlaboiss>


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

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by rlaboiss (Submitted the item)

    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 group members can vote.


    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-10-01 mmuetzel StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2023-09-29 mmuetzel StatusNone Ready For Test
        Operating SystemGNU/Linux Any
        Planned ReleaseNone 8.4.0

    Back to the top

    Powered by Savane 3.13-12ab.
    Corresponding source code