|
|
Message-ID: <55DAB8A2.4020001@nicta.com.au>
Date: Mon, 24 Aug 2015 16:24:34 +1000
From: Matthew Fernandez <matthew.fernandez@...ta.com.au>
To: <musl@...ts.openwall.com>
Subject: Cross-compiling Musl with Clang's integrated assembler
Hi all,
I'm trying to build Musl for an ARM target on an x86_64 host using Clang. It seems some of the Musl
assembly uses the LDR pseudo instruction that the Clang integrated assembler doesn't understand:
$ clang -target arm-none-eabi -integrated-as -c crt/arm/crt1.s
'+soft-float-abi' is not a recognized feature for this target (ignoring feature)
crt/arm/crt1.s:10:9: error: unexpected token in operand
ldr a4,=_fini
...
Is this configuration supported? Perhaps Musl is never intended to be built by Clang's assembler.
Thanks,
Matt
clang version: 3.4-1ubuntu3
________________________________
The information in this e-mail may be confidential and subject to legal professional privilege and/or copyright. National ICT Australia Limited accepts no liability for any damage caused by this email or its attachments.
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.