This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.26.9000-1006-g8e52f57

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  8e52f573a1e0c2c39968051bcf683805540deb03 (commit)
      from  40c4162df6766fb1e8ede875ca8df25d8075d3a5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------;a=commitdiff;h=8e52f573a1e0c2c39968051bcf683805540deb03

commit 8e52f573a1e0c2c39968051bcf683805540deb03
Author: Joseph Myers <>
Date:   Tue Dec 19 00:08:49 2017 +0000

    Fix arm-linux-gnueabihf builds with mainline GCC.
    My fix to make the arm-linux-gnueabihf builds
    actually use the hard-float ABI as intended showed up another issue
    when building with mainline GCC: GCC now determines an FPU based on
    the selected CPU or architecture and gives an error for
    -mfloat-abi=hard when the CPU does not imply a choice of FPU.  This
    patch fixes all the affected configurations to specify a suitable
    --with-cpu, --with-fpu or -mfpu option explicitly to avoid that error
    from GCC.
    Tested the relevant configurations with with
    mainline GCC.
    	* scripts/ (Context.add_all_configs): Specify
    	CPU or FPU for ARM hard-float configurations.

diff --git a/ChangeLog b/ChangeLog
index 8ce5a11..95e8df9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-12-19  Joseph Myers  <>
+	* scripts/ (Context.add_all_configs): Specify
+	CPU or FPU for ARM hard-float configurations.
 2017-12-18  Joseph Myers  <>
 	* nptl/tst-attr3.c: Include <libc-diag.h>.
diff --git a/scripts/ b/scripts/
index 5453000..dd4c70d 100755
--- a/scripts/
+++ b/scripts/
@@ -175,19 +175,20 @@ class Context(object):
-                        gcc_cfg=['--with-float=hard'],
+                        gcc_cfg=['--with-float=hard', '--with-cpu=arm926ej-s'],
                         extra_glibcs=[{'variant': 'v7a',
-                                       'ccopts': '-march=armv7-a'},
+                                       'ccopts': '-march=armv7-a -mfpu=vfpv3'},
                                       {'variant': 'v7a-disable-multi-arch',
-                                       'ccopts': '-march=armv7-a',
+                                       'ccopts': '-march=armv7-a -mfpu=vfpv3',
                                        'cfg': ['--disable-multi-arch']}])
-                        gcc_cfg=['--with-float=hard'])
+                        gcc_cfg=['--with-float=hard', '--with-cpu=arm926ej-s'])
-                        gcc_cfg=['--with-float=hard', '--with-arch=armv7-a'])
+                        gcc_cfg=['--with-float=hard', '--with-arch=armv7-a',
+                                 '--with-fpu=vfpv3'])


Summary of changes:
 ChangeLog                    |    5 +++++
 scripts/ |   11 ++++++-----
 2 files changed, 11 insertions(+), 5 deletions(-)

GNU C Library master sources

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]