Re: Duplicate Symbols when compiling with arm-linux-gnueabihf

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

 



On Tue, Jul 10, 2018 at 12:24 PM, Ignitus Boyone
<ignitusboyone@xxxxxxxxx> wrote:
> I'm working on a problem where I have a code sample from biogears
> https://github.com/BioGearsEngine/core
>
> Where my XSD CodeSynthesis generated code fails the one definition rule
> when compiled against an gcc5.4 armhf compiler. ...

We just cleared a similar problem with GCC 5.4. We experienced
"multiply defined symbols" on i686 for some code using inline assembly
and a label. We only witnessed it on 32-bit machines (and not 64-bit)
machines.

It appears it was due to an interaction between some inline ASM in an
unnamed namespace. I tried to change the label name to 'SHA512Round%='
for a unique label and then the symbol went missing. The program
failed link.

Also see https://github.com/weidai11/cryptopp/commit/28e20d6e5f92 .

Jeff



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux