-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Closed
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillaclangClang issues not falling into any other categoryClang issues not falling into any other category
Description
| Bugzilla Link | 9245 |
| Resolution | FIXED |
| Resolved on | Feb 20, 2011 18:33 |
| Version | unspecified |
| OS | Linux |
| Blocks | #4440 |
| Attachments | testcase |
| CC | @kjwinchester |
Extended Description
The linux kernel (2.6.38-rc5) doesn't build because of a problem in llvm-mc and the BUG() macro which is used throughout.
Please see the C testcase attached. It triggers easily:
$ clang y.c -c -o y.o
fatal error: error in backend: expected assembly-time absolute expression
while having clang emit a .s file and then using GAS to assemble it works fine. However:
$ clang y.c -S -o y.s
$ llvm-mc -assemble y.s -filetype=obj
LLVM ERROR: expected assembly-time absolute expression
Metadata
Metadata
Assignees
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillaclangClang issues not falling into any other categoryClang issues not falling into any other category