public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/29698] New: Configuring for AArch32 on ARMv8+ disables optimizations
@ 2022-10-18 15:13 Felix.Riemann at sma dot de
2022-10-18 15:46 ` [Bug build/29698] " Felix.Riemann at sma dot de
2022-10-20 14:38 ` adhemerval.zanella at linaro dot org
0 siblings, 2 replies; 3+ messages in thread
From: Felix.Riemann at sma dot de @ 2022-10-18 15:13 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=29698
Bug ID: 29698
Summary: Configuring for AArch32 on ARMv8+ disables
optimizations
Product: glibc
Version: 2.37
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: build
Assignee: unassigned at sourceware dot org
Reporter: Felix.Riemann at sma dot de
CC: carlos at redhat dot com
Target Milestone: ---
Configuring glibc for ARM AArch32 with a compiler that optimizes for ARMv8
causes configure to misdetect the target and disable all optimizations/fall
back on ARMv5:
$ CFLAGS="-O2 -march=armv8-a" ../configure --prefix=/usr
--host=arm-linux-gnueabi
configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu
checking build system type... x86_64-pc-linux-gnu
checking host system type... arm-unknown-linux-gnueabi
checking for arm-linux-gnueabi-gcc... arm-linux-gnueabi-gcc
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-linux-gnueabi-gcc accepts -g... yes
checking for gcc... gcc
checking for arm-linux-gnueabi-readelf... arm-linux-gnueabi-readelf
checking for arm-linux-gnueabi-g++... arm-linux-gnueabi-g++
checking whether we are using the GNU C++ compiler... yes
checking whether arm-linux-gnueabi-g++ accepts -g... yes
checking whether arm-linux-gnueabi-g++ can link programs... yes
checking for sysdeps preconfigure fragments... aarch64 alpha arc arm configure:
WARNING: arm/preconfigure: Did not find ARM architecture type; using default
This is due to the glob in sysdeps/arm/preconfigure.ac being underquoted so
that m4 will remove the brackets for ARMv8/v9. I'll send a patch shortly.
I picked 2.37 as it is reproducable on git master but I could reproduce it in
versions going back to at least 2.28.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug build/29698] Configuring for AArch32 on ARMv8+ disables optimizations
2022-10-18 15:13 [Bug build/29698] New: Configuring for AArch32 on ARMv8+ disables optimizations Felix.Riemann at sma dot de
@ 2022-10-18 15:46 ` Felix.Riemann at sma dot de
2022-10-20 14:38 ` adhemerval.zanella at linaro dot org
1 sibling, 0 replies; 3+ messages in thread
From: Felix.Riemann at sma dot de @ 2022-10-18 15:46 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=29698
--- Comment #1 from Felix Riemann <Felix.Riemann at sma dot de> ---
Patch sent to libc-alpha:
https://sourceware.org/pipermail/libc-alpha/2022-October/142771.html
It will fix configure to keep ARMv7 optimizations enabled:
$ CFLAGS="-O2 -march=armv8-a" ../configure --prefix=/usr
--host=arm-linux-gnueabi
configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu
checking build system type... x86_64-pc-linux-gnu
checking host system type... arm-unknown-linux-gnueabi
checking for arm-linux-gnueabi-gcc... arm-linux-gnueabi-gcc
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-linux-gnueabi-gcc accepts -g... yes
checking for gcc... gcc
checking for arm-linux-gnueabi-readelf... arm-linux-gnueabi-readelf
checking for arm-linux-gnueabi-g++... arm-linux-gnueabi-g++
checking whether we are using the GNU C++ compiler... yes
checking whether arm-linux-gnueabi-g++ accepts -g... yes
checking whether arm-linux-gnueabi-g++ can link programs... yes
checking for sysdeps preconfigure fragments... aarch64 alpha arc arm configure:
Found compiler is configured for something newer than v7 - using v7
...
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug build/29698] Configuring for AArch32 on ARMv8+ disables optimizations
2022-10-18 15:13 [Bug build/29698] New: Configuring for AArch32 on ARMv8+ disables optimizations Felix.Riemann at sma dot de
2022-10-18 15:46 ` [Bug build/29698] " Felix.Riemann at sma dot de
@ 2022-10-20 14:38 ` adhemerval.zanella at linaro dot org
1 sibling, 0 replies; 3+ messages in thread
From: adhemerval.zanella at linaro dot org @ 2022-10-20 14:38 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=29698
Adhemerval Zanella <adhemerval.zanella at linaro dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Target Milestone|--- |2.37
Assignee|unassigned at sourceware dot org |adhemerval.zanella at linaro dot o
| |rg
Status|UNCONFIRMED |RESOLVED
CC| |adhemerval.zanella at linaro dot o
| |rg
--- Comment #2 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
Fixed on 2.37.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-10-20 14:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-18 15:13 [Bug build/29698] New: Configuring for AArch32 on ARMv8+ disables optimizations Felix.Riemann at sma dot de
2022-10-18 15:46 ` [Bug build/29698] " Felix.Riemann at sma dot de
2022-10-20 14:38 ` adhemerval.zanella at linaro dot org
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).