[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: configure 'ncurses' when it is set '-flto' in CFLAGS, CXXFLAGS and L
From: |
Thomas Dickey |
Subject: |
Re: configure 'ncurses' when it is set '-flto' in CFLAGS, CXXFLAGS and LDFLAGS |
Date: |
Sat, 6 Oct 2018 21:39:08 -0400 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Fri, Oct 05, 2018 at 05:08:03AM -0400, Thomas Dickey wrote:
> On Thu, Oct 04, 2018 at 11:24:36AM +0300, Denis Pronin wrote:
> > maybe I could suggest you a patch to the 'configure' script? or you will do
> > it yourself?
> > I would suggest that you should somehow use 'dlsym' in the first
> > conftest.c, correctly, with the right interface of dlsym, from dlfct.h.
> > This shall prevent the linker, in 'flto' mode, from throwing 'dlsym' away
> > for it not having been used
>
> yes ("somehow").
>
> I will summarize the details in the program's respective changelogs.
done with that:
https://invisible-island.net/autoconf/autoconf-252/ChangeLog
https://invisible-island.net/ncurses/NEWS.html#t20181006
I retested with clang, icc, gcc on Fedora-15, -20 (to verify that my
earlier workaround was not needed) as well as Debian 8, Debian/testing.
--
Thomas E. Dickey <address@hidden>
https://invisible-island.net
ftp://ftp.invisible-island.net
signature.asc
Description: Digital signature
- configure 'ncurses' when it is set '-flto' in CFLAGS, CXXFLAGS and LDFLAGS, Denis Pronin, 2018/10/03
- Re: configure 'ncurses' when it is set '-flto' in CFLAGS, CXXFLAGS and LDFLAGS, Thomas Dickey, 2018/10/03
- Re: configure 'ncurses' when it is set '-flto' in CFLAGS, CXXFLAGS and LDFLAGS, Denis Pronin, 2018/10/04
- Re: configure 'ncurses' when it is set '-flto' in CFLAGS, CXXFLAGS and LDFLAGS, Thomas Dickey, 2018/10/04
- Re: configure 'ncurses' when it is set '-flto' in CFLAGS, CXXFLAGS and LDFLAGS, Denis Pronin, 2018/10/04
- Re: configure 'ncurses' when it is set '-flto' in CFLAGS, CXXFLAGS and LDFLAGS, Denis Pronin, 2018/10/04
- Re: configure 'ncurses' when it is set '-flto' in CFLAGS, CXXFLAGS and LDFLAGS, Thomas Dickey, 2018/10/05
- Re: configure 'ncurses' when it is set '-flto' in CFLAGS, CXXFLAGS and LDFLAGS, Thomas Dickey, 2018/10/05
- Re: configure 'ncurses' when it is set '-flto' in CFLAGS, CXXFLAGS and LDFLAGS,
Thomas Dickey <=
- Re: configure 'ncurses' when it is set '-flto' in CFLAGS, CXXFLAGS and LDFLAGS, Thomas Dickey, 2018/10/07
- Re: configure 'ncurses' when it is set '-flto' in CFLAGS, CXXFLAGS and LDFLAGS, Denis Pronin, 2018/10/07
- Re: configure 'ncurses' when it is set '-flto' in CFLAGS, CXXFLAGS and LDFLAGS, Thomas Dickey, 2018/10/07