Bug 1819154
| Summary: | multiple definition of `typeinfo name for cbKeyBinder' between .rodata+0x14 and .data.rel.ro+0xc | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Dan Horák <dan> | ||||||||||
| Component: | codeblocks | Assignee: | Dan Horák <dan> | ||||||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||
| Priority: | unspecified | ||||||||||||
| Version: | rawhide | CC: | aoliva, dan, dmalcolm, fedora, fweimer, jakub, jwakely, law, mpolacek, msebor, nickc, orion, pbrobinson | ||||||||||
| Target Milestone: | --- | ||||||||||||
| Target Release: | --- | ||||||||||||
| Hardware: | armv7hl | ||||||||||||
| OS: | Unspecified | ||||||||||||
| Whiteboard: | |||||||||||||
| Fixed In Version: | codeblocks-20.03-1.fc32 | Doc Type: | If docs needed, set a value | ||||||||||
| Doc Text: | Story Points: | --- | |||||||||||
| Clone Of: | Environment: | ||||||||||||
| Last Closed: | 2020-04-09 14:43:14 UTC | Type: | Bug | ||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||
| Documentation: | --- | CRM: | |||||||||||
| Verified Versions: | Category: | --- | |||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||
| Embargoed: | |||||||||||||
| Bug Depends On: | |||||||||||||
| Bug Blocks: | 245418 | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Dan Horák
2020-03-31 10:33:49 UTC
Created attachment 1675053 [details]
preprocessed source
Created attachment 1675054 [details]
assembler source
The attached files were produced with armv7hl-redhat-linux-gnueabi-g++ -DHAVE_CONFIG_H -I. -I../../../../src/include -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I../../../../src/include -I../../../../src/sdk/wxscintilla/include -DCB_AUTOCONF -DCB_PRECOMP -DPIC -DTIXML_USE_STL=YES -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -Winvalid-pch -fPIC -fexceptions -c cbkeybinder.cpp -save-temps -fPIC -DPIC -o cbkeybinder.o I don't see such a problem, neither if I compile it myself using a cross-compiler nor looking at the assembler file you've provided.
In the latter I see
.global _ZTS11cbKeyBinder
...
.section .rodata
.align 2
.type _ZTS11cbKeyBinder, %object
.size _ZTS11cbKeyBinder, 14
_ZTS11cbKeyBinder:
.ascii "11cbKeyBinder\000"
and no other definition of _ZTS11cbKeyBinder
Ah, sorry, the other definition is in cbkeyConfigPanel.o, can you please also attach cbkeyConfigPanel.ii and g++ command line used to compile that one? Thanks. Sure, the command line is armv7hl-redhat-linux-gnueabi-g++ -DHAVE_CONFIG_H -I. -I../../../../src/include -I/usr/lib/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I../../../../src/include -I../../../../src/sdk/wxscintilla/include -DCB_AUTOCONF -DCB_PRECOMP -DPIC -DTIXML_USE_STL=YES -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -Winvalid-pch -fPIC -fexceptions -c cbkeyConfigPanel.cpp -save-temps -fPIC -DPIC -o cbkeyConfigPanel.o Created attachment 1675075 [details]
preprocessed source - cbkeyConfigPanel
Created attachment 1675076 [details]
assembler source - cbkeyConfigPanel
#pragma implementation "cbkeybinder.h" is in both cbkeyConfigPanel.cpp and cbkeybinder.cpp I think that is incorrect, for one header with #pragma interface there must be exactly one TU that has the #pragma implementation for it, which is where the virtual tables etc. will be emitted for it. switching to codeblocks, resolved via https://sourceforge.net/p/codeblocks/tickets/936/ and it will be fixes in a next build FEDORA-2020-87ee19359f has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-87ee19359f FEDORA-2020-87ee19359f has been pushed to the Fedora 32 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-87ee19359f` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-87ee19359f See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2020-87ee19359f has been pushed to the Fedora 32 stable repository. If problem still persists, please make note of it in this bug report. |