This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/71286] 6.1.0: compiling djgpp programs with LTO emits "visibility attribute not supported in this configuration" warnings
- From: "andris.pavenis at iki dot fi" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 04 Jun 2016 18:43:36 +0000
- Subject: [Bug target/71286] 6.1.0: compiling djgpp programs with LTO emits "visibility attribute not supported in this configuration" warnings
- Auto-submitted: auto-generated
- References: <bug-71286-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71286
Andris Pavenis <andris.pavenis at iki dot fi> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andris.pavenis at iki dot fi
--- Comment #3 from Andris Pavenis <andris.pavenis at iki dot fi> ---
I have only tried -flto for DJGPP in case of native compiler. In this case LTO
only have limited functionality due to absence of plugin and as result modules
read by linker from static libraries are left out from optimization as far as I
understand.
At least -flto seems to work in this limited case (several object files) for
native DJGPP compiler