This is the mail archive of the glibc-bugs@sourceware.org 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]

[Bug libc/19462] Glibc failed to build with -Os


https://sourceware.org/bugzilla/show_bug.cgi?id=19462

--- Comment #5 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, hjl/pr19463 has been created
        at  3d27f14d247b988f3a226dce0112f7e0a69f5c30 (commit)

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=3d27f14d247b988f3a226dce0112f7e0a69f5c30

commit 3d27f14d247b988f3a226dce0112f7e0a69f5c30
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Jan 13 15:03:46 2016 -0800

    Avoid strdup/strndup/strsep

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=f57d833a807aa443a89e54c518a64df1cdecbe77

commit f57d833a807aa443a89e54c518a64df1cdecbe77
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Jan 13 14:10:34 2016 -0800

    Allow inline in sys/sysmacros.h when building glibc

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ff10fdd4ef0df890c7fc55d2b3ee485adf3424fa

commit ff10fdd4ef0df890c7fc55d2b3ee485adf3424fa
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Jan 13 13:31:34 2016 -0800

    Include <bits/stdio.h> when building glibc

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=82a543ffd097f4f5e60e898086f0bda2a647e37f

commit 82a543ffd097f4f5e60e898086f0bda2a647e37f
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Jan 14 10:16:35 2016 -0800

    Compile x86 syscalls with -fomit-frame-pointer

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=0d32fcb814a7ea7e857a967e96e5c76205bd729b

commit 0d32fcb814a7ea7e857a967e96e5c76205bd729b
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Jan 15 08:11:23 2016 -0800

    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.

    2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
            Wilco Dijkstra  <wdijkstr@arm.com>

        [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.

-----------------------------------------------------------------------

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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