[llvm-bugs] [Bug 25347] Using .symver causes Common symbol XXX cannot be used in assignment expr

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Aug 4 19:26:44 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=25347

Fangrui Song <i at maskray.me> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |i at maskray.me
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #1 from Fangrui Song <i at maskray.me> ---
% cat a.s
.symver my_test, test at TEST
.comm   my_test,4,4

% as a.s -o a.o
a.s: Assembler messages:
a.s: Error: `test at TEST' can't be versioned to common symbol 'my_test'


Now that GCC 10/Clang 10 default to -fno-common, this issue is moot.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210805/8e07f738/attachment.html>


More information about the llvm-bugs mailing list