[cfe-users] How to debug cryptic error message?
David Blaikie via cfe-users
cfe-users at lists.llvm.org
Tue Aug 25 14:38:28 PDT 2020
Unfortunately, probably the first thing I'd try is assembling with the GNU
assembler instead (using clang -fno-integrated-as, or using gcc as your
assembler driver should reach your system assembler which is probably gas).
LLVM's integrated assembler could use a better error message, to be sure.
On Tue, Aug 25, 2020 at 7:51 AM Gary Benson via cfe-users <
cfe-users at lists.llvm.org> wrote:
> Hi all,
>
> I'm trying to compile a generated assembler file using clang, but I'm
> getting a cryptic error message:
>
> bash$ clang -c dw2-double-set-die-type_clang.s
> <unknown>:0: error: Undefined temporary symbol
> <unknown>:0: error: Undefined temporary symbol
>
> Are there command-line options I can use to narrow down what's causing
> this? I'm using clang version 10.0.0 (Fedora 10.0.0-2.fc32) on x86_64
> if that matters.
>
> Thanks,
> Gary
>
> --
> Gary Benson - he / him / his
> Principal Software Engineer, Red Hat
>
> _______________________________________________
> cfe-users mailing list
> cfe-users at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20200825/ff9c07b3/attachment.html>
More information about the cfe-users
mailing list