From: Romain Naour <romain.naour@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH V3 RESEND 0/5] Add ILP32 support in aarch64
Date: Sun, 20 Mar 2016 21:33:29 +0100 [thread overview]
Message-ID: <56EF0919.1030309@gmail.com> (raw)
In-Reply-To: <56EEA12F.3040400@huawei.com>
Hi Bamvor, All,
Le 20/03/2016 14:10, Zhangjian (Bamvor) a ?crit :
> Hi, Romain, Arnout, all
>
[snip]
>>>
>>>> Do you think it will be accepted after patch of ilp32 of kernel and glibc
>>>> upstream?
>>>
>>> It doesn't necessarily mean that upstream has to have accepted it already. We
>>> just prefer to have a release tarball.
>>
>> See as example the toolchains provided by Imagination Technologies [1] or
>> Synopsys [2]. All their patches they are using may not upstream yet, but they
>> provide a working toolchain which is pretty well tested.
>>
>> [1] http://codescape-mips-sdk.imgtec.com/components/toolchain/2015.06-05/
>> [2] https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/
> In recent linaro connect, there is a presentation[1] about the performance of
> ilp32.
> And in its homepage[2], there is a script[3] for building the ilp32 compiler.
> At this pointer, are you intertested in review the patches of ilp32 if I send a new
> series?
Thanks for the news about ilp32 support in aarch64.
Since your previous patches doesn't apply anymore on the master branch we have
marked them "Changes requested" in the patchwork. However, I added a new entry
in our TODO list [1] in order to not forget them.
The first problem is: how to build a working ipl32 toolchain ?
* With the abe script I wasn't able to build one due to some build issue with
glibc. Also the abe script was from an experimental/unstable branch.
* With build_ilp32_toolchain.sh script we need to build the toolchain as root
[2] which is not recommended. Also the kernel header is directly imported from
the host machine (from /usr/include). I guess an ilp32 toolchain needs some
specific or modified kernel header in order to support ilp32 based system.
* There is no aarch64 ilp32 prebuild toolchain available.
It seems that the number of patches is quite limited [4], so maybe you can use
the Buildroot internal toolchain infra to build the toolchain, and use a
specific source version for gcc, binutils and glibc and include all needed patches.
Do you know if each ilp32 patches can be easily applied on binutils and glibc
official release ? Otherwise you can simply use the hashes provided by
leapproject wiki [4].
For gcc it's a bit complicated since the patches are for the Linaro GCC 4.9.3,
not sure it will apply/work with a vanilla gcc 4.9.3. Also
gcc-prequisites-aarch64_ilp32-target-autoconf.patch is quite huge and need to be
split into several patches...
But this require a lot of work.
So, in the end, it would be easier if you provide a prebuild ilp32 toolchain
tarball (like Arnout suggest) with your new series.
To answer your question.
Yes, I'm interested in reviewing your ilp32 series but I need a toolchain to
test it :)
Best regards,
Romain
[1] http://elinux.org/Buildroot#Toolchain
[2]
https://github.com/leapproject/ilp32-toolchain/blob/master/build_ilp32_toolchain.sh#L15
[3]
https://github.com/leapproject/ilp32-toolchain/blob/master/build_ilp32_toolchain.sh#L112
[4]
https://wiki.leapproject.ca/index.php?title=AArch64_ILP32_Toolchain#Sources_and_Patches
>
> Regards
>
> Bamvor
>
> [1] http://connect.linaro.org/resource/bkk16/bkk16-305b/
> [2] https://wiki.leapproject.ca/index.php?title=AArch64_ILP32_Toolchain
> [3]
> https://github.com/leapproject/ilp32-toolchain/blob/master/build_ilp32_toolchain.sh
>
prev parent reply other threads:[~2016-03-20 20:33 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-13 1:16 [Buildroot] [PATCH V3 RESEND 0/5] Add ILP32 support in aarch64 Bamvor Jian Zhang
2015-08-13 1:16 ` [Buildroot] [PATCH V3 RESEND 1/5] aarch64: align aarch64_be config with aarch64s' Bamvor Jian Zhang
2015-08-13 1:16 ` [Buildroot] [PATCH V3 RESEND 2/5] aarch64: ilp32: handle special file name Bamvor Jian Zhang
2015-08-13 1:16 ` [Buildroot] [PATCH V3 RESEND 3/5] aarch64: ilp32: add ilp32 compiler and linker flags Bamvor Jian Zhang
2015-08-13 1:16 ` [Buildroot] [PATCH V3 RESEND 4/5] aarch64: ilp32: add ilp32 build config Bamvor Jian Zhang
2015-08-13 1:16 ` [Buildroot] [PATCH V3 RESEND 5/5] aarch64: ilp32 defconfig examples Bamvor Jian Zhang
2016-01-16 15:25 ` [Buildroot] [PATCH V3 RESEND 0/5] Add ILP32 support in aarch64 Romain Naour
2016-01-19 4:00 ` Bamvor Zhang Jian
2016-01-20 21:26 ` Romain Naour
2016-01-21 9:03 ` Bamvor Zhang Jian
2016-01-24 11:35 ` Romain Naour
2016-02-02 2:29 ` Zhangjian
2016-02-02 9:04 ` Romain Naour
2016-02-02 10:49 ` Zhangjian
2016-02-02 11:16 ` Arnout Vandecappelle
2016-02-03 21:11 ` Romain Naour
2016-03-20 13:10 ` Zhangjian
2016-03-20 20:33 ` Romain Naour [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=56EF0919.1030309@gmail.com \
--to=romain.naour@gmail.com \
--cc=buildroot@busybox.net \
/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