[Bug target/71286] 6.1.0: compiling djgpp programs with LTO emits "visibility attribute not supported in this configuration" warnings

andris.pavenis at iki dot fi gcc-bugzilla@gcc.gnu.org
Sat Jun 4 18:43:00 GMT 2016


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


More information about the Gcc-bugs mailing list