[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/29310] [2.39 Regression] copy relocation against non-copyable pr
From: |
nsz at gcc dot gnu.org |
Subject: |
[Bug ld/29310] [2.39 Regression] copy relocation against non-copyable protected symbol `__cxa_ pure_virtual' on aarch64-linux-gnu |
Date: |
Fri, 01 Jul 2022 13:12:16 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=29310
Szabolcs Nagy <nsz at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nsz at gcc dot gnu.org
--- Comment #3 from Szabolcs Nagy <nsz at gcc dot gnu.org> ---
linking lto1 does not fail (in the build log), gnat1 does.
i don't know how __cxa_pure_virtual ends up being protected, but
the link uses -static-libstdc++ where the definition should be,
so copy reloc should not happen and thus the error is wrong.
somethings that may help debugging:
check `readelf -aW gnat1 |grep __cxa_pure_virtual` after linking
with old binutils (is there any reloc? is it protected?)
pass -Wl,-y,__cxa_pure_virtual to the failing link (does the
definition come from static libstdc++?).
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/29310] [2.39 Regression] copy relocation against non-copyable protected symbol `__cxa_ pure_virtual' on aarch64-linux-gnu, doko at debian dot org, 2022/07/01
- [Bug ld/29310] [2.39 Regression] copy relocation against non-copyable protected symbol `__cxa_ pure_virtual' on aarch64-linux-gnu, sam at gentoo dot org, 2022/07/01
- [Bug ld/29310] [2.39 Regression] copy relocation against non-copyable protected symbol `__cxa_ pure_virtual' on aarch64-linux-gnu, doko at debian dot org, 2022/07/01
- [Bug ld/29310] [2.39 Regression] copy relocation against non-copyable protected symbol `__cxa_ pure_virtual' on aarch64-linux-gnu, doko at debian dot org, 2022/07/01
- [Bug ld/29310] [2.39 Regression] copy relocation against non-copyable protected symbol `__cxa_ pure_virtual' on aarch64-linux-gnu, doko at debian dot org, 2022/07/01
- [Bug ld/29310] [2.39 Regression] copy relocation against non-copyable protected symbol `__cxa_ pure_virtual' on aarch64-linux-gnu,
nsz at gcc dot gnu.org <=
- [Bug ld/29310] [2.39 Regression] copy relocation against non-copyable protected symbol `__cxa_ pure_virtual' on aarch64-linux-gnu, doko at debian dot org, 2022/07/01
- [Bug ld/29310] [2.39 Regression] copy relocation against non-copyable protected symbol `__cxa_ pure_virtual' on aarch64-linux-gnu, i at maskray dot me, 2022/07/01
- [Bug ld/29310] [2.39 Regression] copy relocation against non-copyable protected symbol `__cxa_ pure_virtual' on aarch64-linux-gnu, hjl.tools at gmail dot com, 2022/07/03
- [Bug ld/29310] [2.39 Regression] copy relocation against non-copyable protected symbol `__cxa_ pure_virtual' on aarch64-linux-gnu, nsz at gcc dot gnu.org, 2022/07/06
- [Bug ld/29310] [2.39 Regression] copy relocation against non-copyable protected symbol `__cxa_ pure_virtual' on aarch64-linux-gnu, doko at debian dot org, 2022/07/06
- [Bug ld/29310] [2.39 Regression] copy relocation against non-copyable protected symbol `__cxa_ pure_virtual' on aarch64-linux-gnu, nsz at gcc dot gnu.org, 2022/07/07
- [Bug ld/29310] [2.39 Regression] copy relocation against non-copyable protected symbol `__cxa_ pure_virtual' on aarch64-linux-gnu, doko at debian dot org, 2022/07/20