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@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@lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users >
_______________________________________________ cfe-users mailing list cfe-users@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users