This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/19462] Glibc failed to build with -Os
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 18 Feb 2016 16:57:39 +0000
- Subject: [Bug libc/19462] Glibc failed to build with -Os
- Auto-submitted: auto-generated
- References: <bug-19462-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=19462
--- Comment #6 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
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 16396c41deab45f715ffd813280d9d685b3b281e (commit)
from 6400ae6ecf6376af230d3ec82a8541848d3239e9 (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 -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=16396c41deab45f715ffd813280d9d685b3b281e
commit 16396c41deab45f715ffd813280d9d685b3b281e
Author: H.J. Lu <hongjiu.lu@intel.com>
Date: Thu Feb 18 11:00:33 2016 -0200
Add _STRING_INLINE_unaligned and string_private.h
As discussed in
https://sourceware.org/ml/libc-alpha/2015-10/msg00403.html
the setting of _STRING_ARCH_unaligned currently controls the external
GLIBC ABI as well as selecting the use of unaligned accesses withing
GLIBC.
Since _STRING_ARCH_unaligned was recently changed for AArch64, this
would potentially break the ABI in GLIBC 2.23, so split the uses and add
_STRING_INLINE_unaligned to select the string ABI. This setting must be
fixed for each target, while _STRING_ARCH_unaligned may be changed from
release to release. _STRING_ARCH_unaligned is used unconditionally in
glibc. But <bits/string.h>, which defines _STRING_ARCH_unaligned, isn't
included with -Os. Since _STRING_ARCH_unaligned is internal to glibc and
may change between glibc releases, it should be made private to glibc.
_STRING_ARCH_unaligned should defined in the new string_private.h heade
file which is included unconditionally from internal <string.h> for glibc
build.
[BZ #19462]
* bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
(_STRING_INLINE_unaligned): This.
* include/string.h: Include <string_private.h>.
* string/bits/string2.h: Replace _STRING_ARCH_unaligned with
_STRING_INLINE_unaligned.
* sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
(_STRING_INLINE_unaligned): New.
* sysdeps/aarch64/string_private.h: New file.
* sysdeps/generic/string_private.h: Likewise.
* sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
* sysdeps/s390/string_private.h: Likewise.
* sysdeps/x86/string_private.h: Likewise.
* sysdeps/m68k/m680x0/m68020/bits/string.h
(_STRING_ARCH_unaligned): Renamed to ...
(_STRING_INLINE_unaligned): This.
* sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
to ...
(_STRING_INLINE_unaligned): This.
* sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
to ...
(_STRING_INLINE_unaligned): This.
* sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
to ...
(_STRING_INLINE_unaligned): This.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 29 +++++++++++++++++++++++++++
bits/string.h | 8 +++++-
include/string.h | 3 ++
string/bits/string2.h | 10 ++++----
sysdeps/aarch64/bits/string.h | 4 +-
sysdeps/aarch64/string_private.h | 20 ++++++++++++++++++
sysdeps/generic/string_private.h | 21 +++++++++++++++++++
sysdeps/m68k/m680x0/m68020/bits/string.h | 5 +--
sysdeps/m68k/m680x0/m68020/string_private.h | 21 +++++++++++++++++++
sysdeps/s390/bits/string.h | 4 +-
sysdeps/s390/string_private.h | 20 ++++++++++++++++++
sysdeps/sparc/bits/string.h | 4 +-
sysdeps/x86/bits/string.h | 4 +-
sysdeps/x86/string_private.h | 20 ++++++++++++++++++
14 files changed, 155 insertions(+), 18 deletions(-)
create mode 100644 sysdeps/aarch64/string_private.h
create mode 100644 sysdeps/generic/string_private.h
create mode 100644 sysdeps/m68k/m680x0/m68020/string_private.h
create mode 100644 sysdeps/s390/string_private.h
create mode 100644 sysdeps/x86/string_private.h
--
You are receiving this mail because:
You are on the CC list for the bug.