Re: multiple definitions build failure on armv7hl only

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 30 Mar 2020 16:20:32 +0200
Dan Horák <dan@xxxxxxxx> wrote:

> On Thu, 5 Mar 2020 20:38:07 -0700
> Orion Poplawski <orion@xxxxxxxx> wrote:
> 
> > On 3/4/20 10:09 PM, Orion Poplawski wrote:
> > > Test building the latest gdl, I get the following errors only on
> > > armv7hl:
> > > 
> > > /usr/bin/ld: CMakeFiles/gdl.dir/basic_op.cpp.o:(.rodata+0x30):
> > > multiple definition of `typeinfo name for Data_<SpDByte>'; 
> > > CMakeFiles/gdl.dir/datatypes.cpp.o:(.rodata+0x50): first defined
> > > here /usr/bin/ld: CMakeFiles/gdl.dir/basic_op.cpp.o:
> > > (.data.rel.ro+0x0): multiple definition of `typeinfo for
> > > Data_<SpDByte>'; CMakeFiles/gdl.dir/datatypes.cpp.o:
> > > (.data.rel.ro+0xc): first defined here
> > > 
> > > Full log: 
> > > https://kojipkgs.fedoraproject.org//work/tasks/5149/42205149/build.log
> > > 
> > > Anything immediately suspicious here?  Seems odd to have two
> > > definitions in different segments of the same object file.
> > 
> > This appears to be related to C++ template instantiation.  What I've
> > yet to figure out is whether or not this is truly a problem in the
> > code or an issue with the arm gcc/binutils tooling.  Any help would
> > be greatly appreciated.
> 
> I think I have just met the same problem when building codeblocks -
> https://koji.fedoraproject.org/koji/taskinfo?taskID=42870235
> 
> /usr/bin/ld: .libs/cbkeyConfigPanel.o:(.rodata+0x14): multiple
> definition of `typeinfo name for cbKeyBinder'; .libs/cbkeybinder.o:
> (.rodata+0x0): first defined
> here /usr/bin/ld: .libs/cbkeyConfigPanel.o:(.data.rel.ro+0xc):
> multiple definition of `typeinfo for
> cbKeyBinder'; .libs/cbkeybinder.o:(.data.rel.ro+0x0): first defined
> here

and reported as https://bugzilla.redhat.com/show_bug.cgi?id=1819154


		Dan
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux