https://llvm.org/bugs/show_bug.cgi?id=25347
Bug ID: 25347
Summary: Using .symver causes Common symbol XXX cannot be used
in assignment expr
Product: new-bugs
Version: 3.7
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Compiling this very simple piece of code:
/* CODE BEGIN */
asm(".symver my_test, test@TEST");
int my_test;
/* CODE END */
causes an error:
$ clang -shared -o libtest.so test.c -Wl,-version-script=DoesntMatter.map
fatal error: error in backend: Common symbol my_test cannot be used in
assignment expr
Adding -no-integrated-as makes the problem go away.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs