Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1427619
| From | Joseph Myers <joseph@codesourcery.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 10/27] [AARCH64] Detect ILP32 in configure scripts. |
| Date | 2016-06-21 13:30 +0200 |
| Message-ID | <rMs2t-5aD-1@gated-at.bofh.it> (permalink) |
| References | <rMoBA-2OV-31@gated-at.bofh.it> <rMoUX-3cQ-45@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, 21 Jun 2016, Yury Norov wrote: > diff --git a/sysdeps/aarch64/preconfigure b/sysdeps/aarch64/preconfigure > index d9bd1f8..4bcd8e3 100644 > --- a/sysdeps/aarch64/preconfigure > +++ b/sysdeps/aarch64/preconfigure > @@ -1,6 +1,15 @@ > case "$machine" in > aarch64*) > base_machine=aarch64 > - machine=aarch64 > + case "$CC $CFLAGS $CPPFLAGS " in > + *" -mabi=ilp32 "*) aarch64_config_abi=ilp32 ;; > + *" -mabi=lp64 "*) aarch64_config_abi=lp64 ;; > + *) aarch64_config_abi=default ;; My comments in <https://sourceware.org/ml/libc-alpha/2014-10/msg00639.html> still apply: test how the compiler behaves instead. > +if test $aarch64_config_abi = ilp32; then > + arch_minimum_kernel=3.19.0 My comments in <https://sourceware.org/ml/libc-alpha/2014-10/msg00639.html> still apply: use 10.0.0 until the corresponding kernel support is in, then change to the actual kernel version with the support. -- Joseph S. Myers joseph@codesourcery.com
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH 10/27] [AARCH64] Detect ILP32 in configure scripts. Joseph Myers <joseph@codesourcery.com> - 2016-06-21 13:30 +0200
csiph-web