[llvm-dev] [RFH] "cannot apply asm label to function after its first use" on sparc64

Harald van Dijk via llvm-dev llvm-dev at lists.llvm.org
Wed Mar 10 10:17:23 PST 2021


On 10/03/2021 18:11, John Paul Adrian Glaubitz wrote:
> On 3/10/21 7:06 PM, Harald van Dijk wrote:
>> This error message means you cannot use the asm keyword to change how the function is named
>> in the generated assembly after you have already done something that relies on that name. For instance:
>> (...)
>> produces the same error on Ubuntu x86-64 with libc6-dev 2.32-0ubuntu3. This is not actually a valid
>> configuration, but may be good enough to make the problem easier to track down.
> 
> Thanks a lot for the very thorough explanation, I actually understand the problem now.
> 
> So, do you think this issue should be reported as a bug in glibc then?

Yes, I do, Roland McGrath's comment on the bug that this is was 
unintentional on the glibc side was when he was the glibc maintainer so 
I think it should be safe to take that as fact. :)

Cheers,
Harald van Dijk


More information about the llvm-dev mailing list