This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/48200] linking shared library with LTO results in different exported symbols
- From: "ryxi at stu dot xidian.edu.cn" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 03 May 2018 12:51:56 +0000
- Subject: [Bug lto/48200] linking shared library with LTO results in different exported symbols
- Auto-submitted: auto-generated
- References: <bug-48200-4@http.gcc.gnu.org/bugzilla/>
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")));