[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #55956] build overlinks with SUNDIALS librarie
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #55956] build overlinks with SUNDIALS libraries even when HAVE_SUNDIALS is unset |
Date: |
Tue, 19 Mar 2019 14:34:50 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Safari/537.36 |
URL:
<https://savannah.gnu.org/bugs/?55956>
Summary: build overlinks with SUNDIALS libraries even when
HAVE_SUNDIALS is unset
Project: GNU Octave
Submitted by: mtmiller
Submitted on: Tue 19 Mar 2019 11:34:49 AM PDT
Category: Configuration and Build System
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Other
Status: In Progress
Assigned to: mtmiller
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 5.1.0
Operating System: GNU/Linux
_______________________________________________________
Details:
When building Octave 5.1.0 on a system with SUNDIALS version 3 or 4 installed,
configure correctly detects that the library is not compatible and correctly
does not set HAVE_SUNDIALS, so all features in '__ode15__.oct' are disabled.
But the oct file is still linked to libsundials_ida and
libsundials_nvecserial, even though it uses no functions from those libraries
(overlinking).
I have a patch to configure that will clear all of the SUNDIALS associated
build variables if and only if HAVE_SUNDIALS is not set, suitable for stable,
and already tested on one system with SUNDIALS 3.1.2 and one with SUNDIALS
2.7.0. There are no regressions on the latter that I can see, and the oct file
is now not linked with the libraries on the former, which is the desired
outcome.
Will push to stable once I have a bug number.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55956>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #55956] build overlinks with SUNDIALS libraries even when HAVE_SUNDIALS is unset,
Mike Miller <=
- [Octave-bug-tracker] [bug #55956] build overlinks with SUNDIALS libraries even when HAVE_SUNDIALS is unset, Mike Miller, 2019/03/19
- [Octave-bug-tracker] [bug #55956] build overlinks with SUNDIALS libraries even when HAVE_SUNDIALS is unset, John W. Eaton, 2019/03/19
- [Octave-bug-tracker] [bug #55956] build overlinks with SUNDIALS libraries even when HAVE_SUNDIALS is unset, Mike Miller, 2019/03/20
- [Octave-bug-tracker] [bug #55956] build overlinks with SUNDIALS libraries even when HAVE_SUNDIALS is unset, Michael Godfrey, 2019/03/20
- [Octave-bug-tracker] [bug #55956] build overlinks with SUNDIALS libraries even when HAVE_SUNDIALS is unset, Michael Godfrey, 2019/03/20
- [Octave-bug-tracker] [bug #55956] build overlinks with SUNDIALS libraries even when HAVE_SUNDIALS is unset, Carlo de Falco, 2019/03/20
- [Octave-bug-tracker] [bug #55956] build overlinks with SUNDIALS libraries even when HAVE_SUNDIALS is unset, Carlo de Falco, 2019/03/20
- [Octave-bug-tracker] [bug #55956] build overlinks with SUNDIALS libraries even when HAVE_SUNDIALS is unset, Michael Godfrey, 2019/03/20
- [Octave-bug-tracker] [bug #55956] build overlinks with SUNDIALS libraries even when HAVE_SUNDIALS is unset, Rik, 2019/03/25
- [Octave-bug-tracker] [bug #55956] build overlinks with SUNDIALS libraries even when HAVE_SUNDIALS is unset, Rik, 2019/03/27