bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ncurses fails to build when using 'flto' flag in CFLAGS, CXXFLAGS, LDFLA


From: Denis Pronin
Subject: ncurses fails to build when using 'flto' flag in CFLAGS, CXXFLAGS, LDFLAGS
Date: Wed, 03 Oct 2018 23:37:15 +0300

I am so sorry, I forgot to complete the subject

03.10.2018, 23:36, "Denis Pronin" <address@hidden>:
> Hi,
>
> My name is Denis, I work on gentoo linux
> There is an issue waiting to be resolved
> We have failed with configuring ncurses because of flto flag set in CFLAGS, 
> CXXFLAGS, LDFLAGS since some conftests cheking linking with dl*() functions 
> work unexpectedly for the configure script when 'flto' is on. The gist is 
> that 'flto' makes a compiler and a linker displace some symbols like 'dlsym' 
> because they are not used actually; without 'flto' everything works because 
> no optimization is taken and every symbol used appears when linking, no one 
> is optimized out
> This is the gentoo issue https://bugs.gentoo.org/606142, take a look please
>
> Thank you



reply via email to

[Prev in Thread] Current Thread [Next in Thread]