[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #42839] gnulib fpieee module causes build fail
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #42839] gnulib fpieee module causes build failure on Alpha and SH systems |
Date: |
Thu, 24 Jul 2014 23:54:36 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36 |
URL:
<http://savannah.gnu.org/bugs/?42839>
Summary: gnulib fpieee module causes build failure on Alpha
and SH systems
Project: GNU Octave
Submitted by: mtmiller
Submitted on: Thu 24 Jul 2014 07:54:35 PM EDT
Category: Configuration and Build System
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Build Failure
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 3.8.1
Operating System: GNU/Linux
_______________________________________________________
Details:
The fix for bug #42583 added a dependency on the gnulib "fpieee" module. This
module causes the Octave build to fail on the Alpha and SH architectures.
Originally reported as Debian bug 746924 [1].
The problem appears to be that the fpieee module adds a "-mieee" option to the
compiler, which is needed to support strict IEEE floating point when compiling
with GCC on these architectures. But the option is added to the CPPFLAGS
variable, which is really supposed to be for preprocessor options only,
typically -I and -D. The CPPFLAGS variable is given to the Qt moc tool, and
moc errors because it doesn't know what to do with the "-mieee" option.
One option would be to work with gnulib to find a better way to handle this
required compiler flag so that it doesn't show up in CPPFLAGS, where it really
shouldn't be.
Another option would be to not pass CPPFLAGS to moc, or to filter the contents
so it only contains the ones actually needed for moc to do its job.
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746924
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?42839>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #42839] gnulib fpieee module causes build failure on Alpha and SH systems,
Mike Miller <=