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.
--
Orion Poplawski
Manager of NWRA Technical Systems 720-772-5637
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane orion(a)nwra.com
Boulder, CO 80301
https://www.nwra.com/