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

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

 



On 07/15/2018 10:52 AM, Jeffrey Walton wrote:
> On Sun, Jul 15, 2018 at 5:36 AM, Andrew Haley <aph@xxxxxxxxxx> wrote:
>> On 07/14/2018 10:48 AM, Jeffrey Walton wrote:
>>> 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.
>>
>> Inline assembly should use local labels.
> 
> Thanks. We tried that too by adding '%=' to the label for GCC. Then
> the program failed to link.

In GNU as, local labels are of the form 'N:' (where N represents any
positive integer).  I've never seen %=.

-- 
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671



[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