[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #54112] mkoctfile confused by -fFOO compiler f
From: |
Sébastien Villemot |
Subject: |
[Octave-bug-tracker] [bug #54112] mkoctfile confused by -fFOO compiler flag |
Date: |
Wed, 13 Jun 2018 09:44:37 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
URL:
<http://savannah.gnu.org/bugs/?54112>
Summary: mkoctfile confused by -fFOO compiler flag
Project: GNU Octave
Submitted by: svillemot
Submitted on: Wed 13 Jun 2018 01:44:36 PM UTC
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Regression
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.4.0
Operating System: GNU/Linux
_______________________________________________________
Details:
With Octave 4.4, when trying to compile to compile two C++ source files into a
single .oct file, and adding a compilation flag starting with "-f", I get an
error:
$ mkoctfile -v -ffloat-
store conndef.cc connectivity.cc
g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
-I/usr/include/octave-4.4.0/octave/.. -I/usr/include/octave-4.4.0/octave
-pthread -fopenmp -g -O2
-fdebug-prefix-map=/build/octave-b4reVK/octave-4.4.0=.
-fstack-protector-strong -Wformat -Werror=format-security -ffloat-store
conndef.cc connectivity.cc -oconnectivity.o
g++: fatal error: cannot specify -o with -c, -S or -E with multiple files
compilation terminated.
The problem does not appear with a compilation flag starting with "-W".
Also, this is a regression compared to Octave 4.2.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?54112>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #54112] mkoctfile confused by -fFOO compiler flag,
Sébastien Villemot <=