mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Szabolcs Nagy <nsz@port70.net>
To: Rob Landley <rlandley@se-instruments.com>,
	musl <musl@lists.openwall.com>
Subject: Re: musl-cross-make build script.
Date: Sat, 18 Feb 2017 14:39:22 +0100	[thread overview]
Message-ID: <20170218133921.GL12395@port70.net> (raw)
In-Reply-To: <20170218125301.GK12395@port70.net>

* Szabolcs Nagy <nsz@port70.net> [2017-02-18 13:53:01 +0100]:
> in a triplet "armv8" means the armv8 architecture in
> 32bit execution state (which arm calls aarch32) and
> that is backward compatible (and almost identical to)
> armv7 (at least the -a profile, armv8-m and armv7-m
> have more differences afaik)
> 
> in a triplet "aarch64" means the armv8 architecture in
> 64bit execution state.
> 
> so if you configure for armv8l-linux-musleabihf you
> get a toolchain that follows a 32bit arm abi and uses
> a 32bit arm isa (thumb or arm like with armv7).
> 
> the 64bit triplet is aarch64-linux-musl (there is no
> soft float abi nor eabi suffix), there is an ilp32
> abi for aarch64 which uses 64bit isa (like x32) which
> is not supported by musl, and a bigendian variant
> which can be configured with "aarch64_be" (but not
> used in practice i think).

one more note: there are various isa levels and
extensions, e.g.

 --with-arch=armv8.2-a+crypto+fp16

will configure for armv8.2-a isa level with the
optional crypto and 16bit float instructions enabled.
(this affects both 32bit and 64bit arm isas)

there is no softfloat abi, but you can still compile
something without float instructions using cflag like

 -march=armv8-a+nofp

(the -mgeneral-regs-only flag works too, but +noXXX
is a generic way to turn extensions off.. so there
is a zoo of variants, but binary distros will care
about the baseline armv8-a only i guess)


      reply	other threads:[~2017-02-18 13:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-16 22:57 Rob Landley
2017-02-17 11:53 ` Szabolcs Nagy
2017-02-17 11:56   ` Szabolcs Nagy
2017-02-18  8:45   ` Rob Landley
2017-02-18 12:53     ` Szabolcs Nagy
2017-02-18 13:39       ` Szabolcs Nagy [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170218133921.GL12395@port70.net \
    --to=nsz@port70.net \
    --cc=musl@lists.openwall.com \
    --cc=rlandley@se-instruments.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).