Skip to content

Missing support for labels in .org statements #9617

@nlewycky

Description

@nlewycky
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

No one assigned

    Labels

    bugzillaIssues migrated from bugzillaclangClang issues not falling into any other category

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions