This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/35368] New: With #pragma visibility, `vtable for __cxxabiv1::__class_type_info' is emitted as a hidden-visibility relocation
- From: "benjamin at smedbergs dot us" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Feb 2008 15:16:42 -0000
- Subject: [Bug c++/35368] New: With #pragma visibility, `vtable for __cxxabiv1::__class_type_info' is emitted as a hidden-visibility relocation
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Testcase attached: when a class is declared with #pragma visibility hidden on,
references to `vtable for __cxxabiv1::__class_type_info' are emitted with
relocations that assume hidden visibility. This is incorrect, and is a
regression against 4.1 and I think 4.2.
To reproduce, compile the testcase, on an ELF toolchain, with:
g++-4.3 -shared -frtti -fPIC -o libtest.so test-cpp-rtti-linkage-error.cpp
--
Summary: With #pragma visibility, `vtable for
__cxxabiv1::__class_type_info' is emitted as a hidden-
visibility relocation
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: benjamin at smedbergs dot us
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35368
- Follow-Ups:
- [Bug c++/35368] With #pragma visibility, `vtable for __cxxabiv1::__class_type_info' is emitted as a hidden-visibility relocation
- From: benjamin at smedbergs dot us
- [Bug c++/35368] With #pragma visibility, `vtable for __cxxabiv1::__class_type_info' is emitted as a hidden-visibility relocation
- From: benjamin at smedbergs dot us
- [Bug c++/35368] [4.1/4.2/4.3/4.4 Regression] With #pragma visibility, `vtable for __cxxabiv1::__class_type_info' is emitted as a hidden-visibility relocation
- From: rguenth at gcc dot gnu dot org
- [Bug c++/35368] [4.1/4.2/4.3/4.4 Regression] With #pragma visibility, `vtable for __cxxabiv1::__class_type_info' is emitted as a hidden-visibility relocation
- From: matz at gcc dot gnu dot org
- [Bug c++/35368] [4.1/4.2/4.3/4.4 Regression] With #pragma visibility, `vtable for __cxxabiv1::__class_type_info' is emitted as a hidden-visibility relocation
- From: jakub at gcc dot gnu dot org
- [Bug c++/35368] [4.1/4.2/4.3/4.4 Regression] With #pragma visibility, `vtable for __cxxabiv1::__class_type_info' is emitted as a hidden-visibility relocation
- From: mmitchel at gcc dot gnu dot org
- [Bug c++/35368] [4.1/4.2/4.3/4.4 Regression] With #pragma visibility, `vtable for __cxxabiv1::__class_type_info' is emitted as a hidden-visibility relocation
- From: jakub at gcc dot gnu dot org
- [Bug c++/35368] [4.1/4.2/4.3/4.4 Regression] With #pragma visibility, `vtable for __cxxabiv1::__class_type_info' is emitted as a hidden-visibility relocation
- From: benjamin at smedbergs dot us
- [Bug c++/35368] [4.1/4.2/4.3/4.4 Regression] With #pragma visibility, `vtable for __cxxabiv1::__class_type_info' is emitted as a hidden-visibility relocation
- From: jakub at gcc dot gnu dot org
- [Bug c++/35368] [4.1/4.2/4.3/4.4 Regression] With #pragma visibility, `vtable for __cxxabiv1::__class_type_info' is emitted as a hidden-visibility relocation
- From: mark at codesourcery dot com
- [Bug c++/35368] [4.1/4.2/4.3/4.4 Regression] With #pragma visibility, `vtable for __cxxabiv1::__class_type_info' is emitted as a hidden-visibility relocation
- From: jakub at gcc dot gnu dot org
- [Bug c++/35368] [4.1/4.2/4.3/4.4 Regression] With #pragma visibility, `vtable for __cxxabiv1::__class_type_info' is emitted as a hidden-visibility relocation
- From: jakub at gcc dot gnu dot org
- [Bug c++/35368] [4.3/4.4 Regression] With #pragma visibility, `vtable for __cxxabiv1::__class_type_info' is emitted as a hidden-visibility relocation
- From: jakub at gcc dot gnu dot org