[Bug lto/48200] linking shared library with LTO results in different exported symbols

ryxi at stu dot xidian.edu.cn gcc-bugzilla@gcc.gnu.org
Thu May 3 12:52:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48200

--- Comment #18 from Xi Ruoyao <ryxi at stu dot xidian.edu.cn> ---
(In reply to Xi Ruoyao from comment #17)

> I prefer
> 
> int pci_fill_info(struct pci_dev *, int)
> __attribute__((symver_alias("@LIBPCI_3.0", "pci_fill_info_v31")));

But then what should we do for

int pci_fill_info(struct pci_dev *, int)
__attribute__((symver_alias("@LIBPCI_3.0", "pci_fill_info_v31")));

int pci_fill_info(struct pci_dev *, int)
__attribute__((symver_alias("@LIBPCI_3.1", "pci_fill_info_v32")));


More information about the Gcc-bugs mailing list