[Bug target/19664] -fvisibility-inlines-hidden fails with gcc's extern template extension on amd64

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Jan 29 13:05:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-29 13:05 -------
(In reply to comment #5)
> It is a compiler bug. VisTest<char>::VisTest() is never defined.
> R_X86_64_PC32 relocation may not reach it at runtime when it is
> called. The new linker catches this particular bug at linktime.

Actually this is not a gcc or a linker bug but a programmers.
Basically -fvisibility=hidden -fvisibility-inlines-hidden says all I repeat all functions (defined or not) as 
hidden.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19664



More information about the Gcc-bugs mailing list