Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 23 Aug 2015 23:26:45 -0700
From: Khem Raj <raj.khem@...il.com>
To: musl@...ts.openwall.com
Subject: Re: Cross-compiling Musl with Clang's integrated assembler


> On Aug 23, 2015, at 11:24 PM, Matthew Fernandez <matthew.fernandez@...ta.com.au> wrote:
> 
> 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.

may be it has issues, I usually use -no-intergrated-as as of now.

> 
> 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.


Download attachment "signature.asc" of type "application/pgp-signature" (205 bytes)

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.