public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
From: Mike Ray <mike@raspberryvi.org>
To: crossgcc@sourceware.org
Subject: Re: [crosstool-ng/crosstool-ng] 1f5906: samples: add aarch64-rpi3-linux-gnueabi
Date: Thu, 03 Mar 2016 20:33:00 -0000	[thread overview]
Message-ID: <56D89FA5.6080208@raspberryvi.org> (raw)
In-Reply-To: <56d870b18e978_31e63fb5b061d2bc23875@hookshot-fe5-cp1-prd.iad.github.net.mail>

On 03/03/2016 17:13, Bryan Hundven wrote:
>   Branch: refs/heads/master
>   Home:   https://github.com/crosstool-ng/crosstool-ng
>   Commit: 1f590667acc1dc1f729c3f4c14612399100f041d
>       https://github.com/crosstool-ng/crosstool-ng/commit/1f590667acc1dc1f729c3f4c14612399100f041d
>   Author: Bryan Hundven <bryanhundven@gmail.com>
>   Date:   2016-03-03 (Thu, 03 Mar 2016)
> 
>   Changed paths:
>     A samples/aarch64-rpi3-linux-gnueabi/crosstool.config
>     A samples/aarch64-rpi3-linux-gnueabi/reported.by
> 
>   Log Message:
>   -----------
>   samples: add aarch64-rpi3-linux-gnueabi
> 
> This is a aarch64 raspberry pi 3 sample.
> 
> Please test!
> 
> Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
> 
> 
>   Commit: bd460e8872ddc7dbbdcb09c2c0a18d22936bf698
>       https://github.com/crosstool-ng/crosstool-ng/commit/bd460e8872ddc7dbbdcb09c2c0a18d22936bf698
>   Author: Bryan Hundven <bryanhundven@gmail.com>
>   Date:   2016-03-03 (Thu, 03 Mar 2016)
> 
>   Changed paths:
>     A samples/aarch64-rpi3-linux-gnueabi/crosstool.config
>     A samples/aarch64-rpi3-linux-gnueabi/reported.by
> 
>   Log Message:
>   -----------
>   Merge pull request #362 from bhundven/rpi_aarch64_sample
> 
> samples: add aarch64-rpi3-linux-gnueabi
> 
> 
> Compare: https://github.com/crosstool-ng/crosstool-ng/compare/0f76cad2f078...bd460e8872dd
> 
> 
> 
> --
> For unsubscribe information see http://sourceware.org/lists.html#faq
> 

Hello.

Toolchain built and helloworld app compiled.

Not sure if you intended for the name of the sample to be prefixed
'aarch' instead of 'arch':

	aarch64-rpi3-linux-gnueabi/

Output of `file helloworld`:

	helloworld: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV),
dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for
GNU/Linux 4.0.4, not stripped

Built on 64-bit Debian Jessie.

Of course helloworld won't run on my Pi3 with 32-bit Raspbian.

Did you intend this sample to not be hard-float? (I don't know whether
the Cortex A53 is HF or not).

There is some debate on the Foundation site whether running 64-bit with
only 1GB of RAM is much of a gain but it will be interesting finding out.

Foundation forum mods and developers haven't mentioned whether
boot-loader needs to be 64-bit as well.

Mike


-- 
Michael A. Ray
Analyst/Programmer
Witley, Surrey, South-east UK

Eyes-free Linux:
http://eyesfreelinux.ninja/

Raspberry VI:
http://www.raspberryvi.org/


--
For unsubscribe information see http://sourceware.org/lists.html#faq

  reply	other threads:[~2016-03-03 20:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-03 17:13 Bryan Hundven
2016-03-03 20:33 ` Mike Ray [this message]
2016-03-04  0:25   ` Bryan Hundven
2016-03-04  0:31     ` Bryan Hundven
2016-03-04  0:37       ` Mike Ray
2016-03-04 10:26   ` Richard Earnshaw (lists)

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=56D89FA5.6080208@raspberryvi.org \
    --to=mike@raspberryvi.org \
    --cc=crossgcc@sourceware.org \
    /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.
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 read-only IMAP folder(s) and NNTP newsgroup(s).