public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug nptl/12889] New: Race condition in pthread_kill
@ 2011-06-15  0:39 bugdal at aerifal dot cx
  2011-06-18 23:35 ` [Bug nptl/12889] " ppluzhnikov at google dot com
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: bugdal at aerifal dot cx @ 2011-06-15  0:39 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=12889

           Summary: Race condition in pthread_kill
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: nptl
        AssignedTo: drepper.fsp@gmail.com
        ReportedBy: bugdal@aerifal.cx


There is a race condition in pthread_kill: it is possible that, between the
time pthread_kill reads the pid/tid from the target thread descriptor and the
time it makes the tgkill syscall, the target thread terminates and the same tid
gets assigned to a new thread in the same process.

(The tgkill syscall was designed to eliminate a similar race condition in
tkill, but it only succeeded in eliminating races where the tid gets reused in
a different process, and does not help if the same tid gets assigned to a new
thread in the same process.)

The only solution I can see is to introduce a mutex that ensures that a thread
cannot exit while pthread_kill is being called on it.

Note that in most real-world situations, like almost all race conditions, this
one will be extremely rare. To make it measurable, one could exhaust all but
1-2 available pid values, possibly by lowering the max pid parameter in /proc,
forcing the same tid to be reused rapidly.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug nptl/12889] Race condition in pthread_kill
  2011-06-15  0:39 [Bug nptl/12889] New: Race condition in pthread_kill bugdal at aerifal dot cx
@ 2011-06-18 23:35 ` ppluzhnikov at google dot com
  2012-04-29  3:04 ` bugdal at aerifal dot cx
                   ` (14 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: ppluzhnikov at google dot com @ 2011-06-18 23:35 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=12889

Paul Pluzhnikov <ppluzhnikov at google dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ppluzhnikov at google dot
                   |                            |com

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug nptl/12889] Race condition in pthread_kill
  2011-06-15  0:39 [Bug nptl/12889] New: Race condition in pthread_kill bugdal at aerifal dot cx
  2011-06-18 23:35 ` [Bug nptl/12889] " ppluzhnikov at google dot com
@ 2012-04-29  3:04 ` bugdal at aerifal dot cx
  2014-06-27 13:11 ` fweimer at redhat dot com
                   ` (13 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: bugdal at aerifal dot cx @ 2012-04-29  3:04 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=12889

Rich Felker <bugdal at aerifal dot cx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|drepper.fsp at gmail dot    |unassigned at sourceware
                   |com                         |dot org

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug nptl/12889] Race condition in pthread_kill
  2011-06-15  0:39 [Bug nptl/12889] New: Race condition in pthread_kill bugdal at aerifal dot cx
  2011-06-18 23:35 ` [Bug nptl/12889] " ppluzhnikov at google dot com
  2012-04-29  3:04 ` bugdal at aerifal dot cx
@ 2014-06-27 13:11 ` fweimer at redhat dot com
  2015-10-31 12:08 ` fweimer at redhat dot com
                   ` (12 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: fweimer at redhat dot com @ 2014-06-27 13:11 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com
              Flags|                            |security-

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


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug nptl/12889] Race condition in pthread_kill
  2011-06-15  0:39 [Bug nptl/12889] New: Race condition in pthread_kill bugdal at aerifal dot cx
                   ` (2 preceding siblings ...)
  2014-06-27 13:11 ` fweimer at redhat dot com
@ 2015-10-31 12:08 ` fweimer at redhat dot com
  2015-10-31 12:37 ` schwab@linux-m68k.org
                   ` (11 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: fweimer at redhat dot com @ 2015-10-31 12:08 UTC (permalink / raw)
  To: glibc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="UTF-8", Size: 3229 bytes --]

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

--- Comment #1 from Florian Weimer <fweimer at redhat dot com> ---
POSIX says:

“The lifetime of a thread ID ends after the thread terminates if it was created
with the detachstate attribute set to PTHREAD_CREATE_DETACHED or if
pthread_detach() or pthread_join() has been called for that thread.”

How is this to be interpreted?  This way?

  TERMINATED && (CREATED-AS-DETACHED || DETACH-CALLED || JOIN-CALLED)

Or this way?

  (TERMINATED && CREATED-AS-DETACHED) || DETACH-CALLED || JOIN-CALLED

In the second case, pthread_detach and pthread_join could just clear the TID in
the thread descriptor to avoid the race, before reaping the TID from the
kernel.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30367-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sat Oct 31 12:11:20 2015
Return-Path: <glibc-bugs-return-30367-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 47872 invoked by alias); 31 Oct 2015 12:11:20 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 47841 invoked by uid 48); 31 Oct 2015 12:11:16 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug nptl/19193] pthread_kill returns ESRCH for a thread ID whose lifetime has not ended
Date: Sat, 31 Oct 2015 12:11:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: nptl
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-19193-131-eNqKzBSsmt@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19193-131@http.sourceware.org/bugzilla/>
References: <bug-19193-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-10/txt/msg00404.txt.bz2
Content-length: 413

https://sourceware.org/bugzilla/show_bug.cgi?id\x19193

--- Comment #1 from Florian Weimer <fweimer at redhat dot com> ---
Created attachment 8759
  --> https://sourceware.org/bugzilla/attachment.cgi?id‡59&actioníit
bug19193.c

Test case.  I think it has to be time-based.

Another test with pthread_tryjoin_np would be desirable.

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


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug nptl/12889] Race condition in pthread_kill
  2011-06-15  0:39 [Bug nptl/12889] New: Race condition in pthread_kill bugdal at aerifal dot cx
                   ` (3 preceding siblings ...)
  2015-10-31 12:08 ` fweimer at redhat dot com
@ 2015-10-31 12:37 ` schwab@linux-m68k.org
  2015-10-31 20:27 ` bugdal at aerifal dot cx
                   ` (10 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: schwab@linux-m68k.org @ 2015-10-31 12:37 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #2 from Andreas Schwab <schwab@linux-m68k.org> ---
If the second interpretation were the intented one, then the following
paragraph would not have been necessary, since no function could be called on a
detached thread.

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


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug nptl/12889] Race condition in pthread_kill
  2011-06-15  0:39 [Bug nptl/12889] New: Race condition in pthread_kill bugdal at aerifal dot cx
                   ` (4 preceding siblings ...)
  2015-10-31 12:37 ` schwab@linux-m68k.org
@ 2015-10-31 20:27 ` bugdal at aerifal dot cx
  2021-08-17  6:25 ` fweimer at redhat dot com
                   ` (9 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: bugdal at aerifal dot cx @ 2015-10-31 20:27 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #3 from Rich Felker <bugdal at aerifal dot cx> ---
The first interpretation is correct but it does not matter because there is no
such thing as "reaping the tid". The tid is available for reuse immediately
when the SYS_exit syscall is made by pthread_exit or equivalent.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30370-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sat Oct 31 22:09:04 2015
Return-Path: <glibc-bugs-return-30370-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 85078 invoked by alias); 31 Oct 2015 22:09:04 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 85032 invoked by uid 55); 31 Oct 2015 22:09:00 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug dynamic-link/19178] ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA confuses prelink
Date: Sat, 31 Oct 2015 22:09:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: dynamic-link
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19178-131-TDJbNnCVQ4@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19178-131@http.sourceware.org/bugzilla/>
References: <bug-19178-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-10/txt/msg00407.txt.bz2
Content-length: 1984

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

--- Comment #13 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/pr19178/master has been created
        at  cadaf1336332ca7bcdfe4a400776e5782a20e26d (commit)

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

commit cadaf1336332ca7bcdfe4a400776e5782a20e26d
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Oct 28 07:49:44 2015 -0700

    Keep only ELF_RTYPE_CLASS_{PLT|COPY} bits for prelink

    prelink runs ld.so with the environment variable LD_TRACE_PRELINKING
    set to dump the relocation type class from _dl_debug_bindings.  prelink
    has the following relocation type classes:

     #define RTYPE_CLASS_VALID       8
     #define RTYPE_CLASS_PLT         (8|1)
     #define RTYPE_CLASS_COPY        (8|2)
     #define RTYPE_CLASS_TLS         (8|4)

    where ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA has a conflict with
    RTYPE_CLASS_TLS.

    Since prelink only uses ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY
    bits, we should clear the other bits when the DL_DEBUG_PRELINK bit is
    set.

        [BZ #19178]
        * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
        (RTYPE_CLASS_PLT): Likewise.
        (RTYPE_CLASS_COPY): Likewise.
        (RTYPE_CLASS_TLS): Likewise.
        (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
        to set relocation type class for DL_DEBUG_PRELINK.  Keep only
        ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
        DL_DEBUG_PRELINK.

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30371-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Nov 02 11:06:48 2015
Return-Path: <glibc-bugs-return-30371-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 108124 invoked by alias); 2 Nov 2015 11:06:48 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 108059 invoked by uid 48); 2 Nov 2015 11:06:44 -0000
From: "pander at users dot sourceforge.net" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/19198] New: Small improvements Dutch locales
Date: Mon, 02 Nov 2015 11:06:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: pander at users dot sourceforge.net
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone
Message-ID: <bug-19198-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00000.txt.bz2
Content-length: 1103

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

            Bug ID: 19198
           Summary: Small improvements Dutch locales
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: localedata
          Assignee: unassigned at sourceware dot org
          Reporter: pander at users dot sourceforge.net
                CC: libc-locales at sourceware dot org
  Target Milestone: ---

Please make the following minor improvements to the Dutch locales



For the file
https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=localedata/locales/nl_NL@euro;hb=HEAD

Replace the lines

  % metric
  measurement 1

with

  copy "nl_NL"



For the file
https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=localedata/locales/nl_NL;hb=HEAD

Remove the empty line before the line

  week    7;19971130;4

Remove the lines

  % FIXME

before the line

  height   297

and before the line

  width    210

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30372-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Nov 02 14:32:28 2015
Return-Path: <glibc-bugs-return-30372-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 129140 invoked by alias); 2 Nov 2015 14:32:27 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 129095 invoked by uid 48); 2 Nov 2015 14:32:24 -0000
From: "arekm at maven dot pl" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug regex/18986] ERE '0|()0|\1|0' causes regexec undefined behavior
Date: Mon, 02 Nov 2015 14:32:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: regex
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: arekm at maven dot pl
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security+
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-18986-131-nqBKHSRyW8@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-18986-131@http.sourceware.org/bugzilla/>
References: <bug-18986-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00001.txt.bz2
Content-length: 395

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

Arkadiusz Miskiewicz <arekm at maven dot pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |arekm at maven dot pl

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30373-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Nov 02 14:43:00 2015
Return-Path: <glibc-bugs-return-30373-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 22291 invoked by alias); 2 Nov 2015 14:43:00 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 22247 invoked by uid 48); 2 Nov 2015 14:42:56 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug nptl/19192] __old_sem_wait never terminates
Date: Mon, 02 Nov 2015 14:43:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: nptl
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: cc flagtypes.name
Message-ID: <bug-19192-131-1jsxsJj9mc@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19192-131@http.sourceware.org/bugzilla/>
References: <bug-19192-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00002.txt.bz2
Content-length: 578

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com
              Flags|                            |security-

--- Comment #1 from Florian Weimer <fweimer at redhat dot com> ---
Does the hang happen on every call to __old_sem_wait?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30375-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Nov 02 14:45:17 2015
Return-Path: <glibc-bugs-return-30375-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 27669 invoked by alias); 2 Nov 2015 14:45:17 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 27615 invoked by uid 48); 2 Nov 2015 14:45:13 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug time/19179] gmtime_r internally calls getenv("TZ") which is not thread-safe
Date: Mon, 02 Nov 2015 14:45:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: time
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: DUPLICATE
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: cc flagtypes.name
Message-ID: <bug-19179-131-mwOut0J2lV@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19179-131@http.sourceware.org/bugzilla/>
References: <bug-19179-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00004.txt.bz2
Content-length: 456

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30374-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Nov 02 14:45:08 2015
Return-Path: <glibc-bugs-return-30374-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 27325 invoked by alias); 2 Nov 2015 14:45:04 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 27177 invoked by uid 48); 2 Nov 2015 14:45:00 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug time/14023] localtime_r unexpectedly writes tzname[]
Date: Mon, 02 Nov 2015 14:45:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: time
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: ppluzhnikov at google dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security?
X-Bugzilla-Changed-Fields: cc flagtypes.name
Message-ID: <bug-14023-131-XlMmbUgXzS@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-14023-131@http.sourceware.org/bugzilla/>
References: <bug-14023-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00003.txt.bz2
Content-length: 456

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com
              Flags|security-                   |security?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30376-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Nov 02 17:34:32 2015
Return-Path: <glibc-bugs-return-30376-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 117947 invoked by alias); 2 Nov 2015 17:34:32 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 117884 invoked by uid 48); 2 Nov 2015 17:34:27 -0000
From: "jurobystricky at hotmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug nptl/19192] __old_sem_wait never terminates
Date: Mon, 02 Nov 2015 17:34:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: nptl
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jurobystricky at hotmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19192-131-6lelqsBFm5@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19192-131@http.sourceware.org/bugzilla/>
References: <bug-19192-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00005.txt.bz2
Content-length: 837

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

--- Comment #2 from Juro Bystricky <jurobystricky at hotmail dot com> ---
(In reply to Florian Weimer from comment #1)
> Does the hang happen on every call to __old_sem_wait?

It is hard to say. In my case the semaphore is initialized via
"new_sem_init" but then the wait for semaphore is via "old_sem_wait".
In this case there will be always problems, as the two calls assume different
structure for sem_t. Prior to glibc 2.21 this would work as well,
as the two different structures agreed on interpretation of the field "value".

Normally, I would expect no problems with combination
old_sem_init/old_sem_wait.
I should clarify that I ran into this problem using Python 2.7/multiprocessing.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30377-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Nov 02 18:55:36 2015
Return-Path: <glibc-bugs-return-30377-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 118491 invoked by alias); 2 Nov 2015 18:55:35 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 118147 invoked by uid 55); 2 Nov 2015 18:55:30 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/6799] nextafter() and nexttoward() doen't set errno on overflow/underflow errors
Date: Mon, 02 Nov 2015 18:55:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-6799-131-mSflUqrgF7@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-6799-131@http.sourceware.org/bugzilla/>
References: <bug-6799-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00006.txt.bz2
Content-length: 4967

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

--- 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, master has been updated
       via  85422c2acba83852396c9d9fd22ff0493e3606fe (commit)
      from  a9224562cbe9cfb0bd8d9e637a06141141f9e6e3 (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=85422c2acba83852396c9d9fd22ff0493e3606fe

commit 85422c2acba83852396c9d9fd22ff0493e3606fe
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Mon Nov 2 18:54:19 2015 +0000

    Make nextafter, nexttoward set errno (bug 6799).

    nextafter and nexttoward fail to set errno on overflow and underflow.
    This patch makes them do so in cases that should include all the cases
    where such errno setting is required by glibc's goals for when to set
    errno (but not all cases of underflow where the result is nonzero and
    so glibc's goals do not require errno setting).

    Tested for x86_64, x86, mips64 and powerpc.

        [BZ #6799]
        * math/s_nextafter.c: Include <errno.h>.
        (__nextafter): Set errno on overflow and underflow.
        * math/s_nexttowardf.c: Include <errno.h>.
        (__nexttowardf): Set errno on overflow and underflow.
        * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
        (__nextafterl): Set errno on overflow and underflow.
        * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
        (__nexttoward): Set errno on overflow and underflow.
        * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
        (__nexttowardf): Set errno on overflow and underflow.
        * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
        (__nextafterf): Set errno on overflow and underflow.
        * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
        (__nextafterl): Set errno on overflow and underflow.
        * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
        (__nexttoward): Set errno on overflow and underflow.
        * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
        (__nexttowardf): Set errno on overflow and underflow.
        * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
        (__nextafterl): Set errno on overflow and underflow.
        * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
        (__nexttoward): Set errno on overflow and underflow.
        * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
        (__nexttowardf): Set errno on overflow and underflow.
        * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
        (__nexttoward): Set errno on overflow and underflow.
        * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
        (__nexttowardf): Set errno on overflow and underflow.
        * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
        (__nldbl_nexttowardf): Set errno on overflow and underflow.
        * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
        (__nextafterl): Set errno on overflow and underflow.
        * math/libm-test.inc (nextafter_test_data): Do not allow errno
        setting to be missing on overflow.  Add more tests.
        (nexttoward_test_data): Likewise.

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

Summary of changes:
 ChangeLog                                   |   37 +++++++++++++++++++++++++++
 NEWS                                        |    2 +-
 math/libm-test.inc                          |   20 ++++++++++----
 math/s_nextafter.c                          |    3 ++
 math/s_nexttowardf.c                        |    3 ++
 sysdeps/i386/fpu/s_nextafterl.c             |    3 ++
 sysdeps/i386/fpu/s_nexttoward.c             |    3 ++
 sysdeps/i386/fpu/s_nexttowardf.c            |    3 ++
 sysdeps/ieee754/flt-32/s_nextafterf.c       |    3 ++
 sysdeps/ieee754/ldbl-128/s_nextafterl.c     |    3 ++
 sysdeps/ieee754/ldbl-128/s_nexttoward.c     |    3 ++
 sysdeps/ieee754/ldbl-128/s_nexttowardf.c    |    3 ++
 sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c  |    5 +++
 sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c  |    3 ++
 sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c |    3 ++
 sysdeps/ieee754/ldbl-96/s_nexttoward.c      |    3 ++
 sysdeps/ieee754/ldbl-96/s_nexttowardf.c     |    3 ++
 sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c   |    3 ++
 sysdeps/m68k/m680x0/fpu/s_nextafterl.c      |    3 ++
 19 files changed, 102 insertions(+), 7 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30378-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Nov 02 18:56:46 2015
Return-Path: <glibc-bugs-return-30378-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 124849 invoked by alias); 2 Nov 2015 18:56:46 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 124823 invoked by uid 48); 2 Nov 2015 18:56:42 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/6799] nextafter() and nexttoward() doen't set errno on overflow/underflow errors
Date: Mon, 02 Nov 2015 18:56:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-6799-131-99GkUq4M4X@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-6799-131@http.sourceware.org/bugzilla/>
References: <bug-6799-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00007.txt.bz2
Content-length: 722

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.23

--- Comment #6 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
Fixed for 2.23 (as regards cases where glibc's errno-setting goals mean errno
should be set, that is; it may or may not be set for underflow cases not
returning a zero).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30379-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Nov 02 23:54:10 2015
Return-Path: <glibc-bugs-return-30379-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 123922 invoked by alias); 2 Nov 2015 23:54:09 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 123888 invoked by uid 48); 2 Nov 2015 23:54:06 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19201] New: dbl-64 remainder incorrect sign of zero result
Date: Mon, 02 Nov 2015 23:54:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-19201-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00008.txt.bz2
Content-length: 894

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

            Bug ID: 19201
           Summary: dbl-64 remainder incorrect sign of zero result
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org
  Target Milestone: ---

For some large arguments, the dbl-64 implementation of remainder gives zero
results with the wrong sign, e.g.:

Failure: Test: remainder (-max_value, max_value)
Result:
 is:          0.0000000000000000e+00   0x0.0000000000000p+0
 should be:  -0.0000000000000000e+00  -0x0.0000000000000p+0
 difference:  0.0000000000000000e+00   0x0.0000000000000p+0
 ulp       :  0.0000
 max.ulp   :  0.0000

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30380-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Nov 03 00:13:10 2015
Return-Path: <glibc-bugs-return-30380-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 38160 invoked by alias); 3 Nov 2015 00:13:10 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 38083 invoked by uid 55); 3 Nov 2015 00:13:06 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19201] dbl-64 remainder incorrect sign of zero result
Date: Tue, 03 Nov 2015 00:13:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19201-131-qQyUN6Q1oF@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19201-131@http.sourceware.org/bugzilla/>
References: <bug-19201-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00009.txt.bz2
Content-length: 2250

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

--- Comment #1 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  444ec6b8d8091456a2622765ac60f9c60e7755a9 (commit)
      from  85422c2acba83852396c9d9fd22ff0493e3606fe (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=444ec6b8d8091456a2622765ac60f9c60e7755a9

commit 444ec6b8d8091456a2622765ac60f9c60e7755a9
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Tue Nov 3 00:11:49 2015 +0000

    Fix dbl-64 remainder sign of zero result (bug 19201).

    For some large arguments, the dbl-64 implementation of remainder gives
    zero results with the wrong sign, resulting from a subtraction that is
    mathematically correct but does not guarantee that a zero result has
    the sign of the first argument to remainder.  This patch adds an
    appropriate check for this case, similar to other implementations of
    remainder in the case of equality, and adds tests of remainder on
    inputs already used to test remquo.

    Tested for x86_64 and x86.

        [BZ #19201]
        * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
        Check for zero remainder in case of large exponents and ensure
        correct sign of result in that case.
        * math/libm-test.inc (remainder_test_data): Add more tests.

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

Summary of changes:
 ChangeLog                            |    6 +++
 NEWS                                 |    3 +-
 math/libm-test.inc                   |   69 ++++++++++++++++++++++++++++++++++
 sysdeps/ieee754/dbl-64/e_remainder.c |    2 +
 4 files changed, 79 insertions(+), 1 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30381-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Nov 03 00:13:31 2015
Return-Path: <glibc-bugs-return-30381-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 38548 invoked by alias); 3 Nov 2015 00:13:30 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 38495 invoked by uid 48); 3 Nov 2015 00:13:25 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19201] dbl-64 remainder incorrect sign of zero result
Date: Tue, 03 Nov 2015 00:13:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-19201-131-qkB2yMP5mI@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19201-131@http.sourceware.org/bugzilla/>
References: <bug-19201-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00010.txt.bz2
Content-length: 567

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.23

--- Comment #2 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
Fixed for 2.23.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30382-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Nov 03 10:38:28 2015
Return-Path: <glibc-bugs-return-30382-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 124769 invoked by alias); 3 Nov 2015 10:38:28 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 124704 invoked by uid 48); 3 Nov 2015 10:38:24 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug malloc/19182] malloc deadlock between ptmalloc_lock_all and _int_new_arena
Date: Tue, 03 Nov 2015 10:38:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: malloc
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: fweimer at redhat dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-19182-131-vEYcq511yW@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19182-131@http.sourceware.org/bugzilla/>
References: <bug-19182-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00011.txt.bz2
Content-length: 464

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at sourceware dot org   |fweimer at redhat dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30383-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Nov 03 17:49:27 2015
Return-Path: <glibc-bugs-return-30383-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 104319 invoked by alias); 3 Nov 2015 17:49:27 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 104262 invoked by uid 48); 3 Nov 2015 17:49:23 -0000
From: "netjoker.45 at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/154] tzset not called frequently enough by localtime() and friends
Date: Tue, 03 Nov 2015 17:49:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.3.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: netjoker.45 at gmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: gotom at debian dot or.jp
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_file_loc cc
Message-ID: <bug-154-131-RO6WDWihz2@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-154-131@http.sourceware.org/bugzilla/>
References: <bug-154-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00012.txt.bz2
Content-length: 549

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

Joshua <netjoker.45 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://doc.emergingthreats.
                   |                            |net/pub/Main/WebHome/1.html
                 CC|                            |netjoker.45 at gmail dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30384-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Nov 03 17:52:59 2015
Return-Path: <glibc-bugs-return-30384-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 107684 invoked by alias); 3 Nov 2015 17:52:59 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 107648 invoked by uid 48); 3 Nov 2015 17:52:55 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/154] tzset not called frequently enough by localtime() and friends
Date: Tue, 03 Nov 2015 17:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.3.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: gotom at debian dot or.jp
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_file_loc cc
Message-ID: <bug-154-131-hOuwK7W7Ge@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-154-131@http.sourceware.org/bugzilla/>
References: <bug-154-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00013.txt.bz2
Content-length: 531

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|http://doc.emergingthreats. |
                   |net/pub/Main/WebHome/1.html |
                 CC|netjoker.45 at gmail dot com,      |
                   |netjoker45 at gmail dot com        |

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30385-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Nov 03 18:09:51 2015
Return-Path: <glibc-bugs-return-30385-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 35565 invoked by alias); 3 Nov 2015 18:09:50 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 35530 invoked by uid 48); 3 Nov 2015 18:09:47 -0000
From: "netjoker.45 at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/154] tzset not called frequently enough by localtime() and friends
Date: Tue, 03 Nov 2015 18:09:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.3.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: netjoker.45 at gmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: gotom at debian dot or.jp
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_file_loc cc
Message-ID: <bug-154-131-8YNpowc78R@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-154-131@http.sourceware.org/bugzilla/>
References: <bug-154-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00014.txt.bz2
Content-length: 549

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

Joshua <netjoker.45 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://doc.emergingthreats.
                   |                            |net/pub/Main/WebHome/1.html
                 CC|                            |netjoker.45 at gmail dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30386-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Nov 03 18:10:52 2015
Return-Path: <glibc-bugs-return-30386-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 36145 invoked by alias); 3 Nov 2015 18:10:52 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 36097 invoked by uid 48); 3 Nov 2015 18:10:44 -0000
From: "netjoker.45 at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/154] tzset not called frequently enough by localtime() and friends
Date: Tue, 03 Nov 2015 18:10:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.3.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: netjoker.45 at gmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: gotom at debian dot or.jp
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-154-131-SX7JH8kkif@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-154-131@http.sourceware.org/bugzilla/>
References: <bug-154-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00015.txt.bz2
Content-length: 252

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

--- Comment #7 from Joshua <netjoker.45 at gmail dot com> ---
http://doc.emergingthreats.net/pub/Main/WebHome/1.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30387-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Nov 03 18:43:07 2015
Return-Path: <glibc-bugs-return-30387-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 119934 invoked by alias); 3 Nov 2015 18:43:07 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 119851 invoked by uid 48); 3 Nov 2015 18:43:03 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/154] tzset not called frequently enough by localtime() and friends
Date: Tue, 03 Nov 2015 18:43:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.3.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: gotom at debian dot or.jp
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_file_loc cc
Message-ID: <bug-154-131-VZu7iSA3p7@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-154-131@http.sourceware.org/bugzilla/>
References: <bug-154-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00016.txt.bz2
Content-length: 474

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|http://doc.emergingthreats. |
                   |net/pub/Main/WebHome/1.html |
                 CC|netjoker.45 at gmail dot com       |

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30388-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Nov 03 22:27:25 2015
Return-Path: <glibc-bugs-return-30388-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 94369 invoked by alias); 3 Nov 2015 22:27:24 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 94302 invoked by uid 55); 3 Nov 2015 22:27:19 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/18604] assert macro-expands its argument
Date: Tue, 03 Nov 2015 22:27:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.21
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-18604-131-TguZZBp478@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-18604-131@http.sourceware.org/bugzilla/>
References: <bug-18604-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00017.txt.bz2
Content-length: 1496

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

--- Comment #8 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  8ba14398e629c1f63b9c91a59a47a713b3cce8bc (commit)
      from  cf09d0b052cbbfbcabc3c3d78d485876b9b81f9c (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=8ba14398e629c1f63b9c91a59a47a713b3cce8bc

commit 8ba14398e629c1f63b9c91a59a47a713b3cce8bc
Author: David Kastrup <dak@gnu.org>
Date:   Tue Nov 3 23:08:54 2015 +0100

    Don't macro-expand failed assertion expression [BZ #18604]

        [BZ #18604]
        * assert/assert.h (assert): Don't macro-expand failed assertion
        expression in error message.
        * malloc/malloc.c (assert): Likewise.

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

Summary of changes:
 ChangeLog       |    7 +++++++
 assert/assert.h |    2 +-
 malloc/malloc.c |    2 +-
 3 files changed, 9 insertions(+), 2 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30389-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Nov 03 22:28:09 2015
Return-Path: <glibc-bugs-return-30389-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 95778 invoked by alias); 3 Nov 2015 22:28:08 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 95712 invoked by uid 48); 3 Nov 2015 22:28:04 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/18604] assert macro-expands its argument
Date: Tue, 03 Nov 2015 22:28:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.21
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-18604-131-7bKISoRXz7@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-18604-131@http.sourceware.org/bugzilla/>
References: <bug-18604-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00018.txt.bz2
Content-length: 593

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |fweimer at redhat dot com
         Resolution|---                         |FIXED

--- Comment #9 from Florian Weimer <fweimer at redhat dot com> ---
Fixed in 2.23.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30390-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 04 07:10:08 2015
Return-Path: <glibc-bugs-return-30390-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 20283 invoked by alias); 4 Nov 2015 07:10:07 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 19647 invoked by uid 55); 4 Nov 2015 07:10:02 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/18604] assert macro-expands its argument
Date: Wed, 04 Nov 2015 07:10:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.21
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-18604-131-hdZl9Xz8oV@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-18604-131@http.sourceware.org/bugzilla/>
References: <bug-18604-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00019.txt.bz2
Content-length: 1224

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

--- Comment #10 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  739d805a57cfb92501bf5105c73cb85f5bea1fd9 (commit)
      from  199a3386544527d63aa95386f06db62a65b071cf (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=739d805a57cfb92501bf5105c73cb85f5bea1fd9

commit 739d805a57cfb92501bf5105c73cb85f5bea1fd9
Author: Florian Weimer <fweimer@redhat.com>
Date:   Wed Nov 4 08:09:06 2015 +0100

    Add bug 18604 to NEWS

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

Summary of changes:
 NEWS |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30391-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 04 11:10:59 2015
Return-Path: <glibc-bugs-return-30391-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 86221 invoked by alias); 4 Nov 2015 11:10:58 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 86163 invoked by uid 48); 4 Nov 2015 11:10:54 -0000
From: "baurthefirst at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/15578] kk_KZ: various updates
Date: Wed, 04 Nov 2015 11:10:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: 2.18
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: baurthefirst at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-15578-131-WkCgWT9X1o@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-15578-131@http.sourceware.org/bugzilla/>
References: <bug-15578-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00020.txt.bz2
Content-length: 524

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

--- Comment #7 from Baurzhan Muftakhidinov <baurthefirst at gmail dot com> ---
(In reply to Carlos O'Donell from comment #6)
> Please post the patch to libc-alpha for review following:
> https://sourceware.org/glibc/wiki/Contribution%20checklist
> 
> If you have already, please ping the patch and TO me.

https://sourceware.org/ml/libc-alpha/2015-11/msg00002.html

Dear Carlos, FYI

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30392-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 04 16:01:17 2015
Return-Path: <glibc-bugs-return-30392-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 38298 invoked by alias); 4 Nov 2015 16:01:16 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 38248 invoked by uid 48); 4 Nov 2015 16:01:13 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/18604] assert macro-expands its argument
Date: Wed, 04 Nov 2015 16:01:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.21
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-18604-131-FKYDXOQL3O@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-18604-131@http.sourceware.org/bugzilla/>
References: <bug-18604-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00021.txt.bz2
Content-length: 376

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |2.23

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30393-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 04 16:49:52 2015
Return-Path: <glibc-bugs-return-30393-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 84284 invoked by alias); 4 Nov 2015 16:49:51 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 84238 invoked by uid 55); 4 Nov 2015 16:49:46 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/18604] assert macro-expands its argument
Date: Wed, 04 Nov 2015 16:49:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.21
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-18604-131-Bj4nULVPvI@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-18604-131@http.sourceware.org/bugzilla/>
References: <bug-18604-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00022.txt.bz2
Content-length: 1259

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

--- Comment #11 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  6fdd5d65c58e8c98960aa2249b1fb1546e2c256a (commit)
      from  b257c668846d0d1d16cb4012c0ddf09af88f1935 (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=6fdd5d65c58e8c98960aa2249b1fb1546e2c256a

commit 6fdd5d65c58e8c98960aa2249b1fb1546e2c256a
Author: Florian Weimer <fweimer@redhat.com>
Date:   Wed Nov 4 17:48:40 2015 +0100

    Add bug 18604 to the correct section

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

Summary of changes:
 NEWS |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30394-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 04 19:43:05 2015
Return-Path: <glibc-bugs-return-30394-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 3061 invoked by alias); 4 Nov 2015 19:43:04 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 2995 invoked by uid 48); 4 Nov 2015 19:43:01 -0000
From: "brooks at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug dynamic-link/15310] _dl_sort_fini is O(n^3) causing slow exit when many dsos
Date: Wed, 04 Nov 2015 19:43:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: dynamic-link
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: critical
X-Bugzilla-Who: brooks at gcc dot gnu.org
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-15310-131-na9KJESwYT@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-15310-131@http.sourceware.org/bugzilla/>
References: <bug-15310-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00023.txt.bz2
Content-length: 504

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

Brooks Moses <brooks at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |brooks at gcc dot gnu.org

--- Comment #20 from Brooks Moses <brooks at gcc dot gnu.org> ---
Ping; did anything ever happen with this?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30395-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 04 19:56:20 2015
Return-Path: <glibc-bugs-return-30395-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 20305 invoked by alias); 4 Nov 2015 19:56:19 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 13972 invoked by uid 48); 4 Nov 2015 19:56:15 -0000
From: "carlos at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug dynamic-link/15310] _dl_sort_fini is O(n^3) causing slow exit when many dsos
Date: Wed, 04 Nov 2015 19:56:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: dynamic-link
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: critical
X-Bugzilla-Who: carlos at redhat dot com
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-15310-131-0iQM7CjlnW@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-15310-131@http.sourceware.org/bugzilla/>
References: <bug-15310-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00024.txt.bz2
Content-length: 1247

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

Carlos O'Donell <carlos at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |paulo.cesar.pereira.de.andr
                   |                            |ade at gmail dot com

--- Comment #21 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to Brooks Moses from comment #20)
> Ping; did anything ever happen with this?

No, but it would be awesome if someone moved this forward.

Unfortunately Don doesn't have a copyright assignment as far as I can tell, so
please don't look at the code in this patch if you plan to implement it.

Instead I suggest we look at bug 17645:
https://sourceware.org/bugzilla/show_bug.cgi?id=17645

Fedora bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1162810

libc-alpha post:
https://sourceware.org/ml/libc-alpha/2014-11/msg00702.html

And take a serious look at Paulo's work.

It still needs someone to write a test that actually does some decent coverage
over the permutation of DT_NEEDED trees.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30396-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 04 20:32:19 2015
Return-Path: <glibc-bugs-return-30396-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 111383 invoked by alias); 4 Nov 2015 20:32:18 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 111305 invoked by uid 48); 4 Nov 2015 20:32:15 -0000
From: "carlos at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug dynamic-link/15310] _dl_sort_fini is O(n^3) causing slow exit when many dsos
Date: Wed, 04 Nov 2015 20:32:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: dynamic-link
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: critical
X-Bugzilla-Who: carlos at redhat dot com
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-15310-131-mnFI5VFaXu@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-15310-131@http.sourceware.org/bugzilla/>
References: <bug-15310-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00025.txt.bz2
Content-length: 340

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

--- Comment #22 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to Carlos O'Donell from comment #21)
> And take a serious look at Paulo's work.

In full disclosure, Paulo works at Red Hat.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30398-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 04 21:58:24 2015
Return-Path: <glibc-bugs-return-30398-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 73101 invoked by alias); 4 Nov 2015 21:58:24 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 73044 invoked by uid 48); 4 Nov 2015 21:58:21 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug nptl/12683] Race conditions in pthread cancellation
Date: Wed, 04 Nov 2015 21:58:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: nptl
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: critical
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-12683-131-VZzUYMAJcD@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-12683-131@http.sourceware.org/bugzilla/>
References: <bug-12683-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00027.txt.bz2
Content-length: 372

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|2.19                        |---

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30399-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 04 21:58:36 2015
Return-Path: <glibc-bugs-return-30399-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 73444 invoked by alias); 4 Nov 2015 21:58:36 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 73387 invoked by uid 48); 4 Nov 2015 21:58:32 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug stdio/12724] fclose violates POSIX 2008 on seekable input streams
Date: Wed, 04 Nov 2015 21:58:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: stdio
X-Bugzilla-Version: 2.13
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-12724-131-WawxUW8txy@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-12724-131@http.sourceware.org/bugzilla/>
References: <bug-12724-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00028.txt.bz2
Content-length: 372

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|2.18                        |---

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30397-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 04 21:58:07 2015
Return-Path: <glibc-bugs-return-30397-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 72743 invoked by alias); 4 Nov 2015 21:58:07 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 72651 invoked by uid 48); 4 Nov 2015 21:58:03 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug dynamic-link/11787] Program with large TLS segments fail.
Date: Wed, 04 Nov 2015 21:58:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: dynamic-link
X-Bugzilla-Version: 2.12
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: carlos at redhat dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: review+ security-
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-11787-131-mk4TJCZiRu@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-11787-131@http.sourceware.org/bugzilla/>
References: <bug-11787-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00026.txt.bz2
Content-length: 372

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|2.18                        |---

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30401-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 04 21:58:55 2015
Return-Path: <glibc-bugs-return-30401-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 74745 invoked by alias); 4 Nov 2015 21:58:55 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 74685 invoked by uid 48); 4 Nov 2015 21:58:51 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug build/13853] Building libc.pot has a lot of warnings.
Date: Wed, 04 Nov 2015 21:58:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: build
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-13853-131-ZNgFQ8J5l4@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-13853-131@http.sourceware.org/bugzilla/>
References: <bug-13853-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00030.txt.bz2
Content-length: 372

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|2.17                        |---

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30400-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 04 21:58:43 2015
Return-Path: <glibc-bugs-return-30400-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 73834 invoked by alias); 4 Nov 2015 21:58:43 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 73713 invoked by uid 48); 4 Nov 2015 21:58:39 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug nptl/13690] pthread_mutex_unlock potentially cause invalid access
Date: Wed, 04 Nov 2015 21:58:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: nptl
X-Bugzilla-Version: 2.15
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: review?
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-13690-131-eWjpJDMuqW@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-13690-131@http.sourceware.org/bugzilla/>
References: <bug-13690-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00029.txt.bz2
Content-length: 372

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|2.18                        |---

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30404-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 04 21:59:16 2015
Return-Path: <glibc-bugs-return-30404-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 76720 invoked by alias); 4 Nov 2015 21:59:15 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 76279 invoked by uid 48); 4 Nov 2015 21:59:12 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug stdio/14267] fprintf() function is multithread-unsafe
Date: Wed, 04 Nov 2015 21:59:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: stdio
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-14267-131-ecSFRr2zOq@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-14267-131@http.sourceware.org/bugzilla/>
References: <bug-14267-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00033.txt.bz2
Content-length: 372

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|2.18                        |---

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30406-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 04 21:59:43 2015
Return-Path: <glibc-bugs-return-30406-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 77827 invoked by alias); 4 Nov 2015 21:59:43 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 77792 invoked by uid 48); 4 Nov 2015 21:59:39 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug nptl/14830] Race conditions with signals and thread priority scheduling
Date: Wed, 04 Nov 2015 21:59:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: nptl
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-14830-131-nmtMnkN5AY@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-14830-131@http.sourceware.org/bugzilla/>
References: <bug-14830-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00035.txt.bz2
Content-length: 372

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|2.20                        |---

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30405-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 04 21:59:23 2015
Return-Path: <glibc-bugs-return-30405-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 77486 invoked by alias); 4 Nov 2015 21:59:23 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 77126 invoked by uid 48); 4 Nov 2015 21:59:18 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug nptl/14744] kill -32 $pid or kill -33 $pid on a process cancels a random thread
Date: Wed, 04 Nov 2015 21:59:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: nptl
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: minor
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-14744-131-idrrljtwy6@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-14744-131@http.sourceware.org/bugzilla/>
References: <bug-14744-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00034.txt.bz2
Content-length: 372

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|2.20                        |---

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30402-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 04 21:59:01 2015
Return-Path: <glibc-bugs-return-30402-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 75350 invoked by alias); 4 Nov 2015 21:59:01 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 74962 invoked by uid 48); 4 Nov 2015 21:58:57 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug network/14084] Cleanup reversal of sunrpc obsoletion code
Date: Wed, 04 Nov 2015 21:59:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: network
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-14084-131-OaMpRXXun7@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-14084-131@http.sourceware.org/bugzilla/>
References: <bug-14084-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00031.txt.bz2
Content-length: 372

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|2.17                        |---

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30403-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 04 21:59:09 2015
Return-Path: <glibc-bugs-return-30403-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 75943 invoked by alias); 4 Nov 2015 21:59:09 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 75775 invoked by uid 48); 4 Nov 2015 21:59:04 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug build/14259] --localedir arg to configure is ignored
Date: Wed, 04 Nov 2015 21:59:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: build
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-14259-131-lQu23YYuWk@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-14259-131@http.sourceware.org/bugzilla/>
References: <bug-14259-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00032.txt.bz2
Content-length: 372

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|2.17                        |---

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30407-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 04 21:59:50 2015
Return-Path: <glibc-bugs-return-30407-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 78108 invoked by alias); 4 Nov 2015 21:59:49 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 78059 invoked by uid 48); 4 Nov 2015 21:59:46 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug build/14995] glibc fails to build if gold is the default linker, even if ld.bfd is available
Date: Wed, 04 Nov 2015 21:59:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: build
X-Bugzilla-Version: 2.21
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: hjl.tools at gmail dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-14995-131-4vdLebS3kk@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-14995-131@http.sourceware.org/bugzilla/>
References: <bug-14995-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00036.txt.bz2
Content-length: 372

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|2.22                        |---

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30408-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 04 21:59:58 2015
Return-Path: <glibc-bugs-return-30408-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 78411 invoked by alias); 4 Nov 2015 21:59:57 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 78351 invoked by uid 48); 4 Nov 2015 21:59:54 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/15407] [x86_64] Partial frame info in sysdeps/x86_64/start.S
Date: Wed, 04 Nov 2015 21:59:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.18
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jan.kratochvil at redhat dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-15407-131-puN8x0JQCb@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-15407-131@http.sourceware.org/bugzilla/>
References: <bug-15407-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00037.txt.bz2
Content-length: 372

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|2.18                        |---

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30410-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 04 22:00:44 2015
Return-Path: <glibc-bugs-return-30410-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 79456 invoked by alias); 4 Nov 2015 22:00:38 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 79333 invoked by uid 48); 4 Nov 2015 22:00:31 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/16291] feature request: provide simpler ways to compute stack and tls boundaries
Date: Wed, 04 Nov 2015 22:00:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.19
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-16291-131-SGou4orP8Z@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-16291-131@http.sourceware.org/bugzilla/>
References: <bug-16291-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00039.txt.bz2
Content-length: 372

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|2.20                        |---

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30409-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 04 22:00:10 2015
Return-Path: <glibc-bugs-return-30409-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 78907 invoked by alias); 4 Nov 2015 22:00:10 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 78694 invoked by uid 48); 4 Nov 2015 22:00:01 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug dynamic-link/16133] Access to __thread variable may call malloc
Date: Wed, 04 Nov 2015 22:00:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: dynamic-link
X-Bugzilla-Version: 2.19
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-16133-131-HVWeLdw0ff@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-16133-131@http.sourceware.org/bugzilla/>
References: <bug-16133-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00038.txt.bz2
Content-length: 372

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|2.20                        |---

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30412-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 04 22:00:57 2015
Return-Path: <glibc-bugs-return-30412-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 80063 invoked by alias); 4 Nov 2015 22:00:57 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 80013 invoked by uid 48); 4 Nov 2015 22:00:53 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug nptl/18435] pthread_once hangs when init routine throws an exception
Date: Wed, 04 Nov 2015 22:00:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: nptl
X-Bugzilla-Version: 2.21
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: msebor at redhat dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-18435-131-rpsVKLBioo@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-18435-131@http.sourceware.org/bugzilla/>
References: <bug-18435-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00041.txt.bz2
Content-length: 372

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|2.22                        |---

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30411-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 04 22:00:49 2015
Return-Path: <glibc-bugs-return-30411-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 79766 invoked by alias); 4 Nov 2015 22:00:49 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 79502 invoked by uid 48); 4 Nov 2015 22:00:42 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/18124] hppa: setcontext erroneously returns -1 as exit code for last constant.
Date: Wed, 04 Nov 2015 22:00:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.21
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-18124-131-6bKnkxFj68@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-18124-131@http.sourceware.org/bugzilla/>
References: <bug-18124-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00040.txt.bz2
Content-length: 372

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|2.22                        |---

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30413-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 04 22:01:41 2015
Return-Path: <glibc-bugs-return-30413-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 80618 invoked by alias); 4 Nov 2015 22:01:41 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 80576 invoked by uid 48); 4 Nov 2015 22:01:37 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/18863] bits/siginfo.h: mips/ia64 missing si_syscall updates
Date: Wed, 04 Nov 2015 22:01:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-18863-131-IaTyoRtsRz@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-18863-131@http.sourceware.org/bugzilla/>
References: <bug-18863-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00042.txt.bz2
Content-length: 372

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|2.23                        |---

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30414-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Nov 05 00:08:43 2015
Return-Path: <glibc-bugs-return-30414-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 94832 invoked by alias); 5 Nov 2015 00:08:43 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 94803 invoked by uid 48); 5 Nov 2015 00:08:39 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19205] New: bits/math-finite.h conditions do not match math.h and bits/mathcalls.h
Date: Thu, 05 Nov 2015 00:08:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-19205-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00043.txt.bz2
Content-length: 1579

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

            Bug ID: 19205
           Summary: bits/math-finite.h conditions do not match math.h and
                    bits/mathcalls.h
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org
  Target Milestone: ---

bits/math-finite.h declares -ffinite-math-only variants of various functions
under conditions not matching those under which the normal versions are
declared.

* math.h only ever includes bits/mathcalls.h to declare float and long double
functions if __USE_ISOC99, but bits/math-finite.h declares some float functions
regardless (long double ones are conditioned on __MATH_DECLARE_LDOUBLE).

* Some functions are defined as inlines using lgamma_r functions under
conditions where those lgamma_r functions are not themselves declared.

* hypot is declared under __USE_XOPEN || __USE_ISOC99 in bits/mathcalls.h,
__USE_ISOC99 only in bits/math-finite.h.

* float and long double versions of Bessel functions should be limited to
__USE_MISC (as in bug 18977).

* gamma should not be declared for __USE_XOPEN2K (as in bug 18967).

* remainder should be restricted to __USE_XOPEN_EXTENDED || __USE_ISOC99, not
unconditional.

* scalb should not be declared for __USE_XOPEN2K8, and scalbf and scalbl are
non-POSIX (as in bug 18967).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30417-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Nov 05 00:50:05 2015
Return-Path: <glibc-bugs-return-30417-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 26850 invoked by alias); 5 Nov 2015 00:50:05 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 26664 invoked by uid 55); 5 Nov 2015 00:50:00 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/18967] math.h XSI POSIX namespace (gamma, isnan, scalb)
Date: Thu, 05 Nov 2015 00:50:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-18967-131-X2zVlcSJxR@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-18967-131@http.sourceware.org/bugzilla/>
References: <bug-18967-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00045.txt.bz2
Content-length: 6852

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

--- Comment #4 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  3bfee8beb8caa939020d942dfa405a3d98975749 (commit)
      from  9f9f27248bf464b465fd4f05112a5b479503e83a (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=3bfee8beb8caa939020d942dfa405a3d98975749

commit 3bfee8beb8caa939020d942dfa405a3d98975749
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Thu Nov 5 00:48:57 2015 +0000

    Make bits/math-finite.h conditions match other headers (bug 19205).

    bits/math-finite.h declares -ffinite-math-only variants of various
    functions under conditions not matching those under which the normal
    versions are declared.

    * math.h only ever includes bits/mathcalls.h to declare float and long
      double functions if __USE_ISOC99, but bits/math-finite.h declares
      some float functions regardless (long double ones are conditioned on
      __MATH_DECLARE_LDOUBLE).  (For C90 functions this isn't a
      conformance bug because C90 reserves the float and long double
      names, but is still contrary to good glibc practice.  For some other
      functions in older XSI standards it *is* a conformance bug.)

    * Some functions are defined as inlines using lgamma_r functions under
      conditions where those lgamma_r functions are not themselves
      declared.

    * hypot is declared under __USE_XOPEN || __USE_ISOC99 in
      bits/mathcalls.h, __USE_ISOC99 only in bits/math-finite.h.

    * float and long double versions of Bessel functions should be limited
      to __USE_MISC (as in bug 18977).

    * gamma should not be declared for __USE_XOPEN2K (as in bug 18967).

    * remainder should be restricted to __USE_XOPEN_EXTENDED ||
      __USE_ISOC99, not unconditional.

    * scalb should not be declared for __USE_XOPEN2K8, and scalbf and
      scalbl are non-POSIX (as in bug 18967).

    This patch fixes all these issues (it doesn't seem worth splitting
    them into separate patches or bugs).  I put __USE_ISOC99 conditionals,
    where needed, around both float and long double declarations, even
    though formally redundant around the long double declarations because
    __MATH_DECLARE_LDOUBLE isn't defined without __USE_ISOC99; it seemed
    clearer that way.  The missing declarations of lgamma_r functions are
    dealt with by directly using declarations of __lgamma*_r_finite, in
    the implementation namespace, rather than having the inlines rely on
    asm redirection of lgamma*_r.

    After this patch, there are some apparently redundant nested
    __USE_ISOC99 conditionals in lgamma / gamma definitions.  These
    actually reflect a separate bug (the correct condition for the lgamma
    inline functions to set signgam is __USE_MISC || __USE_XOPEN, the
    condition under which signgam is declared, rather than disabling
    setting it if __USE_ISOC99, which includes XSI POSIX versions for
    which signgam *should* be set).  They'll be fixed as part of a fix for
    that bug, which will also add tests for these inlines.  I've put a
    note about more general conform/ test coverage for -ffinite-math-only
    on
   
<https://sourceware.org/glibc/wiki/Development_Todo/Master#conformtest_improvements>,
    alongside other options for which this is also relevant (some of which
    have also had such bugs in the past relating to mismatched
    conditionals).

    I also intend to enable the main libm-test.inc tests for the
    math-finite.h functions, but some other bugs in __*_finite need fixing
    first.

        [BZ #19205]
        * math/bits/math-finite.h (acosf): Condition declaration on
        [__USE_ISOC99].
        (acosl): Likewise.
        (acoshf): Likewise.
        (acoshl): Likewise.
        (asinf): Likewise.
        (asinl): Likewise.
        (atan2f): Likewise.
        (atan2l): Likewise.
        (atanhf): Likewise.
        (atanhl): Likewise.
        (coshf): Likewise.
        (coshl): Likewise.
        (expf): Likewise.
        (expl): Likewise.
        (fmodf): Likewise.
        (fmodl): Likewise.
        (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
        (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
        (j0l): Likewise.
        (y0f): Likewise.
        (y0l): Likewise.
        (j1f): Likewise.
        (j1l): Likewise.
        (y1f): Likewise.
        (y1l): Likewise.
        (jnf): Likewise.
        (jnl): Likewise.
        (ynf): Likewise.
        (ynl): Likewise.
        (lgammaf_r): Condition declaration on [__USE_ISOC99].
        (lgammal_r): Likewise.
        (__lgamma_r_finite): New declaration.
        (__lgammaf_r_finite): Likewise.
        (__lgammal_r_finite): Likewise.
        (lgamma): Use __lgamma_r_finite.
        (lgammaf): Condition definition on [__USE_ISOC99].  Use
        __lgammaf_r_finite.
        (lgammal): Condition definition on [__USE_ISOC99].  Use
        __lgammal_r_finite.
        (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
        __lgamma_r_finite.
        (gammaf): Condition definition on [__USE_ISOC99].  Use
        __lgammaf_r_finite.
        (gammal): Condition definition on [__USE_ISOC99].  Use
        __lgammal_r_finite.
        (logf): Condition declaration on [__USE_ISOC99].
        (logl): Likewise.
        (log10f): Likewise.
        (log10l): Likewise.
        (ldexpf): Likewise.
        (ldexpl): Likewise.
        (powf): Likewise.
        (powl): Likewise.
        (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
        __USE_ISOC99].
        (remainderf): Condition declaration on [__USE_ISOC99].
        (remainderl): Likewise.
        (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
        (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
        (scalbl): Likewise.
        (sinhf): Condition declaration on [__USE_ISOC99].
        (sinhl): Likewise.
        (sqrtf): Likewise.
        (sqrtl): Likewise.

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

Summary of changes:
 ChangeLog               |   69 ++++++++++++++++
 NEWS                    |    2 +-
 math/bits/math-finite.h |  198 ++++++++++++++++++++++++++++++++---------------
 3 files changed, 206 insertions(+), 63 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30415-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Nov 05 00:50:05 2015
Return-Path: <glibc-bugs-return-30415-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 26761 invoked by alias); 5 Nov 2015 00:50:04 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 26651 invoked by uid 55); 5 Nov 2015 00:50:00 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/18977] float / long double Bessel functions not in XSI POSIX
Date: Thu, 05 Nov 2015 00:50:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-18977-131-F7fwIfFkGY@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-18977-131@http.sourceware.org/bugzilla/>
References: <bug-18977-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00044.txt.bz2
Content-length: 6852

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

--- Comment #3 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  3bfee8beb8caa939020d942dfa405a3d98975749 (commit)
      from  9f9f27248bf464b465fd4f05112a5b479503e83a (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=3bfee8beb8caa939020d942dfa405a3d98975749

commit 3bfee8beb8caa939020d942dfa405a3d98975749
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Thu Nov 5 00:48:57 2015 +0000

    Make bits/math-finite.h conditions match other headers (bug 19205).

    bits/math-finite.h declares -ffinite-math-only variants of various
    functions under conditions not matching those under which the normal
    versions are declared.

    * math.h only ever includes bits/mathcalls.h to declare float and long
      double functions if __USE_ISOC99, but bits/math-finite.h declares
      some float functions regardless (long double ones are conditioned on
      __MATH_DECLARE_LDOUBLE).  (For C90 functions this isn't a
      conformance bug because C90 reserves the float and long double
      names, but is still contrary to good glibc practice.  For some other
      functions in older XSI standards it *is* a conformance bug.)

    * Some functions are defined as inlines using lgamma_r functions under
      conditions where those lgamma_r functions are not themselves
      declared.

    * hypot is declared under __USE_XOPEN || __USE_ISOC99 in
      bits/mathcalls.h, __USE_ISOC99 only in bits/math-finite.h.

    * float and long double versions of Bessel functions should be limited
      to __USE_MISC (as in bug 18977).

    * gamma should not be declared for __USE_XOPEN2K (as in bug 18967).

    * remainder should be restricted to __USE_XOPEN_EXTENDED ||
      __USE_ISOC99, not unconditional.

    * scalb should not be declared for __USE_XOPEN2K8, and scalbf and
      scalbl are non-POSIX (as in bug 18967).

    This patch fixes all these issues (it doesn't seem worth splitting
    them into separate patches or bugs).  I put __USE_ISOC99 conditionals,
    where needed, around both float and long double declarations, even
    though formally redundant around the long double declarations because
    __MATH_DECLARE_LDOUBLE isn't defined without __USE_ISOC99; it seemed
    clearer that way.  The missing declarations of lgamma_r functions are
    dealt with by directly using declarations of __lgamma*_r_finite, in
    the implementation namespace, rather than having the inlines rely on
    asm redirection of lgamma*_r.

    After this patch, there are some apparently redundant nested
    __USE_ISOC99 conditionals in lgamma / gamma definitions.  These
    actually reflect a separate bug (the correct condition for the lgamma
    inline functions to set signgam is __USE_MISC || __USE_XOPEN, the
    condition under which signgam is declared, rather than disabling
    setting it if __USE_ISOC99, which includes XSI POSIX versions for
    which signgam *should* be set).  They'll be fixed as part of a fix for
    that bug, which will also add tests for these inlines.  I've put a
    note about more general conform/ test coverage for -ffinite-math-only
    on
   
<https://sourceware.org/glibc/wiki/Development_Todo/Master#conformtest_improvements>,
    alongside other options for which this is also relevant (some of which
    have also had such bugs in the past relating to mismatched
    conditionals).

    I also intend to enable the main libm-test.inc tests for the
    math-finite.h functions, but some other bugs in __*_finite need fixing
    first.

        [BZ #19205]
        * math/bits/math-finite.h (acosf): Condition declaration on
        [__USE_ISOC99].
        (acosl): Likewise.
        (acoshf): Likewise.
        (acoshl): Likewise.
        (asinf): Likewise.
        (asinl): Likewise.
        (atan2f): Likewise.
        (atan2l): Likewise.
        (atanhf): Likewise.
        (atanhl): Likewise.
        (coshf): Likewise.
        (coshl): Likewise.
        (expf): Likewise.
        (expl): Likewise.
        (fmodf): Likewise.
        (fmodl): Likewise.
        (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
        (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
        (j0l): Likewise.
        (y0f): Likewise.
        (y0l): Likewise.
        (j1f): Likewise.
        (j1l): Likewise.
        (y1f): Likewise.
        (y1l): Likewise.
        (jnf): Likewise.
        (jnl): Likewise.
        (ynf): Likewise.
        (ynl): Likewise.
        (lgammaf_r): Condition declaration on [__USE_ISOC99].
        (lgammal_r): Likewise.
        (__lgamma_r_finite): New declaration.
        (__lgammaf_r_finite): Likewise.
        (__lgammal_r_finite): Likewise.
        (lgamma): Use __lgamma_r_finite.
        (lgammaf): Condition definition on [__USE_ISOC99].  Use
        __lgammaf_r_finite.
        (lgammal): Condition definition on [__USE_ISOC99].  Use
        __lgammal_r_finite.
        (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
        __lgamma_r_finite.
        (gammaf): Condition definition on [__USE_ISOC99].  Use
        __lgammaf_r_finite.
        (gammal): Condition definition on [__USE_ISOC99].  Use
        __lgammal_r_finite.
        (logf): Condition declaration on [__USE_ISOC99].
        (logl): Likewise.
        (log10f): Likewise.
        (log10l): Likewise.
        (ldexpf): Likewise.
        (ldexpl): Likewise.
        (powf): Likewise.
        (powl): Likewise.
        (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
        __USE_ISOC99].
        (remainderf): Condition declaration on [__USE_ISOC99].
        (remainderl): Likewise.
        (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
        (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
        (scalbl): Likewise.
        (sinhf): Condition declaration on [__USE_ISOC99].
        (sinhl): Likewise.
        (sqrtf): Likewise.
        (sqrtl): Likewise.

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

Summary of changes:
 ChangeLog               |   69 ++++++++++++++++
 NEWS                    |    2 +-
 math/bits/math-finite.h |  198 ++++++++++++++++++++++++++++++++---------------
 3 files changed, 206 insertions(+), 63 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30416-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Nov 05 00:50:05 2015
Return-Path: <glibc-bugs-return-30416-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 26778 invoked by alias); 5 Nov 2015 00:50:05 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 26658 invoked by uid 55); 5 Nov 2015 00:50:00 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19205] bits/math-finite.h conditions do not match math.h and bits/mathcalls.h
Date: Thu, 05 Nov 2015 00:50:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19205-131-NamdeyJaDg@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19205-131@http.sourceware.org/bugzilla/>
References: <bug-19205-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00046.txt.bz2
Content-length: 6852

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

--- Comment #1 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  3bfee8beb8caa939020d942dfa405a3d98975749 (commit)
      from  9f9f27248bf464b465fd4f05112a5b479503e83a (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=3bfee8beb8caa939020d942dfa405a3d98975749

commit 3bfee8beb8caa939020d942dfa405a3d98975749
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Thu Nov 5 00:48:57 2015 +0000

    Make bits/math-finite.h conditions match other headers (bug 19205).

    bits/math-finite.h declares -ffinite-math-only variants of various
    functions under conditions not matching those under which the normal
    versions are declared.

    * math.h only ever includes bits/mathcalls.h to declare float and long
      double functions if __USE_ISOC99, but bits/math-finite.h declares
      some float functions regardless (long double ones are conditioned on
      __MATH_DECLARE_LDOUBLE).  (For C90 functions this isn't a
      conformance bug because C90 reserves the float and long double
      names, but is still contrary to good glibc practice.  For some other
      functions in older XSI standards it *is* a conformance bug.)

    * Some functions are defined as inlines using lgamma_r functions under
      conditions where those lgamma_r functions are not themselves
      declared.

    * hypot is declared under __USE_XOPEN || __USE_ISOC99 in
      bits/mathcalls.h, __USE_ISOC99 only in bits/math-finite.h.

    * float and long double versions of Bessel functions should be limited
      to __USE_MISC (as in bug 18977).

    * gamma should not be declared for __USE_XOPEN2K (as in bug 18967).

    * remainder should be restricted to __USE_XOPEN_EXTENDED ||
      __USE_ISOC99, not unconditional.

    * scalb should not be declared for __USE_XOPEN2K8, and scalbf and
      scalbl are non-POSIX (as in bug 18967).

    This patch fixes all these issues (it doesn't seem worth splitting
    them into separate patches or bugs).  I put __USE_ISOC99 conditionals,
    where needed, around both float and long double declarations, even
    though formally redundant around the long double declarations because
    __MATH_DECLARE_LDOUBLE isn't defined without __USE_ISOC99; it seemed
    clearer that way.  The missing declarations of lgamma_r functions are
    dealt with by directly using declarations of __lgamma*_r_finite, in
    the implementation namespace, rather than having the inlines rely on
    asm redirection of lgamma*_r.

    After this patch, there are some apparently redundant nested
    __USE_ISOC99 conditionals in lgamma / gamma definitions.  These
    actually reflect a separate bug (the correct condition for the lgamma
    inline functions to set signgam is __USE_MISC || __USE_XOPEN, the
    condition under which signgam is declared, rather than disabling
    setting it if __USE_ISOC99, which includes XSI POSIX versions for
    which signgam *should* be set).  They'll be fixed as part of a fix for
    that bug, which will also add tests for these inlines.  I've put a
    note about more general conform/ test coverage for -ffinite-math-only
    on
   
<https://sourceware.org/glibc/wiki/Development_Todo/Master#conformtest_improvements>,
    alongside other options for which this is also relevant (some of which
    have also had such bugs in the past relating to mismatched
    conditionals).

    I also intend to enable the main libm-test.inc tests for the
    math-finite.h functions, but some other bugs in __*_finite need fixing
    first.

        [BZ #19205]
        * math/bits/math-finite.h (acosf): Condition declaration on
        [__USE_ISOC99].
        (acosl): Likewise.
        (acoshf): Likewise.
        (acoshl): Likewise.
        (asinf): Likewise.
        (asinl): Likewise.
        (atan2f): Likewise.
        (atan2l): Likewise.
        (atanhf): Likewise.
        (atanhl): Likewise.
        (coshf): Likewise.
        (coshl): Likewise.
        (expf): Likewise.
        (expl): Likewise.
        (fmodf): Likewise.
        (fmodl): Likewise.
        (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
        (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
        (j0l): Likewise.
        (y0f): Likewise.
        (y0l): Likewise.
        (j1f): Likewise.
        (j1l): Likewise.
        (y1f): Likewise.
        (y1l): Likewise.
        (jnf): Likewise.
        (jnl): Likewise.
        (ynf): Likewise.
        (ynl): Likewise.
        (lgammaf_r): Condition declaration on [__USE_ISOC99].
        (lgammal_r): Likewise.
        (__lgamma_r_finite): New declaration.
        (__lgammaf_r_finite): Likewise.
        (__lgammal_r_finite): Likewise.
        (lgamma): Use __lgamma_r_finite.
        (lgammaf): Condition definition on [__USE_ISOC99].  Use
        __lgammaf_r_finite.
        (lgammal): Condition definition on [__USE_ISOC99].  Use
        __lgammal_r_finite.
        (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
        __lgamma_r_finite.
        (gammaf): Condition definition on [__USE_ISOC99].  Use
        __lgammaf_r_finite.
        (gammal): Condition definition on [__USE_ISOC99].  Use
        __lgammal_r_finite.
        (logf): Condition declaration on [__USE_ISOC99].
        (logl): Likewise.
        (log10f): Likewise.
        (log10l): Likewise.
        (ldexpf): Likewise.
        (ldexpl): Likewise.
        (powf): Likewise.
        (powl): Likewise.
        (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
        __USE_ISOC99].
        (remainderf): Condition declaration on [__USE_ISOC99].
        (remainderl): Likewise.
        (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
        (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
        (scalbl): Likewise.
        (sinhf): Condition declaration on [__USE_ISOC99].
        (sinhl): Likewise.
        (sqrtf): Likewise.
        (sqrtl): Likewise.

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

Summary of changes:
 ChangeLog               |   69 ++++++++++++++++
 NEWS                    |    2 +-
 math/bits/math-finite.h |  198 ++++++++++++++++++++++++++++++++---------------
 3 files changed, 206 insertions(+), 63 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30418-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Nov 05 00:51:05 2015
Return-Path: <glibc-bugs-return-30418-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 29150 invoked by alias); 5 Nov 2015 00:51:04 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 29094 invoked by uid 48); 5 Nov 2015 00:51:00 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19205] bits/math-finite.h conditions do not match math.h and bits/mathcalls.h
Date: Thu, 05 Nov 2015 00:51:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-19205-131-Nuf1fQwD52@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19205-131@http.sourceware.org/bugzilla/>
References: <bug-19205-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00047.txt.bz2
Content-length: 567

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.23

--- Comment #2 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
Fixed for 2.23.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30419-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Nov 05 04:16:48 2015
Return-Path: <glibc-bugs-return-30419-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 26772 invoked by alias); 5 Nov 2015 04:16:48 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 26281 invoked by uid 48); 5 Nov 2015 04:16:43 -0000
From: "zizztux at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug build/19207] New: Build failed with option that impact on binary format in CFLAGS
Date: Thu, 05 Nov 2015 04:16:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: build
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: minor
X-Bugzilla-Who: zizztux at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone
Message-ID: <bug-19207-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00048.txt.bz2
Content-length: 1755

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

            Bug ID: 19207
           Summary: Build failed with option that impact on binary format
                    in CFLAGS
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: minor
          Priority: P2
         Component: build
          Assignee: unassigned at sourceware dot org
          Reporter: zizztux at gmail dot com
                CC: carlos at redhat dot com
  Target Milestone: ---

there are some CFLAGS options that impact on binary architecture.
for example, -m32 on 64bit compiler with multilib support.

$ CFLAGS="-m32" ./configure

configure script checks linker output format by calling gcc with
--print-output-format.
but, in configure script, CFLAGS value doesn't passed to gcc.

see below code.

-----

{ $as_echo "$as_me:${as_lineno-$LINENO}: checking linker output format" >&5
$as_echo_n "checking linker output format... " >&6; }
if ${libc_cv_output_format+:} false; then :
  $as_echo_n "(cached) " >&6
else
  if libc_cv_output_format=`
${CC-cc} -nostartfiles -nostdlib -Wl,--print-output-format 2>&5`
then
  :
else
  libc_cv_output_format=
fi
test -n "$libc_cv_output_format" || libc_cv_output_format=unknown
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_output_format" >&5
$as_echo "$libc_cv_output_format" >&6; }

-----

Incorrectly detected output format is used to generate ld script (ex. libc.so,
...). This output format string is written to OUTPUT_FORMAT directive. So, in
remain build process, this raise linking failure.

Therefore, I think that configure script is fixed to pass CFLAGS value to gcc.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30420-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Nov 05 09:06:15 2015
Return-Path: <glibc-bugs-return-30420-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 40614 invoked by alias); 5 Nov 2015 09:06:14 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 40578 invoked by uid 48); 5 Nov 2015 09:06:11 -0000
From: "schwab@linux-m68k.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug build/19207] Build failed with option that impact on binary format in CFLAGS
Date: Thu, 05 Nov 2015 09:06:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: build
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: minor
X-Bugzilla-Who: schwab@linux-m68k.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19207-131-9r0G95GVmX@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19207-131@http.sourceware.org/bugzilla/>
References: <bug-19207-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00049.txt.bz2
Content-length: 258

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

--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
Please use CC="cc -m32" (and CXX="c++ -m32") instead.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30421-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Nov 05 14:33:02 2015
Return-Path: <glibc-bugs-return-30421-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 32436 invoked by alias); 5 Nov 2015 14:33:02 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 32269 invoked by uid 48); 5 Nov 2015 14:32:54 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug dynamic-link/18251] SONAME missing when audit modules provides path
Date: Thu, 05 Nov 2015 14:33:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: dynamic-link
X-Bugzilla-Version: 2.21
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: fweimer at redhat dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_status cc assigned_to
Message-ID: <bug-18251-131-061HNfTnF4@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-18251-131@http.sourceware.org/bugzilla/>
References: <bug-18251-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00050.txt.bz2
Content-length: 539

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |fweimer at redhat dot com
           Assignee|unassigned at sourceware dot org   |fweimer at redhat dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30422-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Nov 05 16:22:18 2015
Return-Path: <glibc-bugs-return-30422-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 3851 invoked by alias); 5 Nov 2015 16:22:18 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 3829 invoked by uid 48); 5 Nov 2015 16:22:14 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19209] New: bits/math-finite.h wrongly maps ldexp to scalbn
Date: Thu, 05 Nov 2015 16:22:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-19209-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00051.txt.bz2
Content-length: 926

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

            Bug ID: 19209
           Summary: bits/math-finite.h wrongly maps ldexp to scalbn
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org
  Target Milestone: ---

bits/math-finite.h maps ldexp functions to corresponding scalbn functions. 
This is (a) a namespace bug for C90, which has ldexp but not scalbn, and (b) in
any case useless, since the ldexp and scalbn functions have identical semantics
(for floating-point types with radix 2), and since the fix for bug 6803 are
actually aliases (presumably the mapping was based around the old bug of scalbn
not setting errno).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30423-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Nov 05 17:02:54 2015
Return-Path: <glibc-bugs-return-30423-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 19198 invoked by alias); 5 Nov 2015 17:02:53 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 18779 invoked by uid 55); 5 Nov 2015 17:02:46 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19209] bits/math-finite.h wrongly maps ldexp to scalbn
Date: Thu, 05 Nov 2015 17:02:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19209-131-nt9eN5JEKv@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19209-131@http.sourceware.org/bugzilla/>
References: <bug-19209-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00052.txt.bz2
Content-length: 2025

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

--- Comment #1 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  8fed86556b7e162d2926f0ba6a573ed193ff882f (commit)
      from  3bfee8beb8caa939020d942dfa405a3d98975749 (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=8fed86556b7e162d2926f0ba6a573ed193ff882f

commit 8fed86556b7e162d2926f0ba6a573ed193ff882f
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Thu Nov 5 17:00:31 2015 +0000

    Don't redirect ldexp to scalbn in bits/math-finite.h (bug 19209).

    bits/math-finite.h maps ldexp functions to corresponding scalbn
    functions.  This is (a) a namespace bug for C90, which has ldexp but
    not scalbn, and (b) in any case useless, since the ldexp and scalbn
    functions have identical semantics (for floating-point types with
    radix 2), and since the fix for bug 6803 are actually aliases
    (presumably the mapping was based around the old bug of scalbn not
    setting errno).  This patch removes the bogus redirections.

    Tested for x86_64 and x86.

        [BZ #19209]
        * math/bits/math-finite.h (ldexp): Remove declaration.
        (ldexpf): Likewise.
        (ldexpl): Likewise.

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

Summary of changes:
 ChangeLog               |    5 +++++
 NEWS                    |    2 +-
 math/bits/math-finite.h |    9 ---------
 3 files changed, 6 insertions(+), 10 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30424-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Nov 05 17:02:57 2015
Return-Path: <glibc-bugs-return-30424-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 19456 invoked by alias); 5 Nov 2015 17:02:57 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 18951 invoked by uid 55); 5 Nov 2015 17:02:48 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/6803] scalb(), scalbln(), scalbn() do not set errno on overflow/underflow
Date: Thu, 05 Nov 2015 17:02:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-6803-131-7Z887OallV@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-6803-131@http.sourceware.org/bugzilla/>
References: <bug-6803-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00053.txt.bz2
Content-length: 2025

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

--- Comment #11 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  8fed86556b7e162d2926f0ba6a573ed193ff882f (commit)
      from  3bfee8beb8caa939020d942dfa405a3d98975749 (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=8fed86556b7e162d2926f0ba6a573ed193ff882f

commit 8fed86556b7e162d2926f0ba6a573ed193ff882f
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Thu Nov 5 17:00:31 2015 +0000

    Don't redirect ldexp to scalbn in bits/math-finite.h (bug 19209).

    bits/math-finite.h maps ldexp functions to corresponding scalbn
    functions.  This is (a) a namespace bug for C90, which has ldexp but
    not scalbn, and (b) in any case useless, since the ldexp and scalbn
    functions have identical semantics (for floating-point types with
    radix 2), and since the fix for bug 6803 are actually aliases
    (presumably the mapping was based around the old bug of scalbn not
    setting errno).  This patch removes the bogus redirections.

    Tested for x86_64 and x86.

        [BZ #19209]
        * math/bits/math-finite.h (ldexp): Remove declaration.
        (ldexpf): Likewise.
        (ldexpl): Likewise.

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

Summary of changes:
 ChangeLog               |    5 +++++
 NEWS                    |    2 +-
 math/bits/math-finite.h |    9 ---------
 3 files changed, 6 insertions(+), 10 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30425-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Nov 05 17:03:06 2015
Return-Path: <glibc-bugs-return-30425-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 19846 invoked by alias); 5 Nov 2015 17:03:06 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 19802 invoked by uid 48); 5 Nov 2015 17:03:02 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19209] bits/math-finite.h wrongly maps ldexp to scalbn
Date: Thu, 05 Nov 2015 17:03:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-19209-131-BEmZlb9fuu@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19209-131@http.sourceware.org/bugzilla/>
References: <bug-19209-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00054.txt.bz2
Content-length: 567

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.23

--- Comment #2 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
Fixed for 2.23.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30426-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Nov 05 17:23:27 2015
Return-Path: <glibc-bugs-return-30426-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 3391 invoked by alias); 5 Nov 2015 17:23:27 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 3348 invoked by uid 48); 5 Nov 2015 17:23:24 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19211] New: lgamma functions do not set signgam for -ffinite-math-only for C99-based standards
Date: Thu, 05 Nov 2015 17:23:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-19211-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00055.txt.bz2
Content-length: 882

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

            Bug ID: 19211
           Summary: lgamma functions do not set signgam for
                    -ffinite-math-only for C99-based standards
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org
  Target Milestone: ---

The lgamma inline functions in bits/math-finite.h do not set signgam if
__USE_ISOC99, even when other feature test macros mean a standard such as XSI
POSIX is selected for which it should be set.  (This is essentially the
opposite issue to bug 15421, the out-of-line versions setting signgam even when
they shouldn't.)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30427-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Nov 05 17:49:10 2015
Return-Path: <glibc-bugs-return-30427-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 28750 invoked by alias); 5 Nov 2015 17:49:09 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 28004 invoked by uid 48); 5 Nov 2015 17:49:05 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19212] New: features.h not -Wundef clean
Date: Thu, 05 Nov 2015 17:49:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone
Message-ID: <bug-19212-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00056.txt.bz2
Content-length: 1488

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

            Bug ID: 19212
           Summary: features.h not -Wundef clean
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

features.h is not clean with -Wundef (for the installed header, of course this
only appears with -Wsystem-headers).  In ISO C standards modes, you get:

../include/features.h:227:36: error: "_XOPEN_SOURCE" is not defined
[-Werror=undef]
 #if ((!defined __STRICT_ANSI__ || (_XOPEN_SOURCE - 0) >= 500) && \
                                    ^
../include/features.h:242:30: error: "_POSIX_C_SOURCE" is not defined
[-Werror=undef]
 #if defined _POSIX_SOURCE || _POSIX_C_SOURCE >= 1 || defined _XOPEN_SOURCE
                              ^
../include/features.h:250:6: error: "_POSIX_C_SOURCE" is not defined
[-Werror=undef]
 #if (_POSIX_C_SOURCE - 0) >= 199309L
      ^
../include/features.h:254:6: error: "_POSIX_C_SOURCE" is not defined
[-Werror=undef]
 #if (_POSIX_C_SOURCE - 0) >= 199506L
      ^
../include/features.h:258:6: error: "_POSIX_C_SOURCE" is not defined
[-Werror=undef]
 #if (_POSIX_C_SOURCE - 0) >= 200112L
      ^

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30428-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Nov 05 21:18:00 2015
Return-Path: <glibc-bugs-return-30428-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 71572 invoked by alias); 5 Nov 2015 21:18:00 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 71529 invoked by uid 48); 5 Nov 2015 21:17:56 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19213] New: [i386/x86_64] log* (1) incorrect zero sign for -ffinite-math-only
Date: Thu, 05 Nov 2015 21:18:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-19213-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00057.txt.bz2
Content-length: 1998

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

            Bug ID: 19213
           Summary: [i386/x86_64] log* (1) incorrect zero sign for
                    -ffinite-math-only
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org
  Target Milestone: ---

For the -ffinite-math-only versions of various x86_64 and x86 log* functions, a
zero result from log* (1) is returned with incorrect sign in round-downward
mode.  For example, for long double on x86_64:

Failure: Test: log_downward (0x1p+0)
Result:
 is:         -0.00000000000000000000e+00  -0x0.0000000000000000p+0
 should be:   0.00000000000000000000e+00   0x0.0000000000000000p+0
 difference:  0.00000000000000000000e+00   0x0.0000000000000000p+0
 ulp       :  0.0000
 max.ulp   :  2.0000
Failure: Test: log10_downward (0x1p+0)
Result:
 is:         -0.00000000000000000000e+00  -0x0.0000000000000000p+0
 should be:   0.00000000000000000000e+00   0x0.0000000000000000p+0
 difference:  0.00000000000000000000e+00   0x0.0000000000000000p+0
 ulp       :  0.0000
 max.ulp   :  2.0000
Failure: Test: log2_downward (0x1p+0)
Result:
 is:         -0.00000000000000000000e+00  -0x0.0000000000000000p+0
 should be:   0.00000000000000000000e+00   0x0.0000000000000000p+0
 difference:  0.00000000000000000000e+00   0x0.0000000000000000p+0
 ulp       :  0.0000
 max.ulp   :  1.0000

For long double on x86 (possibly also other formats when the i686 functions are
not used):

Failure: Test: log_downward (0x1p+0)
Result:
 is:         -0.00000000000000000000e+00  -0x0.0000000000000000p+0
 should be:   0.00000000000000000000e+00   0x0.0000000000000000p+0
 difference:  0.00000000000000000000e+00   0x0.0000000000000000p+0
 ulp       :  0.0000
 max.ulp   :  2.0000

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30429-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Nov 05 21:20:35 2015
Return-Path: <glibc-bugs-return-30429-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 86585 invoked by alias); 5 Nov 2015 21:20:34 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 86526 invoked by uid 55); 5 Nov 2015 21:20:31 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19212] features.h not -Wundef clean
Date: Thu, 05 Nov 2015 21:20:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19212-131-xggE8kqm44@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19212-131@http.sourceware.org/bugzilla/>
References: <bug-19212-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00058.txt.bz2
Content-length: 2785

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

--- Comment #1 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  f248238cf43bd751db29e6f151d6da7645337ff5 (commit)
      from  8fed86556b7e162d2926f0ba6a573ed193ff882f (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=f248238cf43bd751db29e6f151d6da7645337ff5

commit f248238cf43bd751db29e6f151d6da7645337ff5
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Thu Nov 5 21:19:37 2015 +0000

    Fix features.h for -Wundef (bug 19212).

    features.h is not clean with -Wundef (for the installed header, of
    course this only appears with -Wsystem-headers).  In ISO C standards
    modes, you get a series of warnings / errors relating to
    _POSIX_C_SOURCE and _XOPEN_SOURCE not being defined when tested in
    standards mode and uses #undef _GNU_SOURCE to avoid the default
    _GNU_SOURCE from libc-symbols.h.  This patch changes the relevant #if
    conditionals to avoid these warnings / errors.

    Tested for x86_64 and x86 (testsuite, and that installed shared
    libraries are unchanged by the patch).

        [BZ #19212]
        * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
        conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
        500].
        [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
        _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
        [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
        _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
        [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
        _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
        [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
        _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
        [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
        _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].

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

Summary of changes:
 ChangeLog          |   15 +++++++++++++++
 NEWS               |    2 +-
 include/features.h |   17 ++++++++++-------
 3 files changed, 26 insertions(+), 8 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30430-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Nov 05 21:20:48 2015
Return-Path: <glibc-bugs-return-30430-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 86931 invoked by alias); 5 Nov 2015 21:20:48 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 86881 invoked by uid 48); 5 Nov 2015 21:20:44 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19212] features.h not -Wundef clean
Date: Thu, 05 Nov 2015 21:20:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-19212-131-iPbNcQHbkr@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19212-131@http.sourceware.org/bugzilla/>
References: <bug-19212-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00059.txt.bz2
Content-length: 567

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.23

--- Comment #2 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
Fixed for 2.23.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30431-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Nov 05 21:24:11 2015
Return-Path: <glibc-bugs-return-30431-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 91218 invoked by alias); 5 Nov 2015 21:24:11 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 91095 invoked by uid 55); 5 Nov 2015 21:24:05 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19211] lgamma functions do not set signgam for -ffinite-math-only for C99-based standards
Date: Thu, 05 Nov 2015 21:24:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19211-131-wVoExOoZQF@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19211-131@http.sourceware.org/bugzilla/>
References: <bug-19211-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00060.txt.bz2
Content-length: 3627

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

--- Comment #1 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  939fdd1c36dde8884543bc9c3b8506e76c9ff0e4 (commit)
      from  f248238cf43bd751db29e6f151d6da7645337ff5 (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=939fdd1c36dde8884543bc9c3b8506e76c9ff0e4

commit 939fdd1c36dde8884543bc9c3b8506e76c9ff0e4
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Thu Nov 5 21:23:07 2015 +0000

    Fix finite-math-only lgamma functions signgam setting (bug 19211).

    The lgamma inline functions in bits/math-finite.h do not set signgam
    if __USE_ISOC99, even when other feature test macros mean a standard
    such as XSI POSIX is selected for which it should be set.  (This is
    essentially the opposite issue to bug 15421, the out-of-line versions
    setting signgam even when they shouldn't.)

    This patch fixes those functions to use __USE_MISC || __USE_XOPEN as
    the condition for when to set signgam, since it's the condition for
    when math.h declares signgam.  The legacy gamma* names are only
    declared at all if __USE_MISC || __USE_XOPEN, so they just set signgam
    unconditionally.

    Tests for certain standards or not using _GNU_SOURCE cannot use
    test-skeleton.c (this is a known issue noted on the wiki todo list).
    Thus, the new tests that signgam remains not set in ISO C modes do not
    use test-skeleton.c.  They also define _ISOMAC to avoid running into
    declarations in the internal include/ headers that only work in
    _GNU_SOURCE mode.

    Tested for x86_64 and x86.

        [BZ #19211]
        * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
        __USE_XOPEN], not if [!__USE_ISOC99].
        (lgammaf): Likewise.
        (lgammal): Likewise.
        (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
        (gammaf): Likewise.
        (gammal): Likewise.
        * math/test-signgam-finite-c11.c: New file.
        * math/test-signgam-finite-c99.c: Likewise.
        * math/test-signgam-finite.c: Likewise.
        * math/Makefile (tests): Add test-signgam-finite,
        test-signgam-finite-c99 and test-signgam-finite-c11.
        (CFLAGS-test-signgam-finite.c): New variable.
        (CFLAGS-test-signgam-finite-c99.c): Likewise.
        (CFLAGS-test-signgam-finite-c11.c): Likewise.

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

Summary of changes:
 ChangeLog                      |   17 ++++++++++
 NEWS                           |    2 +-
 math/Makefile                  |    7 ++++-
 math/bits/math-finite.h        |   33 +++++---------------
 math/test-signgam-finite-c11.c |    1 +
 math/test-signgam-finite-c99.c |   65 ++++++++++++++++++++++++++++++++++++++++
 math/test-signgam-finite.c     |   65 ++++++++++++++++++++++++++++++++++++++++
 7 files changed, 164 insertions(+), 26 deletions(-)
 create mode 100644 math/test-signgam-finite-c11.c
 create mode 100644 math/test-signgam-finite-c99.c
 create mode 100644 math/test-signgam-finite.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30432-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Nov 05 21:24:12 2015
Return-Path: <glibc-bugs-return-30432-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 91338 invoked by alias); 5 Nov 2015 21:24:12 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 91152 invoked by uid 55); 5 Nov 2015 21:24:07 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/15421] lgamma wrongly sets signgam for ISO C
Date: Thu, 05 Nov 2015 21:24:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.17
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-15421-131-734ht5l8Wg@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-15421-131@http.sourceware.org/bugzilla/>
References: <bug-15421-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00061.txt.bz2
Content-length: 3627

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

--- Comment #1 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  939fdd1c36dde8884543bc9c3b8506e76c9ff0e4 (commit)
      from  f248238cf43bd751db29e6f151d6da7645337ff5 (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=939fdd1c36dde8884543bc9c3b8506e76c9ff0e4

commit 939fdd1c36dde8884543bc9c3b8506e76c9ff0e4
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Thu Nov 5 21:23:07 2015 +0000

    Fix finite-math-only lgamma functions signgam setting (bug 19211).

    The lgamma inline functions in bits/math-finite.h do not set signgam
    if __USE_ISOC99, even when other feature test macros mean a standard
    such as XSI POSIX is selected for which it should be set.  (This is
    essentially the opposite issue to bug 15421, the out-of-line versions
    setting signgam even when they shouldn't.)

    This patch fixes those functions to use __USE_MISC || __USE_XOPEN as
    the condition for when to set signgam, since it's the condition for
    when math.h declares signgam.  The legacy gamma* names are only
    declared at all if __USE_MISC || __USE_XOPEN, so they just set signgam
    unconditionally.

    Tests for certain standards or not using _GNU_SOURCE cannot use
    test-skeleton.c (this is a known issue noted on the wiki todo list).
    Thus, the new tests that signgam remains not set in ISO C modes do not
    use test-skeleton.c.  They also define _ISOMAC to avoid running into
    declarations in the internal include/ headers that only work in
    _GNU_SOURCE mode.

    Tested for x86_64 and x86.

        [BZ #19211]
        * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
        __USE_XOPEN], not if [!__USE_ISOC99].
        (lgammaf): Likewise.
        (lgammal): Likewise.
        (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
        (gammaf): Likewise.
        (gammal): Likewise.
        * math/test-signgam-finite-c11.c: New file.
        * math/test-signgam-finite-c99.c: Likewise.
        * math/test-signgam-finite.c: Likewise.
        * math/Makefile (tests): Add test-signgam-finite,
        test-signgam-finite-c99 and test-signgam-finite-c11.
        (CFLAGS-test-signgam-finite.c): New variable.
        (CFLAGS-test-signgam-finite-c99.c): Likewise.
        (CFLAGS-test-signgam-finite-c11.c): Likewise.

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

Summary of changes:
 ChangeLog                      |   17 ++++++++++
 NEWS                           |    2 +-
 math/Makefile                  |    7 ++++-
 math/bits/math-finite.h        |   33 +++++---------------
 math/test-signgam-finite-c11.c |    1 +
 math/test-signgam-finite-c99.c |   65 ++++++++++++++++++++++++++++++++++++++++
 math/test-signgam-finite.c     |   65 ++++++++++++++++++++++++++++++++++++++++
 7 files changed, 164 insertions(+), 26 deletions(-)
 create mode 100644 math/test-signgam-finite-c11.c
 create mode 100644 math/test-signgam-finite-c99.c
 create mode 100644 math/test-signgam-finite.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30433-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Nov 05 21:24:36 2015
Return-Path: <glibc-bugs-return-30433-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 91924 invoked by alias); 5 Nov 2015 21:24:36 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 91876 invoked by uid 48); 5 Nov 2015 21:24:32 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19211] lgamma functions do not set signgam for -ffinite-math-only for C99-based standards
Date: Thu, 05 Nov 2015 21:24:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-19211-131-Wg1QM7ZDWw@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19211-131@http.sourceware.org/bugzilla/>
References: <bug-19211-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00062.txt.bz2
Content-length: 567

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.23

--- Comment #2 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
Fixed for 2.23.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30434-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Nov 05 21:57:40 2015
Return-Path: <glibc-bugs-return-30434-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 121645 invoked by alias); 5 Nov 2015 21:57:40 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 120981 invoked by uid 55); 5 Nov 2015 21:57:34 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19213] [i386/x86_64] log* (1) incorrect zero sign for -ffinite-math-only
Date: Thu, 05 Nov 2015 21:57:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19213-131-jb8NOJsbjU@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19213-131@http.sourceware.org/bugzilla/>
References: <bug-19213-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00063.txt.bz2
Content-length: 2690

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

--- Comment #1 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  01189b083b8ce54fc568fd2ab0dd433d869ede0e (commit)
      from  939fdd1c36dde8884543bc9c3b8506e76c9ff0e4 (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=01189b083b8ce54fc568fd2ab0dd433d869ede0e

commit 01189b083b8ce54fc568fd2ab0dd433d869ede0e
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Thu Nov 5 21:56:31 2015 +0000

    Fix i386/x86_64 log* (1) zero sign for -ffinite-math-only (bug 19213).

    For the -ffinite-math-only versions of various x86_64 and x86 log*
    functions, a zero result from log* (1) is returned with incorrect sign
    in round-downward mode.  This patch fixes this in a similar way to the
    previous fixes for the non-*_finite versions of the functions.

    Tested for x86_64 and x86 (including an i586 build), together with a
    patch that will be applied separately to enable the main libm-test.inc
    tests for the finite-math-only functions.

        [BZ #19213]
        * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
        returned for argument 1.
        * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
        * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
        * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
        * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
        * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
        * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.

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

Summary of changes:
 ChangeLog                      |   10 ++++++++++
 NEWS                           |    2 +-
 sysdeps/i386/fpu/e_log.S       |    8 +++++++-
 sysdeps/i386/fpu/e_logf.S      |    8 +++++++-
 sysdeps/i386/fpu/e_logl.S      |    8 +++++++-
 sysdeps/i386/i686/fpu/e_logl.S |    8 +++++++-
 sysdeps/x86_64/fpu/e_log10l.S  |    8 +++++++-
 sysdeps/x86_64/fpu/e_log2l.S   |    8 +++++++-
 sysdeps/x86_64/fpu/e_logl.S    |    8 +++++++-
 9 files changed, 60 insertions(+), 8 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30435-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Nov 05 21:58:15 2015
Return-Path: <glibc-bugs-return-30435-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 124395 invoked by alias); 5 Nov 2015 21:58:14 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 124263 invoked by uid 48); 5 Nov 2015 21:58:10 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19213] [i386/x86_64] log* (1) incorrect zero sign for -ffinite-math-only
Date: Thu, 05 Nov 2015 21:58:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-19213-131-Yoa0aDzXvK@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19213-131@http.sourceware.org/bugzilla/>
References: <bug-19213-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00064.txt.bz2
Content-length: 567

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.23

--- Comment #2 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
Fixed for 2.23.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30436-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 06 04:52:43 2015
Return-Path: <glibc-bugs-return-30436-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 62997 invoked by alias); 6 Nov 2015 04:52:42 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 62967 invoked by uid 48); 6 Nov 2015 04:52:38 -0000
From: "amit.pawar at amd dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19214] New: Family and model identification for AMD CPU's are incorrect.
Date: Fri, 06 Nov 2015 04:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amit.pawar at amd dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone
Message-ID: <bug-19214-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00065.txt.bz2
Content-length: 2240

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

            Bug ID: 19214
           Summary: Family and model identification for AMD CPU's are
                    incorrect.
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: amit.pawar at amd dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

Currently family and model detection for AMD CPU's are incorrect in GLBIC.. 

When tested on "AMD Phenom(tm)" processor, GLIBC trunk identifies family=15 and
model=5 but the output of "cat /proc/cpuinfo" shows family=16 and model=5. This
case is only seen when family value >= 15. Similarly for family=15, GLIBC
incorrectly identifies model nos.

---------------------
Breakpoint 1, __libc_start_main (main=0x400490 <main>, argc=1,
argv=0x7fffffffe0e8, init=0x4005a0 <__libc_csu_init>,
    fini=0x400610 <__libc_csu_fini>, rtld_fini=0x7ffff7de90f0 <_dl_fini>,
stack_end=0x7fffffffe0d8) at ../csu/libc-start.c:134
134     {
(gdb) p __get_cpu_features()
$1 = (const struct cpu_features *) 0x7ffff7ffccf0 <_rtld_local_ro+112>
(gdb) p $1[0]
$2 = {kind = arch_kind_amd, max_cpuid = 5, cpuid = {{eax = 1052499, ebx =
33818624, ecx = 8396809, edx = 395049983}, {eax = 0, ebx = 0,
      ecx = 0, edx = 0}, {eax = 1052499, ebx = 536878593, ecx = 538623, edx =
4023647231}}, family = 15, model = 5, feature = {49152}}
(gdb) quit
A debugging session is active.

        Inferior 1 [process 20352] will be killed.

Quit anyway? (y or n) y
user@HP-ProBook-6455b:~$ cat /proc/cpuinfo | grep  family
cpu family      : 16
cpu family      : 16
cpu family      : 16
cpu family      : 16
--------------------------

In future it may help in choosing the right string and memory routines based on
family and model values.

Document (link http://support.amd.com/TechDocs/25481.pdf) containing page no 10
describes the correct way of computing the AMD CPU family and models values.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30437-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 06 10:49:45 2015
Return-Path: <glibc-bugs-return-30437-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 59679 invoked by alias); 6 Nov 2015 10:49:44 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 59581 invoked by uid 55); 6 Nov 2015 10:49:39 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/11460] fts has no LFS support
Date: Fri, 06 Nov 2015 10:49:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: mjw at redhat dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-11460-131-NJHGiXGoGR@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-11460-131@http.sourceware.org/bugzilla/>
References: <bug-11460-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00066.txt.bz2
Content-length: 8092

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

--- 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, master has been updated
       via  8b7b7f75d91f7bac323dd6a370aeb3e9c5c4a7d5 (commit)
      from  5a28590adfc5ed898a335f7a3359a9243534eded (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=8b7b7f75d91f7bac323dd6a370aeb3e9c5c4a7d5

commit 8b7b7f75d91f7bac323dd6a370aeb3e9c5c4a7d5
Author: Mark Wielaard <mjw@redhat.com>
Date:   Fri Nov 6 11:22:38 2015 +0100

    Add LFS support for fts functions (bug 11460)

    fts didn't have large-file support yet and fts.h had an #error preventing
    usage when _FILE_OFFSET_BITS was set. This required nasty workarounds for
    programs using fts with LFS. This patch implements LFS support for fts by
    adding FTS64 and FTENT64 variants plus fts64 functions. Which are simple
    aliases for 64bit off_t arches.

    Also includes a simple testcase for some of the fts functions with or
    without LFS enabled.

        [BZ #11460]
        * io/Makefile (routines): Add fts64.
        (tests): Add tst-fts and tst-fts-lfs.
        (CFLAGS-fts64.c): New.
        * io/Versions (GLIBC_2.23): New.
        * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
        function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
        FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
        FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
        * io/fts.h (FTS64): New if _USE_LARGEFILE64.
        (FTSENT64): Likewise.
        (fts64_children): Likewise.
        (fts64_close): Likewise.
        (fts64_open): Likewise.
        (fts64_read): Likewise.
        (fts64_set): Likewise.
        * io/fts64.c: New file.
        * io/tst-fts.c: New test.
        * io/tst-fts-lfs.c: Likewise.
        * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
        GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
        fts64_set.
        * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
        * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
        * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
        * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
        * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
        * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
        * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
        * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
        * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
        * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
        * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
        * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
        * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
        * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
        Likewise.
        * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
        Likewise.
        * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
        * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
        * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
        * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
        * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
        * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
        * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
        * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
        * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
        * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
        * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
        * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
        * sysdeps/wordsize-64/fts.c: New file.
        * sysdeps/wordsize-64/fts64.c: Likewise.
        * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
        * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
        * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
        * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.

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

Summary of changes:
 ChangeLog                                          |   60 +++++
 NEWS                                               |    4 +
 io/Makefile                                        |    5 +-
 io/Versions                                        |    3 +
 io/fts.c                                           |  148 ++++++++-----
 io/fts.h                                           |   96 ++++++++-
 io/fts64.c                                         |   30 +++
 io/tst-fts-lfs.c                                   |    2 +
 io/tst-fts.c                                       |  231 ++++++++++++++++++++
 sysdeps/unix/sysv/linux/aarch64/libc.abilist       |    7 +
 sysdeps/unix/sysv/linux/alpha/libc.abilist         |    7 +
 sysdeps/unix/sysv/linux/arm/libc.abilist           |    7 +
 sysdeps/unix/sysv/linux/hppa/libc.abilist          |    7 +
 sysdeps/unix/sysv/linux/i386/libc.abilist          |    7 +
 sysdeps/unix/sysv/linux/ia64/libc.abilist          |    7 +
 sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist |    7 +
 sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist   |    7 +
 sysdeps/unix/sysv/linux/microblaze/libc.abilist    |    7 +
 .../unix/sysv/linux/mips/mips32/fpu/libc.abilist   |    7 +
 .../unix/sysv/linux/mips/mips32/nofpu/libc.abilist |    7 +
 .../unix/sysv/linux/mips/mips64/n32/libc.abilist   |    7 +
 sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c      |    1 +
 sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c    |    1 +
 .../unix/sysv/linux/mips/mips64/n64/libc.abilist   |    7 +
 sysdeps/unix/sysv/linux/nios2/libc.abilist         |    7 +
 .../sysv/linux/powerpc/powerpc32/fpu/libc.abilist  |    7 +
 .../linux/powerpc/powerpc32/nofpu/libc.abilist     |    7 +
 .../sysv/linux/powerpc/powerpc64/libc-le.abilist   |    7 +
 .../unix/sysv/linux/powerpc/powerpc64/libc.abilist |    7 +
 sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist  |    7 +
 sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist  |    7 +
 sysdeps/unix/sysv/linux/sh/libc.abilist            |    7 +
 sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist |    7 +
 sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist |    7 +
 .../sysv/linux/tile/tilegx/tilegx32/libc.abilist   |    7 +
 .../sysv/linux/tile/tilegx/tilegx64/libc.abilist   |    7 +
 sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist  |    7 +
 sysdeps/unix/sysv/linux/x86_64/64/libc.abilist     |    7 +
 sysdeps/unix/sysv/linux/x86_64/x32/fts.c           |    1 +
 sysdeps/unix/sysv/linux/x86_64/x32/fts64.c         |    1 +
 sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist    |    7 +
 sysdeps/wordsize-64/fts.c                          |   19 ++
 sysdeps/wordsize-64/fts64.c                        |    1 +
 43 files changed, 733 insertions(+), 66 deletions(-)
 create mode 100644 io/fts64.c
 create mode 100644 io/tst-fts-lfs.c
 create mode 100644 io/tst-fts.c
 create mode 100644 sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c
 create mode 100644 sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c
 create mode 100644 sysdeps/unix/sysv/linux/x86_64/x32/fts.c
 create mode 100644 sysdeps/unix/sysv/linux/x86_64/x32/fts64.c
 create mode 100644 sysdeps/wordsize-64/fts.c
 create mode 100644 sysdeps/wordsize-64/fts64.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30438-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 06 10:52:43 2015
Return-Path: <glibc-bugs-return-30438-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 61335 invoked by alias); 6 Nov 2015 10:52:43 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 61272 invoked by uid 48); 6 Nov 2015 10:52:39 -0000
From: "mjw at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/11460] fts has no LFS support
Date: Fri, 06 Nov 2015 10:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: mjw at redhat dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: mjw at redhat dot com
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone bug_severity
Message-ID: <bug-11460-131-oZ4K4x18ye@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-11460-131@http.sourceware.org/bugzilla/>
References: <bug-11460-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00067.txt.bz2
Content-length: 638

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

Mark Wielaard <mjw at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.23
           Severity|normal                      |enhancement

--- Comment #6 from Mark Wielaard <mjw at redhat dot com> ---
Fixed pushed to master (2.23)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30439-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 06 12:22:15 2015
Return-Path: <glibc-bugs-return-30439-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 69073 invoked by alias); 6 Nov 2015 12:22:15 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 64853 invoked by uid 48); 6 Nov 2015 12:22:12 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug build/19207] Build failed with option that impact on binary format in CFLAGS
Date: Fri, 06 Nov 2015 12:22:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: build
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: minor
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_status cc flagtypes.name
Message-ID: <bug-19207-131-hl7GbZyxMz@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19207-131@http.sourceware.org/bugzilla/>
References: <bug-19207-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00068.txt.bz2
Content-length: 636

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING
                 CC|                            |fweimer at redhat dot com
              Flags|                            |security-

--- Comment #2 from Florian Weimer <fweimer at redhat dot com> ---
SeungRyeol Lee, does Andreas' suggestion work for you?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30440-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sat Nov 07 14:34:19 2015
Return-Path: <glibc-bugs-return-30440-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 105011 invoked by alias); 7 Nov 2015 14:34:18 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 104944 invoked by uid 55); 7 Nov 2015 14:34:11 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug dynamic-link/19178] ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA confuses prelink
Date: Sat, 07 Nov 2015 14:34:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: dynamic-link
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19178-131-9J6Sp9nYS6@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19178-131@http.sourceware.org/bugzilla/>
References: <bug-19178-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00069.txt.bz2
Content-length: 2344

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

--- Comment #14 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  f3d18efb8a720121066dc3401e822043beb98cde (commit)
      from  d699ab25d32768aaad899f9ff1e668be62c448d2 (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=f3d18efb8a720121066dc3401e822043beb98cde

commit f3d18efb8a720121066dc3401e822043beb98cde
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sat Nov 7 06:32:30 2015 -0800

    Keep only ELF_RTYPE_CLASS_{PLT|COPY} bits for prelink

    prelink runs ld.so with the environment variable LD_TRACE_PRELINKING
    set to dump the relocation type class from _dl_debug_bindings.  prelink
    has the following relocation type classes:

     #define RTYPE_CLASS_VALID       8
     #define RTYPE_CLASS_PLT         (8|1)
     #define RTYPE_CLASS_COPY        (8|2)
     #define RTYPE_CLASS_TLS         (8|4)

    where ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA has a conflict with
    RTYPE_CLASS_TLS.

    Since prelink only uses ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY
    bits, we should clear the other bits when the DL_DEBUG_PRELINK bit is
    set.

        [BZ #19178]
        * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
        (RTYPE_CLASS_PLT): Likewise.
        (RTYPE_CLASS_COPY): Likewise.
        (RTYPE_CLASS_TLS): Likewise.
        (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
        to set relocation type class for DL_DEBUG_PRELINK.  Keep only
        ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
        DL_DEBUG_PRELINK.

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

Summary of changes:
 ChangeLog       |   12 ++++++++++++
 elf/dl-lookup.c |   21 +++++++++++++++++++--
 2 files changed, 31 insertions(+), 2 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30441-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sat Nov 07 14:43:32 2015
Return-Path: <glibc-bugs-return-30441-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 3426 invoked by alias); 7 Nov 2015 14:43:32 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 3380 invoked by uid 55); 7 Nov 2015 14:43:28 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug dynamic-link/19178] ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA confuses prelink
Date: Sat, 07 Nov 2015 14:43:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: dynamic-link
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19178-131-FtjrXCKmRX@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19178-131@http.sourceware.org/bugzilla/>
References: <bug-19178-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00070.txt.bz2
Content-length: 1436

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

--- Comment #15 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/pr19178/master has been created
        at  40d3a8ab0ba5a2bcb1563becaec712ed031d2ebf (commit)

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

commit 40d3a8ab0ba5a2bcb1563becaec712ed031d2ebf
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sat Nov 7 06:35:09 2015 -0800

    Add a test for prelink output

    This test applies to i386 and x86_64 which set R_386_GLOB_DAT and
    R_X86_64_GLOB_DAT to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.

        [BZ #19178]
        * sysdeps/x86/Makefile (tests): Add tst-prelink.
        (tst-prelink-ENV): New.
        ($(objpfx)tst-prelink-conflict.out): Likewise.
        ($(objpfx)tst-prelink-cmp.out): Likewise.
        (tests-special): Add $(objpfx)tst-prelink-cmp.out.
        * sysdeps/x86/tst-prelink.c: New file.
        * sysdeps/x86/tst-prelink.exp: Likewise.

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30442-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sun Nov 08 22:34:53 2015
Return-Path: <glibc-bugs-return-30442-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 124108 invoked by alias); 8 Nov 2015 22:34:52 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 124066 invoked by uid 48); 8 Nov 2015 22:34:48 -0000
From: "adhemerval.zanella at linaro dot org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19219] New: GLIBC build fails for ia64 with missing __nearbyintl
Date: Sun, 08 Nov 2015 22:34:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: adhemerval.zanella at linaro dot org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone
Message-ID: <bug-19219-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00071.txt.bz2
Content-length: 818

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

            Bug ID: 19219
           Summary: GLIBC build fails for ia64 with missing __nearbyintl
           Product: glibc
           Version: 2.23
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: adhemerval.zanella at linaro dot org
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

GLIBC fails to build for ia64 since commit
d0d286d32dda654f8983e8fe77bca0a2cda2051b. It is because this commit uses the
internal definition for nearbyintl, but ia64 specialized implementation
(./sysdeps/ia64/fpu/s_nearbyintl.S) does not define it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30443-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Nov 09 09:31:37 2015
Return-Path: <glibc-bugs-return-30443-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 109034 invoked by alias); 9 Nov 2015 09:31:35 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 108953 invoked by uid 48); 9 Nov 2015 09:31:32 -0000
From: "enwei.zhang at canonical dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/19220] New: The LC_ADDRESS/postal_fmt values for China and Indian are not correct
Date: Mon, 09 Nov 2015 09:31:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: 2.21
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: enwei.zhang at canonical dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone
Message-ID: <bug-19220-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00072.txt.bz2
Content-length: 952

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

            Bug ID: 19220
           Summary: The LC_ADDRESS/postal_fmt values for China and Indian
                    are not correct
           Product: glibc
           Version: 2.21
            Status: NEW
          Severity: normal
          Priority: P2
         Component: localedata
          Assignee: unassigned at sourceware dot org
          Reporter: enwei.zhang at canonical dot com
                CC: libc-locales at sourceware dot org
  Target Milestone: ---

For China, the current LC_ADDRESS is "%c%N%T%N%s %h %e %r%N%b%N%d%N%f%N%a%N"
In China, the word "Town" is not equal to City. It is an administrative unit
between County and Village. Maybe %S should be used.
For Indian, the current LC_ADDRESS is "%z%c%T%s%b%e%r", it is not correct.
The correct one may be "%b%f%r%s%e%T%z%S%c"
Thank you.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30444-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Nov 09 11:50:17 2015
Return-Path: <glibc-bugs-return-30444-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 98819 invoked by alias); 9 Nov 2015 11:50:17 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 98753 invoked by uid 55); 9 Nov 2015 11:50:13 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug network/12926] getaddrinfo()/make_request() may spin forever
Date: Mon, 09 Nov 2015 11:50:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: network
X-Bugzilla-Version: 2.13
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: fweimer at redhat dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security?
X-Bugzilla-Changed-Fields:
Message-ID: <bug-12926-131-llCzryBeXi@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-12926-131@http.sourceware.org/bugzilla/>
References: <bug-12926-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00073.txt.bz2
Content-length: 3150

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

--- Comment #17 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  2eecc8afd02d8c65cf098cbae4de87f332dc21bd (commit)
      from  f3d18efb8a720121066dc3401e822043beb98cde (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=2eecc8afd02d8c65cf098cbae4de87f332dc21bd

commit 2eecc8afd02d8c65cf098cbae4de87f332dc21bd
Author: Florian Weimer <fweimer@redhat.com>
Date:   Mon Nov 9 12:48:41 2015 +0100

    Terminate process on invalid netlink response from kernel [BZ #12926]

    The recvmsg system calls for netlink sockets have been particularly
    prone to picking up unrelated data after a file descriptor race
    (where the descriptor is closed and reopened concurrently in a
    multi-threaded process, as the result of a file descriptor
    management issue elsewhere).  This commit adds additional error
    checking and aborts the process if a datagram of unexpected length
    (without the netlink header) is received, or an error code which
    cannot happen due to the way the netlink socket is used.

        [BZ #12926]
        Terminate process on invalid netlink response.
        * sysdeps/unix/sysv/linux/netlinkaccess.h
        (__netlink_assert_response): Declare.
        * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
        * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
        (sysdep_routines): Add netlink_assert_response.
        * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
        __netlink_assert_response.
        * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
        * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
        * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
        __netlink_assert_response.

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

Summary of changes:
 ChangeLog                                         |   16 +++
 NEWS                                              |    8 ++
 sysdeps/unix/sysv/linux/Makefile                  |    1 +
 sysdeps/unix/sysv/linux/Versions                  |    2 +
 sysdeps/unix/sysv/linux/check_native.c            |    2 +
 sysdeps/unix/sysv/linux/check_pf.c                |    4 +-
 sysdeps/unix/sysv/linux/ifaddrs.c                 |    1 +
 sysdeps/unix/sysv/linux/netlink_assert_response.c |  106 +++++++++++++++++++++
 sysdeps/unix/sysv/linux/netlinkaccess.h           |    6 +
 9 files changed, 145 insertions(+), 1 deletions(-)
 create mode 100644 sysdeps/unix/sysv/linux/netlink_assert_response.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30445-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Nov 09 11:54:00 2015
Return-Path: <glibc-bugs-return-30445-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 103608 invoked by alias); 9 Nov 2015 11:54:00 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 103543 invoked by uid 48); 9 Nov 2015 11:53:56 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug network/12926] getaddrinfo()/make_request() may spin forever
Date: Mon, 09 Nov 2015 11:54:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: network
X-Bugzilla-Version: 2.13
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: fweimer at redhat dot com
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone flagtypes.name
Message-ID: <bug-12926-131-QBn1GJOuId@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-12926-131@http.sourceware.org/bugzilla/>
References: <bug-12926-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00074.txt.bz2
Content-length: 937

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.23
              Flags|security?                   |security-

--- Comment #18 from Florian Weimer <fweimer at redhat dot com> ---
“Fixed” again for 2.23.  The fix just adds better diagnostics.

This is not a security bug because it is not really a glibc bug, and we do not
have evidence of a kernel bug.  It is either an application bug (see comment
#1) or another glibc bug already treated as a security bug (see comment #12).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30446-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Nov 09 13:03:36 2015
Return-Path: <glibc-bugs-return-30446-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 41049 invoked by alias); 9 Nov 2015 13:03:35 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 41000 invoked by uid 55); 9 Nov 2015 13:03:31 -0000
From: "joseph at codesourcery dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug dynamic-link/19178] ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA confuses prelink
Date: Mon, 09 Nov 2015 13:03:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: dynamic-link
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: joseph at codesourcery dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19178-131-eeMVJIKm0Q@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19178-131@http.sourceware.org/bugzilla/>
References: <bug-19178-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00075.txt.bz2
Content-length: 880

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

--- Comment #16 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
On Sat, 7 Nov 2015, cvs-commit at gcc dot gnu.org wrote:

> commit f3d18efb8a720121066dc3401e822043beb98cde
> Author: H.J. Lu <hjl.tools@gmail.com>
> Date:   Sat Nov 7 06:32:30 2015 -0800
> 
>     Keep only ELF_RTYPE_CLASS_{PLT|COPY} bits for prelink

Is this a full fix for the bug?  If so, you need to close the bug as fixed 
with milestone set to 2.23.  If committing to master a patch that is 
relevant to a bug but is not a full fix for it, please say explicitly in 
the commit message that it's not a full fix, as requested in 
<https://sourceware.org/ml/libc-alpha/2015-11/msg00096.html>, so people 
don't need to chase things up.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30447-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Nov 09 14:44:57 2015
Return-Path: <glibc-bugs-return-30447-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 52847 invoked by alias); 9 Nov 2015 14:44:56 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 52808 invoked by uid 48); 9 Nov 2015 14:44:52 -0000
From: "hjl.tools at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug dynamic-link/19178] ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA confuses prelink
Date: Mon, 09 Nov 2015 14:44:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: dynamic-link
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.22
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-19178-131-YK2s8KP95h@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19178-131@http.sourceware.org/bugzilla/>
References: <bug-19178-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00076.txt.bz2
Content-length: 622

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |2.22

--- Comment #17 from H.J. Lu <hjl.tools at gmail dot com> ---
I posted a patch to add a testcase:

https://sourceware.org/ml/libc-alpha/2015-11/msg00141.html

I will close this bug after testcase is checked in and both patches
are backported to 2.22.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30448-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Nov 09 16:29:47 2015
Return-Path: <glibc-bugs-return-30448-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 79657 invoked by alias); 9 Nov 2015 16:29:46 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 79510 invoked by uid 48); 9 Nov 2015 16:29:41 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug dynamic-link/19178] ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA confuses prelink
Date: Mon, 09 Nov 2015 16:29:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: dynamic-link
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-19178-131-n1vWOBFDSk@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19178-131@http.sourceware.org/bugzilla/>
References: <bug-19178-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00077.txt.bz2
Content-length: 729

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|2.22                        |---

--- Comment #18 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
The milestone cannot be 2.22 if the fix wasn't in the original 2.22 release. 
See <https://sourceware.org/ml/libc-alpha/2015-11/msg00096.html>: milestones
reflect the first mainline release with the fix, and the list of fixed bugs in
NEWS must be updated manually on release branches.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30449-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Nov 09 17:05:45 2015
Return-Path: <glibc-bugs-return-30449-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 97683 invoked by alias); 9 Nov 2015 17:05:45 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 97586 invoked by uid 55); 9 Nov 2015 17:05:36 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug dynamic-link/18251] SONAME missing when audit modules provides path
Date: Mon, 09 Nov 2015 17:05:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: dynamic-link
X-Bugzilla-Version: 2.21
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: fweimer at redhat dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-18251-131-jxTA77HJjb@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-18251-131@http.sourceware.org/bugzilla/>
References: <bug-18251-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00078.txt.bz2
Content-length: 3717

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

--- Comment #3 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  a1b85ae88b1a664e93ca0182c82f7763dd5a1754 (commit)
      from  37d13b179cd726bb6d61bfe2f31a1206bc1d9703 (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=a1b85ae88b1a664e93ca0182c82f7763dd5a1754

commit a1b85ae88b1a664e93ca0182c82f7763dd5a1754
Author: Florian Weimer <fweimer@redhat.com>
Date:   Mon Nov 9 16:52:31 2015 +0100

    ld.so: Add original DSO name if overridden by audit module [BZ #18251]

        * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
        for original name of the DSO.  Add it to the name list of the DSO
        if it is actually given.
        (_dl_map_object): Keep track of whether an audit module rewrote
        the file name.  If yes, pass the original name to
        _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
        debugging is enabled, log the change of the file name.
        * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
        _dl_map_object_from_fd.
        * elf/Makefile: Build and run tst-audit11 and tst-audit12.
        * elf/tst-audit11.c: New file
        * elf/tst-auditmod11.c: New file.
        * elf/tst-audit11mod1.c: New file.
        * elf/tst-audit11mod2.c: New file.
        * elf/tst-audit11mod2.map: New file.
        * elf/tst-audit12.c: New file
        * elf/tst-auditmod12.c: New file.
        * elf/tst-audit12mod1.c: New file.
        * elf/tst-audit12mod2.c: New file.
        * elf/tst-audit12mod2.map: New file.
        * elf/tst-audit12mod3.c: New file.

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

Summary of changes:
 ChangeLog                     |   24 ++++++++++++++++++++
 elf/Makefile                  |   18 +++++++++++++-
 elf/dl-load.c                 |   33 +++++++++++++++++++++++----
 elf/tst-audit11.c             |   36 ++++++++++++++++++++++++++++++
 elf/tst-audit11mod1.c         |   24 ++++++++++++++++++++
 elf/tst-audit11mod2.c         |   23 +++++++++++++++++++
 elf/tst-audit11mod2.map       |   22 ++++++++++++++++++
 elf/tst-audit12.c             |   49 +++++++++++++++++++++++++++++++++++++++++
 elf/tst-audit12mod1.c         |   24 ++++++++++++++++++++
 elf/tst-audit12mod2.c         |   23 +++++++++++++++++++
 elf/tst-audit12mod2.map       |   22 ++++++++++++++++++
 elf/tst-audit12mod3.c         |   23 +++++++++++++++++++
 elf/tst-auditmod11.c          |   39 ++++++++++++++++++++++++++++++++
 elf/tst-auditmod12.c          |   43 ++++++++++++++++++++++++++++++++++++
 sysdeps/mach/hurd/dl-sysdep.c |    2 +-
 15 files changed, 397 insertions(+), 8 deletions(-)
 create mode 100644 elf/tst-audit11.c
 create mode 100644 elf/tst-audit11mod1.c
 create mode 100644 elf/tst-audit11mod2.c
 create mode 100644 elf/tst-audit11mod2.map
 create mode 100644 elf/tst-audit12.c
 create mode 100644 elf/tst-audit12mod1.c
 create mode 100644 elf/tst-audit12mod2.c
 create mode 100644 elf/tst-audit12mod2.map
 create mode 100644 elf/tst-audit12mod3.c
 create mode 100644 elf/tst-auditmod11.c
 create mode 100644 elf/tst-auditmod12.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30450-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Nov 09 17:06:37 2015
Return-Path: <glibc-bugs-return-30450-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 103316 invoked by alias); 9 Nov 2015 17:06:37 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 103266 invoked by uid 48); 9 Nov 2015 17:06:33 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug dynamic-link/18251] SONAME missing when audit modules provides path
Date: Mon, 09 Nov 2015 17:06:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: dynamic-link
X-Bugzilla-Version: 2.21
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: fweimer at redhat dot com
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-18251-131-MLnVv5s447@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-18251-131@http.sourceware.org/bugzilla/>
References: <bug-18251-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00079.txt.bz2
Content-length: 573

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.23

--- Comment #4 from Florian Weimer <fweimer at redhat dot com> ---
Fixed for 2.23.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30451-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Nov 10 10:56:44 2015
Return-Path: <glibc-bugs-return-30451-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 49730 invoked by alias); 10 Nov 2015 10:56:44 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 49653 invoked by uid 48); 10 Nov 2015 10:56:39 -0000
From: "baurthefirst at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/15578] kk_KZ: various updates
Date: Tue, 10 Nov 2015 10:56:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: 2.18
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: baurthefirst at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-15578-131-irxEYcbde9@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-15578-131@http.sourceware.org/bugzilla/>
References: <bug-15578-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00080.txt.bz2
Content-length: 277

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

--- Comment #8 from Baurzhan Muftakhidinov <baurthefirst at gmail dot com> ---
I sincerely hope that pinging once a week is not annoying,

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30452-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Nov 10 12:58:47 2015
Return-Path: <glibc-bugs-return-30452-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 110636 invoked by alias); 10 Nov 2015 12:58:47 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 110593 invoked by uid 55); 10 Nov 2015 12:58:43 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19219] GLIBC build fails for ia64 with missing __nearbyintl
Date: Tue, 10 Nov 2015 12:58:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19219-131-VY2Gr4OILa@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19219-131@http.sourceware.org/bugzilla/>
References: <bug-19219-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00081.txt.bz2
Content-length: 1764

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

--- Comment #1 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  71bbdde7f53951f6a1d59492f36f80769090a8b3 (commit)
      from  2fee269248c6ef303569d9ac8fec3a27676520e0 (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=71bbdde7f53951f6a1d59492f36f80769090a8b3

commit 71bbdde7f53951f6a1d59492f36f80769090a8b3
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Mon Nov 2 15:19:45 2015 -0200

    Fix nearbyintl linkage for ia64 (bug 19219)

    GLIBC fails to build for ia64 since commit
d0d286d32dda654f8983e8fe77bca0a2cda2051b.
    It is because this commit uses the internal definition for nearbyintl,
    but ia64 specialized implementation (sysdeps/ia64/fpu/s_nearbyintl.S)
    does not define it.

    Tested with a ia64 build.

            [BZ #19219]
            * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
            weak_alias to nearbyintl.

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

Summary of changes:
 ChangeLog                       |    6 ++++++
 sysdeps/ia64/fpu/s_nearbyintl.S |    5 +++--
 2 files changed, 9 insertions(+), 2 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30453-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Nov 10 13:14:14 2015
Return-Path: <glibc-bugs-return-30453-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 388 invoked by alias); 10 Nov 2015 13:14:13 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 130362 invoked by uid 48); 10 Nov 2015 13:14:06 -0000
From: "304702903 at qq dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19226] New: about getopt_long
Date: Tue, 10 Nov 2015 13:14:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.17
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: 304702903 at qq dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone
Message-ID: <bug-19226-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00082.txt.bz2
Content-length: 3403

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

            Bug ID: 19226
           Summary: about getopt_long
           Product: glibc
           Version: 2.17
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: 304702903 at qq dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

centos/rhel 7.
man 3 getopt_long,there is a sample code

but getopt_long cant not find this bad command:  "--" is invalid.

How can I detect "--" is invalid string? any advice?


[gg@wq test]$ ./getopt_long_man  -c 1
option c with value '1'
[gg@wqtest]$ ./getopt_long_man  -c 1 --
option c with value '1'
[gg@wqtest]$ 
[gg@wqtest]$ 

sample code from man page:
       #include <stdio.h>     /* for printf */
       #include <stdlib.h>    /* for exit */
       #include <getopt.h>

       int
       main(int argc, char **argv)
       {
           int c;
           int digit_optind = 0;

           while (1) {
               int this_option_optind = optind ? optind : 1;
               int option_index = 0;
               static struct option long_options[] = {
                   {"add",     required_argument, 0,  0 },
                   {"append",  no_argument,       0,  0 },
                   {"delete",  required_argument, 0,  0 },
                   {"verbose", no_argument,       0,  0 },
                   {"create",  required_argument, 0, 'c'},
                   {"file",    required_argument, 0,  0 },
                   {0,         0,                 0,  0 }
               };

               c = getopt_long(argc, argv, "abc:d:012",
                        long_options, &option_index);
               if (c == -1)
                   break;

               switch (c) {
               case 0:
                   printf("option %s", long_options[option_index].name);
                   if (optarg)
                       printf(" with arg %s", optarg);
                   printf("\n");
                   break;

               case '0':
               case '1':
               case '2':
                   if (digit_optind != 0 && digit_optind != this_option_optind)
                     printf("digits occur in two different argv-elements.\n");
                   digit_optind = this_option_optind;
                   printf("option %c\n", c);
                   break;

               case 'a':
                   printf("option a\n");
                   break;

               case 'b':
                   printf("option b\n");
                   break;

               case 'c':
                   printf("option c with value '%s'\n", optarg);
                   break;

               case 'd':
                   printf("option d with value '%s'\n", optarg);
                   break;

               case '?':
                   break;

               default:
                   printf("?? getopt returned character code 0%o ??\n", c);
               }
           }

           if (optind < argc) {
               printf("non-option ARGV-elements: ");
               while (optind < argc)
                   printf("%s ", argv[optind++]);
               printf("\n");
           }

           exit(EXIT_SUCCESS);
       }

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30454-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Nov 10 13:17:41 2015
Return-Path: <glibc-bugs-return-30454-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 10744 invoked by alias); 10 Nov 2015 13:17:40 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 10700 invoked by uid 48); 10 Nov 2015 13:17:36 -0000
From: "304702903 at qq dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19226] about getopt_long
Date: Tue, 10 Nov 2015 13:17:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.17
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: 304702903 at qq dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: roland at gnu dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc assigned_to
Message-ID: <bug-19226-131-srs8i3lfzA@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19226-131@http.sourceware.org/bugzilla/>
References: <bug-19226-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00083.txt.bz2
Content-length: 532

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

304702903 at qq dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |304702903 at qq dot com,
                   |                            |gotom at debian dot or.jp
           Assignee|unassigned at sourceware dot org   |roland at gnu dot org

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30455-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Nov 10 13:24:01 2015
Return-Path: <glibc-bugs-return-30455-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 27218 invoked by alias); 10 Nov 2015 13:24:01 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 25301 invoked by uid 48); 10 Nov 2015 13:23:58 -0000
From: "adhemerval.zanella at linaro dot org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19219] GLIBC build fails for ia64 with missing __nearbyintl
Date: Tue, 10 Nov 2015 13:24:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: adhemerval.zanella at linaro dot org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-19219-131-8AwYpmCUX9@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19219-131@http.sourceware.org/bugzilla/>
References: <bug-19219-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00084.txt.bz2
Content-length: 586

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

Adhemerval Zanella <adhemerval.zanella at linaro dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
Fixed by 71bbdde7f53951f6a1d59492f36f80769090a8b3.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30457-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Nov 10 16:31:59 2015
Return-Path: <glibc-bugs-return-30457-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 6144 invoked by alias); 10 Nov 2015 16:31:59 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 6074 invoked by uid 48); 10 Nov 2015 16:31:55 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19226] about getopt_long
Date: Tue, 10 Nov 2015 16:31:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.17
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: INVALID
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: roland at gnu dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-19226-131-PBJ6B6gVWY@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19226-131@http.sourceware.org/bugzilla/>
References: <bug-19226-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00086.txt.bz2
Content-length: 643

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
"--" always means the end of the options, so that anything following is a
non-option argument even if it starts with "-".  It is never invalid.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30456-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Nov 10 16:31:04 2015
Return-Path: <glibc-bugs-return-30456-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 5226 invoked by alias); 10 Nov 2015 16:31:04 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 5166 invoked by uid 55); 10 Nov 2015 16:30:59 -0000
From: "joseph at codesourcery dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/15578] kk_KZ: various updates
Date: Tue, 10 Nov 2015 16:31:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: 2.18
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: joseph at codesourcery dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-15578-131-HsCSNLbb8z@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-15578-131@http.sourceware.org/bugzilla/>
References: <bug-15578-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00085.txt.bz2
Content-length: 358

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

--- Comment #9 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
Pings should be on libc-alpha not in Bugzilla, in reply to the patch 
submission and giving its URL.  Once a week is reasonable.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30458-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Nov 10 21:01:03 2015
Return-Path: <glibc-bugs-return-30458-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 33615 invoked by alias); 10 Nov 2015 21:01:03 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 33433 invoked by uid 55); 10 Nov 2015 21:00:58 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug dynamic-link/19178] ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA confuses prelink
Date: Tue, 10 Nov 2015 21:01:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: dynamic-link
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19178-131-jbFT2Vr7ku@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19178-131@http.sourceware.org/bugzilla/>
References: <bug-19178-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00087.txt.bz2
Content-length: 2107

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

--- Comment #19 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  fe534fe8980fa214c410e3661a4216e781073353 (commit)
      from  685312298fcc5b24ed9700bcc43787d5f83553c5 (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=fe534fe8980fa214c410e3661a4216e781073353

commit fe534fe8980fa214c410e3661a4216e781073353
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Nov 10 12:27:24 2015 -0800

    Add a test for prelink output

    This test applies to i386 and x86_64 which set R_386_GLOB_DAT and
    R_X86_64_GLOB_DAT to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.

        [BZ #19178]
        * sysdeps/x86/Makefile (tests): Add tst-prelink.
        (tst-prelink-ENV): New.
        ($(objpfx)tst-prelink-conflict.out): Likewise.
        ($(objpfx)tst-prelink-cmp.out): Likewise.
        (tests-special): Add $(objpfx)tst-prelink-cmp.out.
        * sysdeps/x86/tst-prelink.c: New file.
        * sysdeps/x86/tst-prelink.exp: Likewise.

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

Summary of changes:
 ChangeLog                                          |   11 +++++++++++
 sysdeps/x86/Makefile                               |   15 +++++++++++++++
 sysdeps/{x86_64/ifuncmain8.c => x86/tst-prelink.c} |   10 ++++------
 sysdeps/x86/tst-prelink.exp                        |    1 +
 4 files changed, 31 insertions(+), 6 deletions(-)
 copy sysdeps/{x86_64/ifuncmain8.c => x86/tst-prelink.c} (86%)
 create mode 100644 sysdeps/x86/tst-prelink.exp

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30459-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Nov 10 21:46:14 2015
Return-Path: <glibc-bugs-return-30459-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 32288 invoked by alias); 10 Nov 2015 21:46:14 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 32172 invoked by uid 55); 10 Nov 2015 21:46:09 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug dynamic-link/19178] ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA confuses prelink
Date: Tue, 10 Nov 2015 21:46:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: dynamic-link
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19178-131-7KgzmheNEO@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19178-131@http.sourceware.org/bugzilla/>
References: <bug-19178-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00088.txt.bz2
Content-length: 3781

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

--- Comment #20 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, release/2.22/master has been updated
       via  3cdd4ce75bc4d24aca37edc3ecec2a8890ce2551 (commit)
       via  387011e0b6f9cbefd26691f0df8ce76bb7ddfa03 (commit)
      from  5b319ce2949cf6fb97862ff81558944f76c704f1 (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=3cdd4ce75bc4d24aca37edc3ecec2a8890ce2551

commit 3cdd4ce75bc4d24aca37edc3ecec2a8890ce2551
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Nov 10 12:27:24 2015 -0800

    Add a test for prelink output

    This test applies to i386 and x86_64 which set R_386_GLOB_DAT and
    R_X86_64_GLOB_DAT to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.

        [BZ #19178]
        * sysdeps/x86/Makefile (tests): Add tst-prelink.
        (tst-prelink-ENV): New.
        ($(objpfx)tst-prelink-conflict.out): Likewise.
        ($(objpfx)tst-prelink-cmp.out): Likewise.
        (tests-special): Add $(objpfx)tst-prelink-cmp.out.
        * sysdeps/x86/tst-prelink.c: New file.
        * sysdeps/x86/tst-prelink.exp: Likewise.

    (cherry picked from commit fe534fe8980fa214c410e3661a4216e781073353)

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

commit 387011e0b6f9cbefd26691f0df8ce76bb7ddfa03
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sat Nov 7 06:32:30 2015 -0800

    Keep only ELF_RTYPE_CLASS_{PLT|COPY} bits for prelink

    prelink runs ld.so with the environment variable LD_TRACE_PRELINKING
    set to dump the relocation type class from _dl_debug_bindings.  prelink
    has the following relocation type classes:

     #define RTYPE_CLASS_VALID       8
     #define RTYPE_CLASS_PLT         (8|1)
     #define RTYPE_CLASS_COPY        (8|2)
     #define RTYPE_CLASS_TLS         (8|4)

    where ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA has a conflict with
    RTYPE_CLASS_TLS.

    Since prelink only uses ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY
    bits, we should clear the other bits when the DL_DEBUG_PRELINK bit is
    set.

        [BZ #19178]
        * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
        (RTYPE_CLASS_PLT): Likewise.
        (RTYPE_CLASS_COPY): Likewise.
        (RTYPE_CLASS_TLS): Likewise.
        (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
        to set relocation type class for DL_DEBUG_PRELINK.  Keep only
        ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
        DL_DEBUG_PRELINK.

    (cherry picked from commit f3d18efb8a720121066dc3401e822043beb98cde)

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

Summary of changes:
 ChangeLog                                        |   23 ++++++++++++++++++++++
 NEWS                                             |    2 +-
 elf/dl-lookup.c                                  |   21 ++++++++++++++++++-
 sysdeps/x86/Makefile                             |   15 ++++++++++++++
 stdlib/tst-system.c => sysdeps/x86/tst-prelink.c |   12 +++++-----
 sysdeps/x86/tst-prelink.exp                      |    1 +
 6 files changed, 65 insertions(+), 9 deletions(-)
 copy stdlib/tst-system.c => sysdeps/x86/tst-prelink.c (80%)
 create mode 100644 sysdeps/x86/tst-prelink.exp

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30460-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Nov 10 21:47:40 2015
Return-Path: <glibc-bugs-return-30460-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 35828 invoked by alias); 10 Nov 2015 21:47:40 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 35799 invoked by uid 48); 10 Nov 2015 21:47:36 -0000
From: "hjl.tools at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug dynamic-link/19178] ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA confuses prelink
Date: Tue, 10 Nov 2015 21:47:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: dynamic-link
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-19178-131-Qqs8Z86EY5@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19178-131@http.sourceware.org/bugzilla/>
References: <bug-19178-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00089.txt.bz2
Content-length: 607

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.23

--- Comment #21 from H.J. Lu <hjl.tools at gmail dot com> ---
Fixed for 2.23 and backported to release/2.22/master branch.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30461-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Nov 10 23:39:02 2015
Return-Path: <glibc-bugs-return-30461-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 21248 invoked by alias); 10 Nov 2015 23:39:02 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 21191 invoked by uid 48); 10 Nov 2015 23:38:58 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19228] New: [powerpc] nearbyint wrongly clears "inexact", leaves traps disabled
Date: Tue, 10 Nov 2015 23:39:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone cf_gcchost
Message-ID: <bug-19228-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00090.txt.bz2
Content-length: 922

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

            Bug ID: 19228
           Summary: [powerpc] nearbyint wrongly clears "inexact", leaves
                    traps disabled
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org
  Target Milestone: ---
              Host: powerpc*-*-*

Similar to bug 15491 recently fixed for x86_64 / x86, the powerpc (both
powerpc32 and powerpc64) hard-float implementations of nearbyintf and nearbyint
wrongly clear an "inexact" exception that was raised before the function was
called.  They also wrongly leave traps on "inexact" disabled if they were
enabled before the function was called.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30463-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 11 00:07:29 2015
Return-Path: <glibc-bugs-return-30463-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 83884 invoked by alias); 11 Nov 2015 00:07:29 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 83637 invoked by uid 55); 11 Nov 2015 00:07:25 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/15491] [i386/x86_64] x86 nearbyint implementations wrongly clear all exceptions
Date: Wed, 11 Nov 2015 00:07:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.17
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-15491-131-1FYj2UTdIn@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-15491-131@http.sourceware.org/bugzilla/>
References: <bug-15491-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00092.txt.bz2
Content-length: 3787

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

--- Comment #3 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  71d1b0166b4ace0d804af2993b3815758b852efc (commit)
      from  fe534fe8980fa214c410e3661a4216e781073353 (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=71d1b0166b4ace0d804af2993b3815758b852efc

commit 71d1b0166b4ace0d804af2993b3815758b852efc
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Wed Nov 11 00:06:09 2015 +0000

    Fix powerpc nearbyint wrongly clearing "inexact" and leaving traps disabled
(bug 19228).

    Similar to bug 15491 recently fixed for x86_64 / x86, the powerpc
    (both powerpc32 and powerpc64) hard-float implementations of
    nearbyintf and nearbyint wrongly clear an "inexact" exception that was
    raised before the function was called; this shows up as failure of the
    test math/test-nearbyint-except added when that bug was fixed.  They
    also wrongly leave traps on "inexact" disabled if they were enabled
    before the function was called.

    This patch fixes the bugs similar to how the x86 bug was fixed: saving
    and restoring the whole floating-point state, both to restore the
    original "inexact" flag state and to restore the original state of
    whether traps on "inexact" were enabled.  Because there's a convenient
    point in the powerpc implementations to save state after any sNaN
    arguments will have raised "invalid" but before "inexact" traps need
    to be disabled, no special handling for "invalid" is needed as in the
    x86 version.

    Tested for powerpc64 and powerpc32, where it fixes the
    math/test-nearbyint-except failure as well as fixing the new test
    math/test-nearbyint-except-2 added by this patch.  Also tested for
    x86_64 and x86 that the new test passes.

    If powerpc experts see a more efficient way of doing this
    (e.g. instruction positioning that's better for pipelines on typical
    processors) then of course followups optimizing the fix are welcome.

        [BZ #19228]
        * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
        and restore full floating-point state.
        * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
        Likewise.
        * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
        Likewise.
        * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
        Likewise.
        * math/test-nearbyint-except-2.c: New file.
        * math/Makefile (tests): Add test-nearbyint-except-2.

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

Summary of changes:
 ChangeLog                                          |   14 +++++++
 math/Makefile                                      |    3 +-
 ...earbyint-except.c => test-nearbyint-except-2.c} |   38 +++++++------------
 sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S        |    6 ++-
 sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S       |    6 ++-
 sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S        |    6 ++-
 sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S       |    6 ++-
 7 files changed, 46 insertions(+), 33 deletions(-)
 copy math/{test-nearbyint-except.c => test-nearbyint-except-2.c} (64%)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30462-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 11 00:07:28 2015
Return-Path: <glibc-bugs-return-30462-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 83687 invoked by alias); 11 Nov 2015 00:07:27 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 83606 invoked by uid 55); 11 Nov 2015 00:07:23 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19228] [powerpc] nearbyint wrongly clears "inexact", leaves traps disabled
Date: Wed, 11 Nov 2015 00:07:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19228-131-WoNuAWJlYB@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19228-131@http.sourceware.org/bugzilla/>
References: <bug-19228-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00091.txt.bz2
Content-length: 3787

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

--- Comment #1 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  71d1b0166b4ace0d804af2993b3815758b852efc (commit)
      from  fe534fe8980fa214c410e3661a4216e781073353 (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=71d1b0166b4ace0d804af2993b3815758b852efc

commit 71d1b0166b4ace0d804af2993b3815758b852efc
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Wed Nov 11 00:06:09 2015 +0000

    Fix powerpc nearbyint wrongly clearing "inexact" and leaving traps disabled
(bug 19228).

    Similar to bug 15491 recently fixed for x86_64 / x86, the powerpc
    (both powerpc32 and powerpc64) hard-float implementations of
    nearbyintf and nearbyint wrongly clear an "inexact" exception that was
    raised before the function was called; this shows up as failure of the
    test math/test-nearbyint-except added when that bug was fixed.  They
    also wrongly leave traps on "inexact" disabled if they were enabled
    before the function was called.

    This patch fixes the bugs similar to how the x86 bug was fixed: saving
    and restoring the whole floating-point state, both to restore the
    original "inexact" flag state and to restore the original state of
    whether traps on "inexact" were enabled.  Because there's a convenient
    point in the powerpc implementations to save state after any sNaN
    arguments will have raised "invalid" but before "inexact" traps need
    to be disabled, no special handling for "invalid" is needed as in the
    x86 version.

    Tested for powerpc64 and powerpc32, where it fixes the
    math/test-nearbyint-except failure as well as fixing the new test
    math/test-nearbyint-except-2 added by this patch.  Also tested for
    x86_64 and x86 that the new test passes.

    If powerpc experts see a more efficient way of doing this
    (e.g. instruction positioning that's better for pipelines on typical
    processors) then of course followups optimizing the fix are welcome.

        [BZ #19228]
        * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
        and restore full floating-point state.
        * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
        Likewise.
        * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
        Likewise.
        * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
        Likewise.
        * math/test-nearbyint-except-2.c: New file.
        * math/Makefile (tests): Add test-nearbyint-except-2.

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

Summary of changes:
 ChangeLog                                          |   14 +++++++
 math/Makefile                                      |    3 +-
 ...earbyint-except.c => test-nearbyint-except-2.c} |   38 +++++++------------
 sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S        |    6 ++-
 sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S       |    6 ++-
 sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S        |    6 ++-
 sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S       |    6 ++-
 7 files changed, 46 insertions(+), 33 deletions(-)
 copy math/{test-nearbyint-except.c => test-nearbyint-except-2.c} (64%)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30464-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 11 00:08:28 2015
Return-Path: <glibc-bugs-return-30464-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 86654 invoked by alias); 11 Nov 2015 00:08:28 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 86535 invoked by uid 48); 11 Nov 2015 00:08:24 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19228] [powerpc] nearbyint wrongly clears "inexact", leaves traps disabled
Date: Wed, 11 Nov 2015 00:08:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-19228-131-WcQpbDxJs2@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19228-131@http.sourceware.org/bugzilla/>
References: <bug-19228-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00093.txt.bz2
Content-length: 567

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.23

--- Comment #2 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
Fixed for 2.23.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30465-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 11 12:08:13 2015
Return-Path: <glibc-bugs-return-30465-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 103017 invoked by alias); 11 Nov 2015 12:08:12 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 99310 invoked by uid 48); 11 Nov 2015 12:08:08 -0000
From: "shlomif at shlomifish dot org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19230] New: A stream using fmemopen() yields different and incorrect results than one using fopen or stdout.
Date: Wed, 11 Nov 2015 12:08:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: shlomif at shlomifish dot org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone
Message-ID: <bug-19230-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00094.txt.bz2
Content-length: 1215

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

            Bug ID: 19230
           Summary: A stream using fmemopen() yields different and
                    incorrect results than one using fopen or stdout.
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: shlomif at shlomifish dot org
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

In this self-contained, reproducing, test case:

https://github.com/shlomif/possible-glibc-fmemopen-bug/

fmemopen() on glibc-2.22 (both the Mageia x86-64 v6 glibc and one built from
source) yields incorrect results after repetitively fprintf()ed into, and using
the #if's one can see that doing so to stdout or an fopen()ed file is working
fine. It works fine in glibc-2.21

I tried testing it on the glibc git master, but the built binary causes "ls" to
segfault and GNU make to be unusuable.

I'm going to attach a tar.xz tarball with the sources soon.

Regards,

-- Shlomi Fish

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30466-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 11 12:11:36 2015
Return-Path: <glibc-bugs-return-30466-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 23328 invoked by alias); 11 Nov 2015 12:11:35 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 23213 invoked by uid 48); 11 Nov 2015 12:11:31 -0000
From: "shlomif at shlomifish dot org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19230] A stream using fmemopen() yields different and incorrect results than one using fopen or stdout.
Date: Wed, 11 Nov 2015 12:11:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: shlomif at shlomifish dot org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-19230-131-esI6j8uILe@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19230-131@http.sourceware.org/bugzilla/>
References: <bug-19230-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00095.txt.bz2
Content-length: 392

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

--- Comment #1 from Shlomi Fish <shlomif at shlomifish dot org> ---
Created attachment 8776
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8776&action=edit
tarball of the sources.

This is a tar.xz tarball of the sources from the repository.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30467-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Nov 12 06:13:39 2015
Return-Path: <glibc-bugs-return-30467-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 6758 invoked by alias); 12 Nov 2015 06:13:38 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 6679 invoked by uid 48); 12 Nov 2015 06:13:34 -0000
From: "zizztux at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug build/19207] Build failed with option that impact on binary format in CFLAGS
Date: Thu, 12 Nov 2015 06:13:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: build
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: minor
X-Bugzilla-Who: zizztux at gmail dot com
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19207-131-afqBK88Qrm@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19207-131@http.sourceware.org/bugzilla/>
References: <bug-19207-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00096.txt.bz2
Content-length: 334

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

--- Comment #3 from SeungRyeol Lee <zizztux at gmail dot com> ---
No, it's not problem with CXX value.
as i mentioned, in code of checking the linker output format, CFLAGS value is
not included.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30468-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Nov 12 08:06:41 2015
Return-Path: <glibc-bugs-return-30468-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 15510 invoked by alias); 12 Nov 2015 08:06:41 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 15460 invoked by uid 48); 12 Nov 2015 08:06:38 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug build/19207] Build failed with option that impact on binary format in CFLAGS
Date: Thu, 12 Nov 2015 08:06:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: build
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: minor
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19207-131-6aW8268u7X@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19207-131@http.sourceware.org/bugzilla/>
References: <bug-19207-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00097.txt.bz2
Content-length: 518

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

--- Comment #4 from Florian Weimer <fweimer at redhat dot com> ---
(In reply to SeungRyeol Lee from comment #3)
> No, it's not problem with CXX value.
> as i mentioned, in code of checking the linker output format, CFLAGS value
> is not included.

Have you actually tried this?  If you set the CC variable as Andreas suggested,
it will be used by the configure check you quoted.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30469-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Nov 12 14:32:05 2015
Return-Path: <glibc-bugs-return-30469-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 64229 invoked by alias); 12 Nov 2015 14:32:04 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 64076 invoked by uid 48); 12 Nov 2015 14:32:00 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19235] New: [powerpc64] lround, lroundf, llround, llroundf spurious "inexact" exceptions
Date: Thu, 12 Nov 2015 14:32:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone cf_gcchost
Message-ID: <bug-19235-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00098.txt.bz2
Content-length: 2783

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

            Bug ID: 19235
           Summary: [powerpc64] lround, lroundf, llround, llroundf
                    spurious "inexact" exceptions
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org
  Target Milestone: ---
              Host: powerpc64*-*-*

Similar to bug 19134 for powerpc32, the powerpc64 implementations of lround,
lroundf, llround, llroundf can raise spurious "inexact" exceptions for integer
arguments from adding 0.5 then converting to integer (this does not apply to
the power5+ version for double, which uses the frin instruction which is
defined never to raise "inexact"; I don't know why power5+ doesn't use that
version for float as well).  For float:

Failure: lround (2097151.0): Exception "Inexact" set
Failure: lround_downward (2097151.0): Exception "Inexact" set
Failure: lround_towardzero (2097151.0): Exception "Inexact" set
Failure: lround_upward (2097151.0): Exception "Inexact" set
Failure: llround (2097151.0): Exception "Inexact" set
Failure: llround_downward (2097151.0): Exception "Inexact" set
Failure: llround_towardzero (2097151.0): Exception "Inexact" set
Failure: llround_upward (2097151.0): Exception "Inexact" set

For double:

Failure: lround (0x1p31): Exception "Inexact" set
Failure: lround (0x1p32): Exception "Inexact" set
Failure: lround (0x1p33): Exception "Inexact" set
Failure: lround (-0x1p31): Exception "Inexact" set
Failure: lround (-0x1p32): Exception "Inexact" set
Failure: lround (-0x1p33): Exception "Inexact" set
Failure: lround (0x7fffff80p0): Exception "Inexact" set
Failure: lround (0x7fffffffp0): Exception "Inexact" set
Failure: lround (-0x80000001p0): Exception "Inexact" set
Failure: lround (-0x80000100p0): Exception "Inexact" set
Failure: lround (2097151.0): Exception "Inexact" set
Failure: lround (8388608.0): Exception "Inexact" set
Failure: lround (16777216.0): Exception "Inexact" set
Failure: lround (2199023255552.0): Exception "Inexact" set
Failure: lround (4398046511104.0): Exception "Inexact" set
Failure: lround (281474976710656.0): Exception "Inexact" set
Failure: lround (0x1.fffffep+23): Exception "Inexact" set
Failure: lround (-0x1.fffffep+23): Exception "Inexact" set
Failure: lround (0x1.000002p+23): Exception "Inexact" set
Failure: lround (-0x1.000002p+23): Exception "Inexact" set
Failure: lround (0x1.fffffep+23): Exception "Inexact" set
Failure: lround (-0x1.fffffep+23): Exception "Inexact" set

and similar for llround and for other rounding modes.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30471-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Nov 12 16:25:28 2015
Return-Path: <glibc-bugs-return-30471-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 104382 invoked by alias); 12 Nov 2015 16:25:28 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 104301 invoked by uid 55); 12 Nov 2015 16:25:23 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19134] [powerpc32] lround, lroundf spurious exceptions
Date: Thu, 12 Nov 2015 16:25:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19134-131-4nnoc37Pjy@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19134-131@http.sourceware.org/bugzilla/>
References: <bug-19134-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00100.txt.bz2
Content-length: 2615

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

--- Comment #3 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  32b71ad358a949cbfe16d527f9a1015b95bb9baf (commit)
      from  1a44f1433ee4afad10eb4cb1a08d8a86b286cd40 (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=32b71ad358a949cbfe16d527f9a1015b95bb9baf

commit 32b71ad358a949cbfe16d527f9a1015b95bb9baf
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Thu Nov 12 16:24:00 2015 +0000

    Fix powerpc64 lround, lroundf, llround, llroundf spurious "inexact"
exceptions (bug 19235).

    Similar to bug 19134 for powerpc32, the powerpc64 implementations of
    lround, lroundf, llround, llroundf can raise spurious "inexact"
    exceptions for integer arguments from adding 0.5 then converting to
    integer (this does not apply to the power5+ version for double, which
    uses the frin instruction which is defined never to raise "inexact"; I
    don't know why power5+ doesn't use that version for float as well).

    This patch fixes the bug in a similar way to the powerpc32 bug, by
    testing for integers (adding and subtracting 2^52 and comparing with
    the value before that addition and subtraction) and not adding 0.5 in
    that case.

    The powerpc maintainers may wish to look at making power5+ / power6x /
    power8 use frin for float lround / llround as well as for double,
    unless there's some reason I've missed that this isn't beneficial.

    Tested for powerpc64.

        [BZ #19235]
        * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
        add 0.5 to integer arguments.
        * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
        Likewise.
        (.LC2): New object.

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

Summary of changes:
 ChangeLog                                  |    9 +++++++++
 sysdeps/powerpc/powerpc64/fpu/s_llround.S  |    5 +++++
 sysdeps/powerpc/powerpc64/fpu/s_llroundf.S |    8 ++++++++
 3 files changed, 22 insertions(+), 0 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30470-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Nov 12 16:25:28 2015
Return-Path: <glibc-bugs-return-30470-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 104362 invoked by alias); 12 Nov 2015 16:25:27 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 104293 invoked by uid 55); 12 Nov 2015 16:25:23 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19235] [powerpc64] lround, lroundf, llround, llroundf spurious "inexact" exceptions
Date: Thu, 12 Nov 2015 16:25:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19235-131-21798PaWYH@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19235-131@http.sourceware.org/bugzilla/>
References: <bug-19235-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00099.txt.bz2
Content-length: 2615

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

--- Comment #1 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  32b71ad358a949cbfe16d527f9a1015b95bb9baf (commit)
      from  1a44f1433ee4afad10eb4cb1a08d8a86b286cd40 (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=32b71ad358a949cbfe16d527f9a1015b95bb9baf

commit 32b71ad358a949cbfe16d527f9a1015b95bb9baf
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Thu Nov 12 16:24:00 2015 +0000

    Fix powerpc64 lround, lroundf, llround, llroundf spurious "inexact"
exceptions (bug 19235).

    Similar to bug 19134 for powerpc32, the powerpc64 implementations of
    lround, lroundf, llround, llroundf can raise spurious "inexact"
    exceptions for integer arguments from adding 0.5 then converting to
    integer (this does not apply to the power5+ version for double, which
    uses the frin instruction which is defined never to raise "inexact"; I
    don't know why power5+ doesn't use that version for float as well).

    This patch fixes the bug in a similar way to the powerpc32 bug, by
    testing for integers (adding and subtracting 2^52 and comparing with
    the value before that addition and subtraction) and not adding 0.5 in
    that case.

    The powerpc maintainers may wish to look at making power5+ / power6x /
    power8 use frin for float lround / llround as well as for double,
    unless there's some reason I've missed that this isn't beneficial.

    Tested for powerpc64.

        [BZ #19235]
        * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
        add 0.5 to integer arguments.
        * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
        Likewise.
        (.LC2): New object.

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

Summary of changes:
 ChangeLog                                  |    9 +++++++++
 sysdeps/powerpc/powerpc64/fpu/s_llround.S  |    5 +++++
 sysdeps/powerpc/powerpc64/fpu/s_llroundf.S |    8 ++++++++
 3 files changed, 22 insertions(+), 0 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30472-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Nov 12 16:26:48 2015
Return-Path: <glibc-bugs-return-30472-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 111584 invoked by alias); 12 Nov 2015 16:26:48 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 111536 invoked by uid 48); 12 Nov 2015 16:26:39 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19235] [powerpc64] lround, lroundf, llround, llroundf spurious "inexact" exceptions
Date: Thu, 12 Nov 2015 16:26:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-19235-131-Ojd4Lm33lS@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19235-131@http.sourceware.org/bugzilla/>
References: <bug-19235-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00101.txt.bz2
Content-length: 567

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.23

--- Comment #2 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
Fixed for 2.23.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30473-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Nov 12 18:34:40 2015
Return-Path: <glibc-bugs-return-30473-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 77168 invoked by alias); 12 Nov 2015 18:34:39 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 77123 invoked by uid 48); 12 Nov 2015 18:34:36 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19238] New: [powerpc] round, roundf spurious "inexact" for integer arguments
Date: Thu, 12 Nov 2015 18:34:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone cf_gcchost
Message-ID: <bug-19238-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00102.txt.bz2
Content-length: 956

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

            Bug ID: 19238
           Summary: [powerpc] round, roundf spurious "inexact" for integer
                    arguments
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org
  Target Milestone: ---
              Host: powerpc*-*-*

The powerpc hard-float round and roundf functions, both 32-bit and 64-bit,
raise spurious "inexact" exceptions for integer arguments from adding 0.5 and
rounding to integer toward zero.  (This bug is only about the exceptions for
integer arguments, which are not permitted by C99/C11; noninteger arguments
also should not raise "inexact" as per TS 18661-1, but that's bug 15479.)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30474-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Nov 12 19:01:09 2015
Return-Path: <glibc-bugs-return-30474-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 129885 invoked by alias); 12 Nov 2015 19:01:09 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 129714 invoked by uid 55); 12 Nov 2015 19:01:04 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19238] [powerpc] round, roundf spurious "inexact" for integer arguments
Date: Thu, 12 Nov 2015 19:01:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19238-131-4VINNzlols@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19238-131@http.sourceware.org/bugzilla/>
References: <bug-19238-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00103.txt.bz2
Content-length: 3323

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

--- Comment #1 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  21378ae0d390c45ef382e8c95cc3593845ebb6ea (commit)
      from  32b71ad358a949cbfe16d527f9a1015b95bb9baf (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=21378ae0d390c45ef382e8c95cc3593845ebb6ea

commit 21378ae0d390c45ef382e8c95cc3593845ebb6ea
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Thu Nov 12 19:00:06 2015 +0000

    Fix powerpc round, roundf spurious "inexact" (bug 19238).

    The powerpc hard-float round and roundf functions, both 32-bit and
    64-bit, raise spurious "inexact" exceptions for integer arguments from
    adding 0.5 and rounding to integer toward zero.

    Since these functions already save and restore the rounding mode, it's
    natural to make them restore the full floating-point state instead to
    fix this bug, which this patch does.  The save of the state is moved
    after the first floating-point operation on the input so that any
    "invalid" exceptions from signaling NaN inputs are properly
    preserved.  As a consequence of this approach to the fix, "inexact"
    for noninteger arguments (disallowed by TS 18661-1 but not by C99/C11,
    see bug 15479) is also avoided for these implementations; this is
    *not* a general fix for bug 15479 since plenty of other
    implementations of various functions still raise spurious "inexact"
    for noninteger arguments.

    This issue and fix do not apply to builds using power5+ versions of
    round and roundf, which use the frin instruction and avoid "inexact"
    exceptions that way.

    This patch should get hard-float powerpc32 and powerpc64 (default
    function implementations) back to a state where test-float and
    test-double will pass after ulps regeneration.

    Tested for powerpc32 and powerpc64.

        [BZ #15479]
        [BZ #19238]
        * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
        floating-point state after first operation on input.  Restore full
        state rather than just rounding mode.
        * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
        * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
        * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.

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

Summary of changes:
 ChangeLog                                |    9 +++++++++
 sysdeps/powerpc/powerpc32/fpu/s_round.S  |    9 ++++++---
 sysdeps/powerpc/powerpc32/fpu/s_roundf.S |    9 ++++++---
 sysdeps/powerpc/powerpc64/fpu/s_round.S  |    9 ++++++---
 sysdeps/powerpc/powerpc64/fpu/s_roundf.S |    9 ++++++---
 5 files changed, 33 insertions(+), 12 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30475-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Nov 12 19:01:10 2015
Return-Path: <glibc-bugs-return-30475-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 129902 invoked by alias); 12 Nov 2015 19:01:09 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 129715 invoked by uid 55); 12 Nov 2015 19:01:04 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/15479] ceil, floor and round and trunc raise inexact exception
Date: Thu, 12 Nov 2015 19:01:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.17
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-15479-131-ZghVStL9Zs@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-15479-131@http.sourceware.org/bugzilla/>
References: <bug-15479-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00104.txt.bz2
Content-length: 3323

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

--- Comment #1 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  21378ae0d390c45ef382e8c95cc3593845ebb6ea (commit)
      from  32b71ad358a949cbfe16d527f9a1015b95bb9baf (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=21378ae0d390c45ef382e8c95cc3593845ebb6ea

commit 21378ae0d390c45ef382e8c95cc3593845ebb6ea
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Thu Nov 12 19:00:06 2015 +0000

    Fix powerpc round, roundf spurious "inexact" (bug 19238).

    The powerpc hard-float round and roundf functions, both 32-bit and
    64-bit, raise spurious "inexact" exceptions for integer arguments from
    adding 0.5 and rounding to integer toward zero.

    Since these functions already save and restore the rounding mode, it's
    natural to make them restore the full floating-point state instead to
    fix this bug, which this patch does.  The save of the state is moved
    after the first floating-point operation on the input so that any
    "invalid" exceptions from signaling NaN inputs are properly
    preserved.  As a consequence of this approach to the fix, "inexact"
    for noninteger arguments (disallowed by TS 18661-1 but not by C99/C11,
    see bug 15479) is also avoided for these implementations; this is
    *not* a general fix for bug 15479 since plenty of other
    implementations of various functions still raise spurious "inexact"
    for noninteger arguments.

    This issue and fix do not apply to builds using power5+ versions of
    round and roundf, which use the frin instruction and avoid "inexact"
    exceptions that way.

    This patch should get hard-float powerpc32 and powerpc64 (default
    function implementations) back to a state where test-float and
    test-double will pass after ulps regeneration.

    Tested for powerpc32 and powerpc64.

        [BZ #15479]
        [BZ #19238]
        * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
        floating-point state after first operation on input.  Restore full
        state rather than just rounding mode.
        * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
        * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
        * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.

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

Summary of changes:
 ChangeLog                                |    9 +++++++++
 sysdeps/powerpc/powerpc32/fpu/s_round.S  |    9 ++++++---
 sysdeps/powerpc/powerpc32/fpu/s_roundf.S |    9 ++++++---
 sysdeps/powerpc/powerpc64/fpu/s_round.S  |    9 ++++++---
 sysdeps/powerpc/powerpc64/fpu/s_roundf.S |    9 ++++++---
 5 files changed, 33 insertions(+), 12 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30476-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Nov 12 19:01:34 2015
Return-Path: <glibc-bugs-return-30476-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 470 invoked by alias); 12 Nov 2015 19:01:33 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 131056 invoked by uid 48); 12 Nov 2015 19:01:30 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19238] [powerpc] round, roundf spurious "inexact" for integer arguments
Date: Thu, 12 Nov 2015 19:01:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-19238-131-uaeBeFlLWx@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19238-131@http.sourceware.org/bugzilla/>
References: <bug-19238-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00105.txt.bz2
Content-length: 567

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.23

--- Comment #2 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
Fixed for 2.23.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30477-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 13 03:31:09 2015
Return-Path: <glibc-bugs-return-30477-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 59954 invoked by alias); 13 Nov 2015 03:31:08 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 59865 invoked by uid 48); 13 Nov 2015 03:31:00 -0000
From: "gvisweswaran at verisign dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug network/18419] add an option to resolv.conf to set all-zeros edns-client-subnet option
Date: Fri, 13 Nov 2015 03:31:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: network
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: gvisweswaran at verisign dot com
X-Bugzilla-Status: SUSPENDED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-18419-131-rswgvDYWEU@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-18419-131@http.sourceware.org/bugzilla/>
References: <bug-18419-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00106.txt.bz2
Content-length: 574

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

Gowri <gvisweswaran at verisign dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gvisweswaran at verisign dot com

--- Comment #2 from Gowri <gvisweswaran at verisign dot com> ---
FYI, here is the patch to dig to possibly reuse the idea/code:
http://wilmer.gaa.st/edns-client-subnet/

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30478-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 13 04:00:55 2015
Return-Path: <glibc-bugs-return-30478-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 119842 invoked by alias); 13 Nov 2015 04:00:54 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 119630 invoked by uid 48); 13 Nov 2015 04:00:43 -0000
From: "dkg at fifthhorseman dot net" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug network/18419] add an option to resolv.conf to set all-zeros edns-client-subnet option
Date: Fri, 13 Nov 2015 04:00:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: network
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: dkg at fifthhorseman dot net
X-Bugzilla-Status: SUSPENDED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-18419-131-S0acy9SW25@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-18419-131@http.sourceware.org/bugzilla/>
References: <bug-18419-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00107.txt.bz2
Content-length: 794

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

--- Comment #3 from Daniel Kahn Gillmor <dkg at fifthhorseman dot net> ---
(In reply to Gowri from comment #2)
> FYI, here is the patch to dig to possibly reuse the idea/code:
> http://wilmer.gaa.st/edns-client-subnet/

fwiw, these patches add a client=<addr> option to dig, which is possibly more
complexity than we need to add in order to allow a simple opt-out.

for a simple opt-out, we could add a boolean option to resolv.conf named
"client-subnet-privacy".  Then if there is a specific use case for a fancier
implementation, it could be added separately, with the "client-subnet-privacy"
becoming a shorthand for something like "client=0/0",

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30479-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 13 04:13:29 2015
Return-Path: <glibc-bugs-return-30479-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 84982 invoked by alias); 13 Nov 2015 04:13:29 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 84925 invoked by uid 55); 13 Nov 2015 04:13:25 -0000
From: "gvisweswaran at verisign dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug network/18419] add an option to resolv.conf to set all-zeros edns-client-subnet option
Date: Fri, 13 Nov 2015 04:13:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: network
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: gvisweswaran at verisign dot com
X-Bugzilla-Status: SUSPENDED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-18419-131-YePTtpHGp9@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-18419-131@http.sourceware.org/bugzilla/>
References: <bug-18419-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00108.txt.bz2
Content-length: 2812

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

--- Comment #4 from Gowri <gvisweswaran at verisign dot com> ---
Hi DKG,

That is what I did too except that  I called it np-edns-client-subnet
since other options were prefixed with a ¹no' but I like
client-subnet-privacy better!
The dig code I was interested in is to see if I can reuse code to
construct and add an opt record correctly.

Quick diff so farŠ 


diff --git a/resolv/res_init.c b/resolv/res_init.c
index 66561ff..5c424a4 100644
--- a/resolv/res_init.c
+++ b/resolv/res_init.c
@@ -525,6 +525,7 @@ res_setoptions(res_state statp, const char *options,
const char *source) {
                    { STRnLEN ("rotate"), 0, RES_ROTATE },
                    { STRnLEN ("no-check-names"), 0, RES_NOCHECKNAME },
                    { STRnLEN ("edns0"), 0, RES_USE_EDNS0 },
+                   { STRnLEN ("no-edns-client-subnet"), 0,
RES_NOEDNSCLIENTSUBNET },
                    { STRnLEN ("single-request-reopen"), 0,
RES_SNGLKUPREOP },
                    { STRnLEN ("single-request"), 0, RES_SNGLKUP },
                    { STRnLEN ("no_tld_query"), 0, RES_NOTLDQUERY },
diff --git a/resolv/resolv.h b/resolv/resolv.h
index 53c3bba..708b62a 100644
--- a/resolv/resolv.h
+++ b/resolv/resolv.h
@@ -215,6 +215,7 @@ struct res_sym {
 #define RES_NOIP6DOTINT        0x00080000      /* Do not use .ip6.int in
IPv6
                                           reverse lookup */
 #define RES_USE_EDNS0  0x00100000      /* Use EDNS0.  */
+#define RES_NOEDNSCLIENTSUBNET 0x00100001      /* Hide edns-client-subnet
from resolver  */
 #define RES_SNGLKUP    0x00200000      /* one outstanding request at a
time */
 #define RES_SNGLKUPREOP        0x00400000      /* -"-, but open new
socket for each
                                           request */




On 11/12/15, 11:00 PM, "dkg at fifthhorseman dot net"
<sourceware-bugzilla@sourceware.org> wrote:

>https://sourceware.org/bugzilla/show_bug.cgi?id=18419
>
>--- Comment #3 from Daniel Kahn Gillmor <dkg at fifthhorseman dot net> ---
>(In reply to Gowri from comment #2)
>> FYI, here is the patch to dig to possibly reuse the idea/code:
>> http://wilmer.gaa.st/edns-client-subnet/
>
>fwiw, these patches add a client=<addr> option to dig, which is possibly
>more
>complexity than we need to add in order to allow a simple opt-out.
>
>for a simple opt-out, we could add a boolean option to resolv.conf named
>"client-subnet-privacy".  Then if there is a specific use case for a
>fancier
>implementation, it could be added separately, with the
>"client-subnet-privacy"
>becoming a shorthand for something like "client=0/0",
>
>-- 
>You are receiving this mail because:
>You are on the CC list for the bug.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30480-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 13 05:12:30 2015
Return-Path: <glibc-bugs-return-30480-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 48177 invoked by alias); 13 Nov 2015 05:12:29 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 48105 invoked by uid 48); 13 Nov 2015 05:12:25 -0000
From: "yaghmour.shafik at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19239] New: Including stdlib.h ends up with macros major and minor being defined
Date: Fri, 13 Nov 2015 05:12:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: yaghmour.shafik at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone
Message-ID: <bug-19239-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00109.txt.bz2
Content-length: 2066

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

            Bug ID: 19239
           Summary: Including stdlib.h ends up with macros major and minor
                    being defined
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: yaghmour.shafik at gmail dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

Given the following code:

#include <fstream> //or iostream, sstream, istream, ostream

struct A {
  unsigned major;
  unsigned minor;

  A(int major, int minor) :
    major(major), minor(minor){ }
};

int main() {
  A a1(1, 1);

  return 0;
}

which is a reduced example from this Stackoverflow queston:
http://stackoverflow.com/q/33681093/1708801

Generates the following diagnostics
http://melpon.org/wandbox/permlink/Bex1ymr03yuu44Pd:

prog.cc:8:5: error: member initializer 'gnu_dev_major' does not name a
non-static data member or base class
    major(major), minor(minor){ }
    ^~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/sys/sysmacros.h:67:21: note: expanded from macro
'major'
# define major(dev) gnu_dev_major (dev)
                    ^~~~~~~~~~~~~~~~~~~
prog.cc:8:19: error: member initializer 'gnu_dev_minor' does not name a
non-static data member or base class
    major(major), minor(minor){ }
                  ^~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/sys/sysmacros.h:68:21: note: expanded from macro
'minor'
# define minor(dev) gnu_dev_minor (dev)
                    ^~~~~~~~~~~~~~~~~~~
2 errors generated.

So it looks like the underlying issue is that various stream related headers
bring in stdlib.h which eventually casues sys/sysmacros.h to be be included.
The details were identified in one of the comments which said:

_GNU_SOURCE causes stdlib.h to include sys/types.h, and it causes sys/types.h
to include sys/sysmacros.h

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30481-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 13 10:54:39 2015
Return-Path: <glibc-bugs-return-30481-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 64317 invoked by alias); 13 Nov 2015 10:54:39 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 64182 invoked by uid 55); 13 Nov 2015 10:54:35 -0000
From: "joseph at codesourcery dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19239] Including stdlib.h ends up with macros major and minor being defined
Date: Fri, 13 Nov 2015 10:54:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: joseph at codesourcery dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19239-131-wHxCahFg95@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19239-131@http.sourceware.org/bugzilla/>
References: <bug-19239-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00110.txt.bz2
Content-length: 1197

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

--- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
I think this is mainly a GCC bug with _GNU_SOURCE being defined by 
default.  See <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11196>.

Avoiding this _GNU_SOURCE definition is hard, because much of the C++ 
standard library is in the headers and requires functionality outside the 
ISO C library to implement it.  As discussed in 
<https://sourceware.org/ml/libc-alpha/2012-03/msg00311.html>, we'd be 
happy to provide a way for libstdc++ to get exactly the interfaces it 
needs beyond ISO C (at the API and ABI level).  But I don't think we've 
seen further details from the libstdc++ side of exactly what's required.

It may be we could also change the _GNU_SOURCE API so that fewer headers 
result in sys/sysmacros.h being included, but that would need a concrete 
proposal for an API change on libc-alpha; it's not inherently a bug, so 
libc-alpha is the right place (followed by a patch there is the API change 
proposal gets consensus).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30482-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 13 12:05:02 2015
Return-Path: <glibc-bugs-return-30482-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 75205 invoked by alias); 13 Nov 2015 12:05:02 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 74774 invoked by uid 55); 13 Nov 2015 12:04:58 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/14551] [ldbl-128ibm] strtold overflow handling for IBM long double
Date: Fri, 13 Nov 2015 12:05:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.16
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-14551-131-X39WxgBm13@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-14551-131@http.sourceware.org/bugzilla/>
References: <bug-14551-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00111.txt.bz2
Content-length: 2724

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

--- Comment #1 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  909f8e14dbe4073d75a776b4a9f50e5cc450f161 (commit)
      from  21378ae0d390c45ef382e8c95cc3593845ebb6ea (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=909f8e14dbe4073d75a776b4a9f50e5cc450f161

commit 909f8e14dbe4073d75a776b4a9f50e5cc450f161
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Fri Nov 13 12:03:46 2015 +0000

    Fix ldbl-128ibm strtold overflow handling (bug 14551).

    For ldbl-128ibm, if the result of strtold overflows in the final
    conversion from MPN to IBM long double (because the exponent for a
    106-bit IEEE result is 1023 but the high part would end up as
    0x1p1024, which overflows), that conversion code fails to handle this
    and produces an invalid long double value (high part infinite, low
    part not zero) without raising exceptions or setting errno.  This
    patch adds an explicit check for this case to ensure an appropriate
    result is returned in a way that ensures the right exceptions are
    raised, with errno set.

    Tested for powerpc.

        [BZ #14551]
        * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
        (__mpn_construct_long_double): If high part overflows to infinity,
        set errno and recompute overflowed result of the correct sign.
        * sysdeps/ieee754/ldbl-128ibm/Makefile
        [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
        [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
        $(libm).
        * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.

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

Summary of changes:
 ChangeLog                                          |   12 +++
 sysdeps/ieee754/ldbl-128ibm/Makefile               |    5 +
 sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c             |    9 ++
 .../ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c  |   85 ++++++++++++++++++++
 4 files changed, 111 insertions(+), 0 deletions(-)
 create mode 100644 sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30483-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 13 12:06:10 2015
Return-Path: <glibc-bugs-return-30483-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 103728 invoked by alias); 13 Nov 2015 12:06:09 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 97546 invoked by uid 48); 13 Nov 2015 12:06:06 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/14551] [ldbl-128ibm] strtold overflow handling for IBM long double
Date: Fri, 13 Nov 2015 12:06:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.16
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-14551-131-hBfYZqhqQ9@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-14551-131@http.sourceware.org/bugzilla/>
References: <bug-14551-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00112.txt.bz2
Content-length: 567

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.23

--- Comment #2 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
Fixed for 2.23.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30484-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 13 14:22:29 2015
Return-Path: <glibc-bugs-return-30484-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 75592 invoked by alias); 13 Nov 2015 14:22:28 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 75552 invoked by uid 48); 13 Nov 2015 14:22:25 -0000
From: "zackw at panix dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19239] Including stdlib.h ends up with macros major and minor being defined
Date: Fri, 13 Nov 2015 14:22:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: zackw at panix dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-19239-131-5oxWGOdK8R@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19239-131@http.sourceware.org/bugzilla/>
References: <bug-19239-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00113.txt.bz2
Content-length: 513

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

Zack Weinberg <zackw at panix dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zackw at panix dot com

--- Comment #2 from Zack Weinberg <zackw at panix dot com> ---
https://sourceware.org/ml/libc-alpha/2015-11/msg00253.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30485-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 13 15:34:45 2015
Return-Path: <glibc-bugs-return-30485-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 62186 invoked by alias); 13 Nov 2015 15:34:45 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 62135 invoked by uid 48); 13 Nov 2015 15:34:41 -0000
From: "bugdal at aerifal dot cx" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19239] Including stdlib.h ends up with macros major and minor being defined
Date: Fri, 13 Nov 2015 15:34:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bugdal at aerifal dot cx
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-19239-131-bkaeHjay8V@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19239-131@http.sourceware.org/bugzilla/>
References: <bug-19239-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00114.txt.bz2
Content-length: 1271

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

Rich Felker <bugdal at aerifal dot cx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugdal at aerifal dot cx

--- Comment #3 from Rich Felker <bugdal at aerifal dot cx> ---
While I agree that defining _GNU_SOURCE from the gcc side is _a_ bug, I think
this is also a glibc bug. Individually having stdlib.h include sys/types.h and
having sys/types.h include sys/sysmacros.h both make sense as legacy-compat
behaviors, but having stdlib.h expose the junk from sys/sysmacros.h is highly
undesirable to the point of being a bug.

Yes, there should be a concrete API proposal for removing implicit includes
like this, but I don't think the need for such a proposal negates classifying
this as a bug.

My preliminary proposal is that all implicit inclusion of sys/sysmacros.h
should be removed. Only a very small number of programs (things like ls, mknod,
etc.) have any use at all for these macros and they should be fixed to include
it explicitly if they're not already doing so.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30486-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 13 16:47:00 2015
Return-Path: <glibc-bugs-return-30486-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 18566 invoked by alias); 13 Nov 2015 16:47:00 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 13388 invoked by uid 48); 13 Nov 2015 16:46:57 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19242] New: strtol incorrect in Turkish locales
Date: Fri, 13 Nov 2015 16:47:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone
Message-ID: <bug-19242-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00115.txt.bz2
Content-length: 1239

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

            Bug ID: 19242
           Summary: strtol incorrect in Turkish locales
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

The implementations of strtol and related functions use locale-specific
conversions to upper case before determining whether a character is a valid
letter in the argument.  This means that in Turkish locales such as tr_TR.UTF-8
and tr_TR.ISO-8859-9, "i" is interpreted as not being a valid number, when if
the base passed to strtol is 19 or more it should be interpreted as the number
18.

ISO C explicitly says "The letters from a (or A) through z (or Z) are ascribed
the values 10 through 35", so clearly intends the standard ASCII letters
(otherwise you wouldn't generally have exactly 26 letters to ascribe such
values) (whereas white-space must be identified according to the locale).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30487-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 13 20:42:22 2015
Return-Path: <glibc-bugs-return-30487-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 56570 invoked by alias); 13 Nov 2015 20:42:22 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 56496 invoked by uid 48); 13 Nov 2015 20:42:18 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug malloc/19243] New: reused_arena can pick an arena on the free list
Date: Fri, 13 Nov 2015 20:42:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: malloc
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone flagtypes.name
Message-ID: <bug-19243-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00116.txt.bz2
Content-length: 1149

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

            Bug ID: 19243
           Summary: reused_arena can pick an arena on the free list
           Product: glibc
           Version: 2.23
            Status: NEW
          Severity: normal
          Priority: P1
         Component: malloc
          Assignee: unassigned at sourceware dot org
          Reporter: fweimer at redhat dot com
  Target Milestone: ---
             Flags: security-

If reused_arena picks an arena on the free list (which means that arena_get2
did not see it yet, and there was a concurrent thread exit, updating the free
list), it will increase the thread reference count of the arena.  At this
point, this invariant in get_free_list no longer holds:

821               /* Arenas on the free list are not attached to any thread. 
*/
822               assert (result->attached_threads == 0);

Therefore, the assert is incorrect.  I am not sure if we should simply remove
it and not change anything, or if we should change reused_arena to avoid this
race condition.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30490-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 13 20:43:47 2015
Return-Path: <glibc-bugs-return-30490-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 62239 invoked by alias); 13 Nov 2015 20:43:46 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 62204 invoked by uid 48); 13 Nov 2015 20:43:43 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug malloc/19243] reused_arena can pick an arena on the free list
Date: Fri, 13 Nov 2015 20:43:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: malloc
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: fweimer at redhat dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-19243-131-d89OhFGgX6@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19243-131@http.sourceware.org/bugzilla/>
References: <bug-19243-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00119.txt.bz2
Content-length: 578

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at sourceware dot org   |fweimer at redhat dot com

--- Comment #1 from Florian Weimer <fweimer at redhat dot com> ---
This was introduced by the fix for bug 19048.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30489-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 13 20:43:05 2015
Return-Path: <glibc-bugs-return-30489-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 60609 invoked by alias); 13 Nov 2015 20:43:04 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 57116 invoked by uid 48); 13 Nov 2015 20:43:01 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug malloc/19243] reused_arena can pick an arena on the free list
Date: Fri, 13 Nov 2015 20:43:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: malloc
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: see_also
Message-ID: <bug-19243-131-Hw2Yyth6AH@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19243-131@http.sourceware.org/bugzilla/>
References: <bug-19243-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00118.txt.bz2
Content-length: 479

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://sourceware.org/bugz
                   |                            |illa/show_bug.cgi?id=19048

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30488-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 13 20:43:04 2015
Return-Path: <glibc-bugs-return-30488-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 60336 invoked by alias); 13 Nov 2015 20:43:04 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 57098 invoked by uid 48); 13 Nov 2015 20:43:00 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug malloc/19048] malloc: arena free list can become cyclic, increasing contention
Date: Fri, 13 Nov 2015 20:43:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: malloc
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: fweimer at redhat dot com
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: see_also
Message-ID: <bug-19048-131-eCigZZ1ECf@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19048-131@http.sourceware.org/bugzilla/>
References: <bug-19048-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00117.txt.bz2
Content-length: 602

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://sourceware.org/bugz
                   |                            |illa/show_bug.cgi?id=19243

--- Comment #15 from Florian Weimer <fweimer at redhat dot com> ---
If you backport this, you also need to fix bug 19243.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30491-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sun Nov 15 12:28:34 2015
Return-Path: <glibc-bugs-return-30491-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 11482 invoked by alias); 15 Nov 2015 12:28:33 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 11405 invoked by uid 48); 15 Nov 2015 12:28:30 -0000
From: "manuel at enkidu dot coop" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/19247] New: Update pap_CW glibc locale file
Date: Sun, 15 Nov 2015 12:28:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: manuel at enkidu dot coop
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone attachments.created
Message-ID: <bug-19247-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00120.txt.bz2
Content-length: 960

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

            Bug ID: 19247
           Summary: Update pap_CW glibc locale file
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: localedata
          Assignee: unassigned at sourceware dot org
          Reporter: manuel at enkidu dot coop
                CC: libc-locales at sourceware dot org
  Target Milestone: ---

Created attachment 8781
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8781&action=edit
new updated locale file for pap_CW

Hi!

we are working on the pap_CW locale file and now it is needed to update it.

You can read more about our work here
http://opencuracao.com/2015/11/new-version-of-the-spellchecker/

We already tested the new locale version on our local installations of Ubuntu.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30492-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sun Nov 15 19:11:58 2015
Return-Path: <glibc-bugs-return-30492-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 126267 invoked by alias); 15 Nov 2015 19:11:57 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 126218 invoked by uid 48); 15 Nov 2015 19:11:53 -0000
From: "vapier at gentoo dot org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/19247] pap_CW: update glibc locale file
Date: Sun, 15 Nov 2015 19:11:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vapier at gentoo dot org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc short_desc
Message-ID: <bug-19247-131-NGZ8wd51bI@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19247-131@http.sourceware.org/bugzilla/>
References: <bug-19247-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00121.txt.bz2
Content-length: 644

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

Mike Frysinger <vapier at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vapier at gentoo dot org
            Summary|Update pap_CW glibc locale  |pap_CW: update glibc locale
                   |file                        |file

--- Comment #1 from Mike Frysinger <vapier at gentoo dot org> ---
could you describe the changes you actually made ?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30493-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sun Nov 15 22:47:23 2015
Return-Path: <glibc-bugs-return-30493-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 96419 invoked by alias); 15 Nov 2015 22:47:23 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 96381 invoked by uid 48); 15 Nov 2015 22:47:19 -0000
From: "manuel at enkidu dot coop" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/19247] pap_CW: update glibc locale file
Date: Sun, 15 Nov 2015 22:47:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: manuel at enkidu dot coop
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19247-131-sFAWm6NqpW@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19247-131@http.sourceware.org/bugzilla/>
References: <bug-19247-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00122.txt.bz2
Content-length: 817

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

--- Comment #2 from Manuel Ortega <manuel at enkidu dot coop> ---
(In reply to Mike Frysinger from comment #1)
> could you describe the changes you actually made ?

Hi!

we added new contact details, completed list of months, months abbreviations,
data and time formats, decimal_point, thousands_sep, currency_symbol, yesexpr,
noexpr.

These changes are the result of a working group based in Curaçao. The group is
lead by Foundation Open Curaçao and group of linguistics specialised on
Papiamento pap_CW

You can read more about this here:
http://opencuracao.com/2015/11/new-version-of-the-spellchecker/

If you need more info, just ask me.

Thanks for you help!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30494-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Nov 16 07:29:19 2015
Return-Path: <glibc-bugs-return-30494-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 103760 invoked by alias); 16 Nov 2015 07:29:18 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 103724 invoked by uid 48); 16 Nov 2015 07:29:14 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug malloc/19243] reused_arena can pick an arena on the free list, leading to an assertion failure
Date: Mon, 16 Nov 2015 07:29:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: malloc
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: fweimer at redhat dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-19243-131-Odn72t7LpD@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19243-131@http.sourceware.org/bugzilla/>
References: <bug-19243-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00123.txt.bz2
Content-length: 599

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|reused_arena can pick an    |reused_arena can pick an
                   |arena on the free list      |arena on the free list,
                   |                            |leading to an assertion
                   |                            |failure

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30495-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Nov 16 10:28:33 2015
Return-Path: <glibc-bugs-return-30495-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 21885 invoked by alias); 16 Nov 2015 10:28:33 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 21696 invoked by uid 48); 16 Nov 2015 10:28:28 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/15002] Avoid undefined behavior in posix_fallocate overflow check
Date: Mon, 16 Nov 2015 10:28:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-15002-131-TsWigkxrpJ@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-15002-131@http.sourceware.org/bugzilla/>
References: <bug-15002-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00124.txt.bz2
Content-length: 1436

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.23

--- Comment #2 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
This was fixed by a combination of (the earlier patch tried to fix it but made
a mistake, so the actual fix was with the later patch):

commit 543ef578c3304661713950b37abd0c916f52ecf0
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Tue Aug 25 23:42:01 2015 -0700

    Fix broken overflow check in posix_fallocate [BZ 18873]

    * sysdeps/posix/posix_fallocate.c (posix_fallocate):
    * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
    Fix parenthesization typo.

commit 7fe9e2e089f4990b7d18d0798f591ab276b15f2b
Author: Florian Weimer <fweimer@redhat.com>
Date:   Fri Jun 5 10:50:38 2015 +0200

    posix_fallocate: Emulation fixes and documentation [BZ #15661]

    Handle signed integer overflow correctly.  Detect and reject O_APPEND.
    Document drawbacks of emulation.

    This does not completely address bug 15661, but improves the situation
    somewhat.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30496-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Nov 16 10:45:01 2015
Return-Path: <glibc-bugs-return-30496-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 107038 invoked by alias); 16 Nov 2015 10:45:00 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 106980 invoked by uid 48); 16 Nov 2015 10:44:56 -0000
From: "taem at linukz dot org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/15578] kk_KZ: various updates
Date: Mon, 16 Nov 2015 10:45:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: 2.18
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: taem at linukz dot org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-15578-131-EFBx1vZB8I@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-15578-131@http.sourceware.org/bugzilla/>
References: <bug-15578-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00125.txt.bz2
Content-length: 455

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

--- Comment #10 from Timur Birsh <taem at linukz dot org> ---
Created attachment 8783
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8783&action=edit
Refresh patch against master with the additional fixes

Hello,

Please find attached refreshed patch against master with the additional fixes.

Regards.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30497-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Nov 16 13:21:34 2015
Return-Path: <glibc-bugs-return-30497-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 92190 invoked by alias); 16 Nov 2015 13:21:34 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 91914 invoked by uid 48); 16 Nov 2015 13:21:30 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug malloc/19182] malloc deadlock between ptmalloc_lock_all and _int_new_arena
Date: Mon, 16 Nov 2015 13:21:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: malloc
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: fweimer at redhat dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19182-131-wCYtb8P4co@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19182-131@http.sourceware.org/bugzilla/>
References: <bug-19182-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00126.txt.bz2
Content-length: 294

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

--- Comment #1 from Florian Weimer <fweimer at redhat dot com> ---
reused_arena has a similar problem after commit
a62719ba90e2fa1728890ae7dc8df9e32a622e7b.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30498-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Nov 16 20:18:36 2015
Return-Path: <glibc-bugs-return-30498-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 4298 invoked by alias); 16 Nov 2015 20:18:35 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 4258 invoked by uid 48); 16 Nov 2015 20:18:31 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug malloc/19243] reused_arena can pick an arena on the free list, leading to an assertion failure
Date: Mon, 16 Nov 2015 20:18:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: malloc
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: fweimer at redhat dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-19243-131-zRjXsdmtG5@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19243-131@http.sourceware.org/bugzilla/>
References: <bug-19243-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00127.txt.bz2
Content-length: 645

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

--- Comment #2 from Florian Weimer <fweimer at redhat dot com> ---
Created attachment 8787
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8787&action=edit
bug19243.c

Preliminary test case.

The real one will have to scale the number of threads based on available
arenas.  Based on my experiments, the outer thread count should be equal to the
maximum number of arenas, the inner thread count should be three, and the
timeout can be fairly low (running the test for 5 seconds should suffice).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30499-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Nov 16 23:14:40 2015
Return-Path: <glibc-bugs-return-30499-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 120695 invoked by alias); 16 Nov 2015 23:14:39 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 120663 invoked by uid 48); 16 Nov 2015 23:14:35 -0000
From: "vadmium+floss at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug time/19253] New: tzset() ineffective when temporary TZ did not include DST rules
Date: Mon, 16 Nov 2015 23:14:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: time
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vadmium+floss at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created
Message-ID: <bug-19253-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00128.txt.bz2
Content-length: 2439

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

            Bug ID: 19253
           Summary: tzset() ineffective when temporary TZ did not include
                    DST rules
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: time
          Assignee: unassigned at sourceware dot org
          Reporter: vadmium+floss at gmail dot com
  Target Milestone: ---

Created attachment 8788
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8788&action=edit
Demo program

Some parts of the test suite of the Python programming language temporarily
change the time zone by calling tzset() after setting the TZ environment
variable. Then they change TZ back to the original value, or unset it, as
appropriate, and call tzset() to restore the usual time zone. This strategy
fails to restore the original time zone, at least when both the following are
true:

* The normal time zone is set to America/New_York. On the other hand, having
UTC as the normal time zone does not trigger the problem.
* The temporary TZ value did not include DST rules. The best workaround seems
to be to always include DST rules with the TZ value.

See <https://bugs.python.org/issue20220> for more info. The failure was
originally seen on two System Z buildbots: GNU/Linux s390x System Z SLES 12,
and GNU/Linux s390x System Z RHEL 7.1. I have also reproduced this on my Arch
Linux x86-64 computer.

Here is a demonstration using the attached tz-quirk.c program. You have to give
it the temporary TZ value as argv[1].

$ gcc -Wall tz-quirk.c -o tz-quirk
$ sudo timedatectl set-timezone America/New_York
$ ./tz-quirk "STD-1DST"  # Optional DST rules omitted
Initially: TZ=<unset> tzname={"GMT", "GMT"}
After tzset(): TZ=<unset> tzname={"EST", "EDT"}
Set TZ: TZ="STD-1DST" tzname={"STD", "DST"}
Unset TZ: TZ=<unset> tzname={"STD", "DST"}  <== Not restored!
$ ./tz-quirk "STD-1DST,M3.2.0,M11.1.0"  <== DST rules included
Initially: TZ=<unset> tzname={"GMT", "GMT"}
After tzset(): TZ=<unset> tzname={"EST", "EDT"}
Set TZ: TZ="STD-1DST,M3.2.0,M11.1.0" tzname={"STD", "DST"}
Unset TZ: TZ=<unset> tzname={"EST", "EDT"}  <== Restored as expected
$ pacman -Qo /lib/libc.so.6  # Arch Linux
/usr/lib/libc.so.6 is owned by glibc 2.22-3

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30500-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Nov 17 12:40:23 2015
Return-Path: <glibc-bugs-return-30500-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 114401 invoked by alias); 17 Nov 2015 12:40:23 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 114362 invoked by uid 48); 17 Nov 2015 12:40:18 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug malloc/19243] reused_arena can pick an arena on the free list, leading to an assertion failure and reference count corruption
Date: Tue, 17 Nov 2015 12:40:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: malloc
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: fweimer at redhat dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-19243-131-pUdALCsCt4@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19243-131@http.sourceware.org/bugzilla/>
References: <bug-19243-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00129.txt.bz2
Content-length: 854

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|reused_arena can pick an    |reused_arena can pick an
                   |arena on the free list,     |arena on the free list,
                   |leading to an assertion     |leading to an assertion
                   |failure                     |failure and reference count
                   |                            |corruption

--- Comment #3 from Florian Weimer <fweimer at redhat dot com> ---
It's not just an incorrect assert.  If the bug triggers, the attached threads
counter will be incorrect.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30501-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 18 02:30:29 2015
Return-Path: <glibc-bugs-return-30501-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 118481 invoked by alias); 18 Nov 2015 02:30:24 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 118358 invoked by uid 48); 18 Nov 2015 02:30:16 -0000
From: "mschiffer+misc@universe-factory.net" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug network/19257] New: Per-thread memory leak in __res_vinit with IPv6 nameservers
Date: Wed, 18 Nov 2015 02:30:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: network
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mschiffer+misc@universe-factory.net
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-19257-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00130.txt.bz2
Content-length: 853

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

            Bug ID: 19257
           Summary: Per-thread memory leak in __res_vinit with IPv6
                    nameservers
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: network
          Assignee: unassigned at sourceware dot org
          Reporter: mschiffer+misc@universe-factory.net
  Target Milestone: ---

The sockaddr_in6 allocated in resolv/res_init.c:317 is not freed, leaking 28
bytes per thread using the resolver (according to valgrind).

This is a regression in glibc 2.22, probably caused by commit
2212c1420c92a33b0e0bd9a34938c9814a56c0f7 "Simplify handling of nameserver
configuration in resolver".

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30502-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 18 12:03:59 2015
Return-Path: <glibc-bugs-return-30502-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 88999 invoked by alias); 18 Nov 2015 12:03:57 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 88929 invoked by uid 48); 18 Nov 2015 12:03:53 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug string/19261] New: test-string.h questionable pointer arithmetic
Date: Wed, 18 Nov 2015 12:03:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: string
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: minor
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone flagtypes.name
Message-ID: <bug-19261-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00131.txt.bz2
Content-length: 895

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

            Bug ID: 19261
           Summary: test-string.h questionable pointer arithmetic
           Product: glibc
           Version: 2.23
            Status: NEW
          Severity: minor
          Priority: P3
         Component: string
          Assignee: unassigned at sourceware dot org
          Reporter: fweimer at redhat dot com
  Target Milestone: ---
             Flags: security-

test-string.h contains this:

typedef struct
{
  const char *name;
  void (*fn) (void);
  long test;
} impl_t;
extern impl_t __start_impls[], __stop_impls[];
…
          for (impl = __start_impls; impl < __stop_impls; ++impl)       \

I don't think C gives a well-defined result for that because __start_impls and
__stop_impls are separate objects.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30503-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 18 12:30:57 2015
Return-Path: <glibc-bugs-return-30503-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 67850 invoked by alias); 18 Nov 2015 12:30:56 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 67799 invoked by uid 48); 18 Nov 2015 12:30:52 -0000
From: "jakub at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug string/19261] test-string.h questionable pointer arithmetic
Date: Wed, 18 Nov 2015 12:30:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: string
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: minor
X-Bugzilla-Who: jakub at redhat dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-19261-131-WSeZjuxHrP@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19261-131@http.sourceware.org/bugzilla/>
References: <bug-19261-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00132.txt.bz2
Content-length: 643

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

Jakub Jelinek <jakub at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at redhat dot com

--- Comment #1 from Jakub Jelinek <jakub at redhat dot com> ---
Bet you should just
  extern impl_t *stop;
  __asm ("" : "=g" (stop) : "0" (__stop_impls));
and use stop instead of __stop_impls or something similar to hide it from the
optimizers.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30504-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 18 12:38:02 2015
Return-Path: <glibc-bugs-return-30504-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 110871 invoked by alias); 18 Nov 2015 12:38:02 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 110670 invoked by uid 48); 18 Nov 2015 12:37:58 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug string/19261] test-string.h questionable pointer arithmetic
Date: Wed, 18 Nov 2015 12:38:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: string
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: minor
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19261-131-tB6eTKuYhY@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19261-131@http.sourceware.org/bugzilla/>
References: <bug-19261-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00133.txt.bz2
Content-length: 498

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

--- Comment #2 from Florian Weimer <fweimer at redhat dot com> ---
(In reply to Jakub Jelinek from comment #1)
> Bet you should just
>   extern impl_t *stop;
>   __asm ("" : "=g" (stop) : "0" (__stop_impls));
> and use stop instead of __stop_impls or something similar to hide it from
> the optimizers.

I was planning to compute the difference in uintptr_t.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30505-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 18 14:33:31 2015
Return-Path: <glibc-bugs-return-30505-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 21826 invoked by alias); 18 Nov 2015 14:33:30 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 19613 invoked by uid 48); 18 Nov 2015 14:33:27 -0000
From: "jason at zx2c4 dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19108] Stop using /etc/mtab (_PATH_MOUNTED) in Linux
Date: Wed, 18 Nov 2015 14:33:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: minor
X-Bugzilla-Who: jason at zx2c4 dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-19108-131-lcUvuRRaW8@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19108-131@http.sourceware.org/bugzilla/>
References: <bug-19108-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00134.txt.bz2
Content-length: 551

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

Jason A. Donenfeld <jason at zx2c4 dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at zx2c4 dot com

--- Comment #1 from Jason A. Donenfeld <jason at zx2c4 dot com> ---
Submitted a patch for this:
https://sourceware.org/ml/libc-alpha/2015-11/msg00418.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30506-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 18 16:01:31 2015
Return-Path: <glibc-bugs-return-30506-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 69600 invoked by alias); 18 Nov 2015 16:01:30 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 69527 invoked by uid 48); 18 Nov 2015 16:01:26 -0000
From: "myllynen at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/15578] kk_KZ: various updates
Date: Wed, 18 Nov 2015 16:01:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: 2.18
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: myllynen at redhat dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-15578-131-yEghAZthgn@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-15578-131@http.sourceware.org/bugzilla/>
References: <bug-15578-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00135.txt.bz2
Content-length: 952

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

Marko Myllynen <myllynen at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |myllynen at redhat dot com

--- Comment #11 from Marko Myllynen <myllynen at redhat dot com> ---
I quickly checked the updated patch but I didn't see my previous comments
addressed in it or explained here. From the previous email:

> - I don't know the rationale for LC_IDENTIFICATION/category changes

This is still unclear, why change this?

> - I'd rather leave titles in LC_NAME undefined than use empty strings

This was still the case, not critical though.

> - I'd shorten the LC_MEASUREMENT comment, it should be obvious

Not that important but I'd change it while at it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30507-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 18 17:04:07 2015
Return-Path: <glibc-bugs-return-30507-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 118376 invoked by alias); 18 Nov 2015 17:04:06 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 118105 invoked by uid 48); 18 Nov 2015 17:04:02 -0000
From: "taem at linukz dot org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/15578] kk_KZ: various updates
Date: Wed, 18 Nov 2015 17:04:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: 2.18
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: taem at linukz dot org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-15578-131-954A8hUPke@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-15578-131@http.sourceware.org/bugzilla/>
References: <bug-15578-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00136.txt.bz2
Content-length: 927

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

--- Comment #12 from Timur Birsh <taem at linukz dot org> ---
(In reply to Marko Myllynen from comment #11)

Hi Marko,

Thanks for your reply.

> I quickly checked the updated patch but I didn't see my previous comments
> addressed in it or explained here. From the previous email:
> 
> > - I don't know the rationale for LC_IDENTIFICATION/category changes
> 
> This is still unclear, why change this?

This change based on the uk_UA locale. I am not sure, is 'kk_KZ:2000' correct?

> > - I'd rather leave titles in LC_NAME undefined than use empty strings
> 
> This was still the case, not critical though.

I can remove empty fields.

> > - I'd shorten the LC_MEASUREMENT comment, it should be obvious
> 
> Not that important but I'd change it while at it.

Ok.

Regards,
Timur

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30508-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 18 17:28:56 2015
Return-Path: <glibc-bugs-return-30508-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 124379 invoked by alias); 18 Nov 2015 17:28:56 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 124292 invoked by uid 48); 18 Nov 2015 17:28:50 -0000
From: "myllynen at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/15578] kk_KZ: various updates
Date: Wed, 18 Nov 2015 17:28:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: 2.18
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: myllynen at redhat dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-15578-131-80lcAHGSBA@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-15578-131@http.sourceware.org/bugzilla/>
References: <bug-15578-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00137.txt.bz2
Content-length: 1113

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

--- Comment #13 from Marko Myllynen <myllynen at redhat dot com> ---
(In reply to Timur Birsh from comment #12)
> 
> > I quickly checked the updated patch but I didn't see my previous comments
> > addressed in it or explained here. From the previous email:
> > 
> > > - I don't know the rationale for LC_IDENTIFICATION/category changes
> > 
> > This is still unclear, why change this?
> 
> This change based on the uk_UA locale.

I investigated this a bit more. The LC_IDENTIFICATION/category is defined in
ISO 14652, see http://www.open-std.org/jtc1/SC22/WG20/docs/n972-14652ft.pdf,
which defines two values (i18n/posix) but the current convention in glibc seems
to be to have them like in en_US, de_DE, and the current kk_KZ so I don't think
the change is needed. Given that this information is probably not used by any
program it shouldn't matter much but might be better to follow the example set
by some of the most widely scrutinized locales.

Thanks.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30509-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 18 17:46:40 2015
Return-Path: <glibc-bugs-return-30509-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 22057 invoked by alias); 18 Nov 2015 17:46:40 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 21891 invoked by uid 48); 18 Nov 2015 17:46:33 -0000
From: "carlos at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/15578] kk_KZ: various updates
Date: Wed, 18 Nov 2015 17:46:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: 2.18
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: carlos at redhat dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-15578-131-bQ9Bh5tGvq@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-15578-131@http.sourceware.org/bugzilla/>
References: <bug-15578-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00138.txt.bz2
Content-length: 1478

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

--- Comment #14 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to Marko Myllynen from comment #13)
> (In reply to Timur Birsh from comment #12)
> > 
> > > I quickly checked the updated patch but I didn't see my previous comments
> > > addressed in it or explained here. From the previous email:
> > > 
> > > > - I don't know the rationale for LC_IDENTIFICATION/category changes
> > > 
> > > This is still unclear, why change this?
> > 
> > This change based on the uk_UA locale.
> 
> I investigated this a bit more. The LC_IDENTIFICATION/category is defined in
> ISO 14652, see http://www.open-std.org/jtc1/SC22/WG20/docs/n972-14652ft.pdf,
> which defines two values (i18n/posix) but the current convention in glibc
> seems to be to have them like in en_US, de_DE, and the current kk_KZ so I
> don't think the change is needed. Given that this information is probably
> not used by any program it shouldn't matter much but might be better to
> follow the example set by some of the most widely scrutinized locales.

We should be following international standards where applicable and those who
are working at the ISO level and taking our cues from them where it makes sense
and at the same time considering backwards compatibility with our current
users. Is there a compatibility impact for these changes?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30510-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 18 18:16:52 2015
Return-Path: <glibc-bugs-return-30510-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 28569 invoked by alias); 18 Nov 2015 18:16:52 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 28462 invoked by uid 48); 18 Nov 2015 18:16:47 -0000
From: "myllynen at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/15578] kk_KZ: various updates
Date: Wed, 18 Nov 2015 18:16:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: 2.18
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: myllynen at redhat dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-15578-131-12XVrFLEZ8@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-15578-131@http.sourceware.org/bugzilla/>
References: <bug-15578-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00139.txt.bz2
Content-length: 1883

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

--- Comment #15 from Marko Myllynen <myllynen at redhat dot com> ---
(In reply to Carlos O'Donell from comment #14)
> (In reply to Marko Myllynen from comment #13)
> > 
> > I investigated this a bit more. The LC_IDENTIFICATION/category is defined in
> > ISO 14652, see http://www.open-std.org/jtc1/SC22/WG20/docs/n972-14652ft.pdf,
> > which defines two values (i18n/posix) but the current convention in glibc
> > seems to be to have them like in en_US, de_DE, and the current kk_KZ so I
> > don't think the change is needed. Given that this information is probably
> > not used by any program it shouldn't matter much but might be better to
> > follow the example set by some of the most widely scrutinized locales.
> 
> We should be following international standards where applicable and those
> who are working at the ISO level and taking our cues from them where it
> makes sense and at the same time considering backwards compatibility with
> our current users. Is there a compatibility impact for these changes?

AFAICS ISO 14652 is a Technical Report not an International Standard. Not sure
why Ulrich and others used the current approach for the locales they created,
could be even that my quick reading of the report was not correct. It'd be
surprising to have compatibility impact with such an obscure value. I've stated
earlier that I'd rather have things around glibc locales slightly imperfect but
consistent all across rather than inconsistent and few locales differentiating
for no obvious gain but here we don't even have the consistency to begin with
so doesn't really matter in the end, I'm ok either way now that we know the
answer for my initial question about the background for this change. Thanks.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30511-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 18 18:59:15 2015
Return-Path: <glibc-bugs-return-30511-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 52874 invoked by alias); 18 Nov 2015 18:59:15 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 52782 invoked by uid 48); 18 Nov 2015 18:59:08 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/18502] mksquashfs occasionally triggering a segmentation fault
Date: Wed, 18 Nov 2015 18:59:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: mgorman at suse dot de
X-Bugzilla-Target-Milestone: 2.22
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: see_also
Message-ID: <bug-18502-131-2StVQLFmCZ@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-18502-131@http.sourceware.org/bugzilla/>
References: <bug-18502-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00140.txt.bz2
Content-length: 593

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://sourceware.org/bugz
                   |                            |illa/show_bug.cgi?id=17195

--- Comment #5 from Florian Weimer <fweimer at redhat dot com> ---
This is a regression introduced by bug 17195.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30512-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 18 18:59:16 2015
Return-Path: <glibc-bugs-return-30512-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 52954 invoked by alias); 18 Nov 2015 18:59:15 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 52824 invoked by uid 48); 18 Nov 2015 18:59:12 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug malloc/17195] excessive heap trimming in threaded programs even when disabled with mallopt
Date: Wed, 18 Nov 2015 18:59:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: malloc
X-Bugzilla-Version: 2.19
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: see_also
Message-ID: <bug-17195-131-zJKEMZ40Ng@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-17195-131@http.sourceware.org/bugzilla/>
References: <bug-17195-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00141.txt.bz2
Content-length: 479

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://sourceware.org/bugz
                   |                            |illa/show_bug.cgi?id=18502

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30513-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 18 19:00:49 2015
Return-Path: <glibc-bugs-return-30513-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 114022 invoked by alias); 18 Nov 2015 19:00:49 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 113974 invoked by uid 48); 18 Nov 2015 19:00:45 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug malloc/17195] excessive heap trimming in threaded programs even when disabled with mallopt
Date: Wed, 18 Nov 2015 19:00:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: malloc
X-Bugzilla-Version: 2.19
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-17195-131-bp8y23q1Co@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-17195-131@http.sourceware.org/bugzilla/>
References: <bug-17195-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00142.txt.bz2
Content-length: 553

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com

--- Comment #9 from Florian Weimer <fweimer at redhat dot com> ---
Commit c26efef9798914e208329c0e8c3c73bb1135d9e3 introduced a regression, see
bug 18502.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30514-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 18 19:59:00 2015
Return-Path: <glibc-bugs-return-30514-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 20749 invoked by alias); 18 Nov 2015 19:59:00 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 20691 invoked by uid 48); 18 Nov 2015 19:58:56 -0000
From: "ismail at i10z dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19242] strtol incorrect in Turkish locales
Date: Wed, 18 Nov 2015 19:59:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ismail at i10z dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-19242-131-TyyQhHrmdv@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19242-131@http.sourceware.org/bugzilla/>
References: <bug-19242-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00143.txt.bz2
Content-length: 390

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

Ismail Donmez <ismail at i10z dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ismail at i10z dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30515-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 18 20:33:21 2015
Return-Path: <glibc-bugs-return-30515-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 79877 invoked by alias); 18 Nov 2015 20:33:20 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 79802 invoked by uid 55); 18 Nov 2015 20:33:16 -0000
From: "keld at keldix dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/15578] kk_KZ: various updates
Date: Wed, 18 Nov 2015 20:33:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: 2.18
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: keld at keldix dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-15578-131-01LLJNHET7@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-15578-131@http.sourceware.org/bugzilla/>
References: <bug-15578-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00144.txt.bz2
Content-length: 2794

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

--- Comment #16 from keld at keldix dot com <keld at keldix dot com> ---
On Wed, Nov 18, 2015 at 06:16:46PM +0000, myllynen at redhat dot com wrote:
> https://sourceware.org/bugzilla/show_bug.cgi?id=15578
> 
> --- Comment #15 from Marko Myllynen <myllynen at redhat dot com> ---
> (In reply to Carlos O'Donell from comment #14)
> > (In reply to Marko Myllynen from comment #13)
> > > 
> > > I investigated this a bit more. The LC_IDENTIFICATION/category is defined in
> > > ISO 14652, see http://www.open-std.org/jtc1/SC22/WG20/docs/n972-14652ft.pdf,
> > > which defines two values (i18n/posix) but the current convention in glibc
> > > seems to be to have them like in en_US, de_DE, and the current kk_KZ so I
> > > don't think the change is needed. Given that this information is probably
> > > not used by any program it shouldn't matter much but might be better to
> > > follow the example set by some of the most widely scrutinized locales.
> > 
> > We should be following international standards where applicable and those
> > who are working at the ISO level and taking our cues from them where it
> > makes sense and at the same time considering backwards compatibility with
> > our current users. Is there a compatibility impact for these changes?
> 
> AFAICS ISO 14652 is a Technical Report not an International Standard. Not sure
> why Ulrich and others used the current approach for the locales they created,
> could be even that my quick reading of the report was not correct. It'd be
> surprising to have compatibility impact with such an obscure value. I've stated
> earlier that I'd rather have things around glibc locales slightly imperfect but
> consistent all across rather than inconsistent and few locales differentiating
> for no obvious gain but here we don't even have the consistency to begin with
> so doesn't really matter in the end, I'm ok either way now that we know the
> answer for my initial question about the background for this change. Thanks.

The idea behind LC_IDENTIFICATION  was that we could have different versions 
of locales, and then conforming to different specs, as locale technology
evolves.
glibc does not implement all of ISO TR 14652/30112 - and in some case glibc
is different from the ISO specs. The LC_IDENTIFICATION version could then
indicate
which specs were used.


eg the glibc ftrst_weekday does not conform to 14652, where 1 denotes a monday
and is according
to ISO 8601, while glib uses 2 for Monday, AFAIK. A newer version could
indicate that
the locale follows 14652, or another version could indicate that it follows
30112.

Best regards
keld

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30516-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Nov 19 00:05:35 2015
Return-Path: <glibc-bugs-return-30516-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 52152 invoked by alias); 19 Nov 2015 00:05:35 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 52115 invoked by uid 48); 19 Nov 2015 00:05:31 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19266] New: strtod ("NAN(I)") incorrect in Turkish locales
Date: Thu, 19 Nov 2015 00:05:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-19266-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00145.txt.bz2
Content-length: 972

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

            Bug ID: 19266
           Summary: strtod ("NAN(I)") incorrect in Turkish locales
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org
  Target Milestone: ---

The implementations of strtod and related functions use locale-specific
conversions to lower case when parsing the contents of a string
NAN(n-char-sequence_opt).  This has the consequence that NAN(I) is not treated
as being of that form (only the initial NAN part is accepted).  The syntax of
n-char-sequence directly maps to the ASCII letters, digits and underscore as in
identifiers, so it is unambiguous that all ASCII letters must be accepted in
all locales.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30517-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Nov 19 01:42:21 2015
Return-Path: <glibc-bugs-return-30517-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 57134 invoked by alias); 19 Nov 2015 01:42:21 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 57039 invoked by uid 48); 19 Nov 2015 01:42:15 -0000
From: "digitalfreak at lingonborough dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/10871] ru_RU: 'mon' array should contain both nominative and genitive cases
Date: Thu, 19 Nov 2015 01:42:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: critical
X-Bugzilla-Who: digitalfreak at lingonborough dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: libc-locales at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-10871-131-T85h9GcI8s@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-10871-131@http.sourceware.org/bugzilla/>
References: <bug-10871-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00146.txt.bz2
Content-length: 3186

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

--- Comment #9 from Rafal Luzynski <digitalfreak at lingonborough dot com> ---
Created attachment 8795
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8795&action=edit
Proposed solution: alternative month names + smart algorithm

Good news: here is a working patch so please check, test, review, comment. It
implements the solution with "%B" format specifier smartly expanding into a
nominative or genitive (alternative) case depending on the current context. It
hopefully does not break any existing solution and is fully backward
compatible.

I have also provided the new locales for Polish, Russian and Ukrainian. I have
checked this with CLDR data but feel free to drop the changes to these files if
you think that other people should provide them. Please note that without the
changed locales you would not see the effect of the code change. For Russian I
have also changed the nominative month names to lowercase because some people
requested it here. For Ukrainian I have removed the "alternative digits" hack
and used the already provided genitive month names as the alternative names.

There are also some bad news:

1. The coreutils package (date, du) provides its own function fprintftime()
which tries to bypass strftime() as much as possible and if it calls strftime()
it retrieves only the month name so this patch will be unable to detect the
"full date" context and provide the correct genitive form. This means that
/usr/bin/date is not a good tool to test this patch. Perhaps it needs a patch
similar to this one.

2. I had to introduce the new locale field day_month_order which will be
available as nl_langinfo(_NL_DAY_MONTH_ORDER) and will determine if:
- only a day number before a month name forces the genitive month name (1),
- only a day number after a month name forces the genitive month name (3),
- both above orders force the genitive month name or this does not matter
because the current language does not provide the alternative month names (2,
default value when not specified).
Unfortunately, there is no universal rule for all languages. As stated in
comment 5, Russian requires a genitive case if a day number is before the month
name but a nominative case when reversed, both orders are correct. Other
languages require the day number to be before the month name and do not allow
to reverse them but we should not crash on grammatical errors, instead we
should provide the closest result to the requirement. On the other hand,
Lithuanian requires the month name to be before the day number and in the
genitive case.

3. There are more languages which suffer from this bug. It is possible to
retrieve the correct alternative month names from CLDR but I am not sure if
this task should be a part of this bugfix or should be left to the native
translators. I can provide more of them but providing all sounds like a
horrible task.

4. I am not sure if you like the idea of "%B" to be smartly converted to the
correct form of the month name. I will appreciate your feedback.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30518-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Nov 19 07:59:19 2015
Return-Path: <glibc-bugs-return-30518-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 12208 invoked by alias); 19 Nov 2015 07:59:18 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 6205 invoked by uid 48); 19 Nov 2015 07:59:12 -0000
From: "lixin.fnst at cn dot fujitsu.com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug locale/19267] New: LSB test cases about locale are Failed on GLibc(2.22)
Date: Thu, 19 Nov 2015 07:59:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: locale
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: lixin.fnst at cn dot fujitsu.com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-19267-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00147.txt.bz2
Content-length: 1777

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

            Bug ID: 19267
           Summary: LSB test cases about locale are Failed on GLibc(2.22)
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: locale
          Assignee: unassigned at sourceware dot org
          Reporter: lixin.fnst at cn dot fujitsu.com
  Target Milestone: ---

Those cases are are Failed on GLibc(2.22),and they are PASS on GLibc(2.21) or
less.

/tset/ANSI.os/locale/setlocale/T.setlocale 1 2 4 5 15
/tset/ANSI.os/string/strcoll_X/T.strcoll_X 1
/tset/POSIX.os/procenv/sysconf_X/T.sysconf_X 12 14
/tset/LI18NUX2K.L1/base/wcscoll/T.wcscoll 1
/tset/LI18NUX2K.L1/utils/localedef/T.localedef 7
/tset/LI18NUX2K.L1/utils/sort/T.sort 1 3 17 19 33 35
/tset/LI18NUX2K.L1/utils/comm/T.comm 1 2
/tset/LI18NUX2K.L1/utils/ls-fh/T.ls-fh 2

The test code is as following:

----------------------------------
43 private char *test_locale = "LTP_1.UTF-8";
......
50 private wchar_t wcs2[] = L"Ch";
51 private wchar_t les2[] = L"Cz";
......
86   if (setlocale (LC_ALL, test_locale) == NULL)
87     {
88       xx_rpt (FAILURE);
89       in_rpt ("Cannot use test locale.");
90       DBUG_VOID_RETURN;
91     }
......
104   /* for collating elements `Ch' */
105   rval = wcscoll (les2, wcs2);
106   if (rval < 0)
107     PATH_TRACE;
108   else
109     {
110       xx_rpt (FAILURE);
111       in_rpt ("When the strings have a collating symbol, "
112               "the return value is not correct.");
113     }
......
----------------------------------

The expect return value of rval is <0,but the actual return value is >0.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30519-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Nov 19 08:51:11 2015
Return-Path: <glibc-bugs-return-30519-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 112168 invoked by alias); 19 Nov 2015 08:51:10 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 111758 invoked by uid 48); 19 Nov 2015 08:51:04 -0000
From: "schwab@linux-m68k.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug locale/19267] LSB test cases about locale are Failed on GLibc(2.22)
Date: Thu, 19 Nov 2015 08:51:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: locale
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: schwab@linux-m68k.org
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status
Message-ID: <bug-19267-131-CQthTkM2oI@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19267-131@http.sourceware.org/bugzilla/>
References: <bug-19267-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00148.txt.bz2
Content-length: 472

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

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING

--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
Please test with commit 6c84109.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30520-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Nov 19 12:26:27 2015
Return-Path: <glibc-bugs-return-30520-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 18280 invoked by alias); 19 Nov 2015 12:26:27 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 18175 invoked by uid 48); 19 Nov 2015 12:26:23 -0000
From: "myllynen at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/15578] kk_KZ: various updates
Date: Thu, 19 Nov 2015 12:26:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: 2.18
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: myllynen at redhat dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-15578-131-oige2bjegs@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-15578-131@http.sourceware.org/bugzilla/>
References: <bug-15578-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00149.txt.bz2
Content-length: 1065

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

--- Comment #17 from Marko Myllynen <myllynen at redhat dot com> ---
(In reply to keld@keldix.com from comment #16)
> 
> The idea behind LC_IDENTIFICATION  was that we could have different versions 
> of locales, and then conforming to different specs, as locale technology
> evolves.
> glibc does not implement all of ISO TR 14652/30112 - and in some case glibc
> is different from the ISO specs. The LC_IDENTIFICATION version could then
> indicate
> which specs were used.
> 
> 
> eg the glibc ftrst_weekday does not conform to 14652, where 1 denotes a
> monday and is according
> to ISO 8601, while glib uses 2 for Monday, AFAIK. A newer version could
> indicate that
> the locale follows 14652, or another version could indicate that it follows
> 30112.

Thanks for the background information. Sounds like en_US, de_DE, kk_KZ etc are
ok then and it's best to drop the LC_IDENTIFICATION/category change here.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30521-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Nov 19 14:55:16 2015
Return-Path: <glibc-bugs-return-30521-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 51872 invoked by alias); 19 Nov 2015 14:55:15 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 51803 invoked by uid 48); 19 Nov 2015 14:55:12 -0000
From: "taem at linukz dot org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/15578] kk_KZ: various updates
Date: Thu, 19 Nov 2015 14:55:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: 2.18
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: taem at linukz dot org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-15578-131-3dt8EFdljW@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-15578-131@http.sourceware.org/bugzilla/>
References: <bug-15578-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00150.txt.bz2
Content-length: 361

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

--- Comment #18 from Timur Birsh <taem at linukz dot org> ---
Created attachment 8797
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8797&action=edit
Updated patch

Marko, please find attached an updated patch.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30522-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Nov 19 15:09:09 2015
Return-Path: <glibc-bugs-return-30522-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 22440 invoked by alias); 19 Nov 2015 15:09:09 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 22347 invoked by uid 48); 19 Nov 2015 15:09:04 -0000
From: "myllynen at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/15578] kk_KZ: various updates
Date: Thu, 19 Nov 2015 15:09:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: 2.18
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: myllynen at redhat dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-15578-131-5ogDkR5GTn@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-15578-131@http.sourceware.org/bugzilla/>
References: <bug-15578-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00151.txt.bz2
Content-length: 604

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

--- Comment #19 from Marko Myllynen <myllynen at redhat dot com> ---
(In reply to Timur Birsh from comment #18)
> Created attachment 8797 [details]
> Updated patch
> 
> Marko, please find attached an updated patch.

Thanks for addressing the comments, looks good to me now.

Please send it to libc-alpha (as per
https://sourceware.org/glibc/wiki/Contribution%20checklist) for wider review
and if all ok then one of the maintainers can hopefully commit it.

Thanks.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30523-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Nov 19 19:45:16 2015
Return-Path: <glibc-bugs-return-30523-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 55552 invoked by alias); 19 Nov 2015 19:45:16 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 54604 invoked by uid 48); 19 Nov 2015 19:45:12 -0000
From: "markus at trippelsdorf dot de" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug build/19269] New: tst-audit4 and tst-audit10 failures with gcc-6 on non avx machine
Date: Thu, 19 Nov 2015 19:45:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: build
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: markus at trippelsdorf dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone
Message-ID: <bug-19269-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00152.txt.bz2
Content-length: 1281

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

            Bug ID: 19269
           Summary: tst-audit4 and tst-audit10 failures with gcc-6 on non
                    avx machine
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: build
          Assignee: unassigned at sourceware dot org
          Reporter: markus at trippelsdorf dot de
                CC: carlos at redhat dot com
  Target Milestone: ---

tst-audit4 and tst-audit10 fail (with illegal instruction) on my
non avx machine when build with gcc-6 and -O3. The reason is that
gcc-6 emits avx instructions for test-skeleton.c:

markus@x4 elf % gcc -w -S -c -O3 -mavx test-skeleton.i -o - | grep vmovaps
        vmovaps %xmm0, 16(%rsp)
        vmovaps %xmm0, (%rsp)

-O2 and older gcc versions are fine:

markus@x4 elf % gcc -w -S -c -O2 -mavx test-skeleton.i -o - | grep vmovaps
markus@x4 elf % /usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3/gcc -w -S -c -O3 -mavx
test-skeleton.i -o - | grep vmovaps
markus@x4 elf % /usr/x86_64-pc-linux-gnu/gcc-bin/5.2.1/gcc -w -S -c -O3 -mavx
test-skeleton.i -o - | grep vmovaps
markus@x4 elf %

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30524-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Nov 19 21:05:33 2015
Return-Path: <glibc-bugs-return-30524-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 53406 invoked by alias); 19 Nov 2015 21:05:33 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 53306 invoked by uid 55); 19 Nov 2015 21:05:29 -0000
From: "joseph at codesourcery dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug build/19269] tst-audit4 and tst-audit10 failures with gcc-6 on non avx machine
Date: Thu, 19 Nov 2015 21:05:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: build
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: joseph at codesourcery dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19269-131-GkOJlr3t02@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19269-131@http.sourceware.org/bugzilla/>
References: <bug-19269-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00153.txt.bz2
Content-length: 654

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

--- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
For various reasons, I think it would be best for most of the 
test-skeleton.c logic to be built once into a .o file rather than built in 
every test, with the skeleton included by individual tests just filling 
out data rather than code as far as possible.  This bug illustrates one 
use of not building lots of code with per-test options; the inability to 
use test-skeleton.c with e.g. -ansi -U_LIBC is another.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30525-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Nov 19 23:42:09 2015
Return-Path: <glibc-bugs-return-30525-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 27976 invoked by alias); 19 Nov 2015 23:42:09 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 27937 invoked by uid 48); 19 Nov 2015 23:42:05 -0000
From: "nmiell at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug time/17189] Incorrect result for %s in strftime
Date: Thu, 19 Nov 2015 23:42:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: time
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: nmiell at gmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: INVALID
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-17189-131-kjT0bbgwnd@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-17189-131@http.sourceware.org/bugzilla/>
References: <bug-17189-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00154.txt.bz2
Content-length: 1215

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

Nicholas Miell <nmiell at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |nmiell at gmail dot com
         Resolution|---                         |INVALID

--- Comment #1 from Nicholas Miell <nmiell at gmail dot com> ---
This is the documented behavior in the manual:

Calling 'strftime' also sets the current time zone as if 'tzset'
were called; 'strftime' uses this information instead of
BROKENTIME's 'tm_gmtoff' and 'tm_zone' members.

The %s format isn't specified by POSIX and appears to originate in the strftime
implementation accompanying the tzdata database. The glibc behavior is
compatible -- the original implementation converts the supplied struct tm back
to a time_t using mktime(), and mktime() is defined by POSIX to use the
timezone as set by tzset(). (POSIX's definition of struct tm doesn't even have
the tm_zone or tm_gmtoff members.)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30526-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 20 00:13:12 2015
Return-Path: <glibc-bugs-return-30526-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 16983 invoked by alias); 20 Nov 2015 00:13:12 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 16937 invoked by uid 48); 20 Nov 2015 00:13:07 -0000
From: "quae at daurnimator dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug time/17189] Incorrect result for %s in strftime
Date: Fri, 20 Nov 2015 00:13:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: time
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: quae at daurnimator dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: INVALID
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-17189-131-y5SluZl21o@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-17189-131@http.sourceware.org/bugzilla/>
References: <bug-17189-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00155.txt.bz2
Content-length: 784

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

--- Comment #2 from daurnimator <quae at daurnimator dot com> ---
> This is the documented behavior in the manual:

> Calling 'strftime' also sets the current time zone as if 'tzset'
> were called; 'strftime' uses this information instead of
> BROKENTIME's 'tm_gmtoff' and 'tm_zone' members.

The %s specifier is defined as printing the **UTC timestamp**. From the man
page:

       %s     The number of seconds since the Epoch, 1970-01-01 00:00:00 +0000
(UTC). (TZ)

In reality, it prints the UTC timestamp, but adjusted for the local time
offset.
This is wrong (and not as documented)
At the very least this means we have a documentation bug.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30527-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 20 00:50:54 2015
Return-Path: <glibc-bugs-return-30527-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 62615 invoked by alias); 20 Nov 2015 00:50:54 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 62567 invoked by uid 48); 20 Nov 2015 00:50:50 -0000
From: "danglin at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19270] New: Shared libm missing __isnanl
Date: Fri, 20 Nov 2015 00:50:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: danglin at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone cf_gcchost cf_gcctarget cf_gccbuild
Message-ID: <bug-19270-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00156.txt.bz2
Content-length: 4713

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

            Bug ID: 19270
           Summary: Shared libm missing __isnanl
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: danglin at gcc dot gnu.org
                CC: deller at gmx dot de
  Target Milestone: ---
              Host: hppa-unknown-linux-gnu
            Target: hppa-unknown-linux-gnu
             Build: hppa-unknown-linux-gnu

This issue causes a build failure for various debian packages including gmt:

/usr/bin/cc  -std=gnu99 -fstrict-aliasing -g -O2 -Wformat
-Werror=format-security -D_FORTIFY_SOURCE=2 -fopenmp -O2 -g -DNDEBUG   -fopenmp
CMakeFiles/gmt.dir/gmt.c.o  -o gmt -rdynamic libgmt.so.5.2.1 -lnetcdf
/usr/lib/hppa-linux-gnu/hdf5/ser
ial/libhdf5_hl.so /usr/lib/hppa-linux-gnu/hdf5/serial/libhdf5.so -lpthread -ldl 
-lm -lcurl -lgdal -lpcre -lfftw3f -lfftw3f_threads -llapack -lblas
libpostscript
light.so.5.2.1 -lz -lm -ldl
-Wl,-rpath,/home/dave/debian/gmt/gmt-5.2.1+dfsg/debi
an/build/src:/usr/lib/hppa-linux-gnu/hdf5/serial: 
libgmt.so.5.2.1: undefined reference to `__isnanl'

We have in math.h:

* Return nonzero value if X is a NaN.  We could use `fpclassify' but
  we already have this functions `__isnan' and it is faster.  */
# ifdef __NO_LONG_DOUBLE_MATH
#  define isnan(x) \
    (sizeof (x) == sizeof (float) ? __isnanf (x) : __isnan (x))
# else
#  define isnan(x) \
    (sizeof (x) == sizeof (float)                                            \
     ? __isnanf (x)                                                          \
     : sizeof (x) == sizeof (double)                                         \
     ? __isnan (x) : __isnanl (x))
# endif

We have in mathdef.h:

/* On hppa `long double' is 64-bits. */
#undef __NO_LONG_DOUBLE_MATH

We have from s_isnan.c:

#undef __isnan
int
__isnan (double x)
{
 int32_t hx, lx;
 EXTRACT_WORDS (hx, lx, x);
 hx &= 0x7fffffff;
 hx |= (u_int32_t) (lx | (-lx)) >> 31;
 hx = 0x7ff00000 - hx;
 return (int) (((u_int32_t) hx) >> 31);
}
hidden_def (__isnan)
weak_alias (__isnan, isnan)
#ifdef NO_LONG_DOUBLE
strong_alias (__isnan, __isnanl)
weak_alias (__isnan, isnanl)
#endif

We have from math/Makefile:

ifneq ($(long-double-fcts),yes)
# The `double' and `long double' types are the same on this machine.
# We won't compile the `long double' code at all.  Tell the `double' code
# to define aliases for the `FUNCl' names.  To avoid type conflicts in
# defining those aliases, tell <math.h> to declare the `FUNCl' names with
# `double' instead of `long double'.
math-CPPFLAGS += -DNO_LONG_DOUBLE -D_Mlong_double_=double
endif

Since double and long double are both 64-bits, the above is selected and
s_isnanf.c is built with NO_LONG_DOUBLE defined.  This yields the following
aliases with gcc-5:

extern __typeof (__isnan) __EI___isnan __asm__("" "__isnan"); extern __typeof
(__isnan) __EI___isnan __attribute__((alias ("" "__GI___isnan")));
extern __typeof (__isnan) isnan __attribute__ ((weak, alias ("__isnan")));

extern __typeof (__isnan) __isnanl __attribute__ ((alias ("__isnan")));
extern __typeof (__isnan) isnanl __attribute__ ((weak, alias ("__isnan")));

This results in following assembly code:

        .cfi_startproc
__GI___isnan:
        .PROC
        .CALLINFO FRAME=0,NO_CALLS
        .ENTRY
.LVL0:
.LBB2:
        .loc 1 30 0
        fstds %fr5,-16(%sp)
        ldws -16(%sp),%r28
        ldws -12(%sp),%r29
.LVL1:
.LBE2:
        .loc 1 31 0
        extru %r28,31,31,%r20
        .loc 1 32 0
        sub %r0,%r29,%r21
        or %r21,%r29,%r28
.LVL2:
        extru %r28,0,1,%r28
        or %r28,%r20,%r28
.LVL3:
        .loc 1 33 0
        ldil L'2146435072,%r20
        sub %r20,%r28,%r28
.LVL4:
        .loc 1 35 0
        bv %r0(%r2)
        extru %r28,0,1,%r28
        .EXIT
        .PROCEND
        .cfi_endproc
.LFE16:
        .size   __GI___isnan, .-__GI___isnan
.globl __isnan
        .set    __isnan,__GI___isnan
        .weak   isnan
        .set    isnan,__isnan
.globl __GI___isnanl
        .hidden __GI___isnanl
        .set    __GI___isnanl,__isnan
        .weak   isnanl
        .set    isnanl,__isnan

As can be seen, we end up with hidden symbol __GI___isnanl aliased to __isnan
and the is no __isnanl symbol.

Probably, __NO_LONG_DOUBLE_MATH was not defined at a time when NO_LONG_DOUBLE
didn't exist and the long double routines were all compiled.  Now it probably
should be defined.

Bug is known to exist in 2.19 and later.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30528-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 20 00:59:51 2015
Return-Path: <glibc-bugs-return-30528-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 36079 invoked by alias); 20 Nov 2015 00:59:51 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 35967 invoked by uid 48); 20 Nov 2015 00:59:46 -0000
From: "danglin at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19170] __gmon_start__ defined in hppa in crtn.S
Date: Fri, 20 Nov 2015 00:59:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: danglin at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-19170-131-JzqYjox8Fk@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19170-131@http.sourceware.org/bugzilla/>
References: <bug-19170-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00157.txt.bz2
Content-length: 543

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

John David Anglin <danglin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |carlos at redhat dot com

--- Comment #1 from John David Anglin <danglin at gcc dot gnu.org> ---
Patch here:
https://sourceware.org/ml/libc-alpha/2015-11/msg00279.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30529-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 20 01:00:52 2015
Return-Path: <glibc-bugs-return-30529-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 37111 invoked by alias); 20 Nov 2015 01:00:51 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 37041 invoked by uid 48); 20 Nov 2015 01:00:48 -0000
From: "danglin at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19270] Shared libm missing __isnanl
Date: Fri, 20 Nov 2015 01:00:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: danglin at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-19270-131-NfiNry4pDh@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19270-131@http.sourceware.org/bugzilla/>
References: <bug-19270-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00158.txt.bz2
Content-length: 400

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

John David Anglin <danglin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |carlos at redhat dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30530-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 20 01:14:26 2015
Return-Path: <glibc-bugs-return-30530-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 97872 invoked by alias); 20 Nov 2015 01:14:26 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 97799 invoked by uid 48); 20 Nov 2015 01:14:23 -0000
From: "nmiell at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug time/17189] Incorrect result for %s in strftime
Date: Fri, 20 Nov 2015 01:14:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: time
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: nmiell at gmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: INVALID
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-17189-131-MU8FEUhcfR@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-17189-131@http.sourceware.org/bugzilla/>
References: <bug-17189-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00159.txt.bz2
Content-length: 687

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

--- Comment #3 from Nicholas Miell <nmiell at gmail dot com> ---
Again, from the manual:

Calling 'strftime' also sets the current time zone as if 'tzset'
were called; 'strftime' uses this information instead of
BROKENTIME's 'tm_gmtoff' and 'tm_zone' members.

This means that strftime() always treats the supplied struct tm as if it were
in the local time zone; this includes the conversion to UTC.

If you supply a struct tm to strftime() that isn't in the local time zone,
naturally the conversion from the local time zone to UTC will be wrong.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30531-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 20 01:14:32 2015
Return-Path: <glibc-bugs-return-30531-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 98730 invoked by alias); 20 Nov 2015 01:14:32 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 97988 invoked by uid 55); 20 Nov 2015 01:14:27 -0000
From: "joseph at codesourcery dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19270] Shared libm missing __isnanl
Date: Fri, 20 Nov 2015 01:14:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: joseph at codesourcery dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19270-131-x9aK9cupxj@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19270-131@http.sourceware.org/bugzilla/>
References: <bug-19270-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00160.txt.bz2
Content-length: 560

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

--- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
Cf. my remarks at 
<https://sourceware.org/ml/libc-ports/2013-05/msg00070.html> about 
apparent inconsistency in this area (and my subsequent remarks at 
<https://sourceware.org/ml/libc-ports/2013-06/msg00004.html> about how the 
makefile value of long-double-fcts was once "no " with a trailing space, 
not plain "no").

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30532-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 20 01:38:32 2015
Return-Path: <glibc-bugs-return-30532-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 8635 invoked by alias); 20 Nov 2015 01:38:31 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 8553 invoked by uid 55); 20 Nov 2015 01:38:27 -0000
From: "dave.anglin at bell dot net" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19270] Shared libm missing __isnanl
Date: Fri, 20 Nov 2015 01:38:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dave.anglin at bell dot net
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19270-131-3qJ9rZ1T2f@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19270-131@http.sourceware.org/bugzilla/>
References: <bug-19270-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00161.txt.bz2
Content-length: 813

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

--- Comment #2 from dave.anglin at bell dot net ---
On 2015-11-19, at 8:14 PM, joseph at codesourcery dot com wrote:

> Cf. my remarks at 
> <https://sourceware.org/ml/libc-ports/2013-05/msg00070.html> about 
> apparent inconsistency in this area (and my subsequent remarks at 
> <https://sourceware.org/ml/libc-ports/2013-06/msg00004.html> about how the 
> makefile value of long-double-fcts was once "no " with a trailing space, 
> not plain "no").

Thanks, I'll change the __NO_LONG_DOUBLE_MATH define so the headers are
consistent with
the library and test on debian.  That seemed to be the optimal solution.

--
John David Anglin       dave.anglin@bell.net

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30533-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 20 03:06:21 2015
Return-Path: <glibc-bugs-return-30533-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 115603 invoked by alias); 20 Nov 2015 03:06:20 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 115539 invoked by uid 48); 20 Nov 2015 03:06:15 -0000
From: "bugdal at aerifal dot cx" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/16814] RFE: Reconsider adding bcrypt (or scrypt) support
Date: Fri, 20 Nov 2015 03:06:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: bugdal at aerifal dot cx
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-16814-131-MKG8wMjMtu@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-16814-131@http.sourceware.org/bugzilla/>
References: <bug-16814-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00162.txt.bz2
Content-length: 1230

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

Rich Felker <bugdal at aerifal dot cx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugdal at aerifal dot cx

--- Comment #1 from Rich Felker <bugdal at aerifal dot cx> ---
I'd like to propose we break this up into two parts:

1. bcrypt: this is trivial to add internally in glibc and should just be added.

2. scrypt, Argon2 (PHC winner), and anything else "heavy": it's unreasonable to
expect to be able to allocate many MB (or even GB) in the calling application's
address space to hash a password. It would also be desirable to be able to
support new hashes without waiting for glibc to add support for them. So what I
propose is that, for setting strings glibc doesn't recognize internally, it
should connect via a unix socket to a password hashing daemon which will do the
actual work and pass back the result. If there's interest in this idea I would
be happy to help with the design for the protocol support on the glibc side.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30534-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 20 09:14:52 2015
Return-Path: <glibc-bugs-return-30534-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 82179 invoked by alias); 20 Nov 2015 09:14:51 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 82139 invoked by uid 48); 20 Nov 2015 09:14:47 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug build/19269] tst-audit4 and tst-audit10 failures with gcc-6 on non avx machine
Date: Fri, 20 Nov 2015 09:14:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: build
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: cc flagtypes.name
Message-ID: <bug-19269-131-DwIKWp2xU4@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19269-131@http.sourceware.org/bugzilla/>
References: <bug-19269-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00163.txt.bz2
Content-length: 456

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30535-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 20 09:15:24 2015
Return-Path: <glibc-bugs-return-30535-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 82778 invoked by alias); 20 Nov 2015 09:15:24 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 82656 invoked by uid 48); 20 Nov 2015 09:15:20 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug locale/19267] LSB test cases about locale are Failed on GLibc(2.22)
Date: Fri, 20 Nov 2015 09:15:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: locale
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: cc flagtypes.name
Message-ID: <bug-19267-131-udM0jOca38@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19267-131@http.sourceware.org/bugzilla/>
References: <bug-19267-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00164.txt.bz2
Content-length: 456

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30536-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 20 09:17:34 2015
Return-Path: <glibc-bugs-return-30536-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 87175 invoked by alias); 20 Nov 2015 09:17:34 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 87078 invoked by uid 48); 20 Nov 2015 09:17:29 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug network/19257] Per-thread memory leak in __res_vinit with IPv6 nameservers
Date: Fri, 20 Nov 2015 09:17:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: network
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: schwab@linux-m68k.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc assigned_to
Message-ID: <bug-19257-131-XHAomawg1S@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19257-131@http.sourceware.org/bugzilla/>
References: <bug-19257-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00165.txt.bz2
Content-length: 477

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com
           Assignee|unassigned at sourceware dot org   |schwab@linux-m68k.org

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30537-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 20 10:20:15 2015
Return-Path: <glibc-bugs-return-30537-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 4447 invoked by alias); 20 Nov 2015 10:20:14 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 4379 invoked by uid 48); 20 Nov 2015 10:20:11 -0000
From: "baurthefirst at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/15578] kk_KZ: various updates
Date: Fri, 20 Nov 2015 10:20:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: 2.18
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: baurthefirst at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-15578-131-61ExJJ9Wsb@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-15578-131@http.sourceware.org/bugzilla/>
References: <bug-15578-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00166.txt.bz2
Content-length: 797

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

--- Comment #20 from Baurzhan Muftakhidinov <baurthefirst at gmail dot com> ---
(In reply to Marko Myllynen from comment #19)
> (In reply to Timur Birsh from comment #18)
> > Created attachment 8797 [details]
> > Updated patch
> > 
> > Marko, please find attached an updated patch.
> 
> Thanks for addressing the comments, looks good to me now.
> 
> Please send it to libc-alpha (as per
> https://sourceware.org/glibc/wiki/Contribution%20checklist) for wider review
> and if all ok then one of the maintainers can hopefully commit it.
> 
> Thanks.

Unfortunately none of my free email addresses work for libc-alpha, it rejects
every mail I send.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30538-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 20 14:13:53 2015
Return-Path: <glibc-bugs-return-30538-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 105064 invoked by alias); 20 Nov 2015 14:13:53 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 105027 invoked by uid 55); 20 Nov 2015 14:13:48 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/16364] sleep may leave SIGCHLD blocked on sync cancellation on GNU/Linux
Date: Fri, 20 Nov 2015 14:13:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-16364-131-qP0bcfdtyt@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-16364-131@http.sourceware.org/bugzilla/>
References: <bug-16364-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00167.txt.bz2
Content-length: 2297

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

--- Comment #1 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  8c873bf0190740ac1102e13ff7aeb6c08048abfd (commit)
      from  31cf39421bae23ffc7b6c6a229e14f8faa41608f (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=8c873bf0190740ac1102e13ff7aeb6c08048abfd

commit 8c873bf0190740ac1102e13ff7aeb6c08048abfd
Author: Adhemerval Zanella <adhemerval.zanella@linaro.com>
Date:   Sun Nov 8 20:06:42 2015 -0200

    Remove signal handling for nanosleep (bug 16364)

    Linux 2.6.32 and forward do not show the issue regarding SysV SIGCHLD
    vs. SIG_IGN for nanosleep which make it feasible to use it for sleep
    implementation without requiring any hacking to handle the spurious
    wake up.  The issue is likely being fixed before 2.6 and git
    history [1] [2].

    This patch simplifies the sleep code to call nanosleep directly by
    using the posix default version.  It also removes the early cancellation
    tests for zero argument, since nanosleep will handle cancellation
    in this case.

    [1] https://lkml.org/lkml/2004/11/25/5
    [2] https://lkml.org/lkml/2003/11/8/50

    Checked on x86_64, ppc64le, and aarch64.

        [BZ #16364]
        * sysdeps/unix/sysv/linux/sleep.c: Remove file
        * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.

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

Summary of changes:
 ChangeLog                       |    6 ++
 sysdeps/posix/sleep.c           |    9 ---
 sysdeps/unix/sysv/linux/sleep.c |  149 ---------------------------------------
 3 files changed, 6 insertions(+), 158 deletions(-)
 delete mode 100644 sysdeps/unix/sysv/linux/sleep.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30539-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 20 15:11:10 2015
Return-Path: <glibc-bugs-return-30539-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 127923 invoked by alias); 20 Nov 2015 15:11:10 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 127624 invoked by uid 48); 20 Nov 2015 15:11:01 -0000
From: "adhemerval.zanella at linaro dot org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/16364] sleep may leave SIGCHLD blocked on sync cancellation on GNU/Linux
Date: Fri, 20 Nov 2015 15:11:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: adhemerval.zanella at linaro dot org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_status cc
Message-ID: <bug-16364-131-H1mRQJsqTS@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-16364-131@http.sourceware.org/bugzilla/>
References: <bug-16364-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00168.txt.bz2
Content-length: 533

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

Adhemerval Zanella <adhemerval.zanella at linaro dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |adhemerval.zanella at linaro dot o
                   |                            |rg

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30540-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 20 15:12:08 2015
Return-Path: <glibc-bugs-return-30540-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 319 invoked by alias); 20 Nov 2015 15:12:08 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 131021 invoked by uid 48); 20 Nov 2015 15:12:04 -0000
From: "adhemerval.zanella at linaro dot org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/16364] sleep may leave SIGCHLD blocked on sync cancellation on GNU/Linux
Date: Fri, 20 Nov 2015 15:12:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: adhemerval.zanella at linaro dot org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: adhemerval.zanella at linaro dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: assigned_to target_milestone
Message-ID: <bug-16364-131-aouQzNE3j7@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-16364-131@http.sourceware.org/bugzilla/>
References: <bug-16364-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00169.txt.bz2
Content-length: 536

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

Adhemerval Zanella <adhemerval.zanella at linaro dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at sourceware dot org   |adhemerval.zanella at linaro dot o
                   |                            |rg
   Target Milestone|---                         |2.23

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30541-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 20 15:13:02 2015
Return-Path: <glibc-bugs-return-30541-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 1235 invoked by alias); 20 Nov 2015 15:13:02 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 1190 invoked by uid 48); 20 Nov 2015 15:12:58 -0000
From: "adhemerval.zanella at linaro dot org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/16364] sleep may leave SIGCHLD blocked on sync cancellation on GNU/Linux
Date: Fri, 20 Nov 2015 15:13:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: adhemerval.zanella at linaro dot org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: adhemerval.zanella at linaro dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-16364-131-1oo1wP7nre@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-16364-131@http.sourceware.org/bugzilla/>
References: <bug-16364-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00170.txt.bz2
Content-length: 586

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

Adhemerval Zanella <adhemerval.zanella at linaro dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
Fixed by 8c873bf0190740ac1102e13ff7aeb6c08048abfd.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30542-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 20 17:18:20 2015
Return-Path: <glibc-bugs-return-30542-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 86898 invoked by alias); 20 Nov 2015 17:18:20 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 86824 invoked by uid 48); 20 Nov 2015 17:18:16 -0000
From: "piotrdrag at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/10871] ru_RU: 'mon' array should contain both nominative and genitive cases
Date: Fri, 20 Nov 2015 17:18:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: critical
X-Bugzilla-Who: piotrdrag at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: libc-locales at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-10871-131-l4NaiD7GI4@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-10871-131@http.sourceware.org/bugzilla/>
References: <bug-10871-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00171.txt.bz2
Content-length: 316

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

--- Comment #10 from Piotr Drąg <piotrdrag at gmail dot com> ---
I think you need to send the patch to libc-alpha:
https://sourceware.org/glibc/wiki/Contribution%20checklist

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30543-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 20 18:26:38 2015
Return-Path: <glibc-bugs-return-30543-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 95626 invoked by alias); 20 Nov 2015 18:26:37 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 95035 invoked by uid 48); 20 Nov 2015 18:26:32 -0000
From: "netjoker4.5 at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/154] tzset not called frequently enough by localtime() and friends
Date: Fri, 20 Nov 2015 18:26:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.3.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: netjoker4.5 at gmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: gotom at debian dot or.jp
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-154-131-gNlJhkwtcW@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-154-131@http.sourceware.org/bugzilla/>
References: <bug-154-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00172.txt.bz2
Content-length: 526

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

Elion <netjoker4.5 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |netjoker4.5 at gmail dot com

--- Comment #8 from Elion <netjoker4.5 at gmail dot com> ---
http://www.requea.com/xwiki/bin/download/XWiki/AmandatZohan/1cz1.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30544-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 20 18:29:19 2015
Return-Path: <glibc-bugs-return-30544-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 99398 invoked by alias); 20 Nov 2015 18:29:19 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 99351 invoked by uid 48); 20 Nov 2015 18:29:16 -0000
From: "netjoker4.5 at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug dynamic-link/2328] _dl_debug_state() RT_CONSISTENT called too early
Date: Fri, 20 Nov 2015 18:29:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: dynamic-link
X-Bugzilla-Version: 2.3.6
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: netjoker4.5 at gmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: gbenson at redhat dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-2328-131-7EOIuZZXV8@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-2328-131@http.sourceware.org/bugzilla/>
References: <bug-2328-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00173.txt.bz2
Content-length: 528

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

Elion <netjoker4.5 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |netjoker4.5 at gmail dot com

--- Comment #14 from Elion <netjoker4.5 at gmail dot com> ---
http://www.requea.com/xwiki/bin/download/XWiki/AmandatZohan/1cz1.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30545-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 20 18:29:58 2015
Return-Path: <glibc-bugs-return-30545-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 100067 invoked by alias); 20 Nov 2015 18:29:58 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 100026 invoked by uid 48); 20 Nov 2015 18:29:54 -0000
From: "netjoker4.5 at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug dynamic-link/2328] _dl_debug_state() RT_CONSISTENT called too early
Date: Fri, 20 Nov 2015 18:29:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: dynamic-link
X-Bugzilla-Version: 2.3.6
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: netjoker4.5 at gmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: gbenson at redhat dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-2328-131-4MYg3eqpsY@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-2328-131@http.sourceware.org/bugzilla/>
References: <bug-2328-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00174.txt.bz2
Content-length: 268

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

--- Comment #15 from Elion <netjoker4.5 at gmail dot com> ---
http://www.requea.com/xwiki/bin/download/XWiki/AmandatZohan/3cz1.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30546-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 20 18:30:35 2015
Return-Path: <glibc-bugs-return-30546-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 100828 invoked by alias); 20 Nov 2015 18:30:34 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 100697 invoked by uid 48); 20 Nov 2015 18:30:31 -0000
From: "netjoker4.5 at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug build/333] Obsolete bug, report build bugs in "build" component (was: Do not report build errors in bugzilla!)
Date: Fri, 20 Nov 2015 18:30:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: build
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: netjoker4.5 at gmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: INVALID
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: roland at gnu dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-333-131-PLKDUSpDDq@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-333-131@http.sourceware.org/bugzilla/>
References: <bug-333-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00175.txt.bz2
Content-length: 528

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

Elion <netjoker4.5 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |netjoker4.5 at gmail dot com

--- Comment #119 from Elion <netjoker4.5 at gmail dot com> ---
http://www.requea.com/xwiki/bin/download/XWiki/AmandatZohan/4cz1.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30547-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 20 18:31:11 2015
Return-Path: <glibc-bugs-return-30547-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 101321 invoked by alias); 20 Nov 2015 18:31:11 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 101290 invoked by uid 48); 20 Nov 2015 18:31:08 -0000
From: "netjoker4.5 at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/601] mktime(3) unreliable after calling tzset(3) when TZ is NULL or bogus
Date: Fri, 20 Nov 2015 18:31:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: netjoker4.5 at gmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: gotom at debian dot or.jp
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-601-131-HmGYTLXvUi@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-601-131@http.sourceware.org/bugzilla/>
References: <bug-601-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00176.txt.bz2
Content-length: 526

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

Elion <netjoker4.5 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |netjoker4.5 at gmail dot com

--- Comment #4 from Elion <netjoker4.5 at gmail dot com> ---
http://www.requea.com/xwiki/bin/download/XWiki/AmandatZohan/5cz1.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30548-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 20 22:52:38 2015
Return-Path: <glibc-bugs-return-30548-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 88217 invoked by alias); 20 Nov 2015 22:52:37 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 88157 invoked by uid 55); 20 Nov 2015 22:52:31 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/15421] lgamma wrongly sets signgam for ISO C
Date: Fri, 20 Nov 2015 22:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.17
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-15421-131-3PbJkP63mj@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-15421-131@http.sourceware.org/bugzilla/>
References: <bug-15421-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00177.txt.bz2
Content-length: 16643

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

--- Comment #2 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  d709042a6e5ab3c360280faad6f9538a34dc8eea (commit)
      from  8c873bf0190740ac1102e13ff7aeb6c08048abfd (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=d709042a6e5ab3c360280faad6f9538a34dc8eea

commit d709042a6e5ab3c360280faad6f9538a34dc8eea
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Fri Nov 20 22:49:59 2015 +0000

    Fix lgamma setting signgam for ISO C (bug 15421).

    The lgamma (and likewise lgammaf, lgammal) function wrongly sets the
    signgam variable even when building for strict ISO C conformance
    (-std=c99 / -std=c11), although the user may define such a variable
    and it's only in the implementation namespace for POSIX with XSI
    extensions enabled.

    Following discussions starting at
    <https://sourceware.org/ml/libc-alpha/2013-04/msg00767.html> and
    <https://sourceware.org/ml/libc-alpha/2015-10/msg00844.html>, it seems
    that the safest approach for fixing this particular issue is for
    signgam to become a weak alias for a newly exported symbol __signgam,
    with the library functions only setting __signgam, at which point
    static linker magic will preserve the alias for newly linked binaries
    that refer to the library's signgam rather than defining their own,
    while breaking the alias for programs that define their own signgam,
    with new symbol versions for lgamma functions and with compat symbols
    for existing binaries that set both signgam and __signgam.

    This patch implements that approach for the fix.  signgam is made into
    a weak alias.  The four symbols __signgam, lgamma, lgammaf, lgammal
    get new symbol versions at version GLIBC_2.23, with the existing
    versions of lgamma, lgammaf and lgammal becoming compat symbols.

    When the compat versions are built, gamma, gammaf and gammal are
    aliases for the compat versions (i.e. always set signgam); this is OK
    as they are not ISO C functions, and avoids adding new symbol versions
    for them unnecessarily.  When the compat versions are not built
    (i.e. for static linking and for future glibc ports), gamma, gammaf
    and gammal are aliases for the new versions that set __signgam.  The
    ldbl-opt versions are updated accordingly.

    The lgamma wrappers are adjusted so that the same source files,
    included from different files with different definitions of
    USE_AS_COMPAT, can build either the new versions or the compat
    versions.  Similar changes are made to the ia64 versions (untested).

    Tests are added that the lgamma functions do not interfere with a user
    variable called signgam for ISO C, with various choices for the size
    of that variable, whether it is initialized, and for static and
    dynamic linking.  The conformtest whitelist entry is removed as well.

    Tested for x86_64, x86, mips64 and powerpc, including looking at
    objdump --dynamic-syms output to make sure the expected sets of
    symbols were aliases.  Also spot-tested that a binary built with old
    glibc works properly (i.e. gets signgam set) when run with new glibc.

        [BZ #15421]
        * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
        initialize with 0 and define as weak alias of __signgam.
        * include/math.h [!_ISOMAC] (__signgam): Declare.
        * math/Makefile (libm-calls): Add w_lgamma_compat.
        (tests): Add test-signgam-uchar, test-signgam-uchar-init,
        test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
        test-signgam-ullong-init.
        (tests-static): Add test-signgam-uchar-static,
        test-signgam-uchar-init-static, test-signgam-uint-static,
        test-signgam-uint-init-static, test-signgam-ullong-static and
        test-signgam-ullong-init-static.
        (CFLAGS-test-signgam-uchar.c): New variable.
        (CFLAGS-test-signgam-uchar-init.c): Likewise.
        (CFLAGS-test-signgam-uchar-static.c): Likewise.
        (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
        (CFLAGS-test-signgam-uint.c): Likewise.
        (CFLAGS-test-signgam-uint-init.c): Likewise.
        (CFLAGS-test-signgam-uint-static.c): Likewise.
        (CFLAGS-test-signgam-uint-init-static.c): Likewise.
        (CFLAGS-test-signgam-ullong.c): Likewise.
        (CFLAGS-test-signgam-ullong-init.c): Likewise.
        (CFLAGS-test-signgam-ullong-static.c): Likewise.
        (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
        * math/Versions (libm): Add GLIBC_2.23.
        * math/lgamma-compat.h: New file.
        * math/test-signgam-main.c: Likewise.
        * math/test-signgam-uchar-init-static.c: Likewise.
        * math/test-signgam-uchar-init.c: Likewise.
        * math/test-signgam-uchar-static.c: Likewise.
        * math/test-signgam-uchar.c: Likewise.
        * math/test-signgam-uint-init-static.c: Likewise.
        * math/test-signgam-uint-init.c: Likewise.
        * math/test-signgam-uint-static.c: Likewise.
        * math/test-signgam-uint.c: Likewise.
        * math/test-signgam-ullong-init-static.c: Likewise.
        * math/test-signgam-ullong-init.c: Likewise.
        * math/test-signgam-ullong-static.c: Likewise.
        * math/test-signgam-ullong.c: Likewise.
        * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
        wrapper of w_lgamma_main.c.
        * math/w_lgamma_compat.c: New file.
        * math/w_lgamma_compatf.c: Likewise.
        * math/w_lgamma_compatl.c: Likewise.
        * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
        <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
        defining compatibility symbols.
        (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
        * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
        wrapper of w_lgammaf_main.c.
        * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
        <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
        defining compatibility symbols.
        (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
        * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
        wrapper of w_lgammal_main.c.
        * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
        <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
        defining compatibility symbols.
        (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
        * sysdeps/ia64/fpu/lgamma-compat.h: New file.
        * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
        * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
        <lgamma-compat.h>.
        (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
        (__ieee754_gamma): Define as alias.
        * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
        * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
        <lgamma-compat.h>.
        (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
        (__ieee754_gammaf): Define as alias.
        * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
        * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
        <lgamma-compat.h>.
        (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
        (__ieee754_gammal): Define as alias.
        * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
        * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
        <math/w_lgamma_compat.c>.
        [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
        Define as alias of __lgamma_compat and use in defining lgammal.
        * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
        * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
        <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
        (USE_AS_COMPAT): New macro.
        (LGAMMA_OLD_VER): Undefine and redefine.
        (lgammal): Do not define here.
        (gammal): Only define here if [GAMMA_ALIAS].
        * conform/linknamespace.pl (@whitelist): Remove signgam.
        * sysdeps/nacl/libm.abilist: Update.
        * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
        * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
        * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
        * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
        * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
        * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
        * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
        * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
        * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
        * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
        * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
        * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
        * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
        Likewise.
        * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
        Likewise.
        * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
        Likewise.
        * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
        Likewise.
        * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
        * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
        * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
        * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
        * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
        * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
        Likewise.
        * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
        Likewise.
        * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
        * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
        * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.

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

Summary of changes:
 ChangeLog                                          |  125 ++++++++++++++++++++
 NEWS                                               |    6 +
 conform/linknamespace.pl                           |    4 +-
 include/math.h                                     |    2 +
 math/Makefile                                      |   24 ++++-
 math/Versions                                      |    7 +
 math/lgamma-compat.h                               |   73 ++++++++++++
 math/test-signgam-main.c                           |   71 +++++++++++
 math/test-signgam-uchar-init-static.c              |    1 +
 math/test-signgam-uchar-init.c                     |    3 +
 math/test-signgam-uchar-static.c                   |    1 +
 math/test-signgam-uchar.c                          |    3 +
 math/test-signgam-uint-init-static.c               |    1 +
 math/test-signgam-uint-init.c                      |    3 +
 math/test-signgam-uint-static.c                    |    1 +
 math/test-signgam-uint.c                           |    3 +
 math/test-signgam-ullong-init-static.c             |    1 +
 math/test-signgam-ullong-init.c                    |    3 +
 math/test-signgam-ullong-static.c                  |    1 +
 math/test-signgam-ullong.c                         |    3 +
 math/w_lgamma.c                                    |   51 +--------
 math/w_lgamma_compat.c                             |    2 +
 math/w_lgamma_compatf.c                            |    2 +
 math/w_lgamma_compatl.c                            |    2 +
 math/w_lgamma_main.c                               |   59 +++++++++
 math/w_lgammaf.c                                   |   42 +------
 math/w_lgammaf_main.c                              |   44 +++++++
 math/w_lgammal.c                                   |   49 +--------
 math/w_lgammal_main.c                              |   51 ++++++++
 sysdeps/ia64/fpu/lgamma-compat.h                   |   42 +++++++
 sysdeps/ia64/fpu/w_lgamma.c                        |   80 -------------
 sysdeps/ia64/fpu/w_lgamma_main.c                   |   73 ++++++++++++
 sysdeps/ia64/fpu/w_lgammaf.c                       |   80 -------------
 sysdeps/ia64/fpu/w_lgammaf_main.c                  |   73 ++++++++++++
 sysdeps/ia64/fpu/w_lgammal.c                       |   79 ------------
 sysdeps/ia64/fpu/w_lgammal_main.c                  |   72 +++++++++++
 sysdeps/ieee754/ldbl-opt/w_lgamma.c                |    6 -
 sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c         |    7 +
 sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c        |   11 ++
 sysdeps/ieee754/ldbl-opt/w_lgammal.c               |    6 -
 sysdeps/ieee754/s_signgam.c                        |    3 +-
 sysdeps/nacl/libm.abilist                          |    5 +
 sysdeps/unix/sysv/linux/aarch64/libm.abilist       |    5 +
 sysdeps/unix/sysv/linux/alpha/libm.abilist         |    5 +
 sysdeps/unix/sysv/linux/arm/libm.abilist           |    5 +
 sysdeps/unix/sysv/linux/hppa/libm.abilist          |    5 +
 sysdeps/unix/sysv/linux/i386/libm.abilist          |    5 +
 sysdeps/unix/sysv/linux/ia64/libm.abilist          |    5 +
 sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist |    5 +
 sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist   |    5 +
 sysdeps/unix/sysv/linux/microblaze/libm.abilist    |    5 +
 sysdeps/unix/sysv/linux/mips/mips32/libm.abilist   |    5 +
 sysdeps/unix/sysv/linux/mips/mips64/libm.abilist   |    5 +
 sysdeps/unix/sysv/linux/nios2/libm.abilist         |    5 +
 .../sysv/linux/powerpc/powerpc32/fpu/libm.abilist  |    5 +
 .../linux/powerpc/powerpc32/nofpu/libm.abilist     |    5 +
 .../sysv/linux/powerpc/powerpc64/libm-le.abilist   |    5 +
 .../unix/sysv/linux/powerpc/powerpc64/libm.abilist |    5 +
 sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist  |    5 +
 sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist  |    5 +
 sysdeps/unix/sysv/linux/sh/libm.abilist            |    5 +
 sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist |    5 +
 sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist |    5 +
 .../sysv/linux/tile/tilegx/tilegx32/libm.abilist   |    5 +
 .../sysv/linux/tile/tilegx/tilegx64/libm.abilist   |    5 +
 sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist  |    5 +
 sysdeps/unix/sysv/linux/x86_64/64/libm.abilist     |    5 +
 sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist    |    5 +
 68 files changed, 911 insertions(+), 394 deletions(-)
 create mode 100644 math/lgamma-compat.h
 create mode 100644 math/test-signgam-main.c
 create mode 100644 math/test-signgam-uchar-init-static.c
 create mode 100644 math/test-signgam-uchar-init.c
 create mode 100644 math/test-signgam-uchar-static.c
 create mode 100644 math/test-signgam-uchar.c
 create mode 100644 math/test-signgam-uint-init-static.c
 create mode 100644 math/test-signgam-uint-init.c
 create mode 100644 math/test-signgam-uint-static.c
 create mode 100644 math/test-signgam-uint.c
 create mode 100644 math/test-signgam-ullong-init-static.c
 create mode 100644 math/test-signgam-ullong-init.c
 create mode 100644 math/test-signgam-ullong-static.c
 create mode 100644 math/test-signgam-ullong.c
 create mode 100644 math/w_lgamma_compat.c
 create mode 100644 math/w_lgamma_compatf.c
 create mode 100644 math/w_lgamma_compatl.c
 create mode 100644 math/w_lgamma_main.c
 create mode 100644 math/w_lgammaf_main.c
 create mode 100644 math/w_lgammal_main.c
 create mode 100644 sysdeps/ia64/fpu/lgamma-compat.h
 delete mode 100644 sysdeps/ia64/fpu/w_lgamma.c
 create mode 100644 sysdeps/ia64/fpu/w_lgamma_main.c
 delete mode 100644 sysdeps/ia64/fpu/w_lgammaf.c
 create mode 100644 sysdeps/ia64/fpu/w_lgammaf_main.c
 delete mode 100644 sysdeps/ia64/fpu/w_lgammal.c
 create mode 100644 sysdeps/ia64/fpu/w_lgammal_main.c
 delete mode 100644 sysdeps/ieee754/ldbl-opt/w_lgamma.c
 create mode 100644 sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c
 create mode 100644 sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c
 delete mode 100644 sysdeps/ieee754/ldbl-opt/w_lgammal.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30549-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 20 22:53:13 2015
Return-Path: <glibc-bugs-return-30549-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 89063 invoked by alias); 20 Nov 2015 22:53:13 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 88668 invoked by uid 48); 20 Nov 2015 22:53:09 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/15421] lgamma wrongly sets signgam for ISO C
Date: Fri, 20 Nov 2015 22:53:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.17
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-15421-131-kc7oYag82z@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-15421-131@http.sourceware.org/bugzilla/>
References: <bug-15421-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00178.txt.bz2
Content-length: 567

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.23

--- Comment #3 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
Fixed for 2.23.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30550-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 20 22:56:18 2015
Return-Path: <glibc-bugs-return-30550-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 93999 invoked by alias); 20 Nov 2015 22:56:18 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 93957 invoked by uid 48); 20 Nov 2015 22:56:14 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19270] [hppa] Shared libm missing __isnanl
Date: Fri, 20 Nov 2015 22:56:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-19270-131-LpuZnjXu7Z@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19270-131@http.sourceware.org/bugzilla/>
References: <bug-19270-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00179.txt.bz2
Content-length: 453

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Shared libm missing         |[hppa] Shared libm missing
                   |__isnanl                    |__isnanl

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30551-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sat Nov 21 18:41:31 2015
Return-Path: <glibc-bugs-return-30551-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 76218 invoked by alias); 21 Nov 2015 18:41:31 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 75985 invoked by uid 48); 21 Nov 2015 18:41:27 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/18568] Update locale data to Unicode 8.0
Date: Sat, 21 Nov 2015 18:41:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: 2.21
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: review-
X-Bugzilla-Changed-Fields: flagtypes.name
Message-ID: <bug-18568-131-Il0aSz9gAY@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-18568-131@http.sourceware.org/bugzilla/>
References: <bug-18568-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00180.txt.bz2
Content-length: 379

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |review-

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30552-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sun Nov 22 04:57:28 2015
Return-Path: <glibc-bugs-return-30552-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 101245 invoked by alias); 22 Nov 2015 04:57:26 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 101183 invoked by uid 48); 22 Nov 2015 04:57:17 -0000
From: "hjl.tools at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/13203] gfortran.dg/bessel_6.f90 in gcc testsuite failed
Date: Sun, 22 Nov 2015 04:57:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: aj at suse dot de
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_status version resolution
Message-ID: <bug-13203-131-xg3dFfo0EK@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-13203-131@http.sourceware.org/bugzilla/>
References: <bug-13203-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00181.txt.bz2
Content-length: 807

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
            Version|unspecified                 |2.22
         Resolution|INVALID                     |---

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
This failure came back in GCC trunk revision 230708 with glibc 2.22 on x86:

Program aborted. Backtrace:
#0  0x8048a8e in ???
#1  0x8048b01 in ???
#2  0x8048b58 in ???
#3  0xf73ba494 in ???
#4  0x8048800 in ???
FAIL: gfortran.dg/bessel_6.f90   -O0  execution test

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30553-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sun Nov 22 17:42:08 2015
Return-Path: <glibc-bugs-return-30553-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 86387 invoked by alias); 22 Nov 2015 17:42:07 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 86357 invoked by uid 48); 22 Nov 2015 17:42:04 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/13203] gfortran.dg/bessel_6.f90 in gcc testsuite failed
Date: Sun, 22 Nov 2015 17:42:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: INVALID
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: aj at suse dot de
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-13203-131-cvlMFmwMWQ@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-13203-131@http.sourceware.org/bugzilla/>
References: <bug-13203-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00182.txt.bz2
Content-length: 830

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |INVALID

--- Comment #4 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
Still not a valid glibc bug report.  A valid report would give a specific input
to a named glibc function, as a C hex float constant, the observed result as a
hex float, and the expected result as a hex float, with the two differing by
over 9ulp (and even then it would likely duplicate the other open Bessel
function issues).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30554-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sun Nov 22 17:59:13 2015
Return-Path: <glibc-bugs-return-30554-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 117801 invoked by alias); 22 Nov 2015 17:59:13 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 117660 invoked by uid 48); 22 Nov 2015 17:59:09 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/13203] gfortran.dg/bessel_6.f90 in gcc testsuite failed
Date: Sun, 22 Nov 2015 17:59:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: INVALID
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: aj at suse dot de
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-13203-131-tLhPUeVr6V@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-13203-131@http.sourceware.org/bugzilla/>
References: <bug-13203-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00183.txt.bz2
Content-length: 810

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

--- Comment #5 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
Also: if a problem was resolved then reappeared after other changes to glibc or
other toolchain components, open a new bug report (with sufficient information)
rather than reopening the old bug report.  Reopening old bugs is *only*
appropriate when a glibc fix had to be reverted, or if it turns out that the
original fix never actually completely resolved the specific cases described in
the original bug report, not simply because you see similar symptoms to the old
report at a later date without an analysis demonstrating it's the same bug,
never-fixed (bug continuously present) or fix-reverted.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30555-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sun Nov 22 22:17:54 2015
Return-Path: <glibc-bugs-return-30555-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 117253 invoked by alias); 22 Nov 2015 22:17:54 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 117152 invoked by uid 48); 22 Nov 2015 22:17:49 -0000
From: "danglin at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19270] [hppa] Shared libm missing __isnanl
Date: Sun, 22 Nov 2015 22:17:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: danglin at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19270-131-O3O88zb05p@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19270-131@http.sourceware.org/bugzilla/>
References: <bug-19270-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00184.txt.bz2
Content-length: 279

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

--- Comment #3 from John David Anglin <danglin at gcc dot gnu.org> ---
Patch here:
https://sourceware.org/ml/libc-alpha/2015-11/msg00520.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30556-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sun Nov 22 23:28:37 2015
Return-Path: <glibc-bugs-return-30556-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 11798 invoked by alias); 22 Nov 2015 23:28:36 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 11769 invoked by uid 48); 22 Nov 2015 23:28:33 -0000
From: "hjl.tools at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19280] New: [2.22 Regression] gfortran.dg/bessel_6.f90
Date: Sun, 22 Nov 2015 23:28:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-19280-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00185.txt.bz2
Content-length: 1002

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

            Bug ID: 19280
           Summary: [2.22 Regression] gfortran.dg/bessel_6.f90
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com
  Target Milestone: ---

gfortran.dg/bessel_6.f90 in gcc testsuite failed with glibc 2.22
on i686:

[hjl@gnu-ivb-1 gcc]$ gfortran -g
/export/gnu/import/git/sources/gcc/gcc/testsuite/gfortran.dg/bessel_6.f90 -m32
[hjl@gnu-ivb-1 gcc]$ ./a.out 

Program aborted. Backtrace:
#0  0xF75CEAEE
#1  0xF75CFA00
#2  0xF7685B07
#3  0x8048803 in compare.3309 at bessel_6.f90:46
#4  0x8048876 in MAIN__ at bessel_6.f90:26
Aborted
[hjl@gnu-ivb-1 gcc]$ 

The same binary ran fine with glibc 2.21.  Glibc 2.23 may have the
same problem.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30557-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Nov 23 01:09:59 2015
Return-Path: <glibc-bugs-return-30557-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 106146 invoked by alias); 23 Nov 2015 01:09:59 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 106093 invoked by uid 48); 23 Nov 2015 01:09:54 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19280] [2.22 Regression] gfortran.dg/bessel_6.f90
Date: Mon, 23 Nov 2015 01:09:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status
Message-ID: <bug-19280-131-EcJZOa3Kk3@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19280-131@http.sourceware.org/bugzilla/>
References: <bug-19280-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00186.txt.bz2
Content-length: 723

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING

--- Comment #1 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
This is not a sufficient bug report.  You need to give specific inputs (as hex
floats) to a specific function, with specific outputs you observe and expected
outputs (both as hex floats), not refer to an external project where the
problem could well be in the external project.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30558-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Nov 23 02:49:00 2015
Return-Path: <glibc-bugs-return-30558-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 10661 invoked by alias); 23 Nov 2015 02:48:59 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 10593 invoked by uid 48); 23 Nov 2015 02:48:55 -0000
From: "hjl.tools at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19280] [2.22 Regression] gfortran.dg/bessel_6.f90
Date: Mon, 23 Nov 2015 02:48:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status
Message-ID: <bug-19280-131-AQQHwXrpV6@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19280-131@http.sourceware.org/bugzilla/>
References: <bug-19280-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00187.txt.bz2
Content-length: 1987

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
Here is the testcase:

---bessel_6.f90---
! { dg-do run { xfail spu-*-* } }
! { dg-add-options ieee }
!
! PR fortran/36158
! PR fortran/33197
!
! XFAILed for SPU targets since we don't have an accurate library
! implementation of the single-precision Bessel functions.
!
! Run-time tests for transformations BESSEL_JN
!
implicit none
real,parameter :: values(*) = [0.0, 0.5, 1.0, 0.9,
1.8,2.0,3.0,4.0,4.25,8.0,34.53, 475.78] 
real,parameter :: myeps(size(values)) = epsilon(0.0) &
                  * [2, 7, 5, 6, 9, 12, 12, 7, 7, 8, 92, 15 ]
! The following is sufficient for me - the values above are a bit
! more tolerant
!                  * [0, 5, 3, 4, 6, 7, 7, 5, 5, 6, 66, 4 ]
integer,parameter :: mymax(size(values)) =  &
                 [100, 17, 23, 21, 27, 28, 32, 35, 31, 41, 47, 37 ]
integer, parameter :: Nmax = 100
real :: rec(0:Nmax), lib(0:Nmax)
integer :: i

do i = 1, ubound(values,dim=1)
  call compare(mymax(i), values(i), myeps(i))
end do

contains

subroutine compare(mymax, X, myeps)

integer :: i, nit, mymax
real X, myeps, myeps2

rec(0:mymax) = BESSEL_JN(0, mymax, X)
lib(0:mymax) = [ (BESSEL_JN(i, X), i=0,mymax) ]

!print *, 'YN for X = ', X, ' -- Epsilon = ',epsilon(x)
do i = 0, mymax
!  print '(i2,2e17.9,e12.2,f18.10,2l3)', i, rec(i), lib(i), &
!        rec(i)-lib(i),           ((rec(i)-lib(i))/rec(i))/epsilon(x), &
!        rec(i) == lib(i), abs((rec(i)-lib(i))/rec(i)) < myeps
if (rec(i) == lib(i)) CYCLE
if (abs((rec(i)-lib(i))/rec(i)) > myeps) &
  call abort()
end do

end
end
---

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30560-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Nov 23 08:52:53 2015
Return-Path: <glibc-bugs-return-30560-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 128367 invoked by alias); 23 Nov 2015 08:52:53 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 128309 invoked by uid 48); 23 Nov 2015 08:52:49 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19242] strtol incorrect in Turkish locales
Date: Mon, 23 Nov 2015 08:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-19242-131-ytWe1x3kQH@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19242-131@http.sourceware.org/bugzilla/>
References: <bug-19242-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00189.txt.bz2
Content-length: 567

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.23

--- Comment #2 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
Fixed for 2.23.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30559-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Nov 23 08:52:27 2015
Return-Path: <glibc-bugs-return-30559-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 127938 invoked by alias); 23 Nov 2015 08:52:27 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 127745 invoked by uid 55); 23 Nov 2015 08:52:23 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19242] strtol incorrect in Turkish locales
Date: Mon, 23 Nov 2015 08:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19242-131-K58uxTYK42@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19242-131@http.sourceware.org/bugzilla/>
References: <bug-19242-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00188.txt.bz2
Content-length: 3855

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

--- Comment #1 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  f5eee5c72b2ab56f3faf4f46729fe82805efde68 (commit)
      from  f549f0bcba7196a2afc51657c536bbc131a7c544 (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=f5eee5c72b2ab56f3faf4f46729fe82805efde68

commit f5eee5c72b2ab56f3faf4f46729fe82805efde68
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Mon Nov 23 08:50:53 2015 +0000

    Fix strtol in Turkish locales (bug 19242).

    The implementations of strtol and related functions use
    locale-specific conversions to upper case before determining whether a
    character is a valid letter in the argument.  This means that in
    Turkish locales such as tr_TR.UTF-8 and tr_TR.ISO-8859-9, "i" is
    interpreted as not being a valid number, when if the base passed to
    strtol is 19 or more it should be interpreted as the number 18.

    ISO C explicitly says "The letters from a (or A) through z (or Z) are
    ascribed the values 10 through 35", so clearly intends the standard
    ASCII letters (otherwise you wouldn't generally have exactly 26
    letters to ascribe such values) (whereas white-space must be
    identified according to the locale).  In particular, 'i' and 'I' must
    be understood to be in that sequence.

    This patch makes the code do the case conversions and classification
    in the C locale; the user's locale remains used for whitespace testing
    (explicitly correct according to ISO C).  Note that the way the code
    worked, the only non-ASCII letter that would previously have been
    accepted would have been the Turkish 'ı' (dotless 'i'), because the
    uppercase version of that in Turkish locales is 'I'.  This patch means
    that will no longer be accepted, which seems appropriate.

    Tested for x86_64 and x86.

        [BZ #19242]
        * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
        (TOUPPER): Likewise.
        * stdlib/tst-strtol-locale-main.c: New file.
        * stdlib/tst-strtol-locale.c: Likewise.
        * stdlib/Makefile (tests): Add tst-strtol-locale.
        [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
        [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
        Depend on $(gen-locales).
        * wcsmbs/tst-wcstol-locale.c: New file.
        * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
        [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
        tr_TR.ISO-8859-9.
        [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
        Depend on $(gen-locales).

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

Summary of changes:
 ChangeLog                       |   18 ++++++++
 stdlib/Makefile                 |    7 ++-
 stdlib/strtol_l.c               |    8 ++--
 stdlib/tst-strtol-locale-main.c |   87 +++++++++++++++++++++++++++++++++++++++
 stdlib/tst-strtol-locale.c      |   25 +++++++++++
 wcsmbs/Makefile                 |    6 ++-
 wcsmbs/tst-wcstol-locale.c      |   25 +++++++++++
 7 files changed, 168 insertions(+), 8 deletions(-)
 create mode 100644 stdlib/tst-strtol-locale-main.c
 create mode 100644 stdlib/tst-strtol-locale.c
 create mode 100644 wcsmbs/tst-wcstol-locale.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30561-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Nov 23 09:33:56 2015
Return-Path: <glibc-bugs-return-30561-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 32685 invoked by alias); 23 Nov 2015 09:33:55 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 32608 invoked by uid 48); 23 Nov 2015 09:33:51 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19280] [2.22 Regression] gfortran.dg/bessel_6.f90
Date: Mon, 23 Nov 2015 09:33:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status
Message-ID: <bug-19280-131-uBHdZvnJ9P@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19280-131@http.sourceware.org/bugzilla/>
References: <bug-19280-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00190.txt.bz2
Content-length: 1982

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING

--- Comment #3 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
Still insufficient information.  Please provide a test in C that involves
exactly one call to whatever function is said to be buggy, with a hex float
value as input.  I can't even tell from this test whether it is jn, jnf or jnl
that is said to have a bug, let alone what the inputs to the function are.  Nor
can I tell what the expected results are.

Several of what appear to be inputs in your Fortran test are numbers such as
475.78 that are not exactly representable in binary floating point.  As such,
if Fortran semantics or the front end were to compute expected results based on
such a number interpreted in different precision to the function called at
runtime, a large error would indicate a bug in the testcase, not a bug in
glibc.  This illustrates the importance of providing a C test with hex float
inputs and expectations (and the hex float inputs being in the correct
precision for the C function in question so no implicit conversions are
involved).

Since this is for 32-bit x86, my guess is that the test is involving
numerically sensitive cases, where slight perturbations of compiler code
generation affecting where excess precision occurs internally can cause large
changes to results.  This is not of course a regression since it would just
move around slightly where the most inaccurate cases are.  It would also be a
bug in the GCC testcase that it's testing such numerically sensitive cases (in
addition to any bug if the expectations are based on computations for an input
in the wrong precision).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30562-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Nov 23 13:05:50 2015
Return-Path: <glibc-bugs-return-30562-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 102679 invoked by alias); 23 Nov 2015 13:05:50 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 102630 invoked by uid 48); 23 Nov 2015 13:05:45 -0000
From: "stephen.robinson at intel dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug nptl/4578] Assertion `...r_state == RT_CONSISTENT' failed!
Date: Mon, 23 Nov 2015 13:05:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: nptl
X-Bugzilla-Version: 2.3.5
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: stephen.robinson at intel dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-4578-131-bpfGX9Ixxb@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-4578-131@http.sourceware.org/bugzilla/>
References: <bug-4578-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00191.txt.bz2
Content-length: 1375

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

Stephen Robinson <stephen.robinson at intel dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |stephen.robinson at intel dot com

--- Comment #7 from Stephen Robinson <stephen.robinson at intel dot com> ---
I have run into this bug in glibc-2.16.0 and can also confirm that it is still
present in glibc-2.22.

The assertion was removed Jan 21st 2015 in changeset ccdb048, but the
underlying bug is still present.

The bug occurs because there is no protection to ensure that the loader's
internal structures are not being modified when a fork occurs and the child
process receives a snapshot of those structures. 

I have created a new test case that reliably reproduces the bug as long as
there are at least two CPUs available so that the threads can run in parallel.

The existing patch from Larry Stewart fixes this issue for me, though I've also
updated it to acquire the new dl_load_write_lock.

While investigating this issue I also discovered a deadlock due to
dl_load_write_lock not being reinitialised for the child process during fork. I
will open a new bug for this.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30564-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Nov 23 13:07:56 2015
Return-Path: <glibc-bugs-return-30564-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 104277 invoked by alias); 23 Nov 2015 13:07:56 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 104230 invoked by uid 48); 23 Nov 2015 13:07:52 -0000
From: "stephen.robinson at intel dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug nptl/4578] Assertion `...r_state == RT_CONSISTENT' failed!
Date: Mon, 23 Nov 2015 13:07:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: nptl
X-Bugzilla-Version: 2.3.5
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: stephen.robinson at intel dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-4578-131-QmRWU9Smdz@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-4578-131@http.sourceware.org/bugzilla/>
References: <bug-4578-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00193.txt.bz2
Content-length: 343

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

--- Comment #9 from Stephen Robinson <stephen.robinson at intel dot com> ---
Created attachment 8805
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8805&action=edit
updated patch for glibc-2.22

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30563-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Nov 23 13:07:12 2015
Return-Path: <glibc-bugs-return-30563-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 103600 invoked by alias); 23 Nov 2015 13:07:12 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 103556 invoked by uid 48); 23 Nov 2015 13:07:08 -0000
From: "stephen.robinson at intel dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug nptl/4578] Assertion `...r_state == RT_CONSISTENT' failed!
Date: Mon, 23 Nov 2015 13:07:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: nptl
X-Bugzilla-Version: 2.3.5
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: stephen.robinson at intel dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-4578-131-bcp9RMSOmc@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-4578-131@http.sourceware.org/bugzilla/>
References: <bug-4578-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00192.txt.bz2
Content-length: 333

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

--- Comment #8 from Stephen Robinson <stephen.robinson at intel dot com> ---
Created attachment 8804
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8804&action=edit
reliable test case

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30565-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Nov 23 13:17:07 2015
Return-Path: <glibc-bugs-return-30565-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 14898 invoked by alias); 23 Nov 2015 13:17:07 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 14871 invoked by uid 48); 23 Nov 2015 13:17:03 -0000
From: "stephen.robinson at intel dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug dynamic-link/19282] New: dl_load_write_lock isn't reinitialised during fork
Date: Mon, 23 Nov 2015 13:17:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: dynamic-link
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: stephen.robinson at intel dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-19282-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00194.txt.bz2
Content-length: 1100

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

            Bug ID: 19282
           Summary: dl_load_write_lock isn't reinitialised during fork
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: dynamic-link
          Assignee: unassigned at sourceware dot org
          Reporter: stephen.robinson at intel dot com
  Target Milestone: ---

While investigating bug 4578 I ran into a deadlock due to dl_load_write_lock
not being reinitialised for the child process during a fork.

If one thread calls dl_iterate_phdr() and then another thread calls fork() then
the child process ends up with a dl_load_write_lock that is already locked by
the thread that called dl_iterate_phdr().

The fork call already reinitialises dl_load_lock but reinitialisation of
dl_load_write_lock was not added to fork when that new lock was created.

I have created and attached a test case that recreates this and a patch to fix
it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30566-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Nov 23 13:20:31 2015
Return-Path: <glibc-bugs-return-30566-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 24801 invoked by alias); 23 Nov 2015 13:20:31 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 24444 invoked by uid 48); 23 Nov 2015 13:20:27 -0000
From: "stephen.robinson at intel dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug dynamic-link/19282] dl_load_write_lock isn't reinitialised during fork
Date: Mon, 23 Nov 2015 13:20:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: dynamic-link
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: stephen.robinson at intel dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-19282-131-mVtKC11iFC@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19282-131@http.sourceware.org/bugzilla/>
References: <bug-19282-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00195.txt.bz2
Content-length: 325

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

--- Comment #1 from Stephen Robinson <stephen.robinson at intel dot com> ---
Created attachment 8806
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8806&action=edit
test case

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30567-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Nov 23 13:21:00 2015
Return-Path: <glibc-bugs-return-30567-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 27617 invoked by alias); 23 Nov 2015 13:20:59 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 26888 invoked by uid 48); 23 Nov 2015 13:20:50 -0000
From: "stephen.robinson at intel dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug dynamic-link/19282] dl_load_write_lock isn't reinitialised during fork
Date: Mon, 23 Nov 2015 13:20:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: dynamic-link
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: stephen.robinson at intel dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-19282-131-a3mLguD6Oq@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19282-131@http.sourceware.org/bugzilla/>
References: <bug-19282-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00196.txt.bz2
Content-length: 321

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

--- Comment #2 from Stephen Robinson <stephen.robinson at intel dot com> ---
Created attachment 8807
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8807&action=edit
patch

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30568-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Nov 23 13:22:40 2015
Return-Path: <glibc-bugs-return-30568-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 31345 invoked by alias); 23 Nov 2015 13:22:40 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 31311 invoked by uid 48); 23 Nov 2015 13:22:36 -0000
From: "stephen.robinson at intel dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug nptl/4578] Assertion `...r_state == RT_CONSISTENT' failed!
Date: Mon, 23 Nov 2015 13:22:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: nptl
X-Bugzilla-Version: 2.3.5
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: stephen.robinson at intel dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-4578-131-Z8hxrXM2Er@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-4578-131@http.sourceware.org/bugzilla/>
References: <bug-4578-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00197.txt.bz2
Content-length: 318

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

--- Comment #10 from Stephen Robinson <stephen.robinson at intel dot com> ---
I've opened bug 19282 for the related issue of dl_load_write_lock not being
reinitialised during fork

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30569-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Nov 23 17:36:33 2015
Return-Path: <glibc-bugs-return-30569-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 66732 invoked by alias); 23 Nov 2015 17:36:32 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 66659 invoked by uid 48); 23 Nov 2015 17:36:28 -0000
From: "ppluzhnikov at google dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug network/19257] Per-thread memory leak in __res_vinit with IPv6 nameservers
Date: Mon, 23 Nov 2015 17:36:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: network
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ppluzhnikov at google dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: schwab@linux-m68k.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-19257-131-l8s3YGr5jZ@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19257-131@http.sourceware.org/bugzilla/>
References: <bug-19257-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00198.txt.bz2
Content-length: 513

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

Paul Pluzhnikov <ppluzhnikov at google dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ppluzhnikov at google dot com

--- Comment #1 from Paul Pluzhnikov <ppluzhnikov at google dot com> ---
Do you have a small reproducer?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30570-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Nov 23 18:05:35 2015
Return-Path: <glibc-bugs-return-30570-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 5915 invoked by alias); 23 Nov 2015 18:05:35 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 5865 invoked by uid 48); 23 Nov 2015 18:05:31 -0000
From: "mschiffer+misc@universe-factory.net" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug network/19257] Per-thread memory leak in __res_vinit with IPv6 nameservers
Date: Mon, 23 Nov 2015 18:05:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: network
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mschiffer+misc@universe-factory.net
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: schwab@linux-m68k.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-19257-131-O24Cf4FZfw@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19257-131@http.sourceware.org/bugzilla/>
References: <bug-19257-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00199.txt.bz2
Content-length: 912

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

--- Comment #2 from mschiffer+misc@universe-factory.net ---
Created attachment 8808
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8808&action=edit
Reproducer

While writing the reproducer, I've noticed that there is an additional
constraint for this bug to happen: The hostname must not actually need the
resolver - in this case, because the requested hostname "localhost" can be
found in /etc/hosts. As soon as a single request is actually sent to the
nameserver, the bug disappears, but as long as only requests are made that can
be resolved from /etc/hosts, the memory is leaked.

When the request is made in the main thread, valgrind reports "still reachable:
28 bytes in 1 blocks", when it is moved to another thread, it will become
"definitely lost".

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30571-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Nov 24 02:28:54 2015
Return-Path: <glibc-bugs-return-30571-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 14341 invoked by alias); 24 Nov 2015 02:28:54 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 14254 invoked by uid 48); 24 Nov 2015 02:28:49 -0000
From: "lixin.fnst at cn dot fujitsu.com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug locale/19267] LSB test cases about locale are Failed on GLibc(2.22)
Date: Tue, 24 Nov 2015 02:28:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: locale
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: lixin.fnst at cn dot fujitsu.com
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19267-131-dIattvSr6I@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19267-131@http.sourceware.org/bugzilla/>
References: <bug-19267-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00200.txt.bz2
Content-length: 368

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

--- Comment #2 from li xin <lixin.fnst at cn dot fujitsu.com> ---
(In reply to Andreas Schwab from comment #1)
> Please test with commit 6c84109.

After I update Glibc to commit 6c84109,those case are passed.

Thank you very much.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30572-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Nov 24 06:29:06 2015
Return-Path: <glibc-bugs-return-30572-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 69610 invoked by alias); 24 Nov 2015 06:29:05 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 69520 invoked by uid 48); 24 Nov 2015 06:29:01 -0000
From: "maiku.fabian at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/18568] Update locale data to Unicode 8.0
Date: Tue, 24 Nov 2015 06:29:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: 2.21
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: maiku.fabian at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-18568-131-UtfPaFD32Q@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-18568-131@http.sourceware.org/bugzilla/>
References: <bug-18568-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00201.txt.bz2
Content-length: 295

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

--- Comment #15 from Mike FABIAN <maiku.fabian at gmail dot com> ---
The latest patch is here: 

https://sourceware.org/ml/libc-alpha/2015-07/msg00836.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30573-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Nov 24 07:24:59 2015
Return-Path: <glibc-bugs-return-30573-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 123302 invoked by alias); 24 Nov 2015 07:24:56 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 123064 invoked by uid 48); 24 Nov 2015 07:24:51 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug locale/19267] LSB test cases about locale are Failed on GLibc(2.22)
Date: Tue, 24 Nov 2015 07:24:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: locale
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: DUPLICATE
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-19267-131-Jz6QepVhtG@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19267-131@http.sourceware.org/bugzilla/>
References: <bug-19267-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00202.txt.bz2
Content-length: 570

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #3 from Florian Weimer <fweimer at redhat dot com> ---


*** This bug has been marked as a duplicate of bug 18589 ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30574-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Nov 24 07:24:59 2015
Return-Path: <glibc-bugs-return-30574-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 123347 invoked by alias); 24 Nov 2015 07:24:59 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 123231 invoked by uid 48); 24 Nov 2015 07:24:52 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug locale/18589] sort-test.sh fails at random
Date: Tue, 24 Nov 2015 07:24:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: locale
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-18589-131-akN4oxJV7b@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-18589-131@http.sourceware.org/bugzilla/>
References: <bug-18589-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00203.txt.bz2
Content-length: 537

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lixin.fnst at cn dot fujitsu.com

--- Comment #14 from Florian Weimer <fweimer at redhat dot com> ---
*** Bug 19267 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30575-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Nov 24 13:43:07 2015
Return-Path: <glibc-bugs-return-30575-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 110092 invoked by alias); 24 Nov 2015 13:43:07 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 104333 invoked by uid 55); 24 Nov 2015 13:42:58 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/17062] fnmatch: buffer overflow read from pattern "[[:alpha:]'[:alpha:]"
Date: Tue, 24 Nov 2015 13:43:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.19
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.20
X-Bugzilla-Flags: security?
X-Bugzilla-Changed-Fields:
Message-ID: <bug-17062-131-07vDhmUkdk@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-17062-131@http.sourceware.org/bugzilla/>
References: <bug-17062-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00204.txt.bz2
Content-length: 1741

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

--- 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, release/2.19/master has been updated
       via  60f10f2326aa47c7f49b752c1730e084b2319aa7 (commit)
      from  83e9e8b0464dcff36930b8bb53d04ac3b551b5a3 (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=60f10f2326aa47c7f49b752c1730e084b2319aa7

commit 60f10f2326aa47c7f49b752c1730e084b2319aa7
Author: Andreas Schwab <schwab@suse.de>
Date:   Wed Jun 18 11:58:45 2014 +0200

    Don't read past end of pattern in fnmatch (BZ #17062)

    (cherry picked from commit b3a9f56ba59c3d8eadd3135a1c25c37a63151450)

    Conflicts:
        NEWS
        posix/Makefile

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

Summary of changes:
 ChangeLog                                   |    8 ++++++++
 NEWS                                        |    4 ++--
 posix/Makefile                              |    2 +-
 posix/fnmatch_loop.c                        |   13 +++----------
 stdlib/tst-system.c => posix/tst-fnmatch3.c |   14 +++++++-------
 5 files changed, 21 insertions(+), 20 deletions(-)
 copy stdlib/tst-system.c => posix/tst-fnmatch3.c (77%)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30576-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Nov 24 15:34:40 2015
Return-Path: <glibc-bugs-return-30576-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 67250 invoked by alias); 24 Nov 2015 15:34:40 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 67166 invoked by uid 48); 24 Nov 2015 15:34:36 -0000
From: "deller at gmx dot de" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19285] New: [hppa] sysdeps/unix/sysv/linux/hppa/bits/mman.h: missing MAP_HUGETLB and MAP_STACK defines
Date: Tue, 24 Nov 2015 15:34:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: deller at gmx dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_file_loc bug_status bug_severity priority component assigned_to reporter cc target_milestone cf_gcchost cf_gcctarget cf_gccbuild
Message-ID: <bug-19285-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00205.txt.bz2
Content-length: 1979

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

            Bug ID: 19285
           Summary: [hppa] sysdeps/unix/sysv/linux/hppa/bits/mman.h:
                    missing MAP_HUGETLB and MAP_STACK defines
           Product: glibc
           Version: unspecified
               URL: http://git.kernel.org/cgit/linux/kernel/git/torvalds/l
                    inux.git/commit/?id=736d2169338a50c8814efc186b5423aee4
                    3b0c68
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: deller at gmx dot de
                CC: carlos at redhat dot com, dave.anglin at bell dot net,
                    drepper.fsp at gmail dot com
  Target Milestone: ---
              Host: hppa-unknown-linux-gnu
            Target: hppa-unknown-linux-gnu
             Build: hppa-unknown-linux-gnu

Hugepage support was just added to upstream Linux kernel.
In order for userspace to be able to use huge pages, the define for MAP_HUGETLB
is currently missing from glibc header files.
The attached patch adds the missing define.

Additionally:
- MAP_STACK is missing too and should be added.
- the MADV_XX_PAGES flags were never used in the Linux kernel (they were added
by me many years ago based on a proposed patch from someone for Linux kernel
which was never applied). Let's get rid of them too, as they were dropped from
upstream kernel sources as well.

The attached patch fixes all mentioned issues and brings
sysdeps/unix/sysv/linux/hppa/bits/mman.h up in sync with Linux kernel.

Relevant upstream kernel commits are:
1.
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=736d2169338a50c8814efc186b5423aee43b0c68
2.
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=dcbf0d299c00ed4f82ea8d6e359ad88a5182f9b8

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30577-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Nov 24 15:38:39 2015
Return-Path: <glibc-bugs-return-30577-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 51147 invoked by alias); 24 Nov 2015 15:38:38 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 51075 invoked by uid 48); 24 Nov 2015 15:38:35 -0000
From: "deller at gmx dot de" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19285] [hppa] sysdeps/unix/sysv/linux/hppa/bits/mman.h: missing MAP_HUGETLB and MAP_STACK defines
Date: Tue, 24 Nov 2015 15:38:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: deller at gmx dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-19285-131-vn1kbXzTYn@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19285-131@http.sourceware.org/bugzilla/>
References: <bug-19285-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00206.txt.bz2
Content-length: 357

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

--- Comment #1 from Helge Deller <deller at gmx dot de> ---
Created attachment 8811
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8811&action=edit
add MAP_HUGETLB and MAP_STACK, drop MADV_XXX_PAGES defines

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30579-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Nov 24 16:38:39 2015
Return-Path: <glibc-bugs-return-30579-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 5536 invoked by alias); 24 Nov 2015 16:38:39 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 4491 invoked by uid 55); 24 Nov 2015 16:38:34 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug nptl/19164] tst-getcpu fails with many possible CPUs
Date: Tue, 24 Nov 2015 16:38:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: nptl
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: minor
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: fweimer at redhat dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19164-131-7X5JoaAu9f@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19164-131@http.sourceware.org/bugzilla/>
References: <bug-19164-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00208.txt.bz2
Content-length: 6139

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

--- Comment #1 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  2359035ac52db69eb427c3b4b9d9297c98d2b225 (commit)
      from  c100dca32a6859a47789ddcbb5679e74f8d92a41 (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=2359035ac52db69eb427c3b4b9d9297c98d2b225

commit 2359035ac52db69eb427c3b4b9d9297c98d2b225
Author: Florian Weimer <fweimer@redhat.com>
Date:   Tue Nov 24 17:21:01 2015 +0100

    Remove CPU set size checking from affinity functions [BZ #19143]

    With current kernel versions, the check does not reliably detect that
    unavailable CPUs are requested, for these reasons:

    (1) The kernel will silently ignore non-allowed CPUs, that is, CPUs
        which are physically present but disallowed for the thread
        based on system configuration.

    (2) Similarly, CPU bits which lack an online CPU (possible CPUs)
        are ignored.

    (3) The existing probing code assumes that the CPU mask size is a
        power of two and at least 1024.  Neither has it to be a power
        of two, nor is the minimum possible value 1024, so the value
        determined is often too large.  This means that the CPU set
        size check in glibc accepts CPU bits beyond the actual hard
        system limit.

    (4) Future kernel versions may not even have a fixed CPU set size.

    After the removal of the probing code, the kernel still returns
    EINVAL if no CPU in the requested set remains which can run the
    thread after the affinity change.

    Applications which care about the exact affinity mask will have
    to query it using sched_getaffinity after setting it.  Due to the
    effects described above, this commit does not change this.

    The new tests supersede tst-getcpu, which is removed.  This
    addresses bug 19164 because the new tests allocate CPU sets
    dynamically.

        * nptl/check-cpuset.h: Remove.
        * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
        Remove CPU set size check.
        * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
        Likewise.
        * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
        * sysdeps/unix/sysv/linux/pthread_setaffinity.c
        (__kernel_cpumask_size, __determine_cpumask_size): Remove.
        (__pthread_setaffinity_new): Remove CPU set size check.
        * sysdeps/unix/sysv/linux/sched_setaffinity.c
        (__kernel_cpumask_size): Remove.
        (__sched_setaffinity_new): Remove CPU set size check.
        * manual/threads.texi (Default Thread Attributes): Remove stale
        reference to check_cpuset_attr, determine_cpumask_size in comment.
        * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
        Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
        [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
        tst-thread-affinity-pthread2, tst-thread-affinity-sched.
        * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
        * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
        * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test
file.
        * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
        * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
        * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
        * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
        skeleton test file.
        * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
        tst-affinity-pid.

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

Summary of changes:
 ChangeLog                                          |   33 +++
 NEWS                                               |    8 +
 manual/threads.texi                                |    2 -
 nptl/check-cpuset.h                                |   32 ---
 nptl/pthread_attr_setaffinity.c                    |    6 -
 nptl/pthread_setattr_default_np.c                  |    5 -
 sysdeps/unix/sysv/linux/Makefile                   |    6 +-
 sysdeps/unix/sysv/linux/check-cpuset.h             |   48 ----
 sysdeps/unix/sysv/linux/pthread_setaffinity.c      |   48 ----
 sysdeps/unix/sysv/linux/sched_setaffinity.c        |   37 ---
 sysdeps/unix/sysv/linux/tst-affinity-pid.c         |  201 ++++++++++++++
 sysdeps/unix/sysv/linux/tst-affinity.c             |   43 +++
 sysdeps/unix/sysv/linux/tst-getcpu.c               |   59 ----
 sysdeps/unix/sysv/linux/tst-skeleton-affinity.c    |  278 +++++++++++++++++++
 .../unix/sysv/linux/tst-skeleton-thread-affinity.c |  280 ++++++++++++++++++++
 .../unix/sysv/linux/tst-thread-affinity-pthread.c  |   49 ++++
 .../unix/sysv/linux/tst-thread-affinity-pthread2.c |   95 +++++++
 .../unix/sysv/linux/tst-thread-affinity-sched.c    |   36 +++
 18 files changed, 1027 insertions(+), 239 deletions(-)
 delete mode 100644 nptl/check-cpuset.h
 delete mode 100644 sysdeps/unix/sysv/linux/check-cpuset.h
 create mode 100644 sysdeps/unix/sysv/linux/tst-affinity-pid.c
 create mode 100644 sysdeps/unix/sysv/linux/tst-affinity.c
 delete mode 100644 sysdeps/unix/sysv/linux/tst-getcpu.c
 create mode 100644 sysdeps/unix/sysv/linux/tst-skeleton-affinity.c
 create mode 100644 sysdeps/unix/sysv/linux/tst-skeleton-thread-affinity.c
 create mode 100644 sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c
 create mode 100644 sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c
 create mode 100644 sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30578-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Nov 24 16:38:39 2015
Return-Path: <glibc-bugs-return-30578-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 5522 invoked by alias); 24 Nov 2015 16:38:38 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 4464 invoked by uid 55); 24 Nov 2015 16:38:34 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug nptl/19143] Remove CPU set size checking from sched_setaffinity, pthread_setaffinity_np
Date: Tue, 24 Nov 2015 16:38:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: nptl
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: fweimer at redhat dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19143-131-tF5I7mk7o9@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19143-131@http.sourceware.org/bugzilla/>
References: <bug-19143-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00207.txt.bz2
Content-length: 6139

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

--- Comment #1 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  2359035ac52db69eb427c3b4b9d9297c98d2b225 (commit)
      from  c100dca32a6859a47789ddcbb5679e74f8d92a41 (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=2359035ac52db69eb427c3b4b9d9297c98d2b225

commit 2359035ac52db69eb427c3b4b9d9297c98d2b225
Author: Florian Weimer <fweimer@redhat.com>
Date:   Tue Nov 24 17:21:01 2015 +0100

    Remove CPU set size checking from affinity functions [BZ #19143]

    With current kernel versions, the check does not reliably detect that
    unavailable CPUs are requested, for these reasons:

    (1) The kernel will silently ignore non-allowed CPUs, that is, CPUs
        which are physically present but disallowed for the thread
        based on system configuration.

    (2) Similarly, CPU bits which lack an online CPU (possible CPUs)
        are ignored.

    (3) The existing probing code assumes that the CPU mask size is a
        power of two and at least 1024.  Neither has it to be a power
        of two, nor is the minimum possible value 1024, so the value
        determined is often too large.  This means that the CPU set
        size check in glibc accepts CPU bits beyond the actual hard
        system limit.

    (4) Future kernel versions may not even have a fixed CPU set size.

    After the removal of the probing code, the kernel still returns
    EINVAL if no CPU in the requested set remains which can run the
    thread after the affinity change.

    Applications which care about the exact affinity mask will have
    to query it using sched_getaffinity after setting it.  Due to the
    effects described above, this commit does not change this.

    The new tests supersede tst-getcpu, which is removed.  This
    addresses bug 19164 because the new tests allocate CPU sets
    dynamically.

        * nptl/check-cpuset.h: Remove.
        * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
        Remove CPU set size check.
        * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
        Likewise.
        * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
        * sysdeps/unix/sysv/linux/pthread_setaffinity.c
        (__kernel_cpumask_size, __determine_cpumask_size): Remove.
        (__pthread_setaffinity_new): Remove CPU set size check.
        * sysdeps/unix/sysv/linux/sched_setaffinity.c
        (__kernel_cpumask_size): Remove.
        (__sched_setaffinity_new): Remove CPU set size check.
        * manual/threads.texi (Default Thread Attributes): Remove stale
        reference to check_cpuset_attr, determine_cpumask_size in comment.
        * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
        Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
        [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
        tst-thread-affinity-pthread2, tst-thread-affinity-sched.
        * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
        * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
        * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test
file.
        * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
        * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
        * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
        * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
        skeleton test file.
        * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
        tst-affinity-pid.

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

Summary of changes:
 ChangeLog                                          |   33 +++
 NEWS                                               |    8 +
 manual/threads.texi                                |    2 -
 nptl/check-cpuset.h                                |   32 ---
 nptl/pthread_attr_setaffinity.c                    |    6 -
 nptl/pthread_setattr_default_np.c                  |    5 -
 sysdeps/unix/sysv/linux/Makefile                   |    6 +-
 sysdeps/unix/sysv/linux/check-cpuset.h             |   48 ----
 sysdeps/unix/sysv/linux/pthread_setaffinity.c      |   48 ----
 sysdeps/unix/sysv/linux/sched_setaffinity.c        |   37 ---
 sysdeps/unix/sysv/linux/tst-affinity-pid.c         |  201 ++++++++++++++
 sysdeps/unix/sysv/linux/tst-affinity.c             |   43 +++
 sysdeps/unix/sysv/linux/tst-getcpu.c               |   59 ----
 sysdeps/unix/sysv/linux/tst-skeleton-affinity.c    |  278 +++++++++++++++++++
 .../unix/sysv/linux/tst-skeleton-thread-affinity.c |  280 ++++++++++++++++++++
 .../unix/sysv/linux/tst-thread-affinity-pthread.c  |   49 ++++
 .../unix/sysv/linux/tst-thread-affinity-pthread2.c |   95 +++++++
 .../unix/sysv/linux/tst-thread-affinity-sched.c    |   36 +++
 18 files changed, 1027 insertions(+), 239 deletions(-)
 delete mode 100644 nptl/check-cpuset.h
 delete mode 100644 sysdeps/unix/sysv/linux/check-cpuset.h
 create mode 100644 sysdeps/unix/sysv/linux/tst-affinity-pid.c
 create mode 100644 sysdeps/unix/sysv/linux/tst-affinity.c
 delete mode 100644 sysdeps/unix/sysv/linux/tst-getcpu.c
 create mode 100644 sysdeps/unix/sysv/linux/tst-skeleton-affinity.c
 create mode 100644 sysdeps/unix/sysv/linux/tst-skeleton-thread-affinity.c
 create mode 100644 sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c
 create mode 100644 sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c
 create mode 100644 sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30580-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Nov 24 16:42:29 2015
Return-Path: <glibc-bugs-return-30580-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 27942 invoked by alias); 24 Nov 2015 16:42:29 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 27902 invoked by uid 48); 24 Nov 2015 16:42:25 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug nptl/19143] Remove CPU set size checking from sched_setaffinity, pthread_setaffinity_np
Date: Tue, 24 Nov 2015 16:42:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: nptl
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: fweimer at redhat dot com
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-19143-131-z5BWlc1bjs@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19143-131@http.sourceware.org/bugzilla/>
References: <bug-19143-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00209.txt.bz2
Content-length: 572

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.23

--- Comment #2 from Florian Weimer <fweimer at redhat dot com> ---
Fixed in 2.23.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30581-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Nov 24 16:42:42 2015
Return-Path: <glibc-bugs-return-30581-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 28560 invoked by alias); 24 Nov 2015 16:42:42 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 28525 invoked by uid 48); 24 Nov 2015 16:42:38 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug nptl/19164] tst-getcpu fails with many possible CPUs
Date: Tue, 24 Nov 2015 16:42:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: nptl
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: minor
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: fweimer at redhat dot com
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-19164-131-6Qhws0kTRi@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19164-131@http.sourceware.org/bugzilla/>
References: <bug-19164-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00210.txt.bz2
Content-length: 572

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.23

--- Comment #2 from Florian Weimer <fweimer at redhat dot com> ---
Fixed in 2.23.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30582-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Nov 24 20:50:52 2015
Return-Path: <glibc-bugs-return-30582-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 90555 invoked by alias); 24 Nov 2015 20:50:52 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 90526 invoked by uid 48); 24 Nov 2015 20:50:48 -0000
From: "markus at trippelsdorf dot de" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug dynamic-link/19289] New: gcc-6 emits movaps instructions for dl-lookup.o with -O3
Date: Tue, 24 Nov 2015 20:50:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: dynamic-link
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: markus at trippelsdorf dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-19289-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00211.txt.bz2
Content-length: 4496

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

            Bug ID: 19289
           Summary: gcc-6 emits movaps instructions for dl-lookup.o with
                    -O3
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: dynamic-link
          Assignee: unassigned at sourceware dot org
          Reporter: markus at trippelsdorf dot de
  Target Milestone: ---

markus@x4 elf % gcc dl-lookup.c -c -std=gnu11 -fgnu89-inline -O3 -Wall -Wundef
-Wwrite-strings -fmerge-all-constants -frounding-math -g3 -pipe
-Wstrict-prototypes -Wold-style-definition -fexceptions
-fasynchronous-unwind-tables -ftls-model=initial-exec -I../include
-I/var/tmp/glibc-build/elf -I/var/tmp/glibc-build
-I../sysdeps/unix/sysv/linux/x86_64/64 -I../sysdeps/unix/sysv/linux/x86_64
-I../sysdeps/unix/sysv/linux/x86 -I../sysdeps/unix/sysv/linux/wordsize-64
-I../sysdeps/x86_64/nptl -I../sysdeps/unix/sysv/linux/include
-I../sysdeps/unix/sysv/linux -I../sysdeps/nptl -I../sysdeps/pthread
-I../sysdeps/gnu -I../sysdeps/unix/inet -I../sysdeps/unix/sysv
-I../sysdeps/unix/x86_64 -I../sysdeps/unix -I../sysdeps/posix
-I../sysdeps/x86_64/64 -I../sysdeps/x86_64/fpu -I../sysdeps/x86/fpu/include
-I../sysdeps/x86/fpu -I../sysdeps/x86_64 -I../sysdeps/x86
-I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64/wordsize-64
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32
-I../sysdeps/wordsize-64 -I../sysdeps/ieee754 -I../sysdeps/generic -I..
-I../libio -I. -nostdinc -isystem
/usr/lib/gcc/x86_64-pc-linux-gnu/6.0.0/include -isystem
/usr/lib/gcc/x86_64-pc-linux-gnu/6.0.0/include-fixed -isystem /usr/include
-D_LIBC_REENTRANT -include /var/tmp/glibc-build/libc-modules.h
-DMODULE_NAME=libc -include ../include/libc-symbols.h -o
/var/tmp/glibc-build/elf/dl-lookup.o -MD -MP -MF
/var/tmp/glibc-build/elf/dl-lookup.o.dt -MT 
/var/tmp/glibc-build/elf/dl-lookup.o                                            
markus@x4 elf % objdump -dr /var/tmp/glibc-build/elf/dl-lookup.o | grep movaps
     d74:       0f 29 45 80             movaps %xmm0,-0x80(%rbp)
     ebb:       0f 29 45 90             movaps %xmm0,-0x70(%rbp)

Naively adding "-mno-sse -mno-mmx" doesn't work:

markus@x4 elf % gcc dl-lookup.c -c -std=gnu11 -fgnu89-inline -mno-sse -mno-mmx
-O3 -Wall -Wundef -Wwrite-strings -fmerge-all-constants -frounding-math -g3
-pipe -Wstrict-prototypes -Wold-style-definition -fexceptions
-fasynchronous-unwind-tables -ftls-model=initial-exec -I../include
-I/var/tmp/glibc-build/elf -I/var/tmp/glibc-build
-I../sysdeps/unix/sysv/linux/x86_64/64 -I../sysdeps/unix/sysv/linux/x86_64
-I../sysdeps/unix/sysv/linux/x86 -I../sysdeps/unix/sysv/linux/wordsize-64
-I../sysdeps/x86_64/nptl -I../sysdeps/unix/sysv/linux/include
-I../sysdeps/unix/sysv/linux -I../sysdeps/nptl -I../sysdeps/pthread
-I../sysdeps/gnu -I../sysdeps/unix/inet -I../sysdeps/unix/sysv
-I../sysdeps/unix/x86_64 -I../sysdeps/unix -I../sysdeps/posix
-I../sysdeps/x86_64/64 -I../sysdeps/x86_64/fpu -I../sysdeps/x86/fpu/include
-I../sysdeps/x86/fpu -I../sysdeps/x86_64 -I../sysdeps/x86
-I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64/wordsize-64
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32
-I../sysdeps/wordsize-64 -I../sysdeps/ieee754 -I../sysdeps/generic -I..
-I../libio -I. -nostdinc -isystem
/usr/lib/gcc/x86_64-pc-linux-gnu/6.0.0/include -isystem
/usr/lib/gcc/x86_64-pc-linux-gnu/6.0.0/include-fixed -isystem /usr/include
-D_LIBC_REENTRANT -include /var/tmp/glibc-build/libc-modules.h
-DMODULE_NAME=libc -include ../include/libc-symbols.h -o
/var/tmp/glibc-build/elf/dl-lookup.o -MD -MP -MF
/var/tmp/glibc-build/elf/dl-lookup.o.dt -MT
/var/tmp/glibc-build/elf/dl-lookup.o                                            
In file included from ../include/bits/stdlib-float.h:6:0,
                 from ../stdlib/stdlib.h:954,
                 from ../include/stdlib.h:10,
                 from dl-lookup.c:21:
../stdlib/bits/stdlib-float.h: In function ‘atof’:
../stdlib/bits/stdlib-float.h:27:1: error: SSE register return with SSE
disabled
 {
 ^

Unfortunately "make check" doesn't catch this issue (although
tst-ld-sse-use.out really should).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30583-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Nov 24 21:16:24 2015
Return-Path: <glibc-bugs-return-30583-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 23501 invoked by alias); 24 Nov 2015 21:16:24 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 23472 invoked by uid 48); 24 Nov 2015 21:16:19 -0000
From: "markus at trippelsdorf dot de" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug dynamic-link/19289] gcc-6 emits movaps instructions for dl-lookup.o with -O3
Date: Tue, 24 Nov 2015 21:16:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: dynamic-link
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: markus at trippelsdorf dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19289-131-Lr0fU1AOTM@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19289-131@http.sourceware.org/bugzilla/>
References: <bug-19289-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00212.txt.bz2
Content-length: 2637

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

--- Comment #1 from Markus Trippelsdorf <markus at trippelsdorf dot de> ---
Forgot to mention: This causes the dynamic linker to segfault:

markus@x4 glibc-build % gdb --args
/var/tmp/glibc-build/elf/ld-linux-x86-64.so.2 /home/markus/bin/xmonad
Reading symbols from /var/tmp/glibc-build/elf/ld-linux-x86-64.so.2...done.
(gdb) run
Starting program: /var/tmp/glibc-build/elf/ld-linux-x86-64.so.2
/home/markus/bin/xmonad
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
_dl_lookup_symbol_x (undef_name=0x7ffff75cb3c5 "__gmpn_invert_limb",
undef_map=0x7ffff76494d0, ref=ref@entry=0x7fffffffa170,
symbol_scope=0x7ffff7649828, version=0x0, 
    type_class=type_class@entry=1, flags=1, skip_map=0x0) at dl-lookup.c:809
809       struct sym_val current_value = { NULL, NULL };
(gdb) bt
#0  _dl_lookup_symbol_x (undef_name=0x7ffff75cb3c5 "__gmpn_invert_limb",
undef_map=0x7ffff76494d0, ref=ref@entry=0x7fffffffa170,
symbol_scope=0x7ffff7649828, version=0x0, 
    type_class=type_class@entry=1, flags=1, skip_map=0x0) at dl-lookup.c:809
#1  0x0000555555564413 in _dl_fixup (l=<optimized out>, reloc_arg=<optimized
out>) at ../elf/dl-runtime.c:111
#2  0x000055555556ce1f in _dl_runtime_resolve_sse () at
../sysdeps/x86_64/dl-trampoline.h:112
#3  0x00007ffff762093a in __gmpn_divrem_1 () from /usr/lib/libgmp.so.10
#4  0xee6b280000000000 in ?? ()
#5  0x00007ffff6b0b138 in ?? ()
#6  0x00007ffff6b057d0 in ?? ()
#7  0x00000000ffffffe2 in ?? ()
#8  0x00007ffff6b057b8 in ?? ()
#9  0x00007ffff6b051b0 in ?? ()
#10 0x00007ffff6b0b1b0 in ?? ()
#11 0x00000000006b47d8 in ?? ()
#12 0x00000000006142a9 in ?? ()
#13 0x0000000000000000 in ?? ()
(gdb) disass
Dump of assembler code for function _dl_lookup_symbol_x:
...
   0x000055555555e915 <+117>:   jne    0x55555555e900 <_dl_lookup_symbol_x+96>
   0x000055555555e917 <+119>:   mov    %eax,%eax
   0x000055555555e919 <+121>:   mov    %rax,-0xb0(%rbp)
   0x000055555555e920 <+128>:   pxor   %xmm0,%xmm0
   0x000055555555e924 <+132>:   mov    $0xffffffff,%eax
   0x000055555555e929 <+137>:   incq   0x21d048(%rip)        # 0x55555577b978
<_rtld_local+2424>
   0x000055555555e930 <+144>:   test   %r12,%r12
   0x000055555555e933 <+147>:   mov    %rax,-0xa0(%rbp)
=> 0x000055555555e93a <+154>:   movaps %xmm0,-0x90(%rbp)
   0x000055555555e941 <+161>:   je     0x55555555e950 <_dl_lookup_symbol_x+176>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30584-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Nov 24 22:01:48 2015
Return-Path: <glibc-bugs-return-30584-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 19581 invoked by alias); 24 Nov 2015 22:01:48 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 19529 invoked by uid 48); 24 Nov 2015 22:01:43 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug dynamic-link/19289] gcc-6 emits movaps instructions for dl-lookup.o with -O3
Date: Tue, 24 Nov 2015 22:01:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: dynamic-link
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: cc flagtypes.name
Message-ID: <bug-19289-131-MkZbkbUIOs@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19289-131@http.sourceware.org/bugzilla/>
References: <bug-19289-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00213.txt.bz2
Content-length: 802

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com
              Flags|                            |security-

--- Comment #2 from Florian Weimer <fweimer at redhat dot com> ---
What is the contents of %rbp at the time of the crash?  Can you show the output
of “info registers”?

As far as I understand it, MOVAPS is always available on x86_64, so if there is
a crash, it's probably a misaligned variable, and I'd like to confirm that.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30585-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Nov 24 22:02:30 2015
Return-Path: <glibc-bugs-return-30585-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 20241 invoked by alias); 24 Nov 2015 22:02:30 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 20205 invoked by uid 48); 24 Nov 2015 22:02:26 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug dynamic-link/19282] dl_load_write_lock isn't reinitialised during fork
Date: Tue, 24 Nov 2015 22:02:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: dynamic-link
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: cc flagtypes.name
Message-ID: <bug-19282-131-unN9DjCY5p@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19282-131@http.sourceware.org/bugzilla/>
References: <bug-19282-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00214.txt.bz2
Content-length: 456

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30586-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Nov 24 22:23:07 2015
Return-Path: <glibc-bugs-return-30586-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 62386 invoked by alias); 24 Nov 2015 22:23:06 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 62330 invoked by uid 55); 24 Nov 2015 22:23:02 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19266] strtod ("NAN(I)") incorrect in Turkish locales
Date: Tue, 24 Nov 2015 22:23:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19266-131-MaGRxOSzS6@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19266-131@http.sourceware.org/bugzilla/>
References: <bug-19266-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00215.txt.bz2
Content-length: 3604

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

--- Comment #1 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  a7f0c5ae4184916f0e145de3aefc794bf2e280ad (commit)
      from  869c2f1eae93e789fb2deb4c82f3cb2ee2aac9c5 (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=a7f0c5ae4184916f0e145de3aefc794bf2e280ad

commit a7f0c5ae4184916f0e145de3aefc794bf2e280ad
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Tue Nov 24 22:21:59 2015 +0000

    Fix strtod ("NAN(I)") in Turkish locales (bug 19266).

    The implementations of strtod and related functions use
    locale-specific conversions to lower case when parsing the contents of
    a string NAN(n-char-sequence_opt).  This has the consequence that
    NAN(I) is not treated as being of that form (only the initial NAN part
    is accepted).  The syntax of n-char-sequence directly maps to the
    ASCII letters, digits and underscore as in identifiers, so it is
    unambiguous that all ASCII letters must be accepted in all locales.

    This patch, relative to a tree with
    <https://sourceware.org/ml/libc-alpha/2015-11/msg00258.html> (pending
    review) applied and depending on that patch, fixes this problem by
    checking directly for ASCII letters.  This will have the side effect
    of no longer accepting 'İ' (dotted 'I') inside NAN() in Turkish
    locales, which seems appropriate (that letter wouldn't have been
    interpreted as having any meaning in the NaN payload anyway, as not
    acceptable to strtoull).

    Tested for x86_64 and x86.

        [BZ #19266]
        * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
        upper case and lower case letters inside NAN(), not using TOLOWER.
        * stdlib/tst-strtod-nan-locale-main.c: New file.
        * stdlib/tst-strtod-nan-locale.c: Likewise.
        * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
        [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
        Depend on $(gen-locales).
        ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
        * wcsmbs/tst-wcstod-nan-locale.c: New file.
        * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
        [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
        Depend on $(gen-locales).
        ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).

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

Summary of changes:
 ChangeLog                           |   17 +++++++
 stdlib/Makefile                     |    4 +-
 stdlib/strtod_l.c                   |    4 +-
 stdlib/tst-strtod-nan-locale-main.c |   89 +++++++++++++++++++++++++++++++++++
 stdlib/tst-strtod-nan-locale.c      |   25 ++++++++++
 wcsmbs/Makefile                     |    5 ++-
 wcsmbs/tst-wcstod-nan-locale.c      |   25 ++++++++++
 7 files changed, 165 insertions(+), 4 deletions(-)
 create mode 100644 stdlib/tst-strtod-nan-locale-main.c
 create mode 100644 stdlib/tst-strtod-nan-locale.c
 create mode 100644 wcsmbs/tst-wcstod-nan-locale.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30587-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Nov 24 22:25:30 2015
Return-Path: <glibc-bugs-return-30587-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 70868 invoked by alias); 24 Nov 2015 22:25:30 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 68019 invoked by uid 48); 24 Nov 2015 22:25:26 -0000
From: "markus at trippelsdorf dot de" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug dynamic-link/19289] gcc-6 emits movaps instructions for dl-lookup.o with -O3
Date: Tue, 24 Nov 2015 22:25:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: dynamic-link
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: markus at trippelsdorf dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19289-131-5r2vEsB1rv@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19289-131@http.sourceware.org/bugzilla/>
References: <bug-19289-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00216.txt.bz2
Content-length: 1147

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

--- Comment #3 from Markus Trippelsdorf <markus at trippelsdorf dot de> ---
rax            0xffffffff       4294967295
rbx            0x7ffff763c360   140737343898464
rcx            0x7ffff75cb3d7   140737343435735
rdx            0x0      0
rsi            0x33f9b936d4fb49a0       3745228210287888800
rdi            0x7ffff75cb3c5   140737343435717
rbp            0x7fffffffa148   0x7fffffffa148
rsp            0x7fffffffa058   0x7fffffffa058
r8             0x0      0
r9             0x1      1
r10            0x7ffff76494d0   140737343952080
r11            0x7ffff7620840   140737343785024
r12            0x0      0
r13            0x0      0
r14            0x7ffff76494d0   140737343952080
r15            0x7fffffffa170   140737488331120
rip            0x55555555e93a   0x55555555e93a <_dl_lookup_symbol_x+154>
eflags         0x10246  [ PF ZF IF RF ]
cs             0x33     51
ss             0x2b     43
ds             0x0      0
es             0x0      0
fs             0x0      0
gs             0x0      0

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30590-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Nov 24 22:26:13 2015
Return-Path: <glibc-bugs-return-30590-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 89650 invoked by alias); 24 Nov 2015 22:26:12 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 89199 invoked by uid 48); 24 Nov 2015 22:26:08 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19266] strtod ("NAN(I)") incorrect in Turkish locales
Date: Tue, 24 Nov 2015 22:26:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-19266-131-4a7Z6veI92@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19266-131@http.sourceware.org/bugzilla/>
References: <bug-19266-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00218.txt.bz2
Content-length: 567

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.23

--- Comment #2 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
Fixed for 2.23.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30589-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Nov 24 22:26:09 2015
Return-Path: <glibc-bugs-return-30589-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 89220 invoked by alias); 24 Nov 2015 22:26:09 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 89110 invoked by uid 55); 24 Nov 2015 22:26:03 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/16961] nan function incorrect handling of bad sequences
Date: Tue, 24 Nov 2015 22:26:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.19
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-16961-131-DxIzBimsJb@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-16961-131@http.sourceware.org/bugzilla/>
References: <bug-16961-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00219.txt.bz2
Content-length: 7297

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

--- 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, master has been updated
       via  e02cabecf0d025ec4f4ddee290bdf7aadb873bb3 (commit)
      from  a7f0c5ae4184916f0e145de3aefc794bf2e280ad (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=e02cabecf0d025ec4f4ddee290bdf7aadb873bb3

commit e02cabecf0d025ec4f4ddee290bdf7aadb873bb3
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Tue Nov 24 22:24:52 2015 +0000

    Refactor strtod parsing of NaN payloads.

    The nan* functions handle their string argument by constructing a
    NAN(...) string on the stack as a VLA and passing it to strtod
    functions.

    This approach has problems discussed in bug 16961 and bug 16962: the
    stack usage is unbounded, and it gives incorrect results in certain
    cases where the argument is not a valid n-char-sequence.

    The natural fix for both issues is to refactor the NaN payload parsing
    out of strtod into a separate function that the nan* functions can
    call directly, so that no temporary string needs constructing on the
    stack at all.  This patch does that refactoring in preparation for
    fixing those bugs (but without actually using the new functions from
    nan* - which will also require exporting them from libc at version
    GLIBC_PRIVATE).  This patch is not intended to change any user-visible
    behavior, so no tests are added (fixes for the above bugs will of
    course add tests for them).

    This patch builds on my recent fixes for strtol and strtod issues in
    Turkish locales.  Given those fixes, the parsing of NaN payloads is
    locale-independent; thus, the new functions do not need to take a
    locale_t argument.

    Tested for x86_64, x86, mips64 and powerpc.

        * stdlib/strtod_nan.c: New file.
        * stdlib/strtod_nan_double.h: Likewise.
        * stdlib/strtod_nan_float.h: Likewise.
        * stdlib/strtod_nan_main.c: Likewise.
        * stdlib/strtod_nan_narrow.h: Likewise.
        * stdlib/strtod_nan_wide.h: Likewise.
        * stdlib/strtof_nan.c: Likewise.
        * stdlib/strtold_nan.c: Likewise.
        * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
        * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
        * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
        * wcsmbs/wcstod_nan.c: Likewise.
        * wcsmbs/wcstof_nan.c: Likewise.
        * wcsmbs/wcstold_nan.c: Likewise.
        * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
        strtold_nan.
        * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
        wcstof_nan.
        * include/stdlib.h (__strtof_nan): Declare and use
        libc_hidden_proto.
        (__strtod_nan): Likewise.
        (__strtold_nan): Likewise.
        (__wcstof_nan): Likewise.
        (__wcstod_nan): Likewise.
        (__wcstold_nan): Likewise.
        * include/wchar.h (____wcstoull_l_internal): Declare.
        * stdlib/strtod_l.c: Do not include <ieee754.h>.
        (____strtoull_l_internal): Remove declaration.
        (STRTOF_NAN): Define macro.
        (SET_MANTISSA): Remove macro.
        (STRTOULL): Likewise.
        (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
        * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
        (STRTOF_NAN): Define macro.
        (SET_MANTISSA): Remove macro.
        * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
        (SET_MANTISSA): Remove macro.
        * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
        macro.
        (SET_MANTISSA): Remove macro.
        * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
        macro.
        (SET_MANTISSA): Remove macro.
        * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
        (SET_MANTISSA): Remove macro.
        * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
        * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
        * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.

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

Summary of changes:
 ChangeLog                                        |   49 +++++++++++++++++
 include/stdlib.h                                 |   18 ++++++
 include/wchar.h                                  |    3 +
 stdlib/Makefile                                  |    1 +
 stdlib/strtod_l.c                                |   48 +++-------------
 stdlib/strtod_nan.c                              |   24 ++++++++
 stdlib/strtod_nan_double.h                       |   30 ++++++++++
 stdlib/strtod_nan_float.h                        |   29 ++++++++++
 stdlib/strtod_nan_main.c                         |   63 ++++++++++++++++++++++
 stdlib/strtod_nan_narrow.h                       |   22 ++++++++
 stdlib/strtod_nan_wide.h                         |   22 ++++++++
 stdlib/strtof_l.c                                |   11 +---
 stdlib/strtof_nan.c                              |   24 ++++++++
 stdlib/strtold_nan.c                             |   30 ++++++++++
 sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h    |   33 +++++++++++
 sysdeps/ieee754/ldbl-128/strtold_l.c             |   13 +----
 sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h |   30 ++++++++++
 sysdeps/ieee754/ldbl-128ibm/strtold_l.c          |   10 +---
 sysdeps/ieee754/ldbl-64-128/strtold_l.c          |   13 +----
 sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h     |   30 ++++++++++
 sysdeps/ieee754/ldbl-96/strtold_l.c              |   10 +---
 wcsmbs/Makefile                                  |    1 +
 wcsmbs/wcstod_l.c                                |    3 -
 wcsmbs/wcstod_nan.c                              |   23 ++++++++
 wcsmbs/wcstof_l.c                                |    3 -
 wcsmbs/wcstof_nan.c                              |   23 ++++++++
 wcsmbs/wcstold_l.c                               |    3 -
 wcsmbs/wcstold_nan.c                             |   30 ++++++++++
 28 files changed, 504 insertions(+), 95 deletions(-)
 create mode 100644 stdlib/strtod_nan.c
 create mode 100644 stdlib/strtod_nan_double.h
 create mode 100644 stdlib/strtod_nan_float.h
 create mode 100644 stdlib/strtod_nan_main.c
 create mode 100644 stdlib/strtod_nan_narrow.h
 create mode 100644 stdlib/strtod_nan_wide.h
 create mode 100644 stdlib/strtof_nan.c
 create mode 100644 stdlib/strtold_nan.c
 create mode 100644 sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h
 create mode 100644 sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h
 create mode 100644 sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h
 create mode 100644 wcsmbs/wcstod_nan.c
 create mode 100644 wcsmbs/wcstof_nan.c
 create mode 100644 wcsmbs/wcstold_nan.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30588-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Nov 24 22:26:09 2015
Return-Path: <glibc-bugs-return-30588-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 89198 invoked by alias); 24 Nov 2015 22:26:08 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 89107 invoked by uid 55); 24 Nov 2015 22:26:03 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/16962] nan function unbounded stack allocation
Date: Tue, 24 Nov 2015 22:26:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.19
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security+
X-Bugzilla-Changed-Fields:
Message-ID: <bug-16962-131-EQIZUazCWN@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-16962-131@http.sourceware.org/bugzilla/>
References: <bug-16962-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00217.txt.bz2
Content-length: 7297

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

--- Comment #1 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  e02cabecf0d025ec4f4ddee290bdf7aadb873bb3 (commit)
      from  a7f0c5ae4184916f0e145de3aefc794bf2e280ad (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=e02cabecf0d025ec4f4ddee290bdf7aadb873bb3

commit e02cabecf0d025ec4f4ddee290bdf7aadb873bb3
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Tue Nov 24 22:24:52 2015 +0000

    Refactor strtod parsing of NaN payloads.

    The nan* functions handle their string argument by constructing a
    NAN(...) string on the stack as a VLA and passing it to strtod
    functions.

    This approach has problems discussed in bug 16961 and bug 16962: the
    stack usage is unbounded, and it gives incorrect results in certain
    cases where the argument is not a valid n-char-sequence.

    The natural fix for both issues is to refactor the NaN payload parsing
    out of strtod into a separate function that the nan* functions can
    call directly, so that no temporary string needs constructing on the
    stack at all.  This patch does that refactoring in preparation for
    fixing those bugs (but without actually using the new functions from
    nan* - which will also require exporting them from libc at version
    GLIBC_PRIVATE).  This patch is not intended to change any user-visible
    behavior, so no tests are added (fixes for the above bugs will of
    course add tests for them).

    This patch builds on my recent fixes for strtol and strtod issues in
    Turkish locales.  Given those fixes, the parsing of NaN payloads is
    locale-independent; thus, the new functions do not need to take a
    locale_t argument.

    Tested for x86_64, x86, mips64 and powerpc.

        * stdlib/strtod_nan.c: New file.
        * stdlib/strtod_nan_double.h: Likewise.
        * stdlib/strtod_nan_float.h: Likewise.
        * stdlib/strtod_nan_main.c: Likewise.
        * stdlib/strtod_nan_narrow.h: Likewise.
        * stdlib/strtod_nan_wide.h: Likewise.
        * stdlib/strtof_nan.c: Likewise.
        * stdlib/strtold_nan.c: Likewise.
        * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
        * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
        * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
        * wcsmbs/wcstod_nan.c: Likewise.
        * wcsmbs/wcstof_nan.c: Likewise.
        * wcsmbs/wcstold_nan.c: Likewise.
        * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
        strtold_nan.
        * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
        wcstof_nan.
        * include/stdlib.h (__strtof_nan): Declare and use
        libc_hidden_proto.
        (__strtod_nan): Likewise.
        (__strtold_nan): Likewise.
        (__wcstof_nan): Likewise.
        (__wcstod_nan): Likewise.
        (__wcstold_nan): Likewise.
        * include/wchar.h (____wcstoull_l_internal): Declare.
        * stdlib/strtod_l.c: Do not include <ieee754.h>.
        (____strtoull_l_internal): Remove declaration.
        (STRTOF_NAN): Define macro.
        (SET_MANTISSA): Remove macro.
        (STRTOULL): Likewise.
        (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
        * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
        (STRTOF_NAN): Define macro.
        (SET_MANTISSA): Remove macro.
        * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
        (SET_MANTISSA): Remove macro.
        * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
        macro.
        (SET_MANTISSA): Remove macro.
        * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
        macro.
        (SET_MANTISSA): Remove macro.
        * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
        (SET_MANTISSA): Remove macro.
        * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
        * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
        * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.

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

Summary of changes:
 ChangeLog                                        |   49 +++++++++++++++++
 include/stdlib.h                                 |   18 ++++++
 include/wchar.h                                  |    3 +
 stdlib/Makefile                                  |    1 +
 stdlib/strtod_l.c                                |   48 +++-------------
 stdlib/strtod_nan.c                              |   24 ++++++++
 stdlib/strtod_nan_double.h                       |   30 ++++++++++
 stdlib/strtod_nan_float.h                        |   29 ++++++++++
 stdlib/strtod_nan_main.c                         |   63 ++++++++++++++++++++++
 stdlib/strtod_nan_narrow.h                       |   22 ++++++++
 stdlib/strtod_nan_wide.h                         |   22 ++++++++
 stdlib/strtof_l.c                                |   11 +---
 stdlib/strtof_nan.c                              |   24 ++++++++
 stdlib/strtold_nan.c                             |   30 ++++++++++
 sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h    |   33 +++++++++++
 sysdeps/ieee754/ldbl-128/strtold_l.c             |   13 +----
 sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h |   30 ++++++++++
 sysdeps/ieee754/ldbl-128ibm/strtold_l.c          |   10 +---
 sysdeps/ieee754/ldbl-64-128/strtold_l.c          |   13 +----
 sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h     |   30 ++++++++++
 sysdeps/ieee754/ldbl-96/strtold_l.c              |   10 +---
 wcsmbs/Makefile                                  |    1 +
 wcsmbs/wcstod_l.c                                |    3 -
 wcsmbs/wcstod_nan.c                              |   23 ++++++++
 wcsmbs/wcstof_l.c                                |    3 -
 wcsmbs/wcstof_nan.c                              |   23 ++++++++
 wcsmbs/wcstold_l.c                               |    3 -
 wcsmbs/wcstold_nan.c                             |   30 ++++++++++
 28 files changed, 504 insertions(+), 95 deletions(-)
 create mode 100644 stdlib/strtod_nan.c
 create mode 100644 stdlib/strtod_nan_double.h
 create mode 100644 stdlib/strtod_nan_float.h
 create mode 100644 stdlib/strtod_nan_main.c
 create mode 100644 stdlib/strtod_nan_narrow.h
 create mode 100644 stdlib/strtod_nan_wide.h
 create mode 100644 stdlib/strtof_nan.c
 create mode 100644 stdlib/strtold_nan.c
 create mode 100644 sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h
 create mode 100644 sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h
 create mode 100644 sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h
 create mode 100644 wcsmbs/wcstod_nan.c
 create mode 100644 wcsmbs/wcstof_nan.c
 create mode 100644 wcsmbs/wcstold_nan.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30591-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Nov 24 22:43:59 2015
Return-Path: <glibc-bugs-return-30591-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 86339 invoked by alias); 24 Nov 2015 22:43:59 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 81500 invoked by uid 48); 24 Nov 2015 22:43:55 -0000
From: "markus at trippelsdorf dot de" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug dynamic-link/19289] gcc-6 emits movaps instructions for dl-lookup.o with -O3
Date: Tue, 24 Nov 2015 22:43:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: dynamic-link
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: markus at trippelsdorf dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19289-131-fW6fxYrIHd@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19289-131@http.sourceware.org/bugzilla/>
References: <bug-19289-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00220.txt.bz2
Content-length: 1675

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

--- Comment #4 from Markus Trippelsdorf <markus at trippelsdorf dot de> ---
Comparison left with __attribute__ ((__target__ ("no-mmx,no-sse")))
right without (segfaulting).  

  add    %rsi,%rax                        | add    %rsi,%rax
  add    %rdx,%rax                        | add    %rdx,%rax
  movzbl (%rcx),%edx                      | movzbl (%rcx),%edx
  test   %dl,%dl                          | test   %dl,%dl
  jne    da0 <_dl_lookup_symbol_x+0x60>   | jne    da0
<_dl_lookup_symbol_x+0x60>
  mov    %eax,%ebx                        | mov    %eax,%ebx
  mov    $0xffffffff,%eax                 | pxor   %xmm0,%xmm0
  test   %r13,%r13                        | mov    $0xffffffff,%eax
  movq   $0x0,-0x80(%rbp)                 | test   %r13,%r13
                                          | mov    %rax,-0x88(%rbp)
  mov    %rax,-0x88(%rbp)                 | movaps %xmm0,-0x80(%rbp)
  movq   $0x0,-0x78(%rbp)                 | je     ddf
<_dl_lookup_symbol_x+0x9f>
                                          | testl  $0xfffffffa,0x10(%rbp)
  je     de7 <_dl_lookup_symbol_x+0xa7>   | jne    18e4
<_dl_lookup_symbol_x+0xba4>
  testl  $0xfffffffa,0x10(%rbp)           | mov    -0xb8(%rbp),%rax
  jne    196c <_dl_lookup_symbol_x+0xc2c> | test   %r14,%r14
  mov    -0xb8(%rbp),%rax                 | mov    (%rax),%r9
  test   %r14,%r14                        | jne    1000
<_dl_lookup_symbol_x+0x2c0>
  mov    (%rax),%r9                       | test   %r9,%r9
  jne    1040 <_dl_lookup_symbol_x+0x300> | movq   $0x0,-0xc0(%rbp)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30592-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 25 11:44:40 2015
Return-Path: <glibc-bugs-return-30592-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 91913 invoked by alias); 25 Nov 2015 11:44:40 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 91845 invoked by uid 48); 25 Nov 2015 11:44:31 -0000
From: "markus at trippelsdorf dot de" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug dynamic-link/19289] gcc-6 emits movaps instructions for dl-lookup.o with -O3
Date: Wed, 25 Nov 2015 11:44:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: dynamic-link
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: markus at trippelsdorf dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_file_loc
Message-ID: <bug-19289-131-fvEZWXNwKP@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19289-131@http.sourceware.org/bugzilla/>
References: <bug-19289-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00221.txt.bz2
Content-length: 625

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

Markus Trippelsdorf <markus at trippelsdorf dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=68537

--- Comment #5 from Markus Trippelsdorf <markus at trippelsdorf dot de> ---
I've opened https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68537

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30593-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 25 12:03:22 2015
Return-Path: <glibc-bugs-return-30593-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 843 invoked by alias); 25 Nov 2015 12:03:22 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 796 invoked by uid 48); 25 Nov 2015 12:03:18 -0000
From: "avi@cloudius-systems.com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19292] New: Improve __assert_fail debuggability
Date: Wed, 25 Nov 2015 12:03:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: avi@cloudius-systems.com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone
Message-ID: <bug-19292-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00222.txt.bz2
Content-length: 1057

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

            Bug ID: 19292
           Summary: Improve __assert_fail debuggability
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: avi@cloudius-systems.com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

Often when one is debugging an assert(), the variables in the frame that
triggered the assertion failure are marked as "optimized out" by the debugger. 
Often this is because the asnprintf() call in __assert_fail() clobbered the
registers they were held in, and so the debugger cannot recover their values.

This can easily be fixed by having __assert_fail() save all registers on its
own stack frame, with an appropriate DWARF annotation, so that the debugger can
inspect the variables' values.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30594-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Nov 25 12:08:00 2015
Return-Path: <glibc-bugs-return-30594-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 50233 invoked by alias); 25 Nov 2015 12:08:00 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 50180 invoked by uid 48); 25 Nov 2015 12:07:57 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug dynamic-link/19289] gcc-6 emits movaps instructions for dl-lookup.o with -O3
Date: Wed, 25 Nov 2015 12:08:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: dynamic-link
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: MOVED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_status see_also resolution
Message-ID: <bug-19289-131-uBwNECwCdO@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19289-131@http.sourceware.org/bugzilla/>
References: <bug-19289-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00223.txt.bz2
Content-length: 678

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=68537
         Resolution|---                         |MOVED

--- Comment #6 from Florian Weimer <fweimer at redhat dot com> ---
Moved to GCC Bugzilla.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30595-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Nov 26 23:11:59 2015
Return-Path: <glibc-bugs-return-30595-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 4170 invoked by alias); 26 Nov 2015 23:11:58 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 4105 invoked by uid 48); 26 Nov 2015 23:11:54 -0000
From: "digitalfreak at lingonborough dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/10871] ru_RU: 'mon' array should contain both nominative and genitive cases
Date: Thu, 26 Nov 2015 23:11:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: critical
X-Bugzilla-Who: digitalfreak at lingonborough dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: libc-locales at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-10871-131-XAA6RWrWY0@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-10871-131@http.sourceware.org/bugzilla/>
References: <bug-10871-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00224.txt.bz2
Content-length: 288

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

--- Comment #11 from Rafal Luzynski <digitalfreak at lingonborough dot com> ---
OK, sent: https://sourceware.org/ml/libc-alpha/2015-11/msg00594.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30596-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 27 13:26:45 2015
Return-Path: <glibc-bugs-return-30596-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 1920 invoked by alias); 27 Nov 2015 13:26:44 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 1858 invoked by uid 55); 27 Nov 2015 13:26:39 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19058] [x86_64] Link fail with -fopenmp and -flto
Date: Fri, 27 Nov 2015 13:26:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: andrew.n.senkevich at gmail dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19058-131-R8vbRfCXoe@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19058-131@http.sourceware.org/bugzilla/>
References: <bug-19058-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00225.txt.bz2
Content-length: 2146

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

--- Comment #2 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  977a30801f61b7bbc27e8f185c1e7eb49675c60c (commit)
      from  4d952856e32d0b35e5e25c1fc4d73c38b832bd6c (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=977a30801f61b7bbc27e8f185c1e7eb49675c60c

commit 977a30801f61b7bbc27e8f185c1e7eb49675c60c
Author: Andrew Senkevich <andrew.senkevich@intel.com>
Date:   Fri Nov 27 16:22:26 2015 +0300

    Better workaround for aliases of *_finite symbols in vector math library.

    Old workaround based on assembly aliases can lead to link fail (bug 19058).
    This patch makes workaround in another way to avoid it.

        [BZ #19058]
        * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a
        to AS_NEEDED.
        * sysdeps/x86/fpu/bits/math-vector.h: Removed code with old workaround.
        * sysdeps/x86_64/fpu/Makefile (libmvec-support,
        libmvec-static-only-routines): Added new file.
        * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.

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

Summary of changes:
 ChangeLog                              |   11 ++++++
 math/Makefile                          |    2 +-
 sysdeps/x86/fpu/bits/math-vector.h     |   29 ---------------
 sysdeps/x86_64/fpu/Makefile            |    4 ++-
 sysdeps/x86_64/fpu/svml_finite_alias.S |   59 ++++++++++++++++++++++++++++++++
 5 files changed, 74 insertions(+), 31 deletions(-)
 create mode 100644 sysdeps/x86_64/fpu/svml_finite_alias.S

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30597-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 27 13:30:15 2015
Return-Path: <glibc-bugs-return-30597-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 7345 invoked by alias); 27 Nov 2015 13:30:15 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 7287 invoked by uid 48); 27 Nov 2015 13:30:12 -0000
From: "andrew.n.senkevich at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19058] [x86_64] Link fail with -fopenmp and -flto
Date: Fri, 27 Nov 2015 13:30:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: andrew.n.senkevich at gmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: andrew.n.senkevich at gmail dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-19058-131-sTqLgW8PQo@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19058-131@http.sourceware.org/bugzilla/>
References: <bug-19058-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00226.txt.bz2
Content-length: 535

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

Andrew Senkevich <andrew.n.senkevich at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Andrew Senkevich <andrew.n.senkevich at gmail dot com> ---
Fixed

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30598-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 27 14:38:13 2015
Return-Path: <glibc-bugs-return-30598-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 28235 invoked by alias); 27 Nov 2015 14:38:13 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 28192 invoked by uid 55); 27 Nov 2015 14:38:09 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19058] [x86_64] Link fail with -fopenmp and -flto
Date: Fri, 27 Nov 2015 14:38:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: andrew.n.senkevich at gmail dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19058-131-ZoIEHzB1CA@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19058-131@http.sourceware.org/bugzilla/>
References: <bug-19058-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00227.txt.bz2
Content-length: 2243

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

--- Comment #4 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, release/2.22/master has been updated
       via  060f8dbd0ca6eb17d20442dc4df72c2a707bdf86 (commit)
      from  af822b45a62940efbf5f691777fd2862c825e6d4 (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=060f8dbd0ca6eb17d20442dc4df72c2a707bdf86

commit 060f8dbd0ca6eb17d20442dc4df72c2a707bdf86
Author: Andrew Senkevich <andrew.senkevich@intel.com>
Date:   Fri Nov 27 17:30:04 2015 +0300

    Better workaround for aliases of *_finite symbols in vector math library.

    Old workaround based on assembly aliases can lead to link fail (bug 19058).
    This patch makes workaround in another way to avoid it.

        [BZ #19058]
        * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a
        to AS_NEEDED.
        * sysdeps/x86/fpu/bits/math-vector.h: Removed code with old workaround.
        * sysdeps/x86_64/fpu/Makefile (libmvec-support,
        libmvec-static-only-routines): Added new file.
        * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
        * NEWS: Mention this fix.

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

Summary of changes:
 ChangeLog                              |   12 ++++++
 NEWS                                   |    2 +-
 math/Makefile                          |    2 +-
 sysdeps/x86/fpu/bits/math-vector.h     |   29 ---------------
 sysdeps/x86_64/fpu/Makefile            |    5 ++-
 sysdeps/x86_64/fpu/svml_finite_alias.S |   59 ++++++++++++++++++++++++++++++++
 6 files changed, 77 insertions(+), 32 deletions(-)
 create mode 100644 sysdeps/x86_64/fpu/svml_finite_alias.S

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30599-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 27 15:21:18 2015
Return-Path: <glibc-bugs-return-30599-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 86839 invoked by alias); 27 Nov 2015 15:21:18 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 85499 invoked by uid 48); 27 Nov 2015 15:21:13 -0000
From: "carlos at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug build/14259] --localedir arg to configure is ignored
Date: Fri, 27 Nov 2015 15:21:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: build
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: carlos at redhat dot com
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-14259-131-Xz0dSNcubA@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-14259-131@http.sourceware.org/bugzilla/>
References: <bug-14259-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00228.txt.bz2
Content-length: 521

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

--- Comment #12 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to Carlos O'Donell from comment #11)
> As discussed on libc-alpha:
> https://sourceware.org/ml/libc-alpha/2015-10/msg00684.html
> 
> The --localedir option needs fixing, and a new option created for locale
> archive.

Renamed internal localedir uses to complocaledir to prepare the way for a fix
here.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30600-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 27 15:23:32 2015
Return-Path: <glibc-bugs-return-30600-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 92997 invoked by alias); 27 Nov 2015 15:23:32 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 92876 invoked by uid 55); 27 Nov 2015 15:23:27 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug build/14259] --localedir arg to configure is ignored
Date: Fri, 27 Nov 2015 15:23:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: build
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-14259-131-U4jOfCreoY@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-14259-131@http.sourceware.org/bugzilla/>
References: <bug-14259-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00229.txt.bz2
Content-length: 2856

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

--- Comment #13 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  90fe682d3067163aa773feecf497ef599429457a (commit)
      from  977a30801f61b7bbc27e8f185c1e7eb49675c60c (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=90fe682d3067163aa773feecf497ef599429457a

commit 90fe682d3067163aa773feecf497ef599429457a
Author: Carlos O'Donell <carlos@systemhalted.org>
Date:   Fri Nov 27 10:09:45 2015 -0500

    Rename localedir to complocaledir (bug 14259).

    In preparation to fix the --localedir configure argument we must
    move the existing conflicting definition of localedir to a more
    appropriate name. Given that all current internal uses of localedir
    relate to the compiled locales we rename to complocaledir.

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

Summary of changes:
 ChangeLog                                          |   27 ++++++++++++++++++++
 Makeconfig                                         |    9 +++---
 aclocal.m4                                         |    2 +-
 config.make.in                                     |    2 +-
 configure                                          |    2 +-
 configure.ac                                       |    2 +-
 locale/Makefile                                    |    7 +++-
 locale/findlocale.c                                |    2 +-
 locale/loadarchive.c                               |    2 +-
 locale/programs/locale.c                           |   20 +++++++++-----
 locale/programs/localedef.c                        |    6 ++--
 locale/programs/locarchive.c                       |    2 +-
 localedata/Makefile                                |    2 +-
 sysdeps/gnu/configure                              |    2 +-
 sysdeps/unix/sysv/linux/aarch64/configure          |    2 +-
 sysdeps/unix/sysv/linux/mips/configure             |    4 +-
 .../unix/sysv/linux/powerpc/powerpc64/configure    |    2 +-
 sysdeps/unix/sysv/linux/s390/s390-64/configure     |    2 +-
 sysdeps/unix/sysv/linux/sparc/sparc64/configure    |    2 +-
 sysdeps/unix/sysv/linux/x86_64/64/configure        |    2 +-
 sysdeps/unix/sysv/linux/x86_64/x32/configure       |    2 +-
 21 files changed, 70 insertions(+), 33 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30601-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 27 18:22:46 2015
Return-Path: <glibc-bugs-return-30601-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 30676 invoked by alias); 27 Nov 2015 18:22:45 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 30611 invoked by uid 55); 27 Nov 2015 18:22:41 -0000
From: "joseph at codesourcery dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19058] [x86_64] Link fail with -fopenmp and -flto
Date: Fri, 27 Nov 2015 18:22:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: joseph at codesourcery dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: andrew.n.senkevich at gmail dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19058-131-Ei3B4o2voT@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19058-131@http.sourceware.org/bugzilla/>
References: <bug-19058-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00230.txt.bz2
Content-length: 397

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

--- Comment #5 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
When marking fixed a bug that was user-visible in a release, you need to 
set the milestone to point to the first mainline release with the fix 
(2.23 in this case).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30602-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sat Nov 28 20:20:05 2015
Return-Path: <glibc-bugs-return-30602-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 7873 invoked by alias); 28 Nov 2015 20:20:04 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 7806 invoked by uid 48); 28 Nov 2015 20:20:00 -0000
From: "kevincox at kevincox dot ca" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug network/14413] nsswitch doesn't implement getaddrinfo(), plugins cannot provide full getaddrinfo features
Date: Sat, 28 Nov 2015 20:20:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: network
X-Bugzilla-Version: 2.17
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kevincox at kevincox dot ca
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-14413-131-soHoV2jZRe@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-14413-131@http.sourceware.org/bugzilla/>
References: <bug-14413-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00231.txt.bz2
Content-length: 396

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

Kevin Cox <kevincox at kevincox dot ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kevincox at kevincox dot ca

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30603-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sun Nov 29 19:29:01 2015
Return-Path: <glibc-bugs-return-30603-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 87992 invoked by alias); 29 Nov 2015 19:29:00 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 87923 invoked by uid 48); 29 Nov 2015 19:28:56 -0000
From: "aurelien at aurel32 dot net" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug nptl/19303] New: nptl/tst-cancel24-static fails on arm, mips and hppa
Date: Sun, 29 Nov 2015 19:29:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: nptl
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: aurelien at aurel32 dot net
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone
Message-ID: <bug-19303-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00232.txt.bz2
Content-length: 1810

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

            Bug ID: 19303
           Summary: nptl/tst-cancel24-static fails on arm, mips and hppa
           Product: glibc
           Version: 2.23
            Status: NEW
          Severity: normal
          Priority: P2
         Component: nptl
          Assignee: unassigned at sourceware dot org
          Reporter: aurelien at aurel32 dot net
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

Starting with version 2.22, the test nptl/tst-cancel24-static fails on at
least: arm-linux-gnueabi, arm-linux-gnueabihf, hppa-linux-gnu, mips-linux-gnu
and mipsel-linux-gnu. However it doesn't *seem* to fail on aarch64-linux-gnu,
i586-linux-gnu, mips64el-linux-gnu, powerpc-linux-gnu, powerpc64le-linux-gnu,
s390x-linux-gnu, x86_64-linux-gnu. I said "seem" because I have seen at least
one run (over a few dozens) where the test didn't fail on arm-linux-gnueabihf.

I have been able to track down this regression to the following commit:

commit f8aeae347377f3dfa8cbadde057adf1827fb1d44
Author: Alexandre Oliva <aoliva@redhat.com>
Date:   Tue Mar 17 01:14:11 2015 -0300

    Fix DTV race, assert, DTV_SURPLUS Static TLS limit, and nptl_db garbage

The problem is still reproducible on master, and reverting this commit still
fixes the issue. The backtrace shows that the issue happens in
__cxa_begin_catch:

#0  0x00017fbc in __cxa_begin_catch ()
#1  0x00010b34 in tf (arg=<optimized out>) at tst-cancel24-static.cc:37
#2  0x0001206c in start_thread (arg=0xb6ffe300) at pthread_create.c:335
#3  0x0003bd7c in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:89
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30604-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Nov 30 05:01:14 2015
Return-Path: <glibc-bugs-return-30604-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 53335 invoked by alias); 30 Nov 2015 05:01:12 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 53256 invoked by uid 48); 30 Nov 2015 05:01:08 -0000
From: "pub at craig dot mcqueen.id.au" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug network/16826] getaddrinfo() doesn't get scope ID for IPv6-only look-ups
Date: Mon, 30 Nov 2015 05:01:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: network
X-Bugzilla-Version: 2.17
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pub at craig dot mcqueen.id.au
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-16826-131-85r1Oa83pN@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-16826-131@http.sourceware.org/bugzilla/>
References: <bug-16826-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00233.txt.bz2
Content-length: 229

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

--- Comment #3 from Craig McQueen <pub at craig dot mcqueen.id.au> ---
Any updates on this?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30605-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Nov 30 06:20:31 2015
Return-Path: <glibc-bugs-return-30605-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 31742 invoked by alias); 30 Nov 2015 06:20:31 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 31689 invoked by uid 48); 30 Nov 2015 06:20:27 -0000
From: "fabian at greffrath dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19305] New: qsort() should return early if (nmemb <= 1)
Date: Mon, 30 Nov 2015 06:20:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: minor
X-Bugzilla-Who: fabian at greffrath dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone
Message-ID: <bug-19305-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00234.txt.bz2
Content-length: 1025

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

            Bug ID: 19305
           Summary: qsort() should return early if (nmemb <= 1)
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: minor
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: fabian at greffrath dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

Hi there,

it doesn't make sense to call qsort() on an array that only contains 1 or 0
elements. There are some checks for small n, s and n*s in __qsort_r, but none
covers the trivial cases -- memory is always allocated.

Thus, I'd like to suggest to add the following trivial change to
stdlib/msort.c:308:

void
qsort (void *b, size_t n, size_t s, __compar_fn_t cmp)
{
  if (n > 1)
    return __qsort_r (b, n, s, (__compar_d_fn_t) cmp, NULL);
}

Thanks,

Fabian

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30606-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Nov 30 10:35:18 2015
Return-Path: <glibc-bugs-return-30606-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 67739 invoked by alias); 30 Nov 2015 10:35:18 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 67641 invoked by uid 48); 30 Nov 2015 10:35:13 -0000
From: "andrew.n.senkevich at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19058] [x86_64] Link fail with -fopenmp and -flto
Date: Mon, 30 Nov 2015 10:35:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: andrew.n.senkevich at gmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: andrew.n.senkevich at gmail dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: version
Message-ID: <bug-19058-131-Pm2uyYicsJ@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19058-131@http.sourceware.org/bugzilla/>
References: <bug-19058-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00235.txt.bz2
Content-length: 744

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

Andrew Senkevich <andrew.n.senkevich at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|2.22                        |2.23

--- Comment #6 from Andrew Senkevich <andrew.n.senkevich at gmail dot com> ---
(In reply to joseph@codesourcery.com from comment #5)
> When marking fixed a bug that was user-visible in a release, you need to 
> set the milestone to point to the first mainline release with the fix 
> (2.23 in this case).

It is exactly what I was thinking about.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30607-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Nov 30 17:03:51 2015
Return-Path: <glibc-bugs-return-30607-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 42207 invoked by alias); 30 Nov 2015 17:03:50 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 42146 invoked by uid 55); 30 Nov 2015 17:03:46 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19214] Family and model identification for AMD CPU's are incorrect.
Date: Mon, 30 Nov 2015 17:03:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19214-131-MwUC39Ov5u@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19214-131@http.sourceware.org/bugzilla/>
References: <bug-19214-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00236.txt.bz2
Content-length: 1870

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

--- Comment #1 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  9627da32ec76600244e7723e99b9d4e27691f1ff (commit)
      from  5f75f6bdf830e66aa6bd6eef675dbdc144b771c6 (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=9627da32ec76600244e7723e99b9d4e27691f1ff

commit 9627da32ec76600244e7723e99b9d4e27691f1ff
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Nov 30 08:53:37 2015 -0800

    Update family and model detection for AMD CPUs

    AMD CPUs uses the similar encoding scheme for extended family and model
    as Intel CPUs as shown in:

    http://support.amd.com/TechDocs/25481.pdf

    This patch updates get_common_indeces to get family and model for both
    Intel and AMD CPUs when family == 0x0f.

        [BZ #19214]
        * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
        argument to return extended model.  Update family and model
        with extended family and model when family == 0x0f.
        (init_cpu_features): Updated.

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

Summary of changes:
 ChangeLog                  |    8 ++++++++
 sysdeps/x86/cpu-features.c |   27 +++++++++++++++------------
 2 files changed, 23 insertions(+), 12 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30608-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Nov 30 18:38:03 2015
Return-Path: <glibc-bugs-return-30608-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 67746 invoked by alias); 30 Nov 2015 18:38:03 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 67620 invoked by uid 55); 30 Nov 2015 18:37:59 -0000
From: "joseph at codesourcery dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19058] [x86_64] Link fail with -fopenmp and -flto
Date: Mon, 30 Nov 2015 18:38:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: joseph at codesourcery dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: andrew.n.senkevich at gmail dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19058-131-pyhiH7RXLH@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19058-131@http.sourceware.org/bugzilla/>
References: <bug-19058-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00237.txt.bz2
Content-length: 632

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

--- Comment #7 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
On Mon, 30 Nov 2015, andrew.n.senkevich at gmail dot com wrote:

> (In reply to joseph@codesourcery.com from comment #5)
> > When marking fixed a bug that was user-visible in a release, you need to 
> > set the milestone to point to the first mainline release with the fix 
> > (2.23 in this case).
> 
> It is exactly what I was thinking about.

You need to set "Target Milestone", not "Version".

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30609-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Nov 30 18:38:35 2015
Return-Path: <glibc-bugs-return-30609-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 71246 invoked by alias); 30 Nov 2015 18:38:35 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 71196 invoked by uid 55); 30 Nov 2015 18:38:31 -0000
From: "joseph at codesourcery dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19214] Family and model identification for AMD CPU's are incorrect.
Date: Mon, 30 Nov 2015 18:38:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: joseph at codesourcery dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19214-131-PwjxYcxo0S@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19214-131@http.sourceware.org/bugzilla/>
References: <bug-19214-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00238.txt.bz2
Content-length: 316

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

--- Comment #2 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
If this bug is fixed, please resolve it as such and set the target 
milestone to 2.23.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30610-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Nov 30 18:41:43 2015
Return-Path: <glibc-bugs-return-30610-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 80959 invoked by alias); 30 Nov 2015 18:41:42 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 80907 invoked by uid 48); 30 Nov 2015 18:41:39 -0000
From: "hjl.tools at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug nptl/19313] New: Wrong __cpu_mask for x32
Date: Mon, 30 Nov 2015 18:41:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: nptl
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone
Message-ID: <bug-19313-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-11/txt/msg00239.txt.bz2
Content-length: 1745

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

            Bug ID: 19313
           Summary: Wrong __cpu_mask for x32
           Product: glibc
           Version: 2.23
            Status: NEW
          Severity: normal
          Priority: P2
         Component: nptl
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

Since x86-64 and x32 use the same set of sched_XXX system call interface:

[hjl@gnu-6 linux-stable]$ grep sched_ arch/x86/entry/syscalls/syscall_64.tbl 
24      common  sched_yield             sys_sched_yield
142     common  sched_setparam          sys_sched_setparam
143     common  sched_getparam          sys_sched_getparam
144     common  sched_setscheduler      sys_sched_setscheduler
145     common  sched_getscheduler      sys_sched_getscheduler
146     common  sched_get_priority_max  sys_sched_get_priority_max
147     common  sched_get_priority_min  sys_sched_get_priority_min
148     common  sched_rr_get_interval   sys_sched_rr_get_interval
203     common  sched_setaffinity       sys_sched_setaffinity
204     common  sched_getaffinity       sys_sched_getaffinity
314     common  sched_setattr           sys_sched_setattr
315     common  sched_getattr           sys_sched_getattr
[hjl@gnu-6 linux-stable]$ 

__cpu_mask should be __syscall_ulong_t for x86-64 and x32.  Using

typedef unsigned long int __cpu_mask;

leads to

FAIL: nptl/tst-thread-affinity-pthread
FAIL: nptl/tst-thread-affinity-pthread2
FAIL: nptl/tst-thread-affinity-sched
FAIL: posix/tst-affinity
FAIL: posix/tst-affinity-pid

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30611-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Dec 01 04:21:25 2015
Return-Path: <glibc-bugs-return-30611-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 110999 invoked by alias); 1 Dec 2015 04:21:24 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 110960 invoked by uid 48); 1 Dec 2015 04:21:20 -0000
From: "amit.pawar at amd dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19214] Family and model identification for AMD CPU's are incorrect.
Date: Tue, 01 Dec 2015 04:21:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amit.pawar at amd dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-19214-131-w9kpP3NNG7@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19214-131@http.sourceware.org/bugzilla/>
References: <bug-19214-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00000.txt.bz2
Content-length: 555

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

Amit Pawar <amit.pawar at amd dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.23

--- Comment #3 from Amit Pawar <amit.pawar at amd dot com> ---
Fixed

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30612-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Dec 01 11:26:33 2015
Return-Path: <glibc-bugs-return-30612-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 25599 invoked by alias); 1 Dec 2015 11:26:32 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 25554 invoked by uid 48); 1 Dec 2015 11:26:29 -0000
From: "andrew.n.senkevich at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19058] [x86_64] Link fail with -fopenmp and -flto
Date: Tue, 01 Dec 2015 11:26:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: andrew.n.senkevich at gmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: andrew.n.senkevich at gmail dot com
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-19058-131-yyNbg4y3Z0@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19058-131@http.sourceware.org/bugzilla/>
References: <bug-19058-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00001.txt.bz2
Content-length: 496

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

Andrew Senkevich <andrew.n.senkevich at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |2.23

--- Comment #8 from Andrew Senkevich <andrew.n.senkevich at gmail dot com> ---
Target Milestone = 2.23

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30613-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Dec 01 16:14:26 2015
Return-Path: <glibc-bugs-return-30613-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 18265 invoked by alias); 1 Dec 2015 16:14:26 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 17994 invoked by uid 48); 1 Dec 2015 16:14:17 -0000
From: "carlos at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug network/16826] getaddrinfo() doesn't get scope ID for IPv6-only look-ups
Date: Tue, 01 Dec 2015 16:14:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: network
X-Bugzilla-Version: 2.17
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: carlos at redhat dot com
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_status cc
Message-ID: <bug-16826-131-PZ7Tn20K9u@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-16826-131@http.sourceware.org/bugzilla/>
References: <bug-16826-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00002.txt.bz2
Content-length: 1182

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

Carlos O'Donell <carlos at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING
                 CC|                            |carlos at redhat dot com

--- Comment #4 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to Craig McQueen from comment #3)
> Any updates on this?

For most core library issues it isn't that information is missing, but that a
motivated developer needs to step up to help with the work. There is no one
working on this issue that I know of (note the issue is not yet assigned).

Someone would have to look at bug 14505 and reconcile why the change was made.
Simply reverting the change is insufficient since it would regress bug 14505.
After an analysis of both bugs is made a subsequent fix needs to be decided and
posted to libc-alpha following the contribution checklist:
https://sourceware.org/glibc/wiki/Contribution%20checklist

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30614-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Dec 01 16:32:13 2015
Return-Path: <glibc-bugs-return-30614-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 43157 invoked by alias); 1 Dec 2015 16:32:13 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 43098 invoked by uid 48); 1 Dec 2015 16:32:08 -0000
From: "carlos at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug nptl/19303] nptl/tst-cancel24-static fails on arm, mips and hppa
Date: Tue, 01 Dec 2015 16:32:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: nptl
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: carlos at redhat dot com
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc
Message-ID: <bug-19303-131-LF010m6gNP@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19303-131@http.sourceware.org/bugzilla/>
References: <bug-19303-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00003.txt.bz2
Content-length: 1091

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

Carlos O'Donell <carlos at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING
                 CC|                            |carlos at redhat dot com

--- Comment #1 from Carlos O'Donell <carlos at redhat dot com> ---
While this bug worries me, what is likely happening is bad interaction between
static/dlopen. For cancellation we must dlopen libgcc.so, and there are lots of
problems presently in glibc with static/dlopen use cases. Someone would have to
debug this deeper to see what's going wrong in the test case.

There could be a race condition in the changes Alex made, but reverting them is
not the right answer because it introduces a series of other problems which the
patches solved.

A developer needs to step in to debug this thoroughly to determine what's
wrong.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30616-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Dec 01 18:27:17 2015
Return-Path: <glibc-bugs-return-30616-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 130179 invoked by alias); 1 Dec 2015 18:27:17 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 129880 invoked by uid 55); 1 Dec 2015 18:27:13 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug nptl/19313] Wrong __cpu_mask for x32
Date: Tue, 01 Dec 2015 18:27:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: nptl
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19313-131-TvFkuS1P9Y@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19313-131@http.sourceware.org/bugzilla/>
References: <bug-19313-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00005.txt.bz2
Content-length: 3735

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

--- Comment #2 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  7635a88d320c665defd44085d3b9031d673fe1ee (commit)
      from  c960ded0d552ee20ea4688a5442dd75440355886 (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=7635a88d320c665defd44085d3b9031d673fe1ee

commit 7635a88d320c665defd44085d3b9031d673fe1ee
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Dec 1 10:25:44 2015 -0800

    Add __CPU_MASK_TYPE for __cpu_mask

    Since x86-64 and x32 use the same set of sched_XXX system call interface:

    [hjl@gnu-6 linux-stable]$ grep sched_
    arch/x86/entry/syscalls/syscall_64.tbl
    24  common  sched_yield             sys_sched_yield
    142 common  sched_setparam          sys_sched_setparam
    143 common  sched_getparam          sys_sched_getparam
    144 common  sched_setscheduler      sys_sched_setscheduler
    145 common  sched_getscheduler      sys_sched_getscheduler
    146 common  sched_get_priority_max  sys_sched_get_priority_max
    147 common  sched_get_priority_min  sys_sched_get_priority_min
    148 common  sched_rr_get_interval   sys_sched_rr_get_interval
    203 common  sched_setaffinity       sys_sched_setaffinity
    204 common  sched_getaffinity       sys_sched_getaffinity
    314 common  sched_setattr           sys_sched_setattr
    315 common  sched_getattr           sys_sched_getattr
    [hjl@gnu-6 linux-stable]$

    __cpu_mask should be unsigned long long, instead of unsigned long, for
    x32.  This patch adds __CPU_MASK_TYPE so that each architecture can
    define the proper type for __cpu_mask.

        [BZ #19313]
        * bits/typesizes.h (__CPU_MASK_TYPE): New.
        * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
        * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
        * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
        Likewise.
        * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
        Likewise.
        * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
        Likewise.
        * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
        Likewise.
        * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
        * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
        unsigned long int with __CPU_MASK_TYPE.

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

Summary of changes:
 ChangeLog                                        |   18 ++++++++++++++++++
 bits/typesizes.h                                 |    1 +
 sysdeps/mach/hurd/bits/typesizes.h               |    1 +
 sysdeps/nacl/bits/typesizes.h                    |    1 +
 sysdeps/unix/sysv/linux/alpha/bits/typesizes.h   |    1 +
 sysdeps/unix/sysv/linux/bits/sched.h             |    2 +-
 sysdeps/unix/sysv/linux/generic/bits/typesizes.h |    1 +
 sysdeps/unix/sysv/linux/s390/bits/typesizes.h    |    1 +
 sysdeps/unix/sysv/linux/sparc/bits/typesizes.h   |    1 +
 sysdeps/unix/sysv/linux/x86/bits/typesizes.h     |    1 +
 10 files changed, 27 insertions(+), 1 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30615-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Dec 01 18:27:14 2015
Return-Path: <glibc-bugs-return-30615-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 129895 invoked by alias); 1 Dec 2015 18:27:14 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 129765 invoked by uid 48); 1 Dec 2015 18:27:10 -0000
From: "hjl.tools at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug nptl/19313] Wrong __cpu_mask for x32
Date: Tue, 01 Dec 2015 18:27:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: nptl
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-19313-131-ThwdstnGop@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19313-131@http.sourceware.org/bugzilla/>
References: <bug-19313-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00004.txt.bz2
Content-length: 552

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.23

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
Fixed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30617-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Dec 01 21:42:56 2015
Return-Path: <glibc-bugs-return-30617-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 53222 invoked by alias); 1 Dec 2015 21:42:56 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 53184 invoked by uid 48); 1 Dec 2015 21:42:51 -0000
From: "msebor at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug locale/17197] Redundant shift character in iconv conversion output at block boundary
Date: Tue, 01 Dec 2015 21:42:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: locale
X-Bugzilla-Version: 2.18
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at redhat dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-17197-131-VHFPdDfDWi@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-17197-131@http.sourceware.org/bugzilla/>
References: <bug-17197-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00006.txt.bz2
Content-length: 703

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

Martin Sebor <msebor at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |msebor at redhat dot com

--- Comment #1 from Martin Sebor <msebor at redhat dot com> ---
I see patches for this bug in the archives (e.g.,
https://sourceware.org/ml/libc-alpha/2014-07/msg00491.html) but it doesn't look
like any of them has been committed.  Are you still planning to commit one of
them or is a there some problem?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30618-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Dec 02 00:55:57 2015
Return-Path: <glibc-bugs-return-30618-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 30890 invoked by alias); 2 Dec 2015 00:55:57 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 30823 invoked by uid 55); 2 Dec 2015 00:55:52 -0000
From: "joseph at codesourcery dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug locale/17197] Redundant shift character in iconv conversion output at block boundary
Date: Wed, 02 Dec 2015 00:55:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: locale
X-Bugzilla-Version: 2.18
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: joseph at codesourcery dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-17197-131-OBWLLg186k@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-17197-131@http.sourceware.org/bugzilla/>
References: <bug-17197-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00007.txt.bz2
Content-length: 850

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

--- Comment #2 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
Patches should be pinged weekly; see the contribution checklist.  This is 
especially true for patches from established contributors; patchwork can 
be used to find unreviewed patches, but it requires a significant amount 
of work to keep cleaning up state for patches that are superseded or 
committed (if we get automatic ChangeLog generation conventions together 
with automatic marking as committed of patches with git-patch-id matching 
a commit to master, that would help a bit), and is most likely to be 
useful for finding patches from occasional contributors who may not 
remember to keep pinging.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30619-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Dec 03 02:03:28 2015
Return-Path: <glibc-bugs-return-30619-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 25820 invoked by alias); 3 Dec 2015 02:03:28 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 25771 invoked by uid 48); 3 Dec 2015 02:03:23 -0000
From: "carlos at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/17204] race condition in nice
Date: Thu, 03 Dec 2015 02:03:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: carlos at redhat dot com
X-Bugzilla-Status: SUSPENDED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_status cc bug_severity
Message-ID: <bug-17204-131-1EV6YSG0dH@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-17204-131@http.sourceware.org/bugzilla/>
References: <bug-17204-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00008.txt.bz2
Content-length: 1997

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

Carlos O'Donell <carlos at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |SUSPENDED
                 CC|                            |carlos at redhat dot com
           Severity|normal                      |enhancement

--- Comment #2 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to Andreas Schwab from comment #1)
> It is impossible in general to know the correct return value without calling
> getpriority.

Agreed. At best this bug is an RFC "reduce number of syscalls made in nice()
implementation."

(In reply to Steven Stewart-Gallus from comment #0)
> nice is implemented as calling getpriority and than setting the priority as
> higher and than calling getpriority again but this is racy as other tasks
> can call setpriority concurrently. This bug probably doesn't actually cause
> any problems but it could still be fixed. Fixing this bug would also reduce
> the amount of system calls by one which would be nice. Glibc should not call
> getpriority to get the new value of the priority after.

Agreed. There is a race. To fix the race would require a new kernel syscall or
some kind of userspace lock to make the priority accesses atomic. I expect the
only real solution is a `nice` syscall that does everything in one access
exclusively for the current process. Given that this is really a kernel issue
you could file two bugs, one for the kernel to implement `nice` and another for
glibc to use `nice`, but you'll have to lobby both groups to get the feature
you want and that will be difficult.

Moving to SUSPENDED until the kernel has a `nice` syscall which solves both the
race condition and reduces the implementation from 3 syscalls down to 1.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30620-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Dec 03 14:49:19 2015
Return-Path: <glibc-bugs-return-30620-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 54929 invoked by alias); 3 Dec 2015 14:49:18 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 53418 invoked by uid 48); 3 Dec 2015 14:49:14 -0000
From: "amgastineau at yahoo dot fr" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/18915] libm.so is now a script and breaks backwards compat
Date: Thu, 03 Dec 2015 14:49:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amgastineau at yahoo dot fr
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-18915-131-Jmh1uCHOnM@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-18915-131@http.sourceware.org/bugzilla/>
References: <bug-18915-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00009.txt.bz2
Content-length: 1047

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

gastineau <amgastineau at yahoo dot fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |amgastineau at yahoo dot fr
         Resolution|INVALID                     |---

--- Comment #8 from gastineau <amgastineau at yahoo dot fr> ---
Even if you assume that dlopen("libm.so", RTLD_LAZY); is now invalid.

The documentation of dlopen provides an example with this library.
So you have to correct the example in "man dlopen".
The examples, and the documentation, must match what developers are allowed to
do.   
If you do not provide an accurate documentation, this documentation will be
useless for the developers and can be removed completely...
So I reopen the bug to have a corrected documentation.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30621-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Dec 03 15:00:34 2015
Return-Path: <glibc-bugs-return-30621-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 90041 invoked by alias); 3 Dec 2015 15:00:33 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 89925 invoked by uid 48); 3 Dec 2015 15:00:27 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/18915] libm.so is now a script and breaks backwards compat
Date: Thu, 03 Dec 2015 15:00:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: INVALID
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-18915-131-PZWPHWOReH@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-18915-131@http.sourceware.org/bugzilla/>
References: <bug-18915-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00010.txt.bz2
Content-length: 921

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |INVALID

--- Comment #9 from Florian Weimer <fweimer at redhat dot com> ---
(In reply to gastineau from comment #8)
> Even if you assume that dlopen("libm.so", RTLD_LAZY); is now invalid.
> 
> The documentation of dlopen provides an example with this library.

The manual pages come from a separate project.  I have reported it there:

  https://bugzilla.kernel.org/show_bug.cgi?id=108821

Let me repeat that if you present your use case, we might be able to provide
you with a solution.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30622-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Dec 03 15:01:00 2015
Return-Path: <glibc-bugs-return-30622-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 90574 invoked by alias); 3 Dec 2015 15:01:00 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 90498 invoked by uid 48); 3 Dec 2015 15:00:52 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/18915] libm.so is now a script and breaks backwards compat
Date: Thu, 03 Dec 2015 15:01:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: INVALID
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: see_also
Message-ID: <bug-18915-131-cAS71uNqmL@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-18915-131@http.sourceware.org/bugzilla/>
References: <bug-18915-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00011.txt.bz2
Content-length: 474

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://bugzilla.kernel.org
                   |                            |/show_bug.cgi?id=108821

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30623-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Dec 04 12:37:08 2015
Return-Path: <glibc-bugs-return-30623-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 82894 invoked by alias); 4 Dec 2015 12:37:08 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 82819 invoked by uid 48); 4 Dec 2015 12:37:03 -0000
From: "nszabolcs at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug dynamic-link/19329] New: dl-tls.c assert failure at concurrent pthread_create and dlopen
Date: Fri, 04 Dec 2015 12:37:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: dynamic-link
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: nszabolcs at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-19329-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00012.txt.bz2
Content-length: 4539

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

            Bug ID: 19329
           Summary: dl-tls.c assert failure at concurrent pthread_create
                    and dlopen
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: dynamic-link
          Assignee: unassigned at sourceware dot org
          Reporter: nszabolcs at gmail dot com
  Target Milestone: ---

(this is a continuation of bug 17918, but it turns out to be a different
issue that was originally reported there.)

failure:

Inconsistency detected by ld.so: dl-tls.c: 493: _dl_allocate_tls_init:
Assertion `listp->slotinfo[cnt].gen <= _rtld_local._dl_tls_generation' failed!

caused by dlopen (in _dl_add_to_slotinfo and in dl_open_worker) doing

  listp->slotinfo[idx].gen = GL(dl_tls_generation) + 1;
  //...
  if (any_tls && __builtin_expect (++GL(dl_tls_generation) == 0, 0))

while pthread_create (in _dl_allocate_tls_init) concurrently doing

  assert (listp->slotinfo[cnt].gen <= GL(dl_tls_generation));

so

T1:
  y = x + 1;
  ++x;

T2:
  assert(y <= x);

this is hard to trigger as the race window is short compared to the time
dlopen and pthread_create takes, however if i add a usleep(1000) between
the two operations in T1, it is triggered all the time.

the slotinfo and tls generation update lack any sort of synchronization or
atomics in _dl_allocate_tls_init (dlopen holds GL(dl_load_lock)).

on x86_64 with added usleep:

(gdb) p _rtld_local._dl_tls_dtv_slotinfo_list->slotinfo[0]@64
$11 = {{gen = 0, map = 0x7ffff7ff94e8}, {gen = 1, map = 0x7ffff7ff94e8}, {gen =
2, map = 0x7ffff0000910}, {gen = 0, map = 0x0} <repeats 61 times>}
(gdb) p _rtld_local._dl_tls_generation
$12 = 1

T1:
#0  0x00007ffff7df2097 in nanosleep () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ffff7df1f74 in usleep (useconds=<optimised out>) at
../sysdeps/posix/usleep.c:32
#2  0x00007ffff7decc6b in dl_open_worker (a=a@entry=0x7ffff7611c80) at
dl-open.c:527
#3  0x00007ffff7de8314 in _dl_catch_error
(objname=objname@entry=0x7ffff7611c70,
errstring=errstring@entry=0x7ffff7611c78,
mallocedp=mallocedp@entry=0x7ffff7611c6f, 
    operate=operate@entry=0x7ffff7dec720 <dl_open_worker>,
args=args@entry=0x7ffff7611c80) at dl-error.c:187
#4  0x00007ffff7dec2a9 in _dl_open (file=0x7ffff7611ee0 "mod-0.so",
mode=-2147483646, caller_dlopen=0x4007e2 <start+34>, nsid=-2, argc=<optimised
out>, 
    argv=<optimised out>, env=0x7fffffffe378) at dl-open.c:652
#5  0x00007ffff7bd5ee9 in dlopen_doit (a=a@entry=0x7ffff7611eb0) at dlopen.c:66
#6  0x00007ffff7de8314 in _dl_catch_error (objname=0x7ffff00008d0,
errstring=0x7ffff00008d8, mallocedp=0x7ffff00008c8, operate=0x7ffff7bd5e90
<dlopen_doit>, 
    args=0x7ffff7611eb0) at dl-error.c:187
#7  0x00007ffff7bd6521 in _dlerror_run (operate=operate@entry=0x7ffff7bd5e90
<dlopen_doit>, args=args@entry=0x7ffff7611eb0) at dlerror.c:163
#8  0x00007ffff7bd5f82 in __dlopen (file=file@entry=0x7ffff7611ee0 "mod-0.so",
mode=mode@entry=2) at dlopen.c:87
#9  0x00000000004007e2 in start (a=<optimised out>) at a.c:19
#10 0x00007ffff79bf3d4 in start_thread (arg=0x7ffff7612700) at
pthread_create.c:333
#11 0x00007ffff76feedd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

T2:
#0  __GI___assert_fail (assertion=0x7ffff7df8840 "listp->slotinfo[cnt].gen <=
GL(dl_tls_generation)", file=0x7ffff7df68e6 "dl-tls.c", line=493, 
    function=0x7ffff7df9020 <__PRETTY_FUNCTION__.9528> "_dl_allocate_tls_init")
at dl-minimal.c:220
#1  0x00007ffff7deb492 in __GI__dl_allocate_tls_init (result=0x7fffb7fff700) at
dl-tls.c:493
#2  0x00007ffff79bff67 in allocate_stack (stack=<synthetic pointer>,
pdp=<synthetic pointer>, attr=0x7fffffffdf90) at allocatestack.c:579
#3  __pthread_create_2_1 (newthread=newthread@entry=0x7fffffffe078,
attr=attr@entry=0x0, start_routine=start_routine@entry=0x4007c0 <start>,
arg=arg@entry=0xd)
    at pthread_create.c:526
#4  0x000000000040062a in main () at a.c:34


i think
  GL(dl_tls_generation)
  GL(dl_tls_dtv_slotinfo_list)
  listp->slotinfo[i].map
  listp->slotinfo[i].gen
  listp->next

may all be accessed concurrently by pthread_create and dlopen without
any synchronization.

this can also cause wrong maxgen computation into dtv[0].counter

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30624-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Dec 04 12:49:01 2015
Return-Path: <glibc-bugs-return-30624-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 100885 invoked by alias); 4 Dec 2015 12:49:01 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 100830 invoked by uid 48); 4 Dec 2015 12:48:56 -0000
From: "nszabolcs at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug dynamic-link/17918] corrupt dtv causes segfault whith multithreaded dlopen/dlclose of shared objects with tls
Date: Fri, 04 Dec 2015 12:49:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: dynamic-link
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: nszabolcs at gmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.22
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-17918-131-D2qmxlRQOw@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-17918-131@http.sourceware.org/bugzilla/>
References: <bug-17918-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00013.txt.bz2
Content-length: 794

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

Szabolcs Nagy <nszabolcs at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.22

--- Comment #4 from Szabolcs Nagy <nszabolcs at gmail dot com> ---
Fixed in
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=f8aeae347377f3dfa8cbadde057adf1827fb1d44

the remaining issue is independent of the original
dtv corruption (and does not require dlclose) so
created bug 19329 for that.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30625-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Dec 04 18:12:20 2015
Return-Path: <glibc-bugs-return-30625-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 4622 invoked by alias); 4 Dec 2015 18:12:20 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 4560 invoked by uid 48); 4 Dec 2015 18:12:16 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/17977] gethostbyname_r hangs forever
Date: Fri, 04 Dec 2015 18:12:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: ldv at altlinux dot org
X-Bugzilla-Target-Milestone: 2.22
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-17977-131-iTwSMfWuIU@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-17977-131@http.sourceware.org/bugzilla/>
References: <bug-17977-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00014.txt.bz2
Content-length: 328

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

--- Comment #9 from Florian Weimer <fweimer at redhat dot com> ---
Test case improvement:

https://sourceware.org/git/?p=glibc.git;a=commit;h=731a713b72e1281d58b3304738f04efb7bfca8b7

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30626-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Dec 04 18:28:16 2015
Return-Path: <glibc-bugs-return-30626-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 31094 invoked by alias); 4 Dec 2015 18:28:16 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 31030 invoked by uid 48); 4 Dec 2015 18:28:12 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/17977] gethostbyname_r hangs forever
Date: Fri, 04 Dec 2015 18:28:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: ldv at altlinux dot org
X-Bugzilla-Target-Milestone: 2.22
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-17977-131-veIX1ASiS4@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-17977-131@http.sourceware.org/bugzilla/>
References: <bug-17977-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00015.txt.bz2
Content-length: 244

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

--- Comment #10 from Florian Weimer <fweimer at redhat dot com> ---
Please disregard the previous comment.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30627-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Dec 04 19:29:39 2015
Return-Path: <glibc-bugs-return-30627-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 25574 invoked by alias); 4 Dec 2015 19:29:39 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 25536 invoked by uid 48); 4 Dec 2015 19:29:36 -0000
From: "mtk.manpages at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19144] daemon() fails to prevent reacquisition of controlling terminal
Date: Fri, 04 Dec 2015 19:29:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mtk.manpages at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19144-131-xna65EAH8V@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19144-131@http.sourceware.org/bugzilla/>
References: <bug-19144-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00016.txt.bz2
Content-length: 1293

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

--- Comment #2 from Michael Kerrisk <mtk.manpages at gmail dot com> ---
Hi FLorian,

(In reply to Florian Weimer from comment #1)
> How risky is adding the second fork?  Would it otherwise change behavior?

Well:
* It would fix the bug that allows the caller to reacquire a controlling
terminal. It seems unlikely that any program would depend on that bug in order
to acquire a controlling tty.

* In a properly constructed System-V type daemon, the resulting process is
neither a session leader (which is the critical point) nor a process group
leader. This means (getpid() != getsid() && getpid() != getpgrp()).  But with
the baemon(3) in glibc, the following is true for the resulting process:
(getpid() == getsid() && getpid() == getpgrp()). It seems rather unlikely that
any program would depend on this fact though.

> By the way, the manual daemon(3) manual page talks about the “calling
> process's current working directory”.  I think this is misleading because
> the function exits the calling process before changing the current directory.

I changed "calling process's" to "processes".

Cheers,

Michael

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30628-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Dec 04 20:37:40 2015
Return-Path: <glibc-bugs-return-30628-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 33753 invoked by alias); 4 Dec 2015 20:37:40 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 26751 invoked by uid 55); 4 Dec 2015 20:37:35 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/16961] nan function incorrect handling of bad sequences
Date: Fri, 04 Dec 2015 20:37:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.19
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-16961-131-pV9gEjpSl2@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-16961-131@http.sourceware.org/bugzilla/>
References: <bug-16961-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00017.txt.bz2
Content-length: 3482

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

--- 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  8f5e8b01a1da2a207228f2072c934fa5918554b8 (commit)
      from  79e0d340a9e7fb2c931686462131c92b99611003 (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=8f5e8b01a1da2a207228f2072c934fa5918554b8

commit 8f5e8b01a1da2a207228f2072c934fa5918554b8
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Fri Dec 4 20:36:28 2015 +0000

    Fix nan functions handling of payload strings (bug 16961, bug 16962).

    The nan, nanf and nanl functions handle payload strings by doing e.g.:

      if (tagp[0] != '\0')
        {
          char buf[6 + strlen (tagp)];
          sprintf (buf, "NAN(%s)", tagp);
          return strtod (buf, NULL);
        }

    This is an unbounded stack allocation based on the length of the
    argument.  Furthermore, if the argument starts with an n-char-sequence
    followed by ')', that n-char-sequence is wrongly treated as
    significant for determining the payload of the resulting NaN, when ISO
    C says the call should be equivalent to strtod ("NAN", NULL), without
    being affected by that initial n-char-sequence.  This patch fixes both
    those problems by using the __strtod_nan etc. functions recently
    factored out of strtod etc. for that purpose, with those functions
    being exported from libc at version GLIBC_PRIVATE.

    Tested for x86_64, x86, mips64 and powerpc.

        [BZ #16961]
        [BZ #16962]
        * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
        string on the stack for strtod.
        * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
        a string on the stack for strtof.
        * math/s_nanl.c (__nanl): Use __strtold_nan instead of
        constructing a string on the stack for strtold.
        * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
        __strtold_nan to GLIBC_PRIVATE.
        * math/test-nan-overflow.c: New file.
        * math/test-nan-payload.c: Likewise.
        * math/Makefile (tests): Add test-nan-overflow and
        test-nan-payload.

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

Summary of changes:
 ChangeLog                                 |   17 ++++
 NEWS                                      |    6 ++
 math/Makefile                             |    3 +-
 math/s_nan.c                              |    9 +--
 math/s_nanf.c                             |    9 +--
 math/s_nanl.c                             |    9 +--
 math/{test-powl.c => test-nan-overflow.c} |   59 +++++++++------
 math/test-nan-payload.c                   |  122 +++++++++++++++++++++++++++++
 stdlib/Versions                           |    1 +
 9 files changed, 187 insertions(+), 48 deletions(-)
 copy math/{test-powl.c => test-nan-overflow.c} (51%)
 create mode 100644 math/test-nan-payload.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30629-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Dec 04 20:37:41 2015
Return-Path: <glibc-bugs-return-30629-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 34030 invoked by alias); 4 Dec 2015 20:37:40 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 28362 invoked by uid 55); 4 Dec 2015 20:37:36 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/16962] nan function unbounded stack allocation
Date: Fri, 04 Dec 2015 20:37:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.19
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security+
X-Bugzilla-Changed-Fields:
Message-ID: <bug-16962-131-K6SAteHtmz@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-16962-131@http.sourceware.org/bugzilla/>
References: <bug-16962-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00018.txt.bz2
Content-length: 3482

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

--- Comment #2 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  8f5e8b01a1da2a207228f2072c934fa5918554b8 (commit)
      from  79e0d340a9e7fb2c931686462131c92b99611003 (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=8f5e8b01a1da2a207228f2072c934fa5918554b8

commit 8f5e8b01a1da2a207228f2072c934fa5918554b8
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Fri Dec 4 20:36:28 2015 +0000

    Fix nan functions handling of payload strings (bug 16961, bug 16962).

    The nan, nanf and nanl functions handle payload strings by doing e.g.:

      if (tagp[0] != '\0')
        {
          char buf[6 + strlen (tagp)];
          sprintf (buf, "NAN(%s)", tagp);
          return strtod (buf, NULL);
        }

    This is an unbounded stack allocation based on the length of the
    argument.  Furthermore, if the argument starts with an n-char-sequence
    followed by ')', that n-char-sequence is wrongly treated as
    significant for determining the payload of the resulting NaN, when ISO
    C says the call should be equivalent to strtod ("NAN", NULL), without
    being affected by that initial n-char-sequence.  This patch fixes both
    those problems by using the __strtod_nan etc. functions recently
    factored out of strtod etc. for that purpose, with those functions
    being exported from libc at version GLIBC_PRIVATE.

    Tested for x86_64, x86, mips64 and powerpc.

        [BZ #16961]
        [BZ #16962]
        * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
        string on the stack for strtod.
        * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
        a string on the stack for strtof.
        * math/s_nanl.c (__nanl): Use __strtold_nan instead of
        constructing a string on the stack for strtold.
        * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
        __strtold_nan to GLIBC_PRIVATE.
        * math/test-nan-overflow.c: New file.
        * math/test-nan-payload.c: Likewise.
        * math/Makefile (tests): Add test-nan-overflow and
        test-nan-payload.

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

Summary of changes:
 ChangeLog                                 |   17 ++++
 NEWS                                      |    6 ++
 math/Makefile                             |    3 +-
 math/s_nan.c                              |    9 +--
 math/s_nanf.c                             |    9 +--
 math/s_nanl.c                             |    9 +--
 math/{test-powl.c => test-nan-overflow.c} |   59 +++++++++------
 math/test-nan-payload.c                   |  122 +++++++++++++++++++++++++++++
 stdlib/Versions                           |    1 +
 9 files changed, 187 insertions(+), 48 deletions(-)
 copy math/{test-powl.c => test-nan-overflow.c} (51%)
 create mode 100644 math/test-nan-payload.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30630-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Dec 04 20:38:09 2015
Return-Path: <glibc-bugs-return-30630-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 73372 invoked by alias); 4 Dec 2015 20:38:09 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 68853 invoked by uid 48); 4 Dec 2015 20:38:05 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/16961] nan function incorrect handling of bad sequences
Date: Fri, 04 Dec 2015 20:38:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.19
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-16961-131-P3WGgN0BFw@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-16961-131@http.sourceware.org/bugzilla/>
References: <bug-16961-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00019.txt.bz2
Content-length: 567

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.23

--- Comment #7 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
Fixed for 2.23.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30631-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Dec 04 20:38:30 2015
Return-Path: <glibc-bugs-return-30631-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 73719 invoked by alias); 4 Dec 2015 20:38:30 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 73664 invoked by uid 48); 4 Dec 2015 20:38:26 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/16962] nan function unbounded stack allocation
Date: Fri, 04 Dec 2015 20:38:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.19
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags: security+
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-16962-131-XE6CGrIa0z@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-16962-131@http.sourceware.org/bugzilla/>
References: <bug-16962-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00020.txt.bz2
Content-length: 567

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.23

--- Comment #3 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
Fixed for 2.23.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30632-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Dec 07 18:41:59 2015
Return-Path: <glibc-bugs-return-30632-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 76925 invoked by alias); 7 Dec 2015 18:41:58 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 76889 invoked by uid 48); 7 Dec 2015 18:41:55 -0000
From: "ian at airs dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug nss/19341] New: statically linked multi-threaded program fails to initialize ctype info in existing threads
Date: Mon, 07 Dec 2015 18:41:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: nss
X-Bugzilla-Version: 2.21
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ian at airs dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-19341-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00021.txt.bz2
Content-length: 2770

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

            Bug ID: 19341
           Summary: statically linked multi-threaded program fails to
                    initialize ctype info in existing threads
           Product: glibc
           Version: 2.21
            Status: NEW
          Severity: normal
          Priority: P2
         Component: nss
          Assignee: unassigned at sourceware dot org
          Reporter: ian at airs dot com
  Target Milestone: ---

This glibc bug report is extracted from https://golang.org/issue/13470.

If you statically link the following C program and run it on Ubuntu Wily, which
uses glibc 2.21, it will crash.

I believe that the problem is that the ctype code relies on TLS variables
initialized by __ctype_init.  The getpwuid_r function in a statically linked
program relies on opening a supporting shared library.  The supporting shared
library can not see the ctype information in the statically linked executable,
which has no dynamic symbol table, and therefore has its own copy.  That copy
is correctly initialized by a call to __ctype_init.  However, if there are any
existing threads, the shared library copy of the TLS ctype information is never
initialized.  So, if the program manages to call getpwuid_r on a thread that
existed when the shared library was opened, it crashes.

Test case:

#include <stdio.h>
#include <ctype.h>
#include <sys/types.h>
#include <pwd.h>
#include <pthread.h>

static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;

static void *thread(void *arg) {
        struct passwd pwd;
        char buf[1024];
        struct passwd *result;
        pthread_mutex_lock(&mutex);
        getpwuid_r(0, &pwd, buf, sizeof buf, &result);
        return NULL;
}

int main() {
        pthread_t tid;
        struct passwd pwd;
        char buf[1024];
        struct passwd *result;
        void *retval;
        pthread_mutex_lock(&mutex);
        pthread_create(&tid, NULL, thread, NULL);
        getpwuid_r(0, &pwd, buf, sizeof buf, &result);
        pthread_mutex_unlock(&mutex);
        pthread_join(tid, &retval);
        return 0;
}

Contents of /etc/nsswitch.conf on the failing system:

# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd:         compat
group:          compat
shadow:         compat
gshadow:        files

hosts:          files dns
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

netgroup:       nis

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30633-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Dec 07 18:49:26 2015
Return-Path: <glibc-bugs-return-30633-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 98037 invoked by alias); 7 Dec 2015 18:49:26 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 97991 invoked by uid 48); 7 Dec 2015 18:49:23 -0000
From: "tamird at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug nss/19341] statically linked multi-threaded program fails to initialize ctype info in existing threads
Date: Mon, 07 Dec 2015 18:49:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: nss
X-Bugzilla-Version: 2.21
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tamird at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-19341-131-v6XHYmez3N@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19341-131@http.sourceware.org/bugzilla/>
References: <bug-19341-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00022.txt.bz2
Content-length: 376

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

tamird at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tamird at gmail dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30634-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Dec 07 19:26:24 2015
Return-Path: <glibc-bugs-return-30634-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 91942 invoked by alias); 7 Dec 2015 19:26:24 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 91886 invoked by uid 48); 7 Dec 2015 19:26:19 -0000
From: "carlos at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug nss/19341] statically linked multi-threaded program fails to initialize ctype info in existing threads
Date: Mon, 07 Dec 2015 19:26:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: nss
X-Bugzilla-Version: 2.21
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: carlos at redhat dot com
X-Bugzilla-Status: SUSPENDED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc
Message-ID: <bug-19341-131-akKKNIUWlZ@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19341-131@http.sourceware.org/bugzilla/>
References: <bug-19341-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00023.txt.bz2
Content-length: 3731

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

Carlos O'Donell <carlos at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |SUSPENDED
                 CC|                            |carlos at redhat dot com

--- Comment #1 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to Ian Lance Taylor from comment #0)
> This glibc bug report is extracted from https://golang.org/issue/13470.
> 
> If you statically link the following C program and run it on Ubuntu Wily,
> which uses glibc 2.21, it will crash.
> 
> I believe that the problem is that the ctype code relies on TLS variables
> initialized by __ctype_init.  The getpwuid_r function in a statically linked
> program relies on opening a supporting shared library.  The supporting
> shared library can not see the ctype information in the statically linked
> executable, which has no dynamic symbol table, and therefore has its own
> copy.  That copy is correctly initialized by a call to __ctype_init. 
> However, if there are any existing threads, the shared library copy of the
> TLS ctype information is never initialized.  So, if the program manages to
> call getpwuid_r on a thread that existed when the shared library was opened,
> it crashes.

We first noticed this at Red Hat with the docker self tests in September.
Incarnations of this bug have been around for a long time and they have been
closed by the previous community as unsupported. The current community is
committed to supporting some kind of static linking, but with caveats and good
documentation about the limits of static linking.

Your analysis is correct (I did the same debugging myself), and I've had a fix
for this internally at Red Hat for a while. You just switch the ctype
initialization to an init-at-first-use pattern, but that doesn't solve all the
problems. You get even more breakage further on from other global state
variables which are not shared. The first one is __libc_multiple_threads, which
in the dynamic shared "namespace" is zero because no threads were created in
that namespace. It causes the dynamic namespace to avoid doing any locking
because it doesn't think there are any threads active (but there are). This
leads to race conditions in malloc and lots of problems.

We've been looking at this internally at Red Hat on-and-off for the last couple
of months. There is no easy solution. You have the same problem with errno, and
all other global state variables that need to be shared between the static
"namespace" and the dynamic "namespace." In fact I've been pondering a similar
problem for the extensions to dlmopen that I'm working on which would allow
alternate namespaces to atleast operate sensibly.

Either way there is going to be quit a bit of work required to fix this and it
won't get fixed soon. We'll need some kind of collected shared global state we
can pass to the new namespace which allows the implementation to behave
sensibly.

The conclusion at Red Hat was to continue to investigate the issue upstream,
but that Docker would move to a non-static linkage, and that any statically
linked applications would be very very small and not likely to use any of the
features which trigger this problem.

I don't know if that's the answer you wanted to hear, but there it is. I'm
moving this bug to SUSPENDED until someone steps up to work on the issue. I
won't get to this for a while, but I'm happy to review patches or give
technical guidance on proposed solutions.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30635-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Dec 07 19:42:28 2015
Return-Path: <glibc-bugs-return-30635-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 73889 invoked by alias); 7 Dec 2015 19:42:28 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 73856 invoked by uid 48); 7 Dec 2015 19:42:24 -0000
From: "tobias.schottdorf at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug nss/19341] statically linked multi-threaded program fails to initialize ctype info in existing threads
Date: Mon, 07 Dec 2015 19:42:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: nss
X-Bugzilla-Version: 2.21
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tobias.schottdorf at gmail dot com
X-Bugzilla-Status: SUSPENDED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-19341-131-3ZofkD0JBY@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19341-131@http.sourceware.org/bugzilla/>
References: <bug-19341-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00024.txt.bz2
Content-length: 400

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

tobias.schottdorf at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tobias.schottdorf at gmail dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30637-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Dec 07 19:52:48 2015
Return-Path: <glibc-bugs-return-30637-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 27053 invoked by alias); 7 Dec 2015 19:52:48 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 27008 invoked by uid 48); 7 Dec 2015 19:52:44 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug dynamic-link/19341] statically linked multi-threaded program fails to initialize ctype info in existing threads
Date: Mon, 07 Dec 2015 19:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: dynamic-link
X-Bugzilla-Version: 2.21
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: SUSPENDED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: component
Message-ID: <bug-19341-131-CCz8kIuxTz@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19341-131@http.sourceware.org/bugzilla/>
References: <bug-19341-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00026.txt.bz2
Content-length: 384

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|nss                         |dynamic-link

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30636-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Dec 07 19:52:13 2015
Return-Path: <glibc-bugs-return-30636-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 26444 invoked by alias); 7 Dec 2015 19:52:12 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 26390 invoked by uid 48); 7 Dec 2015 19:52:08 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug nss/19341] statically linked multi-threaded program fails to initialize ctype info in existing threads
Date: Mon, 07 Dec 2015 19:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: nss
X-Bugzilla-Version: 2.21
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: SUSPENDED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: cc flagtypes.name
Message-ID: <bug-19341-131-GhQT8t1G4c@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19341-131@http.sourceware.org/bugzilla/>
References: <bug-19341-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00025.txt.bz2
Content-length: 456

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30638-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Dec 08 13:55:52 2015
Return-Path: <glibc-bugs-return-30638-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 70846 invoked by alias); 8 Dec 2015 13:55:52 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 65775 invoked by uid 48); 8 Dec 2015 13:55:48 -0000
From: "Michael.Baumann at vector dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19344] New: <sched.h> should support SCHED_DEADLINE
Date: Tue, 08 Dec 2015 13:55:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: Michael.Baumann at vector dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone
Message-ID: <bug-19344-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00027.txt.bz2
Content-length: 843

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

            Bug ID: 19344
           Summary: <sched.h> should support SCHED_DEADLINE
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: Michael.Baumann at vector dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

I am missing the support to use the SCHED_DEADLINE policy. 
This policy is available in the mainline Kernel since kernel version 3.14. 
To use it we need the sched_setattr() function and struct sched_attr
according to http://man7.org/linux/man-pages/man2/sched_getattr.2.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30639-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Dec 08 23:26:41 2015
Return-Path: <glibc-bugs-return-30639-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 32670 invoked by alias); 8 Dec 2015 23:26:40 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 32603 invoked by uid 48); 8 Dec 2015 23:26:36 -0000
From: "aurelien at aurel32 dot net" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19347] New: grantpt: try to force a specific gid even without pt_chown
Date: Tue, 08 Dec 2015 23:26:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: aurelien at aurel32 dot net
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone
Message-ID: <bug-19347-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00028.txt.bz2
Content-length: 1826

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

            Bug ID: 19347
           Summary: grantpt: try to force a specific gid even without
                    pt_chown
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: aurelien at aurel32 dot net
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

POSIX specifies that the grantpt() function should change the pty node to
permission mode 0620 and to a specific group, which is tty or 5 on Linux. For
that the glibc implementation try to down a chown with the correct group, but
when it is not correct it is very unlikely to be able to succeed for non-root
user. When the chown fails, the whole grantpt() function fails.

This happens for example with a misconfigured (wrt POSIX) /dev/pts filesystem
where the mount option gid=5 is not present. Unfortunately due to the strange
kernel behavior wrt multiple devpts mount, this can happen more than expected.
It can also be an admin choice to default to 0600 to not allow the tty group a
write access (default to mesg n).

When the GNU libc is built without pt_chown, the creation of the pty node, the
group and the permission mode are delegated to the kernel. The libc should just
trust that and therefore not try to change things, beyond the minimal security.
This would allow the grantpt() to work for almost every devpts configuration,
basically as long as the uid of the pty node matches the one requesting it.

A first patch is available there
https://sourceware.org/ml/libc-alpha/2015-12/msg00107.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30640-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Dec 09 14:40:25 2015
Return-Path: <glibc-bugs-return-30640-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 54694 invoked by alias); 9 Dec 2015 14:40:24 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 54612 invoked by uid 48); 9 Dec 2015 14:40:20 -0000
From: "alex_y_xu at yahoo dot ca" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug regex/19348] New: re_search is incredibly slow when processing '$' on long lines
Date: Wed, 09 Dec 2015 14:40:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: regex
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: alex_y_xu at yahoo dot ca
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone
Message-ID: <bug-19348-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00029.txt.bz2
Content-length: 1548

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

            Bug ID: 19348
           Summary: re_search is incredibly slow when processing '$' on
                    long lines
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: regex
          Assignee: unassigned at sourceware dot org
          Reporter: alex_y_xu at yahoo dot ca
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

$ echo {1..5000000} > file # adjust based on CPU speed
    $ time sed -e 's/$/stuff/' file >/dev/null # logical way to append to lines
    sed -e 's/$/stuff/' file > /dev/null  2.91s user 0.09s system 99% cpu 3.007
total
    $ time sed -e 's/.*/&stuff/' file >/dev/null
    sed -e 's/.*/&stuff/' file > /dev/null  1.62s user 0.34s system 99% cpu
1.972 total

musl via busybox sed was tested to be 2x faster in the first case than in the
second.

intuitively, this does not make sense. .* should be slower because it needs to
match the entire string whereas $ can skip to the end of the line (since sed
must already find the new line in order to run the commands).

however, glibc spends an inordinate amount of time inside of
check_halt_state_context, re_state_reconstruct, and re_string_context_at,
according to callgrind.

I am unsure whether this qualifies as a glibc bug or how to fix it, but I think
it is useful to have on the record.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30641-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Dec 09 16:43:37 2015
Return-Path: <glibc-bugs-return-30641-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 44912 invoked by alias); 9 Dec 2015 16:43:37 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 44694 invoked by uid 48); 9 Dec 2015 16:43:33 -0000
From: "alex_y_xu at yahoo dot ca" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug regex/19348] re_search matches $ much slower than .*
Date: Wed, 09 Dec 2015 16:43:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: regex
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: alex_y_xu at yahoo dot ca
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-19348-131-luFXaQM4pm@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19348-131@http.sourceware.org/bugzilla/>
References: <bug-19348-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00030.txt.bz2
Content-length: 493

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

alex_y_xu at yahoo dot ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|re_search is incredibly     |re_search matches $ much
                   |slow when processing '$' on |slower than .*
                   |long lines                  |

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30642-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Dec 09 21:06:02 2015
Return-Path: <glibc-bugs-return-30642-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 80785 invoked by alias); 9 Dec 2015 21:06:02 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 80727 invoked by uid 48); 9 Dec 2015 21:05:58 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19349] New: [ldbl-128ibm] tanhl inaccurate for small arguments
Date: Wed, 09 Dec 2015 21:06:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-19349-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00031.txt.bz2
Content-length: 973

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

            Bug ID: 19349
           Summary: [ldbl-128ibm] tanhl inaccurate for small arguments
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org
  Target Milestone: ---

The ldbl-128ibm implementation of tanhl is inaccurate for small arguments. 
E.g.:

Failure: Test: tanh (0x1p-60)
Result:
 is:          8.67361737988403547958278625222217e-19  
0x1.000000000000001000000000000p-60
 should be:   8.67361737988403547205962240695953e-19  
0x1.000000000000000000000000000p-60
 difference:  7.52316384526264005099991383822237e-37  
0x1.000000000000000000000000000p-120
 ulp       :  35184372088832.0000
 max.ulp   :  1.0000

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30643-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Dec 09 21:08:01 2015
Return-Path: <glibc-bugs-return-30643-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 83063 invoked by alias); 9 Dec 2015 21:08:00 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 82993 invoked by uid 48); 9 Dec 2015 21:07:56 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19350] New: [ldbl-128ibm] sinhl spurious overflows
Date: Wed, 09 Dec 2015 21:08:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-19350-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00032.txt.bz2
Content-length: 977

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

            Bug ID: 19350
           Summary: [ldbl-128ibm] sinhl spurious overflows
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org
  Target Milestone: ---

The ldbl-128ibm implementation of sinhl uses a slightly too small overflow
threshold (similar to bug 16407 for coshl).  E.g.:

Failure: sinh (0x2.c679d1f73f0fb624d358b213a7p+8): Exception "Overflow" set
Failure: sinh (0x2.c679d1f73f0fb624d358b213a7p+8): errno set to 34, expected 0
(unchanged)
Failure: Test: sinh (0x2.c679d1f73f0fb624d358b213a7p+8)
Result:
 is:          inf   inf
 should be:   1.79769313486231580793728971403462e+308  
0x1.fffffffffffff7fffffffffe608p+1023

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30645-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Dec 09 21:21:53 2015
Return-Path: <glibc-bugs-return-30645-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 113824 invoked by alias); 9 Dec 2015 21:21:52 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 113771 invoked by uid 48); 9 Dec 2015 21:21:48 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19349] [ldbl-128ibm] tanhl inaccurate for small arguments
Date: Wed, 09 Dec 2015 21:21:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-19349-131-jKUtOYAlA9@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19349-131@http.sourceware.org/bugzilla/>
References: <bug-19349-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00034.txt.bz2
Content-length: 567

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.23

--- Comment #2 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
Fixed for 2.23.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30644-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Dec 09 21:21:19 2015
Return-Path: <glibc-bugs-return-30644-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 112752 invoked by alias); 9 Dec 2015 21:21:18 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 112228 invoked by uid 55); 9 Dec 2015 21:21:14 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19349] [ldbl-128ibm] tanhl inaccurate for small arguments
Date: Wed, 09 Dec 2015 21:21:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19349-131-w7crTHnM7F@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19349-131@http.sourceware.org/bugzilla/>
References: <bug-19349-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00033.txt.bz2
Content-length: 1911

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

--- Comment #1 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  ca2fcac629b9b7781ccd52685b28741d89ff128f (commit)
      from  e5a5315e2d290fe34e0fb80996c713b8b802dcc9 (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=ca2fcac629b9b7781ccd52685b28741d89ff128f

commit ca2fcac629b9b7781ccd52685b28741d89ff128f
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Wed Dec 9 21:20:18 2015 +0000

    Fix ldbl-128ibm tanhl inaccuracy for small arguments (bug 19349).

    The ldbl-128ibm implementation of tanhl is inaccurate for small
    arguments, because it returns x*(1+x) (maybe in an attempt to raise
    "inexact") when x itself would be the accurate return value but
    multiplying by 1+x introduces large errors.  This patch fixes it to
    return x in that case (when the mathematical result is x plus a
    negligible remainder on the order of x^3) to avoid those errors.

    Tested for powerpc.

        [BZ #19349]
        * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
        when small.

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

Summary of changes:
 ChangeLog                             |    4 ++++
 sysdeps/ieee754/ldbl-128ibm/s_tanhl.c |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30647-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Dec 09 22:38:31 2015
Return-Path: <glibc-bugs-return-30647-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 117428 invoked by alias); 9 Dec 2015 22:38:27 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 116887 invoked by uid 55); 9 Dec 2015 22:38:19 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19350] [ldbl-128ibm] sinhl spurious overflows
Date: Wed, 09 Dec 2015 22:38:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19350-131-9LSbYkhpoy@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19350-131@http.sourceware.org/bugzilla/>
References: <bug-19350-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00036.txt.bz2
Content-length: 1797

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

--- Comment #1 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  f517e06ab71e07b24bf085063b0ba2d072da4a56 (commit)
      from  ca2fcac629b9b7781ccd52685b28741d89ff128f (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=f517e06ab71e07b24bf085063b0ba2d072da4a56

commit f517e06ab71e07b24bf085063b0ba2d072da4a56
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Wed Dec 9 22:37:08 2015 +0000

    Fix ldbl-128ibm sinhl spurious overflows (bug 19350).

    The ldbl-128ibm implementation of sinhl uses a slightly too small
    overflow threshold (similar to bug 16407 for coshl).  This patch fixes
    it to use a safe threshold (so that values whose high part is above
    the value compared with definitely result in an overflow in all
    rounding modes).

    Tested for powerpc.

        [BZ #19350]
        * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
        Increase overflow threshold.

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

Summary of changes:
 ChangeLog                             |    4 ++++
 sysdeps/ieee754/ldbl-128ibm/e_sinhl.c |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30646-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Dec 09 22:38:27 2015
Return-Path: <glibc-bugs-return-30646-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 117415 invoked by alias); 9 Dec 2015 22:38:27 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 116891 invoked by uid 55); 9 Dec 2015 22:38:19 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/16407] ldbl-128ibm coshl spurious overflows
Date: Wed, 09 Dec 2015 22:38:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.19
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-16407-131-oyldRp3bTk@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-16407-131@http.sourceware.org/bugzilla/>
References: <bug-16407-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00035.txt.bz2
Content-length: 1797

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

--- Comment #4 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  f517e06ab71e07b24bf085063b0ba2d072da4a56 (commit)
      from  ca2fcac629b9b7781ccd52685b28741d89ff128f (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=f517e06ab71e07b24bf085063b0ba2d072da4a56

commit f517e06ab71e07b24bf085063b0ba2d072da4a56
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Wed Dec 9 22:37:08 2015 +0000

    Fix ldbl-128ibm sinhl spurious overflows (bug 19350).

    The ldbl-128ibm implementation of sinhl uses a slightly too small
    overflow threshold (similar to bug 16407 for coshl).  This patch fixes
    it to use a safe threshold (so that values whose high part is above
    the value compared with definitely result in an overflow in all
    rounding modes).

    Tested for powerpc.

        [BZ #19350]
        * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
        Increase overflow threshold.

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

Summary of changes:
 ChangeLog                             |    4 ++++
 sysdeps/ieee754/ldbl-128ibm/e_sinhl.c |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30648-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Dec 09 22:39:21 2015
Return-Path: <glibc-bugs-return-30648-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 121262 invoked by alias); 9 Dec 2015 22:39:21 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 121165 invoked by uid 48); 9 Dec 2015 22:39:17 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19350] [ldbl-128ibm] sinhl spurious overflows
Date: Wed, 09 Dec 2015 22:39:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-19350-131-oRsyu6Gyqb@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19350-131@http.sourceware.org/bugzilla/>
References: <bug-19350-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00037.txt.bz2
Content-length: 567

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.23

--- Comment #2 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
Fixed for 2.23.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30649-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Dec 09 23:02:25 2015
Return-Path: <glibc-bugs-return-30649-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 21054 invoked by alias); 9 Dec 2015 23:02:25 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 20834 invoked by uid 48); 9 Dec 2015 23:02:21 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19351] New: [ldbl-128ibm] logl inaccurate near 1
Date: Wed, 09 Dec 2015 23:02:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-19351-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00038.txt.bz2
Content-length: 969

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

            Bug ID: 19351
           Summary: [ldbl-128ibm] logl inaccurate near 1
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org
  Target Milestone: ---

The ldbl-128ibm implementation of logl is inaccurate for arguments near 1. 
E.g.:

Failure: Test: log (0xf.ffffffffffff8p-4)
Result:
 is:         -1.11022302462515654042363166809082e-16 
-0x1.000000000000000000000000000p-53
 should be:  -1.11022302462515660205338988848237e-16 
-0x1.000000000000040000000000000p-53
 difference:  6.16297582203915472977912941627177e-33  
0x1.000000000000000000000000000p-107
 ulp       :  2251799813685248.0000
 max.ulp   :  1.0000

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30650-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Dec 09 23:52:13 2015
Return-Path: <glibc-bugs-return-30650-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 74675 invoked by alias); 9 Dec 2015 23:52:13 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 74321 invoked by uid 55); 9 Dec 2015 23:52:08 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19351] [ldbl-128ibm] logl inaccurate near 1
Date: Wed, 09 Dec 2015 23:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19351-131-mrZ7aKtvF2@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19351-131@http.sourceware.org/bugzilla/>
References: <bug-19351-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00039.txt.bz2
Content-length: 1952

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

--- Comment #1 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  e6a6b1c3de62f3ae3f0e5ac5bdcc49a3342f03e7 (commit)
      from  f517e06ab71e07b24bf085063b0ba2d072da4a56 (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=e6a6b1c3de62f3ae3f0e5ac5bdcc49a3342f03e7

commit e6a6b1c3de62f3ae3f0e5ac5bdcc49a3342f03e7
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Wed Dec 9 23:51:11 2015 +0000

    Fix ldbl-128ibm logl inaccuracy near 1 (bug 19351).

    The ldbl-128ibm implementation of logl is inaccurate for arguments
    near 1, because when deciding whether to bypass a series expansion for
    log(1+z), where z = x-1, it compares the square of z rather than z
    itself with an epsilon value.  This patch fixes that comparison, so
    eliminating the test failures for inaccuracy of logl in such cases.

    Tested for powerpc.

        [BZ #19351]
        * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
        expanding log(1+z), compare z rather than its square with epsilon
        to determine when to avoid evaluating the expansion.

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

Summary of changes:
 ChangeLog                            |    5 +++++
 sysdeps/ieee754/ldbl-128ibm/e_logl.c |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30651-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Dec 09 23:52:45 2015
Return-Path: <glibc-bugs-return-30651-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 75744 invoked by alias); 9 Dec 2015 23:52:45 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 75671 invoked by uid 48); 9 Dec 2015 23:52:41 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19351] [ldbl-128ibm] logl inaccurate near 1
Date: Wed, 09 Dec 2015 23:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-19351-131-jVTt30q1Ay@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19351-131@http.sourceware.org/bugzilla/>
References: <bug-19351-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00040.txt.bz2
Content-length: 567

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.23

--- Comment #2 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
Fixed for 2.23.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30652-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Dec 10 04:06:04 2015
Return-Path: <glibc-bugs-return-30652-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 111908 invoked by alias); 10 Dec 2015 04:06:04 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 111807 invoked by uid 48); 10 Dec 2015 04:06:00 -0000
From: "carlos at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/16061] Review / update transliteration data
Date: Thu, 10 Dec 2015 04:06:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: 2.18
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: carlos at redhat dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone
Message-ID: <bug-16061-131-qCjHaysKTc@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-16061-131@http.sourceware.org/bugzilla/>
References: <bug-16061-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00041.txt.bz2
Content-length: 1047

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

Carlos O'Donell <carlos at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |carlos at redhat dot com
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.23

--- Comment #7 from Carlos O'Donell <carlos at redhat dot com> ---
This fixes bug 16061.

My apologies to Mike Fabian for failing it use --author, the ChangeLog still
credits you directly for these changes.

commit dd8e8e547647bf7a3f6feb816a848a846feeaf14
Author: Carlos O'Donell <carlos@systemhalted.org>
Date:   Wed Dec 9 22:27:41 2015 -0500

    Update transliteration support to Unicode 7.0.0.

    The transliteration files are now autogenerated from upstream Unicode
    data.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30653-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Dec 10 04:11:37 2015
Return-Path: <glibc-bugs-return-30653-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 1382 invoked by alias); 10 Dec 2015 04:11:37 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 1319 invoked by uid 48); 10 Dec 2015 04:11:33 -0000
From: "carlos at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/89]=?UTF-8?Q? Locales nb_NO and nn_NO should transliterate æøå?Date: Thu, 10 Dec 2015 04:11:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: carlos at redhat dot com
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89-131-pWZoFEfIDN@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-89-131@http.sourceware.org/bugzilla/>
References: <bug-89-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00042.txt.bz2
Content-length: 632

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

Carlos O'Donell <carlos at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|DUPLICATE                   |---

--- Comment #11 from Carlos O'Donell <carlos at redhat dot com> ---
Reopening since this issue will be fixed in an upcoming commit which adjusts
the locales in question with new transliteration rules.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30654-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Dec 10 04:12:27 2015
Return-Path: <glibc-bugs-return-30654-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 2352 invoked by alias); 10 Dec 2015 04:12:27 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 2293 invoked by uid 55); 10 Dec 2015 04:12:23 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/89]=?UTF-8?Q? Locales nb_NO and nn_NO should transliterate æøå?Date: Thu, 10 Dec 2015 04:12:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89-131-Wterg1RVu3@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-89-131@http.sourceware.org/bugzilla/>
References: <bug-89-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00043.txt.bz2
Content-length: 1491

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

--- Comment #12 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  589ac5232867e36a8242c2505a45274b6c7b0f00 (commit)
      from  dd8e8e547647bf7a3f6feb816a848a846feeaf14 (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=589ac5232867e36a8242c2505a45274b6c7b0f00

commit 589ac5232867e36a8242c2505a45274b6c7b0f00
Author: Mike FABIAN <mfabian@redhat.com>
Date:   Wed Dec 9 23:08:36 2015 -0500

    Update da, nb, nn, and sv locales (Bug 89)

    Add transliteration rules for da, nb, nn, and sv locales.

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

Summary of changes:
 localedata/ChangeLog     |    5 +++++
 localedata/locales/da_DK |   21 ++++++++++++++++++---
 localedata/locales/nb_NO |   22 ++++++++++++++++++++++
 localedata/locales/sv_SE |   22 ++++++++++++++++++++++
 4 files changed, 67 insertions(+), 3 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30655-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Dec 10 04:15:51 2015
Return-Path: <glibc-bugs-return-30655-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 6807 invoked by alias); 10 Dec 2015 04:15:51 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 6753 invoked by uid 48); 10 Dec 2015 04:15:47 -0000
From: "carlos at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/89]=?UTF-8?Q? Locales nb_NO and nn_NO should transliterate æøå?Date: Thu, 10 Dec 2015 04:15:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: carlos at redhat dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-89-131-2k24DqTmip@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-89-131@http.sourceware.org/bugzilla/>
References: <bug-89-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00044.txt.bz2
Content-length: 582

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

Carlos O'Donell <carlos at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.23

--- Comment #13 from Carlos O'Donell <carlos at redhat dot com> ---
Fixed checked in for 2.23.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30656-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Dec 10 15:19:28 2015
Return-Path: <glibc-bugs-return-30656-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 972 invoked by alias); 10 Dec 2015 15:19:27 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 927 invoked by uid 48); 10 Dec 2015 15:19:23 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19347] grantpt: try to force a specific gid even without pt_chown
Date: Thu, 10 Dec 2015 15:19:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: cc flagtypes.name
Message-ID: <bug-19347-131-j3f07ynty0@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19347-131@http.sourceware.org/bugzilla/>
References: <bug-19347-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00045.txt.bz2
Content-length: 456

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30657-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Dec 10 16:51:58 2015
Return-Path: <glibc-bugs-return-30657-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 44456 invoked by alias); 10 Dec 2015 16:51:58 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 44338 invoked by uid 48); 10 Dec 2015 16:51:54 -0000
From: "carlos at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/18568] Update locale data to Unicode 8.0
Date: Thu, 10 Dec 2015 16:51:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: 2.21
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: carlos at redhat dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-18568-131-HYBOBLVigx@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-18568-131@http.sourceware.org/bugzilla/>
References: <bug-18568-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00046.txt.bz2
Content-length: 916

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

Carlos O'Donell <carlos at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.23

--- Comment #16 from Carlos O'Donell <carlos at redhat dot com> ---
This is now fixed.

commit 23256f5ed889266223380c02b2750d19e3fe666b
Author: Mike FABIAN <mfabian@redhat.com>
Date:   Thu Dec 10 00:30:51 2015 -0500

    Update to Unicode 8.0.0.

    Update __STDC_ISO_10646__ to 201505L for Unicode 8.0.0.
    Update character encoding, ctype, and transliteration tables.
    New scripts autogenerate transliteration tables.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30658-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Dec 10 19:43:59 2015
Return-Path: <glibc-bugs-return-30658-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 4061 invoked by alias); 10 Dec 2015 19:43:58 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 3815 invoked by uid 48); 10 Dec 2015 19:43:55 -0000
From: "ppluzhnikov at google dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug stdio/19165] fread overflow
Date: Thu, 10 Dec 2015 19:43:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: stdio
X-Bugzilla-Version: 2.19
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ppluzhnikov at google dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security+
X-Bugzilla-Changed-Fields: assigned_to
Message-ID: <bug-19165-131-K8ASaiulev@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19165-131@http.sourceware.org/bugzilla/>
References: <bug-19165-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00047.txt.bz2
Content-length: 418

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

Paul Pluzhnikov <ppluzhnikov at google dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|ppluzhnikov at google dot com      |unassigned at sourceware dot org

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30659-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Dec 10 19:46:03 2015
Return-Path: <glibc-bugs-return-30659-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 9051 invoked by alias); 10 Dec 2015 19:46:03 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 8974 invoked by uid 48); 10 Dec 2015 19:45:58 -0000
From: "ppluzhnikov at google dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug stdio/19165] fread overflow
Date: Thu, 10 Dec 2015 19:46:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: stdio
X-Bugzilla-Version: 2.19
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ppluzhnikov at google dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security+
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19165-131-O4B65qJD3N@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19165-131@http.sourceware.org/bugzilla/>
References: <bug-19165-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00048.txt.bz2
Content-length: 356

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

--- Comment #7 from Paul Pluzhnikov <ppluzhnikov at google dot com> ---
Some patches and discussion:
https://sourceware.org/ml/libc-alpha/2015-10/msg00894.html
https://sourceware.org/ml/libc-alpha/2015-12/msg00128.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30660-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Dec 11 11:08:16 2015
Return-Path: <glibc-bugs-return-30660-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 80401 invoked by alias); 11 Dec 2015 11:08:16 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 80336 invoked by uid 48); 11 Dec 2015 11:08:10 -0000
From: "guonic at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19356] New: unwind stack failed if stack including syscall on armv7
Date: Fri, 11 Dec 2015 11:08:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.20
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: guonic at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone
Message-ID: <bug-19356-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00049.txt.bz2
Content-length: 6222

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

            Bug ID: 19356
           Summary: unwind stack failed if stack including syscall on
                    armv7
           Product: glibc
           Version: 2.20
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: guonic at gmail dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

Scenario:
using libunwind in a signal handler to output backtrace, always failed if
backtrace including syscall function.
Wrong Backtrace:
   1 ip:0xb6443990 sp:0xbe9c38a8 /usr/lib/libc-2.20.so(syscall + 32)            
   2 ip:0xb6e9d0af sp:0xbe9c38a8 /usr/lib/libuv.so.11.0.0(uv__epoll_wait + 22)  
   3 ip:0xb6e9d2f8 sp:0xbe9c38c0 /usr/lib/libuv.so.11.0.0(__aeabi_uldivmod +
44)  

Right Backtrace:
   1 ip:0xb63d7990 sp:0xbeab48a8 /usr/lib/libc-2.20.so(syscall + 32) 
   2 ip:0xb6e310af sp:0xbeab48b8 /usr/lib/libuv.so.11.0.0(uv__epoll_wait + 22) 
   3 ip:0xb6e300a7 sp:0xbeab48d0 /usr/lib/libuv.so.11.0.0(uv__io_poll + 266)
   4 ip:0xb6e285a1 sp:0xbeab8918 /usr/lib/libuv.so.11.0.0(uv_run + 144)
   5 ip:0xb66af495 sp:0xbeab8950 /usr/lib/libbase.so.1.0.0(yunos::Looper::run()
+ 72) 
   6 ip:0xb6e8dd9b sp:0xbeab8960 /usr/lib/libnode.so(node::Start(int, char**) +
1050)
   7 ip:0xb631d6d4 sp:0xbeab8ae8 /usr/lib/libc-2.20.so(__libc_start_main + 276)
   8 ip:0x10800 sp:0xbeab8c28 /usr/bin/node(_start + 44) 

After investigate with syscall & unwind info with readelf/objdump, the root
cause is wrong unwind info provided from libc-2.20.so


Dissembled code of syscall:

000d1948 <setlogmask>:                                                          
   d1948:       e59f3010        ldr     r3, [pc, #16]   ; d1960
<setlogmask+0x18>                                     
   d194c:       e2502000        subs    r2, r0, #0                              
   d1950:       e08f3003        add     r3, pc, r3                              
   d1954:       e593000c        ldr     r0, [r3, #12]                           
   d1958:       1583200c        strne   r2, [r3, #12]                           
   d195c:       e12fff1e        bx      lr                                      
   d1960:       00078950        andeq   r8, r7, r0, asr r9                      
        ...                                                                     

000d1970 <syscall>:                                                             
   d1970:       e1a0c00d        mov     ip, sp                                  
   d1974:       e92d00f0        push    {r4, r5, r6, r7}                        
   d1978:       e1a07000        mov     r7, r0                                  
   d197c:       e1a00001        mov     r0, r1                                  
   d1980:       e1a01002        mov     r1, r2                                  
   d1984:       e1a02003        mov     r2, r3                                  
   d1988:       e89c0078        ldm     ip, {r3, r4, r5, r6}                    
   d198c:       ef000000        svc     0x00000000                              
   d1990:       e8bd00f0        pop     {r4, r5, r6, r7}     ######## PC point
here                                                             
   d1994:       e3700a01        cmn     r0, #4096       ; 0x1000                
   d1998:       312fff1e        bxcc    lr                                      
   d199c:       eafd17a3        b       17830 <__libc_start_main+0x270>    



Unwind info of syscall:
0xd1890: @0x12fe40
  Personality routine: 0x17a80

0xd1948: 0x80b0b0b0         #####  Executed unwind frame if PC was in syscall 
  Compact model index: 0
  0xb0      finish
  0xb0      finish
  0xb0      finish

0xd19a0: 0x801aabb0
  Compact model index: 0
  0x1a      vsp = vsp + 108
  0xab      pop {r4, r5, r6, r7, r14}
  0xb0      finish


Actually no syscall unwind info in .arm.exidx section, the executed unwind info
is pointed 0xd1948, it failed after frame point to uv__epoll_wait, because of
lost to 
pop four register (R4, R5, R6, R7} on syscall frame.

I have write the patch to execute unwind info when pc point to syscalll(addr:
d1990) ike this:
  0xa3      pop {r4, r5, r6, r7}
  0xb0      finish
  0xb0      finish
then get the right backtrace like gdb output.

Is there anything i can do to get the right unwind info from libc-2.20.so
without to change libunwind? 

Appreciated in advance!!!!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30661-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Dec 11 11:11:21 2015
Return-Path: <glibc-bugs-return-30661-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 98986 invoked by alias); 11 Dec 2015 11:11:20 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 98390 invoked by uid 48); 11 Dec 2015 11:11:16 -0000
From: "guonic at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19356] unwind stack failed if stack including syscall on armv7
Date: Fri, 11 Dec 2015 11:11:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.20
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: guonic at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-19356-131-yr9wo0W5NJ@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19356-131@http.sourceware.org/bugzilla/>
References: <bug-19356-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00050.txt.bz2
Content-length: 385

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

Guonic <guonic at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |guonic at gmail dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30662-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Dec 11 11:27:07 2015
Return-Path: <glibc-bugs-return-30662-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 26148 invoked by alias); 11 Dec 2015 11:27:07 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 26092 invoked by uid 48); 11 Dec 2015 11:27:03 -0000
From: "guonic at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19356] unwind stack failed if stack including syscall on armv7
Date: Fri, 11 Dec 2015 11:27:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.20
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: guonic at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_gcctarget cf_gcchost
Message-ID: <bug-19356-131-4YYk1OrRvs@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19356-131@http.sourceware.org/bugzilla/>
References: <bug-19356-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00051.txt.bz2
Content-length: 434

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

Guonic <guonic at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |arm-linux-gnueabi
               Host|                            |linux

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30663-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Dec 11 12:46:32 2015
Return-Path: <glibc-bugs-return-30663-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 103586 invoked by alias); 11 Dec 2015 12:46:31 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 103511 invoked by uid 55); 11 Dec 2015 12:46:27 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/18491] Update tr_TR LC_CTYPE as part of Unicode updates
Date: Fri, 11 Dec 2015 12:46:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: 2.21
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-18491-131-PhElRubEKO@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-18491-131@http.sourceware.org/bugzilla/>
References: <bug-18491-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00052.txt.bz2
Content-length: 2383

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

--- Comment #2 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  85bafe6f3d0e4647af5e74178b46abdf44d3b981 (commit)
      from  77356912e83601fd0240d22fe4d960348b82b5c3 (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=85bafe6f3d0e4647af5e74178b46abdf44d3b981

commit 85bafe6f3d0e4647af5e74178b46abdf44d3b981
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Fri Dec 11 12:45:19 2015 +0000

    Automate LC_CTYPE generation for tr_TR, update to Unicode 8.0.0 (bug
18491).

    This patch makes the automation of Unicode LC_CTYPE generation also
    support generating the modified LC_CTYPE used for Turkish (where case
    conversions of 'i' and 'I' differ from ASCII conventions), so allowing
    that to be more readily kept in sync for future Unicode updates.  The
    patch includes the locale update generated by the scripts.

    Tested for x86_64.

        [BZ #18491]
        * unicode-gen/unicode_utils.py (to_upper_turkish): New function.
        (to_lower_turkish): Likewise.
        * unicode-gen/gen_unicode_ctype.py (output_tables): Support
        producing output with Turkish case conversions.
        (--turkish): New command-line option.
        * unicode-gen/Makefile (GENERATED): Add tr_TR.
        (tr_TR): New rule.
        * locales/tr_TR: Regenerate LC_CTYPE.

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

Summary of changes:
 localedata/ChangeLog                        |   12 +
 localedata/locales/tr_TR                    | 2816 +++++++++++++++++----------
 localedata/unicode-gen/Makefile             |   10 +-
 localedata/unicode-gen/gen_unicode_ctype.py |   18 +-
 localedata/unicode-gen/unicode_utils.py     |   14 +
 5 files changed, 1838 insertions(+), 1032 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30665-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Dec 11 12:49:33 2015
Return-Path: <glibc-bugs-return-30665-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 120442 invoked by alias); 11 Dec 2015 12:49:29 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 120362 invoked by uid 48); 11 Dec 2015 12:49:24 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/18491] Update tr_TR LC_CTYPE as part of Unicode updates
Date: Fri, 11 Dec 2015 12:49:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: 2.21
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-18491-131-JccPaRtKgr@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-18491-131@http.sourceware.org/bugzilla/>
References: <bug-18491-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00054.txt.bz2
Content-length: 567

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.23

--- Comment #3 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
Fixed for 2.23.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30664-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Dec 11 12:49:14 2015
Return-Path: <glibc-bugs-return-30664-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 119252 invoked by alias); 11 Dec 2015 12:49:14 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 119167 invoked by uid 55); 11 Dec 2015 12:49:10 -0000
From: "joseph at codesourcery dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19356] unwind stack failed if stack including syscall on armv7
Date: Fri, 11 Dec 2015 12:49:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.20
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: joseph at codesourcery dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19356-131-u7CRNSCV12@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19356-131@http.sourceware.org/bugzilla/>
References: <bug-19356-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00053.txt.bz2
Content-length: 553

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

--- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
If one function has unwind info that relates to another function (as 
opposed to EXIDX_CANTUNWIND for a function with no unwind info), that's a 
bug in the static linker ld that was used to link glibc, not a bug in 
glibc.  ld is meant to insert EXIDX_CANTUNWIND automatically for address 
ranges without unwind info.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30666-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Dec 11 23:42:54 2015
Return-Path: <glibc-bugs-return-30666-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 18615 invoked by alias); 11 Dec 2015 23:42:52 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 18567 invoked by uid 48); 11 Dec 2015 23:42:48 -0000
From: "jurobystricky at hotmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug nptl/19192] __old_sem_wait never terminates
Date: Fri, 11 Dec 2015 23:42:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: nptl
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jurobystricky at hotmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19192-131-mlkkwj3X6c@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19192-131@http.sourceware.org/bugzilla/>
References: <bug-19192-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00055.txt.bz2
Content-length: 677

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

--- Comment #3 from Juro Bystricky <jurobystricky at hotmail dot com> ---

We have two sets of routines:
old_sem_init/old_sem_wait
new_sem_init/new_sem_wait

If we use matched pairs, there are no problems.

But there is only one routine sem_open. This one uses the semaphore 
structure new_sem. So if we create a semaphore using sem_open, we must 
use new_sem_wait. That is not guaranteed and as a matter of fact this is
the cause of the problem I have.
So I think there should be two routines: new_sem_open and old_sem_open as well.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30667-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sat Dec 12 10:00:30 2015
Return-Path: <glibc-bugs-return-30667-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 67668 invoked by alias); 12 Dec 2015 10:00:29 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 67598 invoked by uid 48); 12 Dec 2015 10:00:24 -0000
From: "aurelien at aurel32 dot net" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19347] grantpt: try to force a specific gid even without pt_chown
Date: Sat, 12 Dec 2015 10:00:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: aurelien at aurel32 dot net
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-19347-131-WQ0NtUs4Gf@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19347-131@http.sourceware.org/bugzilla/>
References: <bug-19347-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00056.txt.bz2
Content-length: 5873

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

Aurelien Jarno <aurelien at aurel32 dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Aurelien Jarno <aurelien at aurel32 dot net> ---
Fixed in master:

commit 77356912e83601fd0240d22fe4d960348b82b5c3
Author: Aurelien Jarno <aurelien@aurel32.net>
Date:   Thu Dec 10 22:33:10 2015 +0100

    grantpt: trust the kernel about pty group and permission mode

    According to POSIX the grantpt() function does the following:

      The grantpt() function shall change the mode and ownership of the
      slave pseudo-terminal device associated with its master
      pseudo-terminal counterpart. The fildes argument is a file descriptor
      that refers to a master pseudo-terminal device. The user ID of the
      slave shall be set to the real UID of the calling process and the
      group ID shall be set to an unspecified group ID. The permission
      mode of the slave pseudo-terminal shall be set to readable and
      writable by the owner, and writable by the group.

    Historically the GNU libc has been responsible to setup the permission
    mode to 0620 and the group to 'tty' usually number 5, using the pt_chown
    helper, badly known for its security issues. With the creation of the
    devpts filesytem in the Linux kernel, this responsibility has been moved
    to the Linux kernel. The system is responsible to mount the devpts
    filesystem in /dev/pts with the options gid=5 and mode=0620. In that
    case the GNU libc has nothing to do and pt_chown is not need anymore. So
    far so good.

    The problem is that by default the devpts filesystem is shared between
    all mounts, and that contrary to other filesystem, the mount options are
    honored at the second mount, including for the default mount options.
    Given it corresponds to mode=0600 without gid parameter (that is the
    filesystem GID of the creating process), it's common to see systems
    where the devpts filesystem is mounted using these options. It is enough
    to run a "mount -t devpts devpts /mychroot/dev/pts" to come into this
    situation, and it's unfortunately wrongly used in a lot of scripts
    dealing with chroots, or for creating virtual machines images.

    When this happens the GNU libc tries to fix the group and permission
    mode of the pty nodes, and given it fails to do so for non-root users,
    grantpt() almost always fail. It means users are not able to open new
    terminals.

    This patch changes grantpt() to not enforce this anymore, while still
    enforcing minimum security measures to the permission mode. Therefore
    the responsibility to follow POSIX is now shared at the system level,
    i.e. kernel + system scripts + GNU libc. It stops trying to change the
    group, and makes the pty node readable and writable by the owner, and
    writable by the group only when originally writable and when the group
    is the tty one.

    As a result, on a system wrongly mounted with gid=0 and mode=0600, the
    pty nodes won't be accessible by the tty group, but the grantpt()
    function will succeed and users will have a working system. The system
    is not fully POSIX compliant (which might be an admin choice to default
    to "mesg n" mode), but the GNU libc is not to blame here, as without the
    pt_chown helper it can't do anything.

    With this patch there should not be any reason left to build the GNU
    libc with the --enable-pt_chown configure option on a GNU/Linux system.

diff --git a/ChangeLog b/ChangeLog
index 81e5791..80f4635 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
+           Jakub Wilk  <jwilk@debian.org>
+
+       [BZ #19347]
+       * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
+       to change the group of the device to the tty group.
+
 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>

        Split large string section; add truncation advice
diff --git a/sysdeps/unix/grantpt.c b/sysdeps/unix/grantpt.c
index f019b9d..ad5996d 100644
--- a/sysdeps/unix/grantpt.c
+++ b/sysdeps/unix/grantpt.c
@@ -155,6 +155,7 @@ grantpt (int fd)
     }
   gid_t gid = tty_gid == -1 ? __getgid () : tty_gid;

+#if HAVE_PT_CHOWN
   /* Make sure the group of the device is that special group.  */
   if (st.st_gid != gid)
     {
@@ -164,9 +165,26 @@ grantpt (int fd)

   /* Make sure the permission mode is set to readable and writable by
      the owner, and writable by the group.  */
-  if ((st.st_mode & ACCESSPERMS) != (S_IRUSR|S_IWUSR|S_IWGRP))
+  mode_t mode = S_IRUSR|S_IWUSR|S_IWGRP;
+#else
+  /* When built without pt_chown, we have delegated the creation of the
+     pty node with the right group and permission mode to the kernel, and
+     non-root users are unlikely to be able to change it. Therefore let's
+     consider that POSIX enforcement is the responsibility of the whole
+     system and not only the GNU libc. Thus accept different group or
+     permission mode.  */
+
+  /* Make sure the permission is set to readable and writable by the
+     owner.  For security reasons, make it writable by the group only
+     when originally writable and when the group of the device is that
+     special group.  */
+  mode_t mode = S_IRUSR|S_IWUSR|
+               ((st.st_gid == gid) ? (st.st_mode & S_IWGRP) : 0);
+#endif
+
+  if ((st.st_mode & ACCESSPERMS) != mode)
     {
-      if (__chmod (buf, S_IRUSR|S_IWUSR|S_IWGRP) < 0)
+      if (__chmod (buf, mode) < 0)
        goto helper;
     }

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30668-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sat Dec 12 23:15:38 2015
Return-Path: <glibc-bugs-return-30668-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 111806 invoked by alias); 12 Dec 2015 23:15:38 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 111781 invoked by uid 48); 12 Dec 2015 23:15:34 -0000
From: "guonic at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19356] unwind stack failed if stack including syscall on armv7
Date: Sat, 12 Dec 2015 23:15:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.20
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: guonic at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19356-131-yGWl75VwAI@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19356-131@http.sourceware.org/bugzilla/>
References: <bug-19356-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00057.txt.bz2
Content-length: 931

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

--- Comment #2 from Guonic <guonic at gmail dot com> ---
(In reply to joseph@codesourcery.com from comment #1)
> If one function has unwind info that relates to another function (as 
> opposed to EXIDX_CANTUNWIND for a function with no unwind info), that's a 
> bug in the static linker ld that was used to link glibc, not a bug in 
> glibc.  ld is meant to insert EXIDX_CANTUNWIND automatically for address 
> ranges without unwind info.

hi joseph,
thanks for your feedback, i think the unwind function for syscall(range
000d1970 - d199c) should be like
0xd1970: 0x80a3b0b0
  Compact model index: 0
  0xa3      pop {r4, r5, r6, r7}
  0xb0      finish
  0xb0      finish
, which can keep the register of SP is same, after unwind from syscall.

Did you mean this is the bug for ld?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30670-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Dec 14 22:53:36 2015
Return-Path: <glibc-bugs-return-30670-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 11247 invoked by alias); 14 Dec 2015 22:53:36 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 11069 invoked by uid 48); 14 Dec 2015 22:53:32 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/18472] Obsolete syscall wrappers should be compat symbols
Date: Mon, 14 Dec 2015 22:53:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.21
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-18472-131-aBamp9JCMi@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-18472-131@http.sourceware.org/bugzilla/>
References: <bug-18472-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00059.txt.bz2
Content-length: 567

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.23

--- Comment #2 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
Fixed for 2.23.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30669-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Dec 14 22:53:19 2015
Return-Path: <glibc-bugs-return-30669-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 10702 invoked by alias); 14 Dec 2015 22:53:18 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 10656 invoked by uid 55); 14 Dec 2015 22:53:13 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/18472] Obsolete syscall wrappers should be compat symbols
Date: Mon, 14 Dec 2015 22:53:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.21
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-18472-131-AWuG87NF5Z@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-18472-131@http.sourceware.org/bugzilla/>
References: <bug-18472-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00058.txt.bz2
Content-length: 3953

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

--- Comment #1 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  eed3e1eb79bcfa9b52609fd875fa2d522e2d6bce (commit)
      from  5db0877750f1e2a1983e1f5e43bd0cc68058f684 (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=eed3e1eb79bcfa9b52609fd875fa2d522e2d6bce

commit eed3e1eb79bcfa9b52609fd875fa2d522e2d6bce
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Mon Dec 14 22:52:15 2015 +0000

    Make obsolete syscall wrappers into compat symbols (bug 18472).

    Various Linux kernel syscalls have become obsolete over time.
    Specifically, the following are obsolete in all kernel versions
    supported by glibc, are not present for architectures more recently
    added to the kernel, and as such, the wrapper functions for them
    should be compat symbols, not in static libc and not available for new
    links with shared libc.

    * bdflush: in Linux 2.6, does nothing if present.

    * create_module get_kernel_syms query_module: Linux 2.4 module
      interface, syscalls not present in Linux 2.6.

    * uselib: part of the mechanism for loading a.out shared libraries,
      irrelevant with ELF.

    This patch adds support for syscalls.list to list syscall aliases of
    the form NAME@VERSION:OBSOLETED, with SHLIB_COMPAT conditionals being
    generated for such aliases.  Those five syscalls are then made into
    compat symbols (obsoleted in glibc 2.23, so future ports won't have
    these symbols at all), with the header <sys/kdaemon.h> declaring
    bdflush being removed.  When we move to 3.2 as minimum kernel version,
    the same can be done for nfsservctl (removed in Linux 3.1) as well.

    Tested for x86_64 and x86 (testsuite, as well as checking that the
    symbols in question indeed become compat symbols, that they are indeed
    omitted from static libc, and that the generated SHLIB_COMPAT
    conditionals look right).

        [BZ #18472]
        * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
        for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
        conditionals for them.
        * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
        * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
        * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
        sys/kdaemon.h.
        * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
        compat-only syscall, obsoleted in glibc 2.23.
        (create_module): Likewise.
        (get_kernel_syms): Likewise.
        (query_module): Likewise.
        (uselib): Likewise.
        * manual/sysinfo.texi (System Parameters): Do not mention bdflush.

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

Summary of changes:
 ChangeLog                             |   18 ++++++++++++++++++
 NEWS                                  |    7 +++++++
 manual/sysinfo.texi                   |    2 --
 sysdeps/unix/Makefile                 |   14 +++++++++++++-
 sysdeps/unix/make-syscalls.sh         |   21 ++++++++++++++-------
 sysdeps/unix/sysv/linux/Makefile      |    2 +-
 sysdeps/unix/sysv/linux/sys/kdaemon.h |   32 --------------------------------
 sysdeps/unix/sysv/linux/syscalls.list |   10 +++++-----
 8 files changed, 58 insertions(+), 48 deletions(-)
 delete mode 100644 sysdeps/unix/sysv/linux/sys/kdaemon.h

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30671-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Dec 14 23:12:34 2015
Return-Path: <glibc-bugs-return-30671-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 72659 invoked by alias); 14 Dec 2015 23:12:32 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 72609 invoked by uid 48); 14 Dec 2015 23:12:28 -0000
From: "vapier at gentoo dot org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug time/19363] New: x32: times() return value wrongly truncates/sign extends from 32bit
Date: Mon, 14 Dec 2015 23:12:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: time
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vapier at gentoo dot org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone cf_gcchost
Message-ID: <bug-19363-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00060.txt.bz2
Content-length: 1284

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

            Bug ID: 19363
           Summary: x32: times() return value wrongly truncates/sign
                    extends from 32bit
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: time
          Assignee: unassigned at sourceware dot org
          Reporter: vapier at gentoo dot org
                CC: hjl.tools at gmail dot com
  Target Milestone: ---
              Host: x86_64-linux-gnux32

simple test code:
$ cat times.c
#include <errno.h>
#include <sched.h>
#include <stdio.h>
#include <time.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/syscall.h>
#include <sys/times.h>
#include <sys/wait.h>

main() {
        struct tms tbuf;
        clock_t res = times(&tbuf);
        printf("%llu %llx: %m\n", res, res);
}
$ gcc -mx32 times.c && ./a.out
18446744071615284719 ffffffff832c05ef: Success

times is supposed to return a 64bit value, but the definition on x32 breaks
that.  it's because sysdeps/unix/sysv/linux/times.c utilizes INTERNAL_SYSCALL
and those macros on x32 use "long int" everywhere (which is 32bit on x32).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30672-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Dec 15 00:32:34 2015
Return-Path: <glibc-bugs-return-30672-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 75939 invoked by alias); 15 Dec 2015 00:32:33 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 75882 invoked by uid 48); 15 Dec 2015 00:32:30 -0000
From: "hjl.tools at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug time/19363] x32: times() return value wrongly truncates/sign extends from 32bit
Date: Tue, 15 Dec 2015 00:32:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: time
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: hjl.tools at gmail dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: assigned_to attachments.created
Message-ID: <bug-19363-131-JkiLiEUVmw@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19363-131@http.sourceware.org/bugzilla/>
References: <bug-19363-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00061.txt.bz2
Content-length: 615

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at sourceware dot org   |hjl.tools at gmail dot com

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
Created attachment 8847
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8847&action=edit
A patch

I am testing this.  Please give it a try.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30673-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Dec 15 02:26:17 2015
Return-Path: <glibc-bugs-return-30673-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 4694 invoked by alias); 15 Dec 2015 02:26:16 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 4659 invoked by uid 48); 15 Dec 2015 02:26:13 -0000
From: "guonic at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19356] unwind stack failed if stack including syscall on armv7
Date: Tue, 15 Dec 2015 02:26:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.20
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: guonic at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: component product
Message-ID: <bug-19356-131-ht8wwrtROk@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19356-131@http.sourceware.org/bugzilla/>
References: <bug-19356-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00062.txt.bz2
Content-length: 421

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

Guonic <guonic at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|ld                          |libc
            Product|binutils                    |glibc

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30674-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Dec 15 03:25:21 2015
Return-Path: <glibc-bugs-return-30674-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 34107 invoked by alias); 15 Dec 2015 03:25:20 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 34059 invoked by uid 55); 15 Dec 2015 03:25:15 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug time/19363] x32: times() return value wrongly truncates/sign extends from 32bit
Date: Tue, 15 Dec 2015 03:25:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: time
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: hjl.tools at gmail dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19363-131-qkLEwjmPGd@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19363-131@http.sourceware.org/bugzilla/>
References: <bug-19363-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00063.txt.bz2
Content-length: 3215

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

--- Comment #2 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/pr19363 has been created
        at  4e2c5f4da35c9c737795092670575d5e89aa563d (commit)

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

commit 4e2c5f4da35c9c737795092670575d5e89aa563d
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Dec 14 19:09:13 2015 -0800

    Use INTERNAL_SYSCALL_TIMES for Linux times

    The Linux times function, which returns clock_t, is implemented with
    INTERNAL_SYSCALL.  Since INTERNAL_SYSCALL returns 32-bit integer and
    and clock_t is 64-bit on x32, there is mismatch on x32.  times is the
    only such function since there is lseek.S for x32.  This patch replaces
    INTERNAL_SYSCALL in Linux times.c with INTERNAL_SYSCALL_TIMES which is
    default to INTERNAL_SYSCALL and provides x32 times.c with proper
    INTERNAL_SYSCALL_TIMES.

    There is no code change on times for i686 nor x86-64.  For x32, before
    this patch, there are

    0000000 <__times>:
       0:       b8 64 00 00 40          mov    $0x40000064,%eax
       5:       0f 05                   syscall
       7:       48 63 d0                movslq %eax,%rdx
                                    ^^^^^^^^^^ Incorrect signed extension
       a:       48 83 fa f2             cmp    $0xfffffffffffffff2,%rdx
       e:       75 07                   jne    17 <__times+0x17>
      10:       3d 00 f0 ff ff          cmp    $0xfffff000,%eax
      15:       77 11                   ja     28 <__times+0x28>
      17:       48 83 fa ff             cmp    $0xffffffffffffffff,%rdx
      1b:       b8 00 00 00 00          mov    $0x0,%eax
      20:       48 0f 45 c2             cmovne %rdx,%rax
      24:       c3                      retq

    After this patch, there are

    00000000 <__times>:
       0:       b8 64 00 00 40          mov    $0x40000064,%eax
       5:       0f 05                   syscall
       7:       48 83 f8 f2             cmp    $0xfffffffffffffff2,%rax
       b:       75 07                   jne    14 <__times+0x14>
       d:       3d 00 f0 ff ff          cmp    $0xfffff000,%eax
      12:       77 14                   ja     28 <__times+0x28>
      14:       48 83 f8 ff             cmp    $0xffffffffffffffff,%rax
      18:       ba 00 00 00 00          mov    $0x0,%edx
      1d:       48 0f 44 c2             cmove  %rdx,%rax
      21:       c3                      retq

    The incorrect signed extension is gone.

        [BZ #19363]
        * sysdeps/unix/sysv/linux/times.c (INTERNAL_SYSCALL_TIMES): New.
        (__times): Replace INTERNAL_SYSCALL with INTERNAL_SYSCALL_TIMES.
        * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30675-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Dec 15 03:29:22 2015
Return-Path: <glibc-bugs-return-30675-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 39932 invoked by alias); 15 Dec 2015 03:29:19 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 39864 invoked by uid 48); 15 Dec 2015 03:29:11 -0000
From: "hjl.tools at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug time/19363] x32: times() return value wrongly truncates/sign extends from 32bit
Date: Tue, 15 Dec 2015 03:29:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: time
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: hjl.tools at gmail dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19363-131-gVztVe0E92@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19363-131@http.sourceware.org/bugzilla/>
References: <bug-19363-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00064.txt.bz2
Content-length: 279

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

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
A patch is posted at

https://sourceware.org/ml/libc-alpha/2015-12/msg00302.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30676-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Dec 15 03:29:37 2015
Return-Path: <glibc-bugs-return-30676-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 40240 invoked by alias); 15 Dec 2015 03:29:37 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 40210 invoked by uid 48); 15 Dec 2015 03:29:33 -0000
From: "hjl.tools at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug time/19363] x32: times() return value wrongly truncates/sign extends from 32bit
Date: Tue, 15 Dec 2015 03:29:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: time
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: hjl.tools at gmail dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.isobsolete
Message-ID: <bug-19363-131-5iAopHPsDy@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19363-131@http.sourceware.org/bugzilla/>
References: <bug-19363-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00065.txt.bz2
Content-length: 417

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #8847|0                           |1
        is obsolete|                            |

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30677-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Dec 15 03:30:04 2015
Return-Path: <glibc-bugs-return-30677-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 40818 invoked by alias); 15 Dec 2015 03:30:04 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 40662 invoked by uid 48); 15 Dec 2015 03:29:58 -0000
From: "hjl.tools at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug time/19363] x32: times() return value wrongly truncates/sign extends from 32bit
Date: Tue, 15 Dec 2015 03:30:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: time
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: hjl.tools at gmail dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: version
Message-ID: <bug-19363-131-dAbqmVG8H9@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19363-131@http.sourceware.org/bugzilla/>
References: <bug-19363-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00066.txt.bz2
Content-length: 370

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unspecified                 |2.23

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30678-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Dec 15 03:32:19 2015
Return-Path: <glibc-bugs-return-30678-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 42865 invoked by alias); 15 Dec 2015 03:32:19 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 42787 invoked by uid 55); 15 Dec 2015 03:32:11 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug time/19363] x32: times() return value wrongly truncates/sign extends from 32bit
Date: Tue, 15 Dec 2015 03:32:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: time
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: hjl.tools at gmail dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19363-131-xQGplGYFrm@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19363-131@http.sourceware.org/bugzilla/>
References: <bug-19363-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00067.txt.bz2
Content-length: 3216

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

--- Comment #4 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/pr19363 has been created
        at  dd66060507f86934da9eb610b384c251ebd1168f (commit)

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

commit dd66060507f86934da9eb610b384c251ebd1168f
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Dec 14 19:09:13 2015 -0800

    Use INTERNAL_SYSCALL_TIMES for Linux times

    The Linux times function, which returns clock_t, is implemented with
    INTERNAL_SYSCALL.  Since INTERNAL_SYSCALL returns 32-bit integer and
    and clock_t is 64-bit on x32, this is a mismatch on x32.  times is the
    only such function since there is lseek.S for x32.  This patch replaces
    INTERNAL_SYSCALL in Linux times.c with INTERNAL_SYSCALL_TIMES which is
    default to INTERNAL_SYSCALL and provides x32 times.c with proper
    INTERNAL_SYSCALL_TIMES.

    There is no code change on times for i686 nor x86-64.  For x32, before
    this patch, there are

    0000000 <__times>:
       0:       b8 64 00 00 40          mov    $0x40000064,%eax
       5:       0f 05                   syscall
       7:       48 63 d0                movslq %eax,%rdx
                                    ^^^^^^^^^^ Incorrect signed extension
       a:       48 83 fa f2             cmp    $0xfffffffffffffff2,%rdx
       e:       75 07                   jne    17 <__times+0x17>
      10:       3d 00 f0 ff ff          cmp    $0xfffff000,%eax
      15:       77 11                   ja     28 <__times+0x28>
      17:       48 83 fa ff             cmp    $0xffffffffffffffff,%rdx
      1b:       b8 00 00 00 00          mov    $0x0,%eax
      20:       48 0f 45 c2             cmovne %rdx,%rax
      24:       c3                      retq

    After this patch, there are

    00000000 <__times>:
       0:       b8 64 00 00 40          mov    $0x40000064,%eax
       5:       0f 05                   syscall
       7:       48 83 f8 f2             cmp    $0xfffffffffffffff2,%rax
       b:       75 07                   jne    14 <__times+0x14>
       d:       3d 00 f0 ff ff          cmp    $0xfffff000,%eax
      12:       77 14                   ja     28 <__times+0x28>
      14:       48 83 f8 ff             cmp    $0xffffffffffffffff,%rax
      18:       ba 00 00 00 00          mov    $0x0,%edx
      1d:       48 0f 44 c2             cmove  %rdx,%rax
      21:       c3                      retq

    The incorrect signed extension is gone.

        [BZ #19363]
        * sysdeps/unix/sysv/linux/times.c (INTERNAL_SYSCALL_TIMES): New.
        (__times): Replace INTERNAL_SYSCALL with INTERNAL_SYSCALL_TIMES.
        * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30679-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Dec 15 04:36:57 2015
Return-Path: <glibc-bugs-return-30679-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 23204 invoked by alias); 15 Dec 2015 04:36:57 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 23151 invoked by uid 55); 15 Dec 2015 04:36:52 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug time/19363] x32: times() return value wrongly truncates/sign extends from 32bit
Date: Tue, 15 Dec 2015 04:36:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: time
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: hjl.tools at gmail dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19363-131-zvjs8tW4Je@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19363-131@http.sourceware.org/bugzilla/>
References: <bug-19363-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00068.txt.bz2
Content-length: 3722

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

--- 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/pr19363 has been created
        at  bed04d2261bded5888f96a618ed770a4de6dc69a (commit)

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

commit bed04d2261bded5888f96a618ed770a4de6dc69a
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Dec 14 20:35:51 2015 -0800

    Use REGISTERS_CLOBBERED_BY_SYSCALL

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

commit d4f465df65a5723ede4cf933afee5582312fc603
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Dec 14 20:35:40 2015 -0800

    Add REGISTERS_CLOBBERED_BY_SYSCALL

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

commit 8a4f1e5889edc41f97c861af81d0f0354d0bc75a
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Dec 14 19:09:13 2015 -0800

    Use INTERNAL_SYSCALL_TIMES for Linux times

    The Linux times function, which returns clock_t, is implemented with
    INTERNAL_SYSCALL.  Since INTERNAL_SYSCALL returns 32-bit integer and
    and clock_t is 64-bit on x32, this is a mismatch on x32.  times is the
    only such function.  This patch replaces INTERNAL_SYSCALL in Linux
    times.c with INTERNAL_SYSCALL_TIMES which is default to INTERNAL_SYSCALL
    and provides x32 times.c with proper INTERNAL_SYSCALL_TIMES.

    There is no code change on times for i686 nor x86-64.  For x32, before
    this patch, there are

    0000000 <__times>:
       0:       b8 64 00 00 40          mov    $0x40000064,%eax
       5:       0f 05                   syscall
       7:       48 63 d0                movslq %eax,%rdx
                                    ^^^^^^^^^^ Incorrect signed extension
       a:       48 83 fa f2             cmp    $0xfffffffffffffff2,%rdx
       e:       75 07                   jne    17 <__times+0x17>
      10:       3d 00 f0 ff ff          cmp    $0xfffff000,%eax
      15:       77 11                   ja     28 <__times+0x28>
      17:       48 83 fa ff             cmp    $0xffffffffffffffff,%rdx
      1b:       b8 00 00 00 00          mov    $0x0,%eax
      20:       48 0f 45 c2             cmovne %rdx,%rax
      24:       c3                      retq

    After this patch, there are

    00000000 <__times>:
       0:       b8 64 00 00 40          mov    $0x40000064,%eax
       5:       0f 05                   syscall
       7:       48 83 f8 f2             cmp    $0xfffffffffffffff2,%rax
       b:       75 07                   jne    14 <__times+0x14>
       d:       3d 00 f0 ff ff          cmp    $0xfffff000,%eax
      12:       77 14                   ja     28 <__times+0x28>
      14:       48 83 f8 ff             cmp    $0xffffffffffffffff,%rax
      18:       ba 00 00 00 00          mov    $0x0,%edx
      1d:       48 0f 44 c2             cmove  %rdx,%rax
      21:       c3                      retq

    The incorrect signed extension is gone.

        [BZ #19363]
        * sysdeps/unix/sysv/linux/times.c (INTERNAL_SYSCALL_TIMES): New.
        (__times): Replace INTERNAL_SYSCALL with INTERNAL_SYSCALL_TIMES.
        * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.

    xxx

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30680-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Dec 15 10:56:43 2015
Return-Path: <glibc-bugs-return-30680-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 52231 invoked by alias); 15 Dec 2015 10:56:42 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 52155 invoked by uid 48); 15 Dec 2015 10:56:38 -0000
From: "aph at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug dynamic-link/11787] Program with large TLS segments fail.
Date: Tue, 15 Dec 2015 10:56:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: dynamic-link
X-Bugzilla-Version: 2.12
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: aph at redhat dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: carlos at redhat dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: review+ security-
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-11787-131-UKh0E6kuNC@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-11787-131@http.sourceware.org/bugzilla/>
References: <bug-11787-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00069.txt.bz2
Content-length: 372

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

aph at redhat dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aph at redhat dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30681-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Dec 15 12:41:26 2015
Return-Path: <glibc-bugs-return-30681-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 36485 invoked by alias); 15 Dec 2015 12:41:26 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 36005 invoked by uid 55); 15 Dec 2015 12:41:22 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug locale/17197] Redundant shift character in iconv conversion output at block boundary
Date: Tue, 15 Dec 2015 12:41:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: locale
X-Bugzilla-Version: 2.18
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-17197-131-LNUUmefw3h@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-17197-131@http.sourceware.org/bugzilla/>
References: <bug-17197-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00070.txt.bz2
Content-length: 1638

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

--- Comment #3 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  42d6443faf5e8b5c70474923bfcc021b77ee0095 (commit)
      from  04ae79a363e2a85096c4dbdf6d5469d3a19a6907 (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=42d6443faf5e8b5c70474923bfcc021b77ee0095

commit 42d6443faf5e8b5c70474923bfcc021b77ee0095
Author: Andreas Schwab <schwab@suse.de>
Date:   Thu Jul 24 17:32:56 2014 +0200

    Don't emit invalid extra shift character at block boundary by iconv (bug
17197)

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

Summary of changes:
 ChangeLog               |   13 ++++++
 iconvdata/Makefile      |    5 ++-
 iconvdata/bug-iconv10.c |   94 +++++++++++++++++++++++++++++++++++++++++++++++
 iconvdata/ibm930.c      |    2 +-
 iconvdata/ibm933.c      |    2 +-
 iconvdata/ibm935.c      |    2 +-
 iconvdata/ibm937.c      |    2 +-
 iconvdata/ibm939.c      |    2 +-
 8 files changed, 116 insertions(+), 6 deletions(-)
 create mode 100644 iconvdata/bug-iconv10.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30682-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Dec 15 13:11:24 2015
Return-Path: <glibc-bugs-return-30682-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 9536 invoked by alias); 15 Dec 2015 13:11:24 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 9455 invoked by uid 48); 15 Dec 2015 13:11:17 -0000
From: "schwab@linux-m68k.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug locale/17197] Redundant shift character in iconv conversion output at block boundary
Date: Tue, 15 Dec 2015 13:11:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: locale
X-Bugzilla-Version: 2.18
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: schwab@linux-m68k.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-17197-131-dHyhjtyaE6@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-17197-131@http.sourceware.org/bugzilla/>
References: <bug-17197-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00071.txt.bz2
Content-length: 563

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

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.23

--- Comment #4 from Andreas Schwab <schwab@linux-m68k.org> ---
Fixed in 2.23

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30683-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Dec 15 13:49:13 2015
Return-Path: <glibc-bugs-return-30683-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 870 invoked by alias); 15 Dec 2015 13:49:13 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 761 invoked by uid 55); 15 Dec 2015 13:49:06 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug time/19363] x32: times() return value wrongly truncates/sign extends from 32bit
Date: Tue, 15 Dec 2015 13:49:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: time
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: hjl.tools at gmail dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19363-131-nheBK1of3m@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19363-131@http.sourceware.org/bugzilla/>
References: <bug-19363-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00072.txt.bz2
Content-length: 3790

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

--- 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, hjl/pr19363/master has been created
        at  e31f1cb4a363db73fe09d99f800907950aec7122 (commit)

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

commit e31f1cb4a363db73fe09d99f800907950aec7122
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Dec 14 19:09:13 2015 -0800

    Use INTERNAL_SYSCALL_TIMES* macros for Linux times

    The Linux times function, which returns clock_t, is implemented with
    INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL, INTERNAL_SYSCALL_ERROR_P and
    INTERNAL_SYSCALL_ERRNO.  Since INTERNAL_SYSCALL* macros use 32-bit
    integer and clock_t is 64-bit on x32, this is a mismatch on x32.  All
    system calls returning 64-bit integer, which are lseek, time and times,
    must be handled specially for x32.  lseek is handled by x32 lseek.S and
    time doesn't check syscall return.  times is the only missed one.

    This patch replaces INTERNAL_SYSCALL* macros in Linux times.c with
    INTERNAL_SYSCALL_TIMES* macros which are default to INTERNAL_SYSCALL*
    macros and provides x32 times.c with proper INTERNAL_SYSCALL_TIMES*
    macros.

    There is no code change on times for i686 nor x86-64.  For x32, before
    this patch, there are

    0000000 <__times>:
       0:       b8 64 00 00 40          mov    $0x40000064,%eax
       5:       0f 05                   syscall
       7:       48 63 d0                movslq %eax,%rdx
                                    ^^^^^^^^^^ Incorrect signed extension
       a:       48 83 fa f2             cmp    $0xfffffffffffffff2,%rdx
       e:       75 07                   jne    17 <__times+0x17>
      10:       3d 00 f0 ff ff          cmp    $0xfffff000,%eax
                                    ^^^^^^^^^^^^^^^^^^^^^ 32-bit compare
      15:       77 11                   ja     28 <__times+0x28>
      17:       48 83 fa ff             cmp    $0xffffffffffffffff,%rdx
      1b:       b8 00 00 00 00          mov    $0x0,%eax
      20:       48 0f 45 c2             cmovne %rdx,%rax
      24:       c3                      retq

    After this patch, there are

    00000000 <__times>:
       0:       b8 64 00 00 40          mov    $0x40000064,%eax
       5:       0f 05                   syscall
       7:       48 83 f8 f2             cmp    $0xfffffffffffffff2,%rax
       b:       75 08                   jne    15 <__times+0x15>
       d:       48 3d 00 f0 ff ff       cmp    $0xfffffffffffff000,%rax
      13:       77 13                   ja     28 <__times+0x28>
      15:       48 83 f8 ff             cmp    $0xffffffffffffffff,%rax
      19:       ba 00 00 00 00          mov    $0x0,%edx
      1e:       48 0f 44 c2             cmove  %rdx,%rax
      22:       c3                      retq

    The incorrect signed extension and 32-bit compare are gone.

        [BZ #19363]
        * sysdeps/unix/sysv/linux/times.c (INTERNAL_SYSCALL_TIMES_DECL):
        New.
        (INTERNAL_SYSCALL_TIMES): Likewise.
        (INTERNAL_SYSCALL_TIMES_ERROR_P): Likewise.
        (INTERNAL_SYSCALL_TIMES_ERRNO): Likewise.
        (__times): Replace INTERNAL_SYSCALL* macros with
        INTERNAL_SYSCALL_TIMES* macros.
        * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30684-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Dec 15 13:49:20 2015
Return-Path: <glibc-bugs-return-30684-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 1138 invoked by alias); 15 Dec 2015 13:49:20 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 861 invoked by uid 55); 15 Dec 2015 13:49:12 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug time/19363] x32: times() return value wrongly truncates/sign extends from 32bit
Date: Tue, 15 Dec 2015 13:49:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: time
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: hjl.tools at gmail dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19363-131-90J9SyjMAm@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19363-131@http.sourceware.org/bugzilla/>
References: <bug-19363-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00073.txt.bz2
Content-length: 3730

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

--- Comment #7 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/pr19363/clobber has been created
        at  bed04d2261bded5888f96a618ed770a4de6dc69a (commit)

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

commit bed04d2261bded5888f96a618ed770a4de6dc69a
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Dec 14 20:35:51 2015 -0800

    Use REGISTERS_CLOBBERED_BY_SYSCALL

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

commit d4f465df65a5723ede4cf933afee5582312fc603
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Dec 14 20:35:40 2015 -0800

    Add REGISTERS_CLOBBERED_BY_SYSCALL

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

commit 8a4f1e5889edc41f97c861af81d0f0354d0bc75a
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Dec 14 19:09:13 2015 -0800

    Use INTERNAL_SYSCALL_TIMES for Linux times

    The Linux times function, which returns clock_t, is implemented with
    INTERNAL_SYSCALL.  Since INTERNAL_SYSCALL returns 32-bit integer and
    and clock_t is 64-bit on x32, this is a mismatch on x32.  times is the
    only such function.  This patch replaces INTERNAL_SYSCALL in Linux
    times.c with INTERNAL_SYSCALL_TIMES which is default to INTERNAL_SYSCALL
    and provides x32 times.c with proper INTERNAL_SYSCALL_TIMES.

    There is no code change on times for i686 nor x86-64.  For x32, before
    this patch, there are

    0000000 <__times>:
       0:       b8 64 00 00 40          mov    $0x40000064,%eax
       5:       0f 05                   syscall
       7:       48 63 d0                movslq %eax,%rdx
                                    ^^^^^^^^^^ Incorrect signed extension
       a:       48 83 fa f2             cmp    $0xfffffffffffffff2,%rdx
       e:       75 07                   jne    17 <__times+0x17>
      10:       3d 00 f0 ff ff          cmp    $0xfffff000,%eax
      15:       77 11                   ja     28 <__times+0x28>
      17:       48 83 fa ff             cmp    $0xffffffffffffffff,%rdx
      1b:       b8 00 00 00 00          mov    $0x0,%eax
      20:       48 0f 45 c2             cmovne %rdx,%rax
      24:       c3                      retq

    After this patch, there are

    00000000 <__times>:
       0:       b8 64 00 00 40          mov    $0x40000064,%eax
       5:       0f 05                   syscall
       7:       48 83 f8 f2             cmp    $0xfffffffffffffff2,%rax
       b:       75 07                   jne    14 <__times+0x14>
       d:       3d 00 f0 ff ff          cmp    $0xfffff000,%eax
      12:       77 14                   ja     28 <__times+0x28>
      14:       48 83 f8 ff             cmp    $0xffffffffffffffff,%rax
      18:       ba 00 00 00 00          mov    $0x0,%edx
      1d:       48 0f 44 c2             cmove  %rdx,%rax
      21:       c3                      retq

    The incorrect signed extension is gone.

        [BZ #19363]
        * sysdeps/unix/sysv/linux/times.c (INTERNAL_SYSCALL_TIMES): New.
        (__times): Replace INTERNAL_SYSCALL with INTERNAL_SYSCALL_TIMES.
        * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.

    xxx

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30685-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Dec 15 17:01:24 2015
Return-Path: <glibc-bugs-return-30685-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 6342 invoked by alias); 15 Dec 2015 17:01:21 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 6264 invoked by uid 55); 15 Dec 2015 17:01:15 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug time/19363] x32: times() return value wrongly truncates/sign extends from 32bit
Date: Tue, 15 Dec 2015 17:01:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: time
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: hjl.tools at gmail dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19363-131-uLI82nE7NJ@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19363-131@http.sourceware.org/bugzilla/>
References: <bug-19363-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00074.txt.bz2
Content-length: 3788

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

--- Comment #8 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/pr19363/2.22 has been created
        at  61297097311b652596ecb1e14fa5cdd64afd6422 (commit)

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

commit 61297097311b652596ecb1e14fa5cdd64afd6422
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Dec 14 19:09:13 2015 -0800

    Use INTERNAL_SYSCALL_TIMES* macros for Linux times

    The Linux times function, which returns clock_t, is implemented with
    INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL, INTERNAL_SYSCALL_ERROR_P and
    INTERNAL_SYSCALL_ERRNO.  Since INTERNAL_SYSCALL* macros use 32-bit
    integer and clock_t is 64-bit on x32, this is a mismatch on x32.  All
    system calls returning 64-bit integer, which are lseek, time and times,
    must be handled specially for x32.  lseek is handled by x32 lseek.S and
    time doesn't check syscall return.  times is the only missed one.

    This patch replaces INTERNAL_SYSCALL* macros in Linux times.c with
    INTERNAL_SYSCALL_TIMES* macros which are default to INTERNAL_SYSCALL*
    macros and provides x32 times.c with proper INTERNAL_SYSCALL_TIMES*
    macros.

    There is no code change on times for i686 nor x86-64.  For x32, before
    this patch, there are

    0000000 <__times>:
       0:       b8 64 00 00 40          mov    $0x40000064,%eax
       5:       0f 05                   syscall
       7:       48 63 d0                movslq %eax,%rdx
                                    ^^^^^^^^^^ Incorrect signed extension
       a:       48 83 fa f2             cmp    $0xfffffffffffffff2,%rdx
       e:       75 07                   jne    17 <__times+0x17>
      10:       3d 00 f0 ff ff          cmp    $0xfffff000,%eax
                                    ^^^^^^^^^^^^^^^^^^^^^ 32-bit compare
      15:       77 11                   ja     28 <__times+0x28>
      17:       48 83 fa ff             cmp    $0xffffffffffffffff,%rdx
      1b:       b8 00 00 00 00          mov    $0x0,%eax
      20:       48 0f 45 c2             cmovne %rdx,%rax
      24:       c3                      retq

    After this patch, there are

    00000000 <__times>:
       0:       b8 64 00 00 40          mov    $0x40000064,%eax
       5:       0f 05                   syscall
       7:       48 83 f8 f2             cmp    $0xfffffffffffffff2,%rax
       b:       75 08                   jne    15 <__times+0x15>
       d:       48 3d 00 f0 ff ff       cmp    $0xfffffffffffff000,%rax
      13:       77 13                   ja     28 <__times+0x28>
      15:       48 83 f8 ff             cmp    $0xffffffffffffffff,%rax
      19:       ba 00 00 00 00          mov    $0x0,%edx
      1e:       48 0f 44 c2             cmove  %rdx,%rax
      22:       c3                      retq

    The incorrect signed extension and 32-bit compare are gone.

        [BZ #19363]
        * sysdeps/unix/sysv/linux/times.c (INTERNAL_SYSCALL_TIMES_DECL):
        New.
        (INTERNAL_SYSCALL_TIMES): Likewise.
        (INTERNAL_SYSCALL_TIMES_ERROR_P): Likewise.
        (INTERNAL_SYSCALL_TIMES_ERRNO): Likewise.
        (__times): Replace INTERNAL_SYSCALL* macros with
        INTERNAL_SYSCALL_TIMES* macros.
        * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30686-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Dec 15 20:11:44 2015
Return-Path: <glibc-bugs-return-30686-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 114080 invoked by alias); 15 Dec 2015 20:11:44 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 113930 invoked by uid 48); 15 Dec 2015 20:11:40 -0000
From: "ninjalj at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug nptl/19366] New: returning from a thread should disable cancellation
Date: Tue, 15 Dec 2015 20:11:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: nptl
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ninjalj at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone attachments.created
Message-ID: <bug-19366-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00075.txt.bz2
Content-length: 1617

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

            Bug ID: 19366
           Summary: returning from a thread should disable cancellation
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: nptl
          Assignee: unassigned at sourceware dot org
          Reporter: ninjalj at gmail dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

Created attachment 8848
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8848&action=edit
demo of thread acting on cancellation request while terminating

Returning from a thread should behave as calling pthread_exit(), and XSH 2.95,
under the epigraph "Thread Cancellation Cleanup Handlers" requires
pthread_exit() to set the cancellation state and type to disabled and deferred,
respectively.

The attached program is supposed to endlessly loop creating an asynchronously
cancellable thread, and then cancelling and joining it. Instead of that, after
a while, the program exits. This does not happen if the created thread calls
pthread_exit() instead of returning.

Setting the cancellation state and type to disabled and deferred in
nptl/pthread_create.c:START_THREAD_DEFN after returning from/long jumping out
of start_routine fixes this test case. This fix is similar to one in musl
(http://git.musl-libc.org/cgit/musl/commit/?id=36d8e972231c397194e513691d09f7d489de0a62),
the test program deadlocks in musl prior to that commit.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30687-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Dec 15 21:15:43 2015
Return-Path: <glibc-bugs-return-30687-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 47596 invoked by alias); 15 Dec 2015 21:15:43 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 47512 invoked by uid 48); 15 Dec 2015 21:15:39 -0000
From: "hjl.tools at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug dynamic-link/19367] New: Improve branch prediction on Silvermont
Date: Tue, 15 Dec 2015 21:15:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: dynamic-link
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-19367-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00076.txt.bz2
Content-length: 1436

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

            Bug ID: 19367
           Summary: Improve branch prediction on Silvermont
           Product: glibc
           Version: 2.23
            Status: NEW
          Severity: normal
          Priority: P2
         Component: dynamic-link
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com
  Target Milestone: ---

Intel Silvermont optimization guide says

---
Another important performance consideration from a front end standpoint is
branch prediction. For 64-bit applications, branch prediction performance
can be negatively impacted when the target of a branch is more than 4GB away
from the branch. This is more likely to happen when the application is split
into shared libraries. Developers can build statically to improve the locality
in their code. Building with LTO should further improve performance.
---

We should try to mmap executable pages in shared libraries with
MAP_32BIT first to improve branch prediction performance on Silvermont.
Prefer_MAP_32BIT_EXEC reduces bits available for address space layout
randomization (ASLR), which should be always disabled for SUID programs
and should only be enabled by setting environment variable,
LD_PREFER_MAP_32BIT_EXEC.

NB: MAP_32BIT will map to lower 2GB, not lower 4GB, address.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30688-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Dec 15 21:29:37 2015
Return-Path: <glibc-bugs-return-30688-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 91019 invoked by alias); 15 Dec 2015 21:29:37 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 90916 invoked by uid 55); 15 Dec 2015 21:29:33 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug dynamic-link/19367] Improve branch prediction on Silvermont
Date: Tue, 15 Dec 2015 21:29:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: dynamic-link
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19367-131-sTRr7bS3mO@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19367-131@http.sourceware.org/bugzilla/>
References: <bug-19367-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00077.txt.bz2
Content-length: 2767

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

--- Comment #1 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  b9eb92ab05204df772eb4929eccd018637c9f3e9 (commit)
      from  c9afcaaafaf9126a973883528eed8d0058a264c0 (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=b9eb92ab05204df772eb4929eccd018637c9f3e9

commit b9eb92ab05204df772eb4929eccd018637c9f3e9
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Oct 21 14:44:23 2015 -0700

    Add Prefer_MAP_32BIT_EXEC to map executable pages with MAP_32BIT

    According to Silvermont software optimization guide, for 64-bit
    applications, branch prediction performance can be negatively impacted
    when the target of a branch is more than 4GB away from the branch.  Add
    the Prefer_MAP_32BIT_EXEC bit so that mmap will try to map executable
    pages with MAP_32BIT first.  NB: MAP_32BIT will map to lower 2GB, not
    lower 4GB, address.  Prefer_MAP_32BIT_EXEC reduces bits available for
    address space layout randomization (ASLR), which is always disabled for
    SUID programs and can only be enabled by setting environment variable,
    LD_PREFER_MAP_32BIT_EXEC.

    On Fedora 23, this patch speeds up GCC 5 testsuite by 3% on Silvermont.

        [BZ #19367]
        * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
        * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
        * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
        * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
        (index_Prefer_MAP_32BIT_EXEC): Likewise.

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

Summary of changes:
 sysdeps/unix/sysv/linux/wordsize-64/mmap.c      |   40 ++++++++++++++++++++
 sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h |   44 +++++++++++++++++++++++
 sysdeps/unix/sysv/linux/x86_64/64/mmap.c        |   37 +++++++++++++++++++
 sysdeps/x86/cpu-features.h                      |    3 ++
 4 files changed, 124 insertions(+), 0 deletions(-)
 create mode 100644 sysdeps/unix/sysv/linux/wordsize-64/mmap.c
 create mode 100644 sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
 create mode 100644 sysdeps/unix/sysv/linux/x86_64/64/mmap.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30689-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Dec 15 21:33:15 2015
Return-Path: <glibc-bugs-return-30689-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 98294 invoked by alias); 15 Dec 2015 21:33:14 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 98262 invoked by uid 48); 15 Dec 2015 21:33:11 -0000
From: "hjl.tools at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug dynamic-link/19367] Improve branch prediction on Silvermont
Date: Tue, 15 Dec 2015 21:33:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: dynamic-link
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-19367-131-Swic5OKmjM@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19367-131@http.sourceware.org/bugzilla/>
References: <bug-19367-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00078.txt.bz2
Content-length: 561

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.23

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
Fixed for 2.23.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30690-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Dec 15 21:46:56 2015
Return-Path: <glibc-bugs-return-30690-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 68404 invoked by alias); 15 Dec 2015 21:46:56 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 68285 invoked by uid 55); 15 Dec 2015 21:46:52 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug dynamic-link/19367] Improve branch prediction on Silvermont
Date: Tue, 15 Dec 2015 21:46:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: dynamic-link
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19367-131-clkvFvswS3@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19367-131@http.sourceware.org/bugzilla/>
References: <bug-19367-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00079.txt.bz2
Content-length: 2674

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

--- Comment #3 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/32bit/2.22 has been created
        at  e4c29a1d3f7d96683582b7dbd86fb8d1ac707ea6 (commit)

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

commit e4c29a1d3f7d96683582b7dbd86fb8d1ac707ea6
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Oct 21 14:44:23 2015 -0700

    Add Prefer_MAP_32BIT_EXEC to map executable pages with MAP_32BIT

    According to Silvermont software optimization guide, for 64-bit
    applications, branch prediction performance can be negatively impacted
    when the target of a branch is more than 4GB away from the branch.  Add
    the Prefer_MAP_32BIT_EXEC bit so that mmap will try to map executable
    pages with MAP_32BIT first.  NB: MAP_32BIT will map to lower 2GB, not
    lower 4GB, address.  Prefer_MAP_32BIT_EXEC reduces bits available for
    address space layout randomization (ASLR), which is always disabled for
    SUID programs and can only be enabled by setting environment variable,
    LD_PREFER_MAP_32BIT_EXEC.

    On Fedora 23, this patch speeds up GCC 5 testsuite by 3% on Silvermont.

        [BZ #19367]
        * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
        * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
        * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
        * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
        (index_Prefer_MAP_32BIT_EXEC): Likewise.

    (cherry picked from commit b9eb92ab05204df772eb4929eccd018637c9f3e9)

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

commit e7b516ad591913995b928ce6db296e2c57a099e4
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Dec 15 11:46:54 2015 -0800

    Enable Silvermont optimizations for Knights Landing

    Knights Landing processor is based on Silvermont.  This patch enables
    Silvermont optimizations for Knights Landing.

        * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
        Silvermont optimizations for Knights Landing.

    (cherry picked from commit c9afcaaafaf9126a973883528eed8d0058a264c0)

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30691-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Dec 16 11:38:01 2015
Return-Path: <glibc-bugs-return-30691-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 7282 invoked by alias); 16 Dec 2015 11:38:00 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 7245 invoked by uid 48); 16 Dec 2015 11:37:57 -0000
From: "rob at robwu dot nl" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug network/19369] New: Default domain name not reset by res_ninit when "search" / "domain" entry is removed from resolv.conf
Date: Wed, 16 Dec 2015 11:38:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: network
X-Bugzilla-Version: 2.24
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rob at robwu dot nl
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: rob at robwu dot nl
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created
Message-ID: <bug-19369-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00080.txt.bz2
Content-length: 1803

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

            Bug ID: 19369
           Summary: Default domain name not reset by res_ninit when
                    "search" / "domain" entry is removed from resolv.conf
           Product: glibc
           Version: 2.24
            Status: NEW
          Severity: normal
          Priority: P2
         Component: network
          Assignee: rob at robwu dot nl
          Reporter: rob at robwu dot nl
  Target Milestone: ---

Created attachment 8850
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8850&action=edit
Repeatedly uses res_ninit, getaddrinfo, res_nclose.

When I call res_ninit(&_res), I expect resolver functions such as getaddrinfo
to use exactly the same configuration as if the program was run for the first
time (which then uses /etc/resolv.conf).

This is not the case for the "search" (or "domain") entries. When the "domain"
entry is removed, the resolver still uses the previously configured domain
name.

Steps to reproduce:
1. Compile the attached program (gcc -Wall getaddr.c). This program repeatedly
calls res_ninit, getaddrinfo("www", ...), res_nclose.
2. Edit /etc/resolv.conf, add "search example.com"
3. Run ./a.out www
4. Edit /etc/resolv.conf, remove "search example.com"
5. Run ./a.out www

Expected results:
At step 3, the following is output (because "www" -> "www.example.com", which
exists).
   getaddrinfo("www") = 0
   93.184.216.34:0

At step 5, the following should be output (or anything else that is not
"www.example.com", -2 = EAI_NONAME):
   getaddrinfo("www") = -2

Actual results:
At step 5, the same result as step 3 is shown, which indicates that the default
domain suffix is not reset.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30692-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Dec 16 11:46:49 2015
Return-Path: <glibc-bugs-return-30692-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 16546 invoked by alias); 16 Dec 2015 11:46:49 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 16498 invoked by uid 55); 16 Dec 2015 11:46:45 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug malloc/19243] reused_arena can pick an arena on the free list, leading to an assertion failure and reference count corruption
Date: Wed, 16 Dec 2015 11:46:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: malloc
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: fweimer at redhat dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19243-131-wIuMwghHUU@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19243-131@http.sourceware.org/bugzilla/>
References: <bug-19243-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00081.txt.bz2
Content-length: 2268

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

--- Comment #4 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  3da825ce483903e3a881a016113b3e59fd4041de (commit)
      from  f1aceee39289f97a420126c58007eba77fb2dd30 (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=3da825ce483903e3a881a016113b3e59fd4041de

commit 3da825ce483903e3a881a016113b3e59fd4041de
Author: Florian Weimer <fweimer@redhat.com>
Date:   Wed Dec 16 12:39:48 2015 +0100

    malloc: Fix attached thread reference count handling [BZ #19243]

    reused_arena can increase the attached thread count of arenas on the
    free list.  This means that the assertion that the reference count is
    zero is incorrect.  In this case, the reference count initialization
    is incorrect as well and could cause arenas to be put on the free
    list too early (while they still have attached threads).

        * malloc/arena.c (get_free_list): Remove assert and adjust
        reference count handling.  Add comment about reused_arena
        interaction.
        (reused_arena): Add comments abount get_free_list interaction.
        * malloc/tst-malloc-thread-exit.c: New file.
        * malloc/Makefile (tests): Add tst-malloc-thread-exit.
        (tst-malloc-thread-exit): Link against libpthread.

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

Summary of changes:
 ChangeLog                       |   11 ++
 malloc/Makefile                 |    4 +-
 malloc/arena.c                  |   12 ++-
 malloc/tst-malloc-thread-exit.c |  217 +++++++++++++++++++++++++++++++++++++++
 4 files changed, 239 insertions(+), 5 deletions(-)
 create mode 100644 malloc/tst-malloc-thread-exit.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30693-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Dec 16 11:47:45 2015
Return-Path: <glibc-bugs-return-30693-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 17001 invoked by alias); 16 Dec 2015 11:47:44 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 16980 invoked by uid 48); 16 Dec 2015 11:47:41 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug malloc/19243] reused_arena can pick an arena on the free list, leading to an assertion failure and reference count corruption
Date: Wed, 16 Dec 2015 11:47:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: malloc
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: fweimer at redhat dot com
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-19243-131-jTS7fy4zz5@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19243-131@http.sourceware.org/bugzilla/>
References: <bug-19243-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00082.txt.bz2
Content-length: 573

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.23

--- Comment #5 from Florian Weimer <fweimer at redhat dot com> ---
Fixed for 2.23.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30694-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Dec 16 13:47:33 2015
Return-Path: <glibc-bugs-return-30694-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 114770 invoked by alias); 16 Dec 2015 13:47:33 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 114743 invoked by uid 55); 16 Dec 2015 13:47:29 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug time/19363] x32: times() return value wrongly truncates/sign extends from 32bit
Date: Wed, 16 Dec 2015 13:47:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: time
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: hjl.tools at gmail dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19363-131-Aat0MtfihZ@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19363-131@http.sourceware.org/bugzilla/>
References: <bug-19363-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00083.txt.bz2
Content-length: 3790

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

--- Comment #9 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/pr19363/master has been created
        at  4c0dfefbdf950080746e48f6f95f449922bb5d0c (commit)

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

commit 4c0dfefbdf950080746e48f6f95f449922bb5d0c
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Dec 14 19:09:13 2015 -0800

    Use INTERNAL_SYSCALL_TIMES* macros for Linux times

    The Linux times function, which returns clock_t, is implemented with
    INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL, INTERNAL_SYSCALL_ERROR_P and
    INTERNAL_SYSCALL_ERRNO.  Since INTERNAL_SYSCALL* macros use 32-bit
    integer and clock_t is 64-bit on x32, this is a mismatch on x32.  All
    system calls returning 64-bit integer, which are lseek, time and times,
    must be handled specially for x32.  lseek is handled by x32 lseek.S and
    time doesn't check syscall return.  times is the only missed one.

    This patch replaces INTERNAL_SYSCALL* macros in Linux times.c with
    INTERNAL_SYSCALL_TIMES* macros which are default to INTERNAL_SYSCALL*
    macros and provides x32 times.c with proper INTERNAL_SYSCALL_TIMES*
    macros.

    There is no code change on times for i686 nor x86-64.  For x32, before
    this patch, there are

    0000000 <__times>:
       0:       b8 64 00 00 40          mov    $0x40000064,%eax
       5:       0f 05                   syscall
       7:       48 63 d0                movslq %eax,%rdx
                                    ^^^^^^^^^^ Incorrect signed extension
       a:       48 83 fa f2             cmp    $0xfffffffffffffff2,%rdx
       e:       75 07                   jne    17 <__times+0x17>
      10:       3d 00 f0 ff ff          cmp    $0xfffff000,%eax
                                    ^^^^^^^^^^^^^^^^^^^^^ 32-bit compare
      15:       77 11                   ja     28 <__times+0x28>
      17:       48 83 fa ff             cmp    $0xffffffffffffffff,%rdx
      1b:       b8 00 00 00 00          mov    $0x0,%eax
      20:       48 0f 45 c2             cmovne %rdx,%rax
      24:       c3                      retq

    After this patch, there are

    00000000 <__times>:
       0:       b8 64 00 00 40          mov    $0x40000064,%eax
       5:       0f 05                   syscall
       7:       48 83 f8 f2             cmp    $0xfffffffffffffff2,%rax
       b:       75 08                   jne    15 <__times+0x15>
       d:       48 3d 00 f0 ff ff       cmp    $0xfffffffffffff000,%rax
      13:       77 13                   ja     28 <__times+0x28>
      15:       48 83 f8 ff             cmp    $0xffffffffffffffff,%rax
      19:       ba 00 00 00 00          mov    $0x0,%edx
      1e:       48 0f 44 c2             cmove  %rdx,%rax
      22:       c3                      retq

    The incorrect signed extension and 32-bit compare are gone.

        [BZ #19363]
        * sysdeps/unix/sysv/linux/times.c (INTERNAL_SYSCALL_TIMES_DECL):
        New.
        (INTERNAL_SYSCALL_TIMES): Likewise.
        (INTERNAL_SYSCALL_TIMES_ERROR_P): Likewise.
        (INTERNAL_SYSCALL_TIMES_ERRNO): Likewise.
        (__times): Replace INTERNAL_SYSCALL* macros with
        INTERNAL_SYSCALL_TIMES* macros.
        * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30695-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Dec 16 14:35:59 2015
Return-Path: <glibc-bugs-return-30695-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 4872 invoked by alias); 16 Dec 2015 14:35:59 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 4826 invoked by uid 48); 16 Dec 2015 14:35:55 -0000
From: "hjl.tools at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19371] New: Wrong error return on syscall ()
Date: Wed, 16 Dec 2015 14:35:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone cf_gcctarget
Message-ID: <bug-19371-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00084.txt.bz2
Content-length: 1446

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

            Bug ID: 19371
           Summary: Wrong error return on syscall ()
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---
            Target: x32

X32 has

(gdb) disass syscall
Dump of assembler code for function syscall:
   0x000daaf0 <+0>:     mov    %rdi,%rax
   0x000daaf3 <+3>:     mov    %rsi,%rdi
   0x000daaf6 <+6>:     mov    %rdx,%rsi
   0x000daaf9 <+9>:     mov    %rcx,%rdx
   0x000daafc <+12>:    mov    %r8,%r10
   0x000daaff <+15>:    mov    %r9,%r8
   0x000dab02 <+18>:    mov    0x8(%rsp),%r9
   0x000dab07 <+23>:    syscall 
   0x000dab09 <+25>:    cmp    $0xfffffffffffff001,%rax
   0x000dab0f <+31>:    jae    0xdab12 <syscall+34>
   0x000dab11 <+33>:    retq   
   0x000dab12 <+34>:    mov    0x2b3397(%rip),%rcx        # 0x38deb0
   0x000dab19 <+41>:    neg    %eax
   0x000dab1b <+43>:    mov    %eax,%fs:(%rcx)
   0x000dab1e <+46>:    or     $0xffffffff,%eax
                                ^^^^^^^^^^^^^^^^^ It should be 64-bit.
   0x000dab21 <+49>:    retq   
End of assembler dump.
(gdb)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30696-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Dec 16 14:40:46 2015
Return-Path: <glibc-bugs-return-30696-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 10746 invoked by alias); 16 Dec 2015 14:40:46 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 10690 invoked by uid 48); 16 Dec 2015 14:40:41 -0000
From: "hjl.tools at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19371] Wrong error return on syscall ()
Date: Wed, 16 Dec 2015 14:40:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19371-131-emhrvJYSmr@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19371-131@http.sourceware.org/bugzilla/>
References: <bug-19371-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00085.txt.bz2
Content-length: 319

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

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
Also "extern int" in

extern long int syscall (long int __sysno, ...) __THROW;

should be replaced by __syscall_slong_t.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30697-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Dec 16 14:58:02 2015
Return-Path: <glibc-bugs-return-30697-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 57678 invoked by alias); 16 Dec 2015 14:58:02 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 56993 invoked by uid 55); 16 Dec 2015 14:57:57 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19371] Wrong error return on syscall ()
Date: Wed, 16 Dec 2015 14:58:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19371-131-0r4n260KPo@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19371-131@http.sourceware.org/bugzilla/>
References: <bug-19371-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00086.txt.bz2
Content-length: 3139

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

--- Comment #2 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/pr19371/master has been created
        at  bf0e161423748feb7950110d6074ebbcd102cb7e (commit)

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

commit bf0e161423748feb7950110d6074ebbcd102cb7e
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Dec 16 06:50:42 2015 -0800

    Properly handle x32 syscall

    X32 syscall() may return 64-bit integer as lseek, time and times.  Its
    return type should be __syscall_slong_t instead of long int.  We need
    to properly return 64-bit error value.

    Before the patch:

    Dump of assembler code for function syscall:
       0x000dab20 <+0>: mov    %rdi,%rax
       0x000dab23 <+3>: mov    %rsi,%rdi
       0x000dab26 <+6>: mov    %rdx,%rsi
       0x000dab29 <+9>: mov    %rcx,%rdx
       0x000dab2c <+12>:        mov    %r8,%r10
       0x000dab2f <+15>:        mov    %r9,%r8
       0x000dab32 <+18>:        mov    0x8(%rsp),%r9
       0x000dab37 <+23>:        syscall
       0x000dab39 <+25>:        cmp    $0xfffffffffffff001,%rax
       0x000dab3f <+31>:        jae    0xdab42 <syscall+34>
       0x000dab41 <+33>:        retq
       0x000dab42 <+34>:        mov    0x2b3367(%rip),%rcx        # 0x38deb0
       0x000dab49 <+41>:        neg    %eax
       0x000dab4b <+43>:        mov    %eax,%fs:(%rcx)
       0x000dab4e <+46>:        or     $0xffffffff,%eax
                            ^^^^^^^^^^^^^^^^^^ This is 32-bit error return.
       0x000dab51 <+49>:        retq
    End of assembler dump.

    After the patch:

    Dump of assembler code for function syscall:
       0x000daaf0 <+0>: mov    %rdi,%rax
       0x000daaf3 <+3>: mov    %rsi,%rdi
       0x000daaf6 <+6>: mov    %rdx,%rsi
       0x000daaf9 <+9>: mov    %rcx,%rdx
       0x000daafc <+12>:        mov    %r8,%r10
       0x000daaff <+15>:        mov    %r9,%r8
       0x000dab02 <+18>:        mov    0x8(%rsp),%r9
       0x000dab07 <+23>:        syscall
       0x000dab09 <+25>:        cmp    $0xfffffffffffff001,%rax
       0x000dab0f <+31>:        jae    0xdab12 <syscall+34>
       0x000dab11 <+33>:        retq
       0x000dab12 <+34>:        mov    0x2b3397(%rip),%rcx        # 0x38deb0
       0x000dab19 <+41>:        neg    %eax
       0x000dab1b <+43>:        mov    %eax,%fs:(%rcx)
       0x000dab1e <+46>:        or     $0xffffffffffffffff,%rax
       0x000dab22 <+50>:        retq
    End of assembler dump.

        [BZ #19371]
        * posix/unistd.h (syscall): Use __syscall_slong_t for return
        type.
        * sysdeps/unix/sysv/linux/x86_64/x32/syscall.S: New file.

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30698-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Dec 16 19:40:44 2015
Return-Path: <glibc-bugs-return-30698-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 86985 invoked by alias); 16 Dec 2015 19:40:44 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 86896 invoked by uid 48); 16 Dec 2015 19:40:40 -0000
From: "stevenschlansker at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug dynamic-link/11787] Program with large TLS segments fail.
Date: Wed, 16 Dec 2015 19:40:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: dynamic-link
X-Bugzilla-Version: 2.12
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: stevenschlansker at gmail dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: carlos at redhat dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: review+ security-
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-11787-131-R2mwq3OvJE@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-11787-131@http.sourceware.org/bugzilla/>
References: <bug-11787-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00087.txt.bz2
Content-length: 996

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

Steven Schlansker <stevenschlansker at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |stevenschlansker at gmail dot com

--- Comment #43 from Steven Schlansker <stevenschlansker at gmail dot com> ---
The JVM is having trouble too, see the following core-libs-dev discussion:

http://mail.openjdk.java.net/pipermail/core-libs-dev/2015-December/037557.html

If you link the JVM as a library and use thread local storage, it is very hard
for JVM internal threads to ensure that their stack is usable.

>From the Rust discussion, they link that the Go runtime had the exact same
problem.

How many languages are going to have to work around this broken behavior before
there is a glibc fix? :(

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30699-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Dec 16 20:22:46 2015
Return-Path: <glibc-bugs-return-30699-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 29801 invoked by alias); 16 Dec 2015 20:22:45 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 29606 invoked by uid 48); 16 Dec 2015 20:22:41 -0000
From: "carlos at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug dynamic-link/11787] Program with large TLS segments fail.
Date: Wed, 16 Dec 2015 20:22:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: dynamic-link
X-Bugzilla-Version: 2.12
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: carlos at redhat dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: carlos at redhat dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: review+ security-
X-Bugzilla-Changed-Fields: bug_status
Message-ID: <bug-11787-131-NQLGuHJEMI@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-11787-131@http.sourceware.org/bugzilla/>
References: <bug-11787-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00088.txt.bz2
Content-length: 1859

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

Carlos O'Donell <carlos at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |NEW

--- Comment #44 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to Steven Schlansker from comment #43)
> The JVM is having trouble too, see the following core-libs-dev discussion:
> 
> http://mail.openjdk.java.net/pipermail/core-libs-dev/2015-December/037557.
> html
> 
> If you link the JVM as a library and use thread local storage, it is very
> hard for JVM internal threads to ensure that their stack is usable.
> 
> From the Rust discussion, they link that the Go runtime had the exact same
> problem.
> 
> How many languages are going to have to work around this broken behavior
> before there is a glibc fix? :(

I have not been working on a fix for this because of other priorities. Sorry
about that. We need to see submissions like this to raise the priority of a
given issue beyond just that of chrome having problems in certain scenarios.

Seeing that Rust and Java are both having problems means we should do something
about this. It has been 5 years since we discovered the issue, but like all
things it's not trivial and we need to rewrite the NPTL stack layout code.

I'm moving this back to NEW for now since I'm not going to work on it, but I'll
see what we can do internally at Red Hat to prioritize this.

As always "Patches welcome", but I understand that the code in question that
needs to be changed is very very hairy, and requires a senior community
developer to make or review the changes.

Thanks again for raising the visibility.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30700-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Dec 17 12:19:25 2015
Return-Path: <glibc-bugs-return-30700-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 73457 invoked by alias); 17 Dec 2015 12:19:25 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 73404 invoked by uid 48); 17 Dec 2015 12:19:19 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug nss/18991] nss_files skips large entry in database
Date: Thu, 17 Dec 2015 12:19:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: nss
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-18991-131-4TFevzUZ9H@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-18991-131@http.sourceware.org/bugzilla/>
References: <bug-18991-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00089.txt.bz2
Content-length: 821

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

--- Comment #4 from Florian Weimer <fweimer at redhat dot com> ---
Created attachment 8854
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8854&action=edit
Patch with nss_files tests, one of which triggers bug 18991

I used the attached collections of tests to reproduce this issue.

I tried to fix this using getline, but the whole thing turns very involved
because the existing code assumes that line read from the file is dissected in
place.  There is no place to manage the memory for the buffer, so it would
always have to be copied into the caller-supplied buffer.  It also does not
help that a match can only be checked after the line has been parsed
completely.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30701-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Dec 17 16:29:50 2015
Return-Path: <glibc-bugs-return-30701-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 2103 invoked by alias); 17 Dec 2015 16:29:50 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 2065 invoked by uid 48); 17 Dec 2015 16:29:46 -0000
From: "adhemerval.zanella at linaro dot org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19375] New: powerpc: incorrect results for POWER7 logb with negative subnormals
Date: Thu, 17 Dec 2015 16:29:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: adhemerval.zanella at linaro dot org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-19375-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00090.txt.bz2
Content-length: 2043

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

            Bug ID: 19375
           Summary: powerpc: incorrect results for POWER7 logb with
                    negative subnormals
           Product: glibc
           Version: 2.23
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: adhemerval.zanella at linaro dot org
  Target Milestone: ---

The 'math/test-double' and 'math/test-double-finite' are both failing on POWER7
or newer machine with:

testing double (finite-math-only)
Failure: Test: logb (-min_subnorm_value)
Result:
 is:         -1.0110000000000000e+03  -0x1.f980000000000p+9
 should be:  -1.0740000000000000e+03  -0x1.0c80000000000p+10
 difference:  6.3000000000000000e+01   0x1.f800000000000p+5
 ulp       :  277076930199552.0000
 max.ulp   :  0.0000
Failure: Test: logb_downward (-min_subnorm_value)
Result:
 is:         -1.0110000000000000e+03  -0x1.f980000000000p+9
 should be:  -1.0740000000000000e+03  -0x1.0c80000000000p+10
 difference:  6.3000000000000000e+01   0x1.f800000000000p+5
 ulp       :  277076930199552.0000
 max.ulp   :  0.0000
Failure: Test: logb_towardzero (-min_subnorm_value)
Result:
 is:         -1.0110000000000000e+03  -0x1.f980000000000p+9
 should be:  -1.0740000000000000e+03  -0x1.0c80000000000p+10
 difference:  6.3000000000000000e+01   0x1.f800000000000p+5
 ulp       :  277076930199552.0000
 max.ulp   :  0.0000
Failure: Test: logb_upward (-min_subnorm_value)
Result:
 is:         -1.0110000000000000e+03  -0x1.f980000000000p+9
 should be:  -1.0740000000000000e+03  -0x1.0c80000000000p+10
 difference:  6.3000000000000000e+01   0x1.f800000000000p+5
 ulp       :  277076930199552.0000
 max.ulp   :  0.0000

This is due a issue on 'sysdeps/powerpc/power7/fpu/s_logb.c' for handling
subnormal negative numbers (it does not clear the sign bit before issue the
leading 0-bits builtin).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30702-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Dec 17 16:37:03 2015
Return-Path: <glibc-bugs-return-30702-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 21564 invoked by alias); 17 Dec 2015 16:37:02 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 21536 invoked by uid 55); 17 Dec 2015 16:36:59 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19375] powerpc: incorrect results for POWER7 logb with negative subnormals
Date: Thu, 17 Dec 2015 16:37:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19375-131-9glCQpzbTs@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19375-131@http.sourceware.org/bugzilla/>
References: <bug-19375-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00091.txt.bz2
Content-length: 1860

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

--- Comment #1 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  2094350c9c9c1b87cf34b193ad6541e4a29b62dc (commit)
      from  d29d57eed9a6acb646663a02b7eb2bece2c433dc (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=2094350c9c9c1b87cf34b193ad6541e4a29b62dc

commit 2094350c9c9c1b87cf34b193ad6541e4a29b62dc
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Dec 17 12:34:57 2015 -0200

    Fix POWER7 logb results for negative subnormals (bug 19375)

    The optimized POWER7 logb implementation does not use the absolute
    value of the word extracted from the input to apply the leading 0-bits
    builtin (to ignore the float sign).  This patch fixes it by
    clearing the signal bit in the resulting word.

    It fixes the subnormal tests failures when running on POWER7 ou
    newer chip.

    Tested on powerpc64le (POWER8).

        [BZ# 19375]
        * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
        negative subnormals.

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

Summary of changes:
 ChangeLog                           |    5 +++++
 sysdeps/powerpc/power7/fpu/s_logb.c |    1 +
 2 files changed, 6 insertions(+), 0 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30704-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Dec 17 16:40:45 2015
Return-Path: <glibc-bugs-return-30704-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 29165 invoked by alias); 17 Dec 2015 16:40:45 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 29110 invoked by uid 48); 17 Dec 2015 16:40:40 -0000
From: "adhemerval.zanella at linaro dot org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19375] powerpc: incorrect results for POWER7 logb with negative subnormals
Date: Thu, 17 Dec 2015 16:40:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: adhemerval.zanella at linaro dot org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: adhemerval.zanella at linaro dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-19375-131-6kAopRo9Jr@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19375-131@http.sourceware.org/bugzilla/>
References: <bug-19375-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00093.txt.bz2
Content-length: 586

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

Adhemerval Zanella <adhemerval.zanella at linaro dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
Fixed by 2094350c9c9c1b87cf34b193ad6541e4a29b62dc.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30703-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Dec 17 16:40:01 2015
Return-Path: <glibc-bugs-return-30703-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 28390 invoked by alias); 17 Dec 2015 16:40:01 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 28314 invoked by uid 48); 17 Dec 2015 16:39:57 -0000
From: "adhemerval.zanella at linaro dot org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19375] powerpc: incorrect results for POWER7 logb with negative subnormals
Date: Thu, 17 Dec 2015 16:40:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: adhemerval.zanella at linaro dot org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: adhemerval.zanella at linaro dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: assigned_to
Message-ID: <bug-19375-131-biD4dSnwDp@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19375-131@http.sourceware.org/bugzilla/>
References: <bug-19375-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00092.txt.bz2
Content-length: 482

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

Adhemerval Zanella <adhemerval.zanella at linaro dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at sourceware dot org   |adhemerval.zanella at linaro dot o
                   |                            |rg

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30705-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Dec 17 16:59:20 2015
Return-Path: <glibc-bugs-return-30705-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 16592 invoked by alias); 17 Dec 2015 16:59:20 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 16384 invoked by uid 55); 17 Dec 2015 16:59:16 -0000
From: "joseph at codesourcery dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19375] powerpc: incorrect results for POWER7 logb with negative subnormals
Date: Thu, 17 Dec 2015 16:59:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: joseph at codesourcery dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: adhemerval.zanella at linaro dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19375-131-B4xxR7alTm@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19375-131@http.sourceware.org/bugzilla/>
References: <bug-19375-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00094.txt.bz2
Content-length: 283

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

--- Comment #3 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
You need to set the milestone when marking a bug fixed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30706-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Dec 17 17:17:46 2015
Return-Path: <glibc-bugs-return-30706-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 27041 invoked by alias); 17 Dec 2015 17:17:46 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 27003 invoked by uid 48); 17 Dec 2015 17:17:42 -0000
From: "adhemerval.zanella at linaro dot org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19375] powerpc: incorrect results for POWER7 logb with negative subnormals
Date: Thu, 17 Dec 2015 17:17:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: adhemerval.zanella at linaro dot org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: adhemerval.zanella at linaro dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-19375-131-lS2pJP9WPu@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19375-131@http.sourceware.org/bugzilla/>
References: <bug-19375-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00095.txt.bz2
Content-length: 391

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

Adhemerval Zanella <adhemerval.zanella at linaro dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |2.23

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30707-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Dec 17 17:18:04 2015
Return-Path: <glibc-bugs-return-30707-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 27452 invoked by alias); 17 Dec 2015 17:18:04 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 27381 invoked by uid 48); 17 Dec 2015 17:18:00 -0000
From: "adhemerval.zanella at linaro dot org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19375] powerpc: incorrect results for POWER7 logb with negative subnormals
Date: Thu, 17 Dec 2015 17:18:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: adhemerval.zanella at linaro dot org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: adhemerval.zanella at linaro dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19375-131-5CGQiMpvHf@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19375-131@http.sourceware.org/bugzilla/>
References: <bug-19375-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00096.txt.bz2
Content-length: 249

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

--- Comment #4 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
My mistake, it is done now.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30708-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Dec 17 17:19:35 2015
Return-Path: <glibc-bugs-return-30708-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 29669 invoked by alias); 17 Dec 2015 17:19:35 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 29475 invoked by uid 55); 17 Dec 2015 17:19:31 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug nptl/19174] PowerPC: TLE enabled pthread mutex performs poorly.
Date: Thu, 17 Dec 2015 17:19:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: nptl
X-Bugzilla-Version: 2.21
X-Bugzilla-Keywords:
X-Bugzilla-Severity: minor
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: murphyp at linux dot vnet.ibm.com
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19174-131-XUGI28rWua@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19174-131@http.sourceware.org/bugzilla/>
References: <bug-19174-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00097.txt.bz2
Content-length: 2140

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

--- Comment #4 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, release/2.22/master has been updated
       via  cd51b1424477652cccdb83e7a95644d198fd4513 (commit)
      from  13ff0739fdca293adab02b9f4fe78395de251086 (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=cd51b1424477652cccdb83e7a95644d198fd4513

commit cd51b1424477652cccdb83e7a95644d198fd4513
Author: Paul Murphy <murphyp@linux.vnet.ibm.com>
Date:   Thu Aug 27 09:48:04 2015 -0500

    powerpc: Fix usage of elision transient failure adapt param

    The skip_lock_out_of_tbegin_retries adaptive parameter was
    not being used correctly, nor as described.  This prevents
    a fallback for all users of the lock if a transient abort
    occurs within the accepted number of retries.

        [BZ #19174]
        * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
        .skip_lock_out_of_tbegin_retries.
        * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
        (__lll_lock_elision): Likewise, and respect a value of
        try_tbegin <= 0.

    (cherry picked from commit 72f1463df85a522bfd1568e47bd81371522ee358)

    Conflicts:
        NEWS

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

Summary of changes:
 ChangeLog                                      |    9 +++++++++
 NEWS                                           |    2 +-
 sysdeps/powerpc/nptl/elide.h                   |    6 +++---
 sysdeps/unix/sysv/linux/powerpc/elision-lock.c |   15 ++++++---------
 4 files changed, 19 insertions(+), 13 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30709-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Dec 17 19:49:49 2015
Return-Path: <glibc-bugs-return-30709-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 36698 invoked by alias); 17 Dec 2015 19:49:46 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 36590 invoked by uid 55); 17 Dec 2015 19:49:40 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug time/19363] x32: times() return value wrongly truncates/sign extends from 32bit
Date: Thu, 17 Dec 2015 19:49:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: time
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: hjl.tools at gmail dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19363-131-UBMDmrkmzn@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19363-131@http.sourceware.org/bugzilla/>
References: <bug-19363-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00098.txt.bz2
Content-length: 3553

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

--- Comment #10 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  8ead7a9b94a085e6fba69b8b22e2ba0e2677f0d5 (commit)
      from  2094350c9c9c1b87cf34b193ad6541e4a29b62dc (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=8ead7a9b94a085e6fba69b8b22e2ba0e2677f0d5

commit 8ead7a9b94a085e6fba69b8b22e2ba0e2677f0d5
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Dec 17 11:46:49 2015 -0800

    Provide x32 times

    Since times returns 64-bit clock_t on x32, we need to provide x32 times
    by redefining INTERNAL_SYSCALL_NCS and INTERNAL_SYSCALL_ERROR_P with
    64-bit return type for syscall.  All system calls returning 64-bit
    integer, which are lseek, time and times, must be handled specially for
    x32.  lseek is handled by x32 lseek.S and time doesn't check syscall
    return.  times is the only missed one.  Before this patch, there are

    0000000 <__times>:
       0:       b8 64 00 00 40          mov    $0x40000064,%eax
       5:       0f 05                   syscall
       7:       48 63 d0                movslq %eax,%rdx
                                    ^^^^^^^^^^ Incorrect signed extension
       a:       48 83 fa f2             cmp    $0xfffffffffffffff2,%rdx
       e:       75 07                   jne    17 <__times+0x17>
      10:       3d 00 f0 ff ff          cmp    $0xfffff000,%eax
                                    ^^^^^^^^^^^^^^^^^^^^^ 32-bit compare
      15:       77 11                   ja     28 <__times+0x28>
      17:       48 83 fa ff             cmp    $0xffffffffffffffff,%rdx
      1b:       b8 00 00 00 00          mov    $0x0,%eax
      20:       48 0f 45 c2             cmovne %rdx,%rax
      24:       c3                      retq

    After this patch, there are

    00000000 <__times>:
       0:       b8 64 00 00 40          mov    $0x40000064,%eax
       5:       0f 05                   syscall
       7:       48 83 f8 f2             cmp    $0xfffffffffffffff2,%rax
       b:       75 08                   jne    15 <__times+0x15>
       d:       48 3d 00 f0 ff ff       cmp    $0xfffffffffffff000,%rax
      13:       77 13                   ja     28 <__times+0x28>
      15:       48 83 f8 ff             cmp    $0xffffffffffffffff,%rax
      19:       ba 00 00 00 00          mov    $0x0,%edx
      1e:       48 0f 44 c2             cmove  %rdx,%rax
      22:       c3                      retq

    The incorrect signed extension and 32-bit compare are gone.

        [BZ #19363]
        * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.

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

Summary of changes:
 ChangeLog                                          |    5 ++
 .../sysv/linux/x86_64/x32/times.c}                 |   40 +++++++++----------
 2 files changed, 24 insertions(+), 21 deletions(-)
 copy sysdeps/{powerpc/powerpc64/multiarch/stpcpy-power8.S =>
unix/sysv/linux/x86_64/x32/times.c} (53%)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30710-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Dec 17 19:50:33 2015
Return-Path: <glibc-bugs-return-30710-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 49871 invoked by alias); 17 Dec 2015 19:50:33 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 49193 invoked by uid 48); 17 Dec 2015 19:50:29 -0000
From: "hjl.tools at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug time/19363] x32: times() return value wrongly truncates/sign extends from 32bit
Date: Thu, 17 Dec 2015 19:50:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: time
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: hjl.tools at gmail dot com
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-19363-131-Ch5IpKVDwu@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19363-131@http.sourceware.org/bugzilla/>
References: <bug-19363-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00099.txt.bz2
Content-length: 553

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.23

--- Comment #11 from H.J. Lu <hjl.tools at gmail dot com> ---
Fixed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30711-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Dec 18 09:26:19 2015
Return-Path: <glibc-bugs-return-30711-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 107256 invoked by alias); 18 Dec 2015 09:26:18 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 97037 invoked by uid 48); 18 Dec 2015 09:26:15 -0000
From: "t.rus76 at ya dot ru" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug regex/19376] New: regcomp.c needs to be upgraded to GNU Grep's one
Date: Fri, 18 Dec 2015 09:26:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: regex
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: t.rus76 at ya dot ru
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone
Message-ID: <bug-19376-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00100.txt.bz2
Content-length: 1392

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

            Bug ID: 19376
           Summary: regcomp.c needs to be upgraded to GNU Grep's one
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: regex
          Assignee: unassigned at sourceware dot org
          Reporter: t.rus76 at ya dot ru
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

Symptom: GNU Grep does not handle Syriac characters (U+0700 – U+074F) correctly

$ echo 'ܫܠܡܐ' > peace
$ egrep '\<[ܐ-ܬ]' peace
grep: Invalid collation character
$ awk /'\<[ܐ-ܬ]'/ peace
ܫܠܡܐ

However when grep is build with ./configure --with-included-regex
it works just fine and there is no REG_ECOLLATE error

$ echo ܫܠܡܐ | src/egrep [ܫ-ܬ]
ܫܠܡܐ
$ echo ܫܠܡܐ | src/egrep [ܒ-ܓ]
$

This is because GNU Grep contains improved version of regcomp.

The bus was found here:
http://forum.rosalab.ru/viewtopic.php?f=53&t=6219&p=54747 (in Russian)

It is tested and confirmed also on Gentoo (both glibc and grep are 2.22).


I expect there are other bugs that could be fixed with this upgrade.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30712-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Dec 18 12:27:01 2015
Return-Path: <glibc-bugs-return-30712-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 90616 invoked by alias); 18 Dec 2015 12:27:00 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 90580 invoked by uid 48); 18 Dec 2015 12:26:57 -0000
From: "bonzini at gnu dot org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/19376] regex reports "Invalid collation character" for Syriac characters
Date: Fri, 18 Dec 2015 12:27:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bonzini at gnu dot org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc component short_desc
Message-ID: <bug-19376-131-ZMtMU18wsi@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19376-131@http.sourceware.org/bugzilla/>
References: <bug-19376-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00101.txt.bz2
Content-length: 972

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

Paolo Bonzini <bonzini at gnu dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bonzini at gnu dot org,
                   |                            |libc-locales at sourceware dot org
          Component|regex                       |localedata
            Summary|regcomp.c needs to be       |regex reports "Invalid
                   |upgraded to GNU Grep's one  |collation character" for
                   |                            |Syriac characters

--- Comment #1 from Paolo Bonzini <bonzini at gnu dot org> ---
This seems like a bug in the locale definitions (similar to the infamous "[A-Z]
matches some lowercase characters one), not in regex.

What is your locale?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30713-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Dec 18 15:05:38 2015
Return-Path: <glibc-bugs-return-30713-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 110823 invoked by alias); 18 Dec 2015 15:05:37 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 110768 invoked by uid 48); 18 Dec 2015 15:05:33 -0000
From: "t.rus76 at ya dot ru" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/19376] regex reports "Invalid collation character" for Syriac characters
Date: Fri, 18 Dec 2015 15:05:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: t.rus76 at ya dot ru
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19376-131-qEdWrYFE5w@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19376-131@http.sourceware.org/bugzilla/>
References: <bug-19376-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00102.txt.bz2
Content-length: 801

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

--- Comment #2 from t.rus76 at ya dot ru ---
My locale is ru_RU.UTF-8 

Yes, I have got the same idea at the beginning.
with LC_CTYPE=en_GB there was no error
but with LC_ALL=en_US.UTF-8 the bug appeared.

Next step I found there are two files regcomp.c in both Glibc and Grep. 
I have compared them with Diff. They are very similar, but not exactly. 
The one from Grep is obviously newer. But for some reason grep links with glibc
by deafult. 
./configure --with-included-regex enforces linking with newer buildin version.
Then it works flawlessly with the same locale.

I am not a native English speaker and hope my explanation are clear enough.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30714-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Dec 18 15:51:37 2015
Return-Path: <glibc-bugs-return-30714-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 129840 invoked by alias); 18 Dec 2015 15:51:36 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 129781 invoked by uid 48); 18 Dec 2015 15:51:33 -0000
From: "bonzini at gnu dot org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/19376] regex reports "Invalid collation character" for Syriac characters
Date: Fri, 18 Dec 2015 15:51:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bonzini at gnu dot org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19376-131-D2JzN2MCyD@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19376-131@http.sourceware.org/bugzilla/>
References: <bug-19376-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00103.txt.bz2
Content-length: 303

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

--- Comment #3 from Paolo Bonzini <bonzini at gnu dot org> ---
It works flawlessly because it bypasses the localedata. That's why I moved the
bug to localedata. :)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30715-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Dec 18 16:24:19 2015
Return-Path: <glibc-bugs-return-30715-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 115361 invoked by alias); 18 Dec 2015 16:24:16 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 112314 invoked by uid 48); 18 Dec 2015 16:24:02 -0000
From: "carlos at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/19376] regex reports "Invalid collation character" for Syriac characters
Date: Fri, 18 Dec 2015 16:24:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: carlos at redhat dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-19376-131-MUDU7w1iiy@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19376-131@http.sourceware.org/bugzilla/>
References: <bug-19376-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00104.txt.bz2
Content-length: 770

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

Carlos O'Donell <carlos at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |carlos at redhat dot com

--- Comment #4 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to Paolo Bonzini from comment #3)
> It works flawlessly because it bypasses the localedata. That's why I moved
> the bug to localedata. :)

Well the localedata is updated as much as possible and we're on Unicode 8.0.0
right now for UTF-8 charsets.

How might we determine exactly what's wrong?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30716-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Dec 18 16:31:10 2015
Return-Path: <glibc-bugs-return-30716-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 26364 invoked by alias); 18 Dec 2015 16:31:10 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 21705 invoked by uid 55); 18 Dec 2015 16:31:06 -0000
From: "joseph at codesourcery dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/19376] regex reports "Invalid collation character" for Syriac characters
Date: Fri, 18 Dec 2015 16:31:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: joseph at codesourcery dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19376-131-PkkdOR3gtd@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19376-131@http.sourceware.org/bugzilla/>
References: <bug-19376-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00105.txt.bz2
Content-length: 589

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

--- Comment #5 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
On Fri, 18 Dec 2015, carlos at redhat dot com wrote:

> Well the localedata is updated as much as possible and we're on Unicode 8.0.0
> right now for UTF-8 charsets.

Collation, however, is much more out of date (and probably harder to 
correlate with Unicode so we can make sure we're not losing desirable 
local changes if we update it).  See bug 14095.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30717-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Dec 18 16:41:55 2015
Return-Path: <glibc-bugs-return-30717-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 59364 invoked by alias); 18 Dec 2015 16:41:54 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 59218 invoked by uid 48); 18 Dec 2015 16:41:50 -0000
From: "carlos at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/19376] regex reports "Invalid collation character" for Syriac characters
Date: Fri, 18 Dec 2015 16:41:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: carlos at redhat dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19376-131-K0QAS0h6Lq@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19376-131@http.sourceware.org/bugzilla/>
References: <bug-19376-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00106.txt.bz2
Content-length: 1005

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

--- Comment #6 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to joseph@codesourcery.com from comment #5)
> On Fri, 18 Dec 2015, carlos at redhat dot com wrote:
> 
> > Well the localedata is updated as much as possible and we're on Unicode 8.0.0
> > right now for UTF-8 charsets.
> 
> Collation, however, is much more out of date (and probably harder to 
> correlate with Unicode so we can make sure we're not losing desirable 
> local changes if we update it).  See bug 14095.

Correct, so if it's a collation issue, likely maybe, then it would be good to
find a reproducer that shows via strlcoll the problem with Syriac characters.
Until then an english speaking developer is going to have a hard time figuring
this out, or the issue will go away once we start automating the collation data
updates also (which should be our plan).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30718-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sat Dec 19 16:47:22 2015
Return-Path: <glibc-bugs-return-30718-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 45641 invoked by alias); 19 Dec 2015 16:47:22 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 45615 invoked by uid 48); 19 Dec 2015 16:47:18 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19380] New: strtod does not raise "inexact"
Date: Sat, 19 Dec 2015 16:47:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-19380-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00107.txt.bz2
Content-length: 668

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

            Bug ID: 19380
           Summary: strtod does not raise "inexact"
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org
  Target Milestone: ---

When the result of strtod (on an argument such as "0.1") is inexact, strtod
should raise the "inexact" exception, but fails to do so except in the case of
underflow or overflow.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30719-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sat Dec 19 17:00:40 2015
Return-Path: <glibc-bugs-return-30719-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 89653 invoked by alias); 19 Dec 2015 17:00:37 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 89590 invoked by uid 48); 19 Dec 2015 17:00:32 -0000
From: "alexvong1995 at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug manual/13792] Which license applies to the code examples in the manual?
Date: Sat, 19 Dec 2015 17:00:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: manual
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: alexvong1995 at gmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-13792-131-TV8eGe6qo2@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-13792-131@http.sourceware.org/bugzilla/>
References: <bug-13792-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00108.txt.bz2
Content-length: 719

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

Alex Vong <alexvong1995 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alexvong1995 at gmail dot com

--- Comment #6 from Alex Vong <alexvong1995 at gmail dot com> ---
Hi glibc developers,

Can you please also release this piece of example code
<https://www.gnu.org/software/libc/manual/html_mono/libc.html#Wordexp-Example>
under GPLv2+? I am fixing some code and the example does exactly what I need.

Thank you!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30722-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sun Dec 20 17:56:45 2015
Return-Path: <glibc-bugs-return-30722-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 92076 invoked by alias); 20 Dec 2015 17:56:45 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 91853 invoked by uid 55); 20 Dec 2015 17:56:34 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug nscd/16760] Overlapping source and destination in calls to stpcpy from nscd
Date: Sun, 20 Dec 2015 17:56:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: nscd
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: sid@reserved-bit.com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-16760-131-XODrqEtRIY@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-16760-131@http.sourceware.org/bugzilla/>
References: <bug-16760-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00111.txt.bz2
Content-length: 4756

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

--- Comment #4 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, release/2.19/master has been updated
       via  b963026c07a304bcfcf56ad5ee9b4f0797c7d3df (commit)
       via  56b2cf5633f90c722b8f4ed257311b23ebed7399 (commit)
       via  2f3bd411aefa9747f17740e9ab06676d51241098 (commit)
      from  60f10f2326aa47c7f49b752c1730e084b2319aa7 (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=b963026c07a304bcfcf56ad5ee9b4f0797c7d3df

commit b963026c07a304bcfcf56ad5ee9b4f0797c7d3df
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date:   Thu Mar 27 19:48:15 2014 +0530

    Avoid overlapping addresses to stpcpy calls in nscd (BZ #16760)

    Calls to stpcpy from nscd netgroups code will have overlapping source
    and destination when all three values in the returned triplet are
    non-NULL and in the expected (host,user,domain) order.  This is seen
    in valgrind as:

    ==3181== Source and destination overlap in stpcpy(0x19973b48, 0x19973b48)
    ==3181==    at 0x4C2F30A: stpcpy (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
    ==3181==    by 0x12567A: addgetnetgrentX (string3.h:111)
    ==3181==    by 0x12722D: addgetnetgrent (netgroupcache.c:665)
    ==3181==    by 0x11114C: nscd_run_worker (connections.c:1338)
    ==3181==    by 0x4E3C102: start_thread (pthread_create.c:309)
    ==3181==    by 0x59B81AC: clone (clone.S:111)
    ==3181==

    Fix this by using memmove instead of stpcpy.

    (cherry picked from commit ea7d8b95e2fcb81f68b04ed7787a3dbda023991a)

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

commit 56b2cf5633f90c722b8f4ed257311b23ebed7399
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date:   Thu Mar 27 19:49:51 2014 +0530

    Return NULL for wildcard values in getnetgrent from nscd (BZ #16759)

    getnetgrent is supposed to return NULL for values that are wildcards
    in the (host, user, domain) triplet.  This works correctly with nscd
    disabled, but with it enabled, it returns a blank ("") instead of a
    NULL.  This is easily seen with the output of `getent netgroup foonet`
    for a netgroup foonet defined as follows in /etc/netgroup:

        foonet (,foo,)

    The output with nscd disabled is:

        foonet ( ,foo,)

    while with nscd enabled, it is:

        foonet (,foo,)

    The extra space with nscd disabled is due to the fact that `getent
    netgroup` adds it if the return value from getnetgrent is NULL for
    either host or user.

    (cherry picked from commit dd3022d75e6fb8957843d6d84257a5d8457822d5)

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

commit 2f3bd411aefa9747f17740e9ab06676d51241098
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date:   Thu Mar 27 07:15:22 2014 +0530

    Fix nscd lookup for innetgr when netgroup has wildcards (BZ #16758)

    nscd works correctly when the request in innetgr is a wildcard,
    i.e. when one or more of host, user or domain parameters is NULL.
    However, it does not work when the the triplet in the netgroup
    definition has a wildcard.  This is easy to reproduce for a triplet
    defined as follows:

        foonet (,foo,)

    Here, an innetgr call that looks like this:

        innetgr ("foonet", "foohost", "foo", NULL);

    should succeed and so should:

        innetgr ("foonet", NULL, "foo", "foodomain");

    It does succeed with nscd disabled, but not with nscd enabled.  This
    fix adds this additional check for all three parts of the triplet so
    that it gives the correct result.

        [BZ #16758]
        * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
        blank values.

    (cherry picked from commit fbd6b5a4052316f7eb03c4617eebfaafc59dcc06)

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

Summary of changes:
 ChangeLog            |   14 ++++++++++++++
 NEWS                 |    7 ++++---
 inet/getnetgrent_r.c |   14 +++++++++++---
 nscd/netgroupcache.c |   26 +++++++++++++++++---------
 4 files changed, 46 insertions(+), 15 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30720-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sun Dec 20 17:56:44 2015
Return-Path: <glibc-bugs-return-30720-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 91959 invoked by alias); 20 Dec 2015 17:56:43 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 91856 invoked by uid 55); 20 Dec 2015 17:56:34 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug nscd/16759] getnetgrent_r returns blank strings instead of NULL with nscd enabled
Date: Sun, 20 Dec 2015 17:56:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: nscd
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: sid@reserved-bit.com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-16759-131-JT9Q3atLAr@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-16759-131@http.sourceware.org/bugzilla/>
References: <bug-16759-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00109.txt.bz2
Content-length: 4756

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

--- Comment #4 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, release/2.19/master has been updated
       via  b963026c07a304bcfcf56ad5ee9b4f0797c7d3df (commit)
       via  56b2cf5633f90c722b8f4ed257311b23ebed7399 (commit)
       via  2f3bd411aefa9747f17740e9ab06676d51241098 (commit)
      from  60f10f2326aa47c7f49b752c1730e084b2319aa7 (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=b963026c07a304bcfcf56ad5ee9b4f0797c7d3df

commit b963026c07a304bcfcf56ad5ee9b4f0797c7d3df
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date:   Thu Mar 27 19:48:15 2014 +0530

    Avoid overlapping addresses to stpcpy calls in nscd (BZ #16760)

    Calls to stpcpy from nscd netgroups code will have overlapping source
    and destination when all three values in the returned triplet are
    non-NULL and in the expected (host,user,domain) order.  This is seen
    in valgrind as:

    ==3181== Source and destination overlap in stpcpy(0x19973b48, 0x19973b48)
    ==3181==    at 0x4C2F30A: stpcpy (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
    ==3181==    by 0x12567A: addgetnetgrentX (string3.h:111)
    ==3181==    by 0x12722D: addgetnetgrent (netgroupcache.c:665)
    ==3181==    by 0x11114C: nscd_run_worker (connections.c:1338)
    ==3181==    by 0x4E3C102: start_thread (pthread_create.c:309)
    ==3181==    by 0x59B81AC: clone (clone.S:111)
    ==3181==

    Fix this by using memmove instead of stpcpy.

    (cherry picked from commit ea7d8b95e2fcb81f68b04ed7787a3dbda023991a)

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

commit 56b2cf5633f90c722b8f4ed257311b23ebed7399
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date:   Thu Mar 27 19:49:51 2014 +0530

    Return NULL for wildcard values in getnetgrent from nscd (BZ #16759)

    getnetgrent is supposed to return NULL for values that are wildcards
    in the (host, user, domain) triplet.  This works correctly with nscd
    disabled, but with it enabled, it returns a blank ("") instead of a
    NULL.  This is easily seen with the output of `getent netgroup foonet`
    for a netgroup foonet defined as follows in /etc/netgroup:

        foonet (,foo,)

    The output with nscd disabled is:

        foonet ( ,foo,)

    while with nscd enabled, it is:

        foonet (,foo,)

    The extra space with nscd disabled is due to the fact that `getent
    netgroup` adds it if the return value from getnetgrent is NULL for
    either host or user.

    (cherry picked from commit dd3022d75e6fb8957843d6d84257a5d8457822d5)

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

commit 2f3bd411aefa9747f17740e9ab06676d51241098
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date:   Thu Mar 27 07:15:22 2014 +0530

    Fix nscd lookup for innetgr when netgroup has wildcards (BZ #16758)

    nscd works correctly when the request in innetgr is a wildcard,
    i.e. when one or more of host, user or domain parameters is NULL.
    However, it does not work when the the triplet in the netgroup
    definition has a wildcard.  This is easy to reproduce for a triplet
    defined as follows:

        foonet (,foo,)

    Here, an innetgr call that looks like this:

        innetgr ("foonet", "foohost", "foo", NULL);

    should succeed and so should:

        innetgr ("foonet", NULL, "foo", "foodomain");

    It does succeed with nscd disabled, but not with nscd enabled.  This
    fix adds this additional check for all three parts of the triplet so
    that it gives the correct result.

        [BZ #16758]
        * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
        blank values.

    (cherry picked from commit fbd6b5a4052316f7eb03c4617eebfaafc59dcc06)

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

Summary of changes:
 ChangeLog            |   14 ++++++++++++++
 NEWS                 |    7 ++++---
 inet/getnetgrent_r.c |   14 +++++++++++---
 nscd/netgroupcache.c |   26 +++++++++++++++++---------
 4 files changed, 46 insertions(+), 15 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30721-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sun Dec 20 17:56:45 2015
Return-Path: <glibc-bugs-return-30721-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 91974 invoked by alias); 20 Dec 2015 17:56:44 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 91861 invoked by uid 55); 20 Dec 2015 17:56:35 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug nscd/16758] nscd incorrectly returns failure for innetgr for netgroup entries with wildcards in them
Date: Sun, 20 Dec 2015 17:56:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: nscd
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: sid@reserved-bit.com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-16758-131-mMqokZvhjW@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-16758-131@http.sourceware.org/bugzilla/>
References: <bug-16758-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00110.txt.bz2
Content-length: 4756

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

--- Comment #4 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, release/2.19/master has been updated
       via  b963026c07a304bcfcf56ad5ee9b4f0797c7d3df (commit)
       via  56b2cf5633f90c722b8f4ed257311b23ebed7399 (commit)
       via  2f3bd411aefa9747f17740e9ab06676d51241098 (commit)
      from  60f10f2326aa47c7f49b752c1730e084b2319aa7 (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=b963026c07a304bcfcf56ad5ee9b4f0797c7d3df

commit b963026c07a304bcfcf56ad5ee9b4f0797c7d3df
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date:   Thu Mar 27 19:48:15 2014 +0530

    Avoid overlapping addresses to stpcpy calls in nscd (BZ #16760)

    Calls to stpcpy from nscd netgroups code will have overlapping source
    and destination when all three values in the returned triplet are
    non-NULL and in the expected (host,user,domain) order.  This is seen
    in valgrind as:

    ==3181== Source and destination overlap in stpcpy(0x19973b48, 0x19973b48)
    ==3181==    at 0x4C2F30A: stpcpy (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
    ==3181==    by 0x12567A: addgetnetgrentX (string3.h:111)
    ==3181==    by 0x12722D: addgetnetgrent (netgroupcache.c:665)
    ==3181==    by 0x11114C: nscd_run_worker (connections.c:1338)
    ==3181==    by 0x4E3C102: start_thread (pthread_create.c:309)
    ==3181==    by 0x59B81AC: clone (clone.S:111)
    ==3181==

    Fix this by using memmove instead of stpcpy.

    (cherry picked from commit ea7d8b95e2fcb81f68b04ed7787a3dbda023991a)

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

commit 56b2cf5633f90c722b8f4ed257311b23ebed7399
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date:   Thu Mar 27 19:49:51 2014 +0530

    Return NULL for wildcard values in getnetgrent from nscd (BZ #16759)

    getnetgrent is supposed to return NULL for values that are wildcards
    in the (host, user, domain) triplet.  This works correctly with nscd
    disabled, but with it enabled, it returns a blank ("") instead of a
    NULL.  This is easily seen with the output of `getent netgroup foonet`
    for a netgroup foonet defined as follows in /etc/netgroup:

        foonet (,foo,)

    The output with nscd disabled is:

        foonet ( ,foo,)

    while with nscd enabled, it is:

        foonet (,foo,)

    The extra space with nscd disabled is due to the fact that `getent
    netgroup` adds it if the return value from getnetgrent is NULL for
    either host or user.

    (cherry picked from commit dd3022d75e6fb8957843d6d84257a5d8457822d5)

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

commit 2f3bd411aefa9747f17740e9ab06676d51241098
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date:   Thu Mar 27 07:15:22 2014 +0530

    Fix nscd lookup for innetgr when netgroup has wildcards (BZ #16758)

    nscd works correctly when the request in innetgr is a wildcard,
    i.e. when one or more of host, user or domain parameters is NULL.
    However, it does not work when the the triplet in the netgroup
    definition has a wildcard.  This is easy to reproduce for a triplet
    defined as follows:

        foonet (,foo,)

    Here, an innetgr call that looks like this:

        innetgr ("foonet", "foohost", "foo", NULL);

    should succeed and so should:

        innetgr ("foonet", NULL, "foo", "foodomain");

    It does succeed with nscd disabled, but not with nscd enabled.  This
    fix adds this additional check for all three parts of the triplet so
    that it gives the correct result.

        [BZ #16758]
        * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
        blank values.

    (cherry picked from commit fbd6b5a4052316f7eb03c4617eebfaafc59dcc06)

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

Summary of changes:
 ChangeLog            |   14 ++++++++++++++
 NEWS                 |    7 ++++---
 inet/getnetgrent_r.c |   14 +++++++++++---
 nscd/netgroupcache.c |   26 +++++++++++++++++---------
 4 files changed, 46 insertions(+), 15 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30723-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Dec 21 02:54:24 2015
Return-Path: <glibc-bugs-return-30723-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 18842 invoked by alias); 21 Dec 2015 02:54:24 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 18544 invoked by uid 48); 21 Dec 2015 02:54:18 -0000
From: "chan45.lee at samsung dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug dynamic-link/19329] dl-tls.c assert failure at concurrent pthread_create and dlopen
Date: Mon, 21 Dec 2015 02:54:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: dynamic-link
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: chan45.lee at samsung dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-19329-131-RKz8v92Dqj@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19329-131@http.sourceware.org/bugzilla/>
References: <bug-19329-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00112.txt.bz2
Content-length: 401

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

Chan Lee <chan45.lee at samsung dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |chan45.lee at samsung dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30724-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Dec 21 07:24:33 2015
Return-Path: <glibc-bugs-return-30724-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 64739 invoked by alias); 21 Dec 2015 07:24:32 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 55720 invoked by uid 48); 21 Dec 2015 07:24:29 -0000
From: "kb9vqf at pearsoncomputing dot net" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19384] New: Vector math library is only available for x86
Date: Mon, 21 Dec 2015 07:24:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.24
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: kb9vqf at pearsoncomputing dot net
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-19384-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00113.txt.bz2
Content-length: 693

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

            Bug ID: 19384
           Summary: Vector math library is only available for x86
           Product: glibc
           Version: 2.24
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: kb9vqf at pearsoncomputing dot net
  Target Milestone: ---

The new vector math library is only available for x86, which is increasingly a
hardware restricted platform.  Please port the vector math library to ppc64el
(VMX/AltiVec).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30725-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Dec 21 09:56:34 2015
Return-Path: <glibc-bugs-return-30725-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 122994 invoked by alias); 21 Dec 2015 09:56:34 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 122836 invoked by uid 48); 21 Dec 2015 09:56:30 -0000
From: "dam+gnu at ktnx dot net" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/19385] New: Time separator in bg_BG should be colon, not comma
Date: Mon, 21 Dec 2015 09:56:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: 2.21
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dam+gnu at ktnx dot net
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone attachments.created
Message-ID: <bug-19385-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00114.txt.bz2
Content-length: 2592

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

            Bug ID: 19385
           Summary: Time separator in bg_BG should be colon, not comma
           Product: glibc
           Version: 2.21
            Status: NEW
          Severity: normal
          Priority: P2
         Component: localedata
          Assignee: unassigned at sourceware dot org
          Reporter: dam+gnu at ktnx dot net
                CC: libc-locales at sourceware dot org
  Target Milestone: ---

Created attachment 8856
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8856&action=edit
Trivial patch

Initially reported for the Debian package in <https://bugs.debian.org/808143>.
The Debian maintainer asked to report it here after collecting some proof.

The time format specified in the bg_BG locale is:

 $ locale -k t_fmt t_fmt_ampm date_fmt
 t_fmt="%k,%M,%S"
 t_fmt_ampm="%l,%M,%S"
 date_fmt="%a %b %e %H:%M:%S %Z %Y"

t_fmt[_ampm] should use colons instead of commas, like date_fmt already does.

An example of the badly formatted time can be seen in empathy chat windows when 
using 'Boxes' or 'Planet GNOME' themes.

Trivial patch attached.

Now about the rationale. The only official source is the "Official spelling
dictionary of the Bulgarian language, Prosveta 2012", which states there are
three ways to separate time components: comma, colon and dot. That same
dictionary doesn't say which one is preferred.

So I turned to the mailing list of the translators of free software in
Bulgarian. The consensus is that colon is the only separator that is widely
used in Bulgarian texts and everything else will just be confusing.

The discussion started at
<http://lists.ludost.net/pipermail/dict/2015-December/000538.html>. It is all
in Bulgarian, but I'll summarize opinions below:

 * Alexander Shopov (the author of the current setting): "I always use a colon.
The comma is also used as a decimal sign and may lead to confusion. Is '10,25'
25 minutes after 10 o'clock or 10 hours and 25/100ths?".
 * Mikhail Balabanov: "I also prefer the colon as most unambiguous and I think
most used variant of the officially allowed separators. The dot is also used
for dates and the comma for decimal numbers".
 * Borislav Mitev: "+1 for the colon"
 * Sah War: "The colon is the only right symbol."

My opinion is not there, but in case it is not obvious, I use comma when
translating and writing times, and expect that the locale uses it too.

There were no opinions against the change.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30726-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Dec 21 14:58:32 2015
Return-Path: <glibc-bugs-return-30726-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 13029 invoked by alias); 21 Dec 2015 14:58:32 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 12632 invoked by uid 48); 21 Dec 2015 14:58:28 -0000
From: "cherepan at mccme dot ru" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug string/19387] New: Integer overflow in memchr
Date: Mon, 21 Dec 2015 14:58:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: string
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cherepan at mccme dot ru
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security+
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone flagtypes.name
Message-ID: <bug-19387-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00115.txt.bz2
Content-length: 3564

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

            Bug ID: 19387
           Summary: Integer overflow in memchr
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: string
          Assignee: unassigned at sourceware dot org
          Reporter: cherepan at mccme dot ru
  Target Milestone: ---
             Flags: security+

On x86_64 (and other archs?), memchr in the following program fails to find the
searched character. The program prints "(nil)".

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

#include <stdalign.h>
#include <stdint.h>
#include <string.h>
#include <stdio.h>

int main()
{
  alignas(64) char w[65] = {0}; /* all the array is filled with 0s */
  /* we will search for a 1 */
  w[64] = 1; /* placing a 1 right after the end of 64-byte block */

  printf("%p\n", memchr(&w[63], 1, SIZE_MAX));
}

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

The failing conditions:
- the address of the string (s) modulo 64 is in the range 49 .. 63;
- there is no searched char in the rest of the 64-byte block;
- the number (n) of bytes to search is in the range (size_t)-15 .. (size_t)-1;
- n + (uintptr_t)s % 16 overflows.

The implementation of memchr used on my machine is in sysdeps/x86_64/memchr.S:

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

    21  /* fast SSE2 version with using pmaxub and 64 byte loop */
    22  
    23          .text
    24  ENTRY(memchr)
    25          movd    %rsi, %xmm1
    26          mov     %rdi, %rcx

Move (uintptr_t)s into %rcx.

    27  
    28          punpcklbw %xmm1, %xmm1
    29          test    %rdx, %rdx
    30          jz      L(return_null)
    31          punpcklbw %xmm1, %xmm1
    32  
    33          and     $63, %rcx

Compute (uintptr_t)s % 64 in %rcx.

    34          pshufd  $0, %xmm1, %xmm1
    35  
    36          cmp     $48, %rcx
    37          ja      L(crosscache)

If (uintptr_t)s % 64 > 48 go to L(crosscache).

[skip]

    55          .p2align 4
    56  L(crosscache):
    57          and     $15, %rcx

Compute (uintptr_t)s % 16 in %rcx.

    58          and     $-16, %rdi
    59          movdqa  (%rdi), %xmm0
    60  
    61          pcmpeqb %xmm1, %xmm0
    62  /* Check if there is a match.  */
    63          pmovmskb %xmm0, %eax
    64  /* Remove the leading bytes.  */
    65          sar     %cl, %eax
    66          test    %eax, %eax
    67          je      L(unaligned_no_match)

No match in the unaligned part of the string, so go to L(unaligned_no_match).

[skip]

    77          .p2align 4
    78  L(unaligned_no_match):
    79          add     %rcx, %rdx

Add (uintptr_t)s % 16 to n in %rdx.

    80          sub     $16, %rdx
    81          jbe     L(return_null)

If n + (uintptr_t)s % 16 <= 16 return NULL.

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

Checked on x86_64:
- git master (glibc-2.22-616-g5537f46) -- failed;
- Debian jessie (glibc 2.19-18+deb8u1) -- failed;
- Debian wheezy (eglibc 2.13-38+deb7u8) -- failed.

Checked on x86_64 with gcc -m32:
- Debian jessie (glibc 2.19-18+deb8u1) -- failed;
- Debian wheezy (eglibc 2.13-38+deb7u8) -- ok.

I didn't look into the details of 32-bit version.

Not finding a char can have evident security implications but using it with
n=SIZE_MAX seems rare hence filing it publicly.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30727-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Dec 21 15:55:47 2015
Return-Path: <glibc-bugs-return-30727-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 80685 invoked by alias); 21 Dec 2015 15:55:47 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 80620 invoked by uid 48); 21 Dec 2015 15:55:43 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19384] Vector math library is only available for x86
Date: Mon, 21 Dec 2015 15:55:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.24
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: INVALID
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-19384-131-hwx7Ev91F6@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19384-131@http.sourceware.org/bugzilla/>
References: <bug-19384-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00116.txt.bz2
Content-length: 911

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
Bugzilla is not appropriate for this sort of feature request.  Please see:

https://sourceware.org/glibc/wiki/Contribution%20checklist

if you wish to submit a patch implementing this feature, or add general ideas
for non-bug enhancements to the todo list at:

https://sourceware.org/glibc/wiki/Development_Todo/Master#Power

(contact libc-alpha if you need someone to give write access to your wiki
account).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30728-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Dec 21 16:30:42 2015
Return-Path: <glibc-bugs-return-30728-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 50996 invoked by alias); 21 Dec 2015 16:30:41 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 50745 invoked by uid 55); 21 Dec 2015 16:30:32 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug malloc/19182] malloc deadlock between ptmalloc_lock_all and _int_new_arena
Date: Mon, 21 Dec 2015 16:30:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: malloc
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: fweimer at redhat dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19182-131-mNiO8ScLOt@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19182-131@http.sourceware.org/bugzilla/>
References: <bug-19182-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00117.txt.bz2
Content-length: 2259

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

--- Comment #2 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  90c400bd4904b0240a148f0b357a5cbc36179239 (commit)
      from  b300455644e2945da05eb49d12d3a037f1408be1 (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=90c400bd4904b0240a148f0b357a5cbc36179239

commit 90c400bd4904b0240a148f0b357a5cbc36179239
Author: Florian Weimer <fweimer@redhat.com>
Date:   Mon Dec 21 16:42:46 2015 +0100

    malloc: Fix list_lock/arena lock deadlock [BZ #19182]

        * malloc/arena.c (list_lock): Document lock ordering requirements.
        (free_list_lock): New lock.
        (ptmalloc_lock_all): Comment on free_list_lock.
        (ptmalloc_unlock_all2): Reinitialize free_list_lock.
        (detach_arena): Update comment.  free_list_lock is now needed.
        (_int_new_arena): Use free_list_lock around detach_arena call.
        Acquire arena lock after list_lock.  Add comment, including FIXME
        about incorrect synchronization.
        (get_free_list): Switch to free_list_lock.
        (reused_arena): Acquire free_list_lock around detach_arena call
        and attached threads counter update.  Add two FIXMEs about
        incorrect synchronization.
        (arena_thread_freeres): Switch to free_list_lock.
        * malloc/malloc.c (struct malloc_state): Update comments to
        mention free_list_lock.

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

Summary of changes:
 ChangeLog       |   19 +++++++++++++++
 malloc/arena.c  |   66 ++++++++++++++++++++++++++++++++++++++++++------------
 malloc/malloc.c |    6 ++--
 3 files changed, 73 insertions(+), 18 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30729-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Dec 21 16:31:20 2015
Return-Path: <glibc-bugs-return-30729-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 53545 invoked by alias); 21 Dec 2015 16:31:20 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 53165 invoked by uid 48); 21 Dec 2015 16:31:16 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug malloc/19182] malloc deadlock between ptmalloc_lock_all and _int_new_arena
Date: Mon, 21 Dec 2015 16:31:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: malloc
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: fweimer at redhat dot com
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-19182-131-VukUEuhRIb@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19182-131@http.sourceware.org/bugzilla/>
References: <bug-19182-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00118.txt.bz2
Content-length: 572

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.23

--- Comment #3 from Florian Weimer <fweimer at redhat dot com> ---
Fixed in 2.23.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30730-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Dec 21 18:19:23 2015
Return-Path: <glibc-bugs-return-30730-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 77860 invoked by alias); 21 Dec 2015 18:19:23 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 77833 invoked by uid 48); 21 Dec 2015 18:19:19 -0000
From: "kb9vqf at pearsoncomputing dot net" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19384] Vector math library is only available for x86
Date: Mon, 21 Dec 2015 18:19:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.24
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: kb9vqf at pearsoncomputing dot net
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: INVALID
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19384-131-mJrtQ1eEba@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19384-131@http.sourceware.org/bugzilla/>
References: <bug-19384-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00119.txt.bz2
Content-length: 426

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

--- Comment #2 from Timothy Pearson <kb9vqf at pearsoncomputing dot net> ---
Yeah I'm not permitted to create a Wiki account apparently ("Surge
protection"?).  At minimum the page at
https://sourceware.org/glibc/wiki/libmvec needs to be updated to clearly state
that libmec is x86 only.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30731-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Dec 21 18:58:50 2015
Return-Path: <glibc-bugs-return-30731-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 41887 invoked by alias); 21 Dec 2015 18:58:50 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 41508 invoked by uid 48); 21 Dec 2015 18:58:45 -0000
From: "kb9vqf at pearsoncomputing dot net" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19384] Vector math library is only available for x86
Date: Mon, 21 Dec 2015 18:58:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.24
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: kb9vqf at pearsoncomputing dot net
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: INVALID
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19384-131-fzVUzbf3Ii@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19384-131@http.sourceware.org/bugzilla/>
References: <bug-19384-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00120.txt.bz2
Content-length: 542

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

--- Comment #3 from Timothy Pearson <kb9vqf at pearsoncomputing dot net> ---
(In reply to Timothy Pearson from comment #2)
> Yeah I'm not permitted to create a Wiki account apparently ("Surge
> protection"?).  At minimum the page at
> https://sourceware.org/glibc/wiki/libmvec needs to be updated to clearly
> state that libmec is x86 only.

Was able to work around it.  Message sent to the list as well.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30732-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Dec 21 20:51:58 2015
Return-Path: <glibc-bugs-return-30732-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 86444 invoked by alias); 21 Dec 2015 20:51:58 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 86417 invoked by uid 48); 21 Dec 2015 20:51:55 -0000
From: "cherepan at mccme dot ru" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug string/19390] New: Integer overflow in strncat
Date: Mon, 21 Dec 2015 20:51:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: string
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cherepan at mccme dot ru
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security+
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone flagtypes.name
Message-ID: <bug-19390-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00121.txt.bz2
Content-length: 2819

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

            Bug ID: 19390
           Summary: Integer overflow in strncat
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: string
          Assignee: unassigned at sourceware dot org
          Reporter: cherepan at mccme dot ru
  Target Milestone: ---
             Flags: security+

Apparently, on x86_64 (and other archs?) the asm version of strncat has an
integer overflow similar to bug 19387.

sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S is used on my machine. I
didn't look into the details but it looks like strncat(s1, s2, n) misbehave
when n is near SIZE_MAX, strlen(s2) >= 34 and s2 has specific offset.

For example, the program:

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

#include <stdint.h>
#include <stdalign.h>
#include <string.h>
#include <stdio.h>

int main()
{
  alignas(64) char s[144];
  memset(s, 1, sizeof s);

  /* the first string... */
  char *s1 = s;             /* ...is at the start of the buffer */
  s1[0] = 0;                /* ...and is empty */

  /* the second string...  */
  char *s2 = s + 95;            /* ...starts as pos 95,  */
  memset(s2, 2, s + sizeof s - s2); /* ...filled with 2s for contrast */
  s2[33] = 0;                   /* ...and has the length 33 */

  printf("before:\n");
  for (int i = 0; i < 50; i++)
    printf("%x", (unsigned char)s[i]);
  printf("...\n");

  strncat(s1, s2, SIZE_MAX);

  printf("after:\n");
  for (int i = 0; i < 50; i++)
    printf("%x", (unsigned char)s[i]);
  printf("...\n");
  printf("%-33s^\n", "the string should end here");
}

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

outputs this:

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

before:
01111111111111111111111111111111111111111111111111...
after:
22222222222222222222222222222222202222211111111111...
the string should end here       ^

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

Here, strncat put '\0' exactly where it should be but also copied 5 extra chars
from s2 into s1 after '\0'. In other cases it copies less chars than required.

Checked on x86_64:
- git master (glibc-2.22-616-g5537f46) -- failed;
- Debian jessie (glibc 2.19-18+deb8u1) -- failed;
- Debian wheezy (eglibc 2.13-38+deb7u8) -- ok.

Checked on x86_64 with gcc -m32:
- Debian jessie (glibc 2.19-18+deb8u1) -- failed;
- Debian wheezy (eglibc 2.13-38+deb7u8) -- ok.

I didn't look into the details of 32-bit version.

The bug can have evident security implications but using strncat with
n=SIZE_MAX seems rare hence filing it publicly.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30733-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Dec 21 21:10:03 2015
Return-Path: <glibc-bugs-return-30733-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 40833 invoked by alias); 21 Dec 2015 21:10:03 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 40783 invoked by uid 48); 21 Dec 2015 21:09:58 -0000
From: "dam+gnu at ktnx dot net" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/19385] Time separator in bg_BG should be colon, not comma
Date: Mon, 21 Dec 2015 21:10:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: 2.21
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dam+gnu at ktnx dot net
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19385-131-Df43nI5txT@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19385-131@http.sourceware.org/bugzilla/>
References: <bug-19385-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00122.txt.bz2
Content-length: 521

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

--- Comment #1 from Damyan Ivanov <dam+gnu at ktnx dot net> ---
> My opinion is not there, but in case it is not obvious, I use comma when
> translating and writing times, and expect that the locale uses it too.
> 
> There were no opinions against the change.
Gah, I mean I use *colon* and there were no opinions against changing the
locale to use colon. Sorry about the confusion.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30734-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Dec 21 22:51:13 2015
Return-Path: <glibc-bugs-return-30734-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 42080 invoked by alias); 21 Dec 2015 22:51:13 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 42045 invoked by uid 48); 21 Dec 2015 22:51:08 -0000
From: "pascal_cuoq at hotmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug string/19391] New: strnlen invokes UB by adding maxlen to str
Date: Mon, 21 Dec 2015 22:51:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: string
X-Bugzilla-Version: 2.24
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pascal_cuoq at hotmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-19391-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00123.txt.bz2
Content-length: 1790

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

            Bug ID: 19391
           Summary: strnlen invokes UB by adding maxlen to str
           Product: glibc
           Version: 2.24
            Status: NEW
          Severity: normal
          Priority: P2
         Component: string
          Assignee: unassigned at sourceware dot org
          Reporter: pascal_cuoq at hotmail dot com
  Target Milestone: ---

Consider the function strnlen:

size_t strnlen (const char *str, size_t maxlen);

The POSIX standard does not mandate that maxlen bytes are valid to access from
the pointer str:

http://pubs.opengroup.org/onlinepubs/9699919799/functions/strlen.html

The maxlen argument is used to limit the number of chars accessed (and the
length returned) but there is no constraint that all bytes between str + 0 and 
str + maxlen - 1  are part of a same object.

When maxlen is larger than the number of bytes that are part of an object
including str, the addition str + maxlen invokes undefined behavior:

https://sourceware.org/git/?p=glibc.git;a=blob;f=string/strnlen.c;h=d2bb843fddbf93eebb857cd0896cb3441bafa431;hb=HEAD#l36

The comparison end_ptr < str is nonsensical: it is always false when the
pointer arithmetic str + maxlen is defined. An optimizing compiler is allowed
to treat this expression as false:

https://sourceware.org/git/?p=glibc.git;a=blob;f=string/strnlen.c;h=d2bb843fddbf93eebb857cd0896cb3441bafa431;hb=HEAD#l43

Glibc is only intended to be compiled with GCC. Unfortunately, it is GCC that
made headlines in 2008 for optimizing “end_ptr < str”-type pointer overflow
checks to false:

https://lwn.net/Articles/278137/

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30735-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Dec 21 23:20:48 2015
Return-Path: <glibc-bugs-return-30735-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 75139 invoked by alias); 21 Dec 2015 23:20:48 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 75108 invoked by uid 48); 21 Dec 2015 23:20:44 -0000
From: "cherepan at mccme dot ru" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug string/19391] strnlen invokes UB by adding maxlen to str
Date: Mon, 21 Dec 2015 23:20:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: string
X-Bugzilla-Version: 2.24
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cherepan at mccme dot ru
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-19391-131-xXQO8rlYDh@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19391-131@http.sourceware.org/bugzilla/>
References: <bug-19391-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00124.txt.bz2
Content-length: 401

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

Alexander Cherepanov <cherepan at mccme dot ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cherepan at mccme dot ru

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30736-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Dec 22 18:14:22 2015
Return-Path: <glibc-bugs-return-30736-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 75547 invoked by alias); 22 Dec 2015 18:14:21 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 75491 invoked by uid 48); 22 Dec 2015 18:14:17 -0000
From: "howey014 at umn dot edu" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug string/19390] Integer overflow in strncat
Date: Tue, 22 Dec 2015 18:14:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: string
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: howey014 at umn dot edu
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security+
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-19390-131-qRXSrWaaJx@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19390-131@http.sourceware.org/bugzilla/>
References: <bug-19390-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00125.txt.bz2
Content-length: 833

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

howey014 at umn dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |howey014 at umn dot edu

--- Comment #1 from howey014 at umn dot edu ---
I tried your code on ppc 32-bit, with glibc 2.20 as I didn't have 2.22
available.

$ file bug
bug: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV),
dynamically linked (uses shared libs), for GNU/Linux 2.6.32, not stripped

$ ./bug
before:
01111111111111111111111111111111111111111111111111...
after:
22222222222222222222222222222222201111111111111111...
the string should end here       ^

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30737-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Dec 23 00:05:26 2015
Return-Path: <glibc-bugs-return-30737-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 68535 invoked by alias); 23 Dec 2015 00:05:26 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 68434 invoked by uid 48); 23 Dec 2015 00:05:22 -0000
From: "cherepan at mccme dot ru" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug stdio/17829] Incorrect handling of precision specifier in printf family
Date: Wed, 23 Dec 2015 00:05:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: stdio
X-Bugzilla-Version: 2.19
X-Bugzilla-Keywords:
X-Bugzilla-Severity: critical
X-Bugzilla-Who: cherepan at mccme dot ru
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-17829-131-cYQAgh5ZSu@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-17829-131@http.sourceware.org/bugzilla/>
References: <bug-17829-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00126.txt.bz2
Content-length: 1173

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

Alexander Cherepanov <cherepan at mccme dot ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cherepan at mccme dot ru

--- Comment #5 from Alexander Cherepanov <cherepan at mccme dot ru> ---
To add to two already mentioned problems (unnecessary malloc and fail for
INT_MAX):

C11 seems not to specify any limit for a precision and values larger than
INT_MAX could be useful. The variable for precision is declared as int[1] and
extracted from a format string as int with overflow control[2]. A larger type
like size_t and something like saturated processing of the number is a better
fit.

[1]
https://sourceware.org/git/?p=glibc.git;a=blob;f=stdio-common/vfprintf.c;h=ae0145295479d0da11ae6bd496bd7039546419de;hb=HEAD#l1359
[2]
https://sourceware.org/git/?p=glibc.git;a=blob;f=stdio-common/printf-parse.h;h=e9903549997b113c5a38be3c2a463c2d83954c51;hb=HEAD#l68

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30738-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Dec 23 00:23:18 2015
Return-Path: <glibc-bugs-return-30738-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 107854 invoked by alias); 23 Dec 2015 00:23:18 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 107690 invoked by uid 48); 23 Dec 2015 00:23:14 -0000
From: "cherepan at mccme dot ru" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug stdio/17829] Incorrect handling of precision specifier in printf family
Date: Wed, 23 Dec 2015 00:23:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: stdio
X-Bugzilla-Version: 2.19
X-Bugzilla-Keywords:
X-Bugzilla-Severity: critical
X-Bugzilla-Who: cherepan at mccme dot ru
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-17829-131-eoGm6fODFY@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-17829-131@http.sourceware.org/bugzilla/>
References: <bug-17829-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00127.txt.bz2
Content-length: 616

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

--- Comment #6 from Alexander Cherepanov <cherepan at mccme dot ru> ---
Created attachment 8862
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8862&action=edit
Fix computations for max precision in vfprintf

While the full fix requires some work allowing INT_MAX on 64-bit platforms
seems easy.

The computation of the amount of the required memory is done in size_t but the
check uses INT_MAX for some reason. Replacing it with SIZE_MAX looks like a
right thing.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30739-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Dec 23 06:14:22 2015
Return-Path: <glibc-bugs-return-30739-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 50354 invoked by alias); 23 Dec 2015 06:14:21 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 50320 invoked by uid 48); 23 Dec 2015 06:14:17 -0000
From: "cvs268 at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug string/19390] Integer overflow in strncat
Date: Wed, 23 Dec 2015 06:14:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: string
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs268 at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security+
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-19390-131-BflZnKG1jl@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19390-131@http.sourceware.org/bugzilla/>
References: <bug-19390-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00128.txt.bz2
Content-length: 1230

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

cvs268 <cvs268 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cvs268 at gmail dot com

--- Comment #2 from cvs268 <cvs268 at gmail dot com> ---
Tried the sample-code on ARM (Cortex A9) running Ubuntu 12.04.

gcc 4.6.3 complained about missing  stdalign.h.

So had to replace alignas(64) char s[144];
with __attribute__ ((aligned (64))) char s[144];
(hopefully the replacement works as intended.)

gcc test-strncat.c -std=c99 -o test-strncat

gcc --version
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3

file test-strncat
test-strncat: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically
linked (uses shared libs), for GNU/Linux 2.6.31,
BuildID[sha1]=0xb88137c1de1a1f534311ba81b1f403166b1091f1, not stripped

./test-strncat 
before:
01111111111111111111111111111111111111111111111111...
after:
22222222222222222222222222222222201111111111111111...
the string should end here       ^

So works properly, no issues, right?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30740-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Dec 23 10:05:28 2015
Return-Path: <glibc-bugs-return-30740-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 118017 invoked by alias); 23 Dec 2015 10:05:28 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 117972 invoked by uid 48); 23 Dec 2015 10:05:24 -0000
From: "roche at httrack dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug string/19390] Integer overflow in strncat
Date: Wed, 23 Dec 2015 10:05:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: string
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: roche at httrack dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security+
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-19390-131-14mpctWYVV@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19390-131@http.sourceware.org/bugzilla/>
References: <bug-19390-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00129.txt.bz2
Content-length: 548

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

Xavier Roche <roche at httrack dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |roche at httrack dot com

--- Comment #3 from Xavier Roche <roche at httrack dot com> ---
Possible duplicate of BUG 17279
(https://sourceware.org/bugzilla/show_bug.cgi?id=17279)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30741-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Dec 23 14:59:43 2015
Return-Path: <glibc-bugs-return-30741-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 126446 invoked by alias); 23 Dec 2015 14:59:42 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 126393 invoked by uid 48); 23 Dec 2015 14:59:38 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug build/19398] New: linknamespace tests fail with massively parallel build
Date: Wed, 23 Dec 2015 14:59:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: build
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone flagtypes.name
Message-ID: <bug-19398-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00130.txt.bz2
Content-length: 5859

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

            Bug ID: 19398
           Summary: linknamespace tests fail with massively parallel build
           Product: glibc
           Version: 2.23
            Status: NEW
          Severity: normal
          Priority: P2
         Component: build
          Assignee: unassigned at sourceware dot org
          Reporter: fweimer at redhat dot com
                CC: carlos at redhat dot com
  Target Milestone: ---
             Flags: security-

On a large machine with 80 cores, 160 threads, and I get lots of failures like
this:

FAIL: conform/ISO/assert.h/linknamespace
FAIL: conform/ISO/ctype.h/linknamespace
FAIL: conform/ISO/errno.h/linknamespace
FAIL: conform/ISO/locale.h/linknamespace

conform/ISO/assert.h/linknamespace.out looks like this:

[initial] __assert_fail -> [libc.a(assert.o)] abort
[initial] __assert_fail -> [libc.a(assert.o)] __dcgettext ->
[libc.a(dcgettext.o)] __dcigettext -> [libc.a(dcigettext.o)] calloc
[initial] __assert_fail -> [libc.a(assert.o)] __mmap -> [libc.a(mmap.o)]
__libc_errno -> [libc.a(errno.o)] errno
[initial] __assert_fail -> [libc.a(assert.o)] free -> [libc.a(malloc.o)] fflush
[initial] __assert_fail -> [libc.a(assert.o)] free -> [libc.a(malloc.o)]
fprintf
[initial] __assert_fail -> [libc.a(assert.o)] free
[initial] __assert_fail -> [libc.a(assert.o)] __dcgettext ->
[libc.a(dcgettext.o)] __dcigettext -> [libc.a(dcigettext.o)]
__libc_setlocale_lock -> [libc.a(setlocale.o)] _nl_archive_subfreeres ->
[libc.a(loadarchive.o)] __sysconf -> [libc.a(sysconf.o)] __tzname_max ->
[libc.a(tzset.o)] __tzfile_compute -> [libc.a(tzfile.o)] fseek
[initial] __assert_fail -> [libc.a(assert.o)] free -> [libc.a(malloc.o)] fwrite
[initial] __assert_fail -> [libc.a(assert.o)] _dl_pagesize ->
[libc.a(dl-support.o)] getenv
[initial] __assert_fail -> [libc.a(assert.o)] __dcgettext ->
[libc.a(dcgettext.o)] __dcigettext -> [libc.a(dcigettext.o)]
__libc_setlocale_lock -> [libc.a(setlocale.o)] _nl_archive_subfreeres ->
[libc.a(loadarchive.o)] __sysconf -> [libc.a(sysconf.o)] __tzname_max ->
[libc.a(tzset.o)] _tmbuf -> [libc.a(localtime.o)] localtime
[initial] __assert_fail -> [libc.a(assert.o)] _dl_pagesize ->
[libc.a(dl-support.o)] malloc
[initial] __assert_fail -> [libc.a(assert.o)] free -> [libc.a(malloc.o)]
__get_nprocs -> [libc.a(getsysstats.o)] memchr
[initial] __assert_fail -> [libc.a(assert.o)] free -> [libc.a(malloc.o)] memcmp
[initial] __assert_perror_fail -> [libc.a(assert-perr.o)] __strerror_r ->
[libc.a(_strerror.o)] memcpy
[initial] __assert_fail -> [libc.a(assert.o)] _IO_fflush ->
[libc.a(iofflush.o)] _IO_flush_all -> [libc.a(genops.o)] memmove
[initial] __assert_fail -> [libc.a(assert.o)] free -> [libc.a(malloc.o)] memset
[initial] __assert_fail -> [libc.a(assert.o)] __dcgettext ->
[libc.a(dcgettext.o)] __dcigettext -> [libc.a(dcigettext.o)]
__libc_setlocale_lock -> [libc.a(setlocale.o)] _nl_archive_subfreeres ->
[libc.a(loadarchive.o)] __sysconf -> [libc.a(sysconf.o)] __tzname_max ->
[libc.a(tzset.o)] __mon_yday -> [libc.a(mktime.o)] mktime
[initial] __assert_fail -> [libc.a(assert.o)] __dcgettext ->
[libc.a(dcgettext.o)] __dcigettext -> [libc.a(dcigettext.o)] _nl_find_domain ->
[libc.a(finddomain.o)] _nl_expand_alias -> [libc.a(localealias.o)] qsort
[initial] __assert_fail -> [libc.a(assert.o)] __abort_msg -> [libc.a(abort.o)]
raise
[initial] __assert_fail -> [libc.a(assert.o)] free -> [libc.a(malloc.o)]
realloc
[initial] __assert_fail -> [libc.a(assert.o)] __dcgettext ->
[libc.a(dcgettext.o)] __dcigettext -> [libc.a(dcigettext.o)]
__libc_setlocale_lock -> [libc.a(setlocale.o)] setlocale
[initial] __assert_fail -> [libc.a(assert.o)] __dcgettext ->
[libc.a(dcgettext.o)] __dcigettext -> [libc.a(dcigettext.o)]
__libc_setlocale_lock -> [libc.a(setlocale.o)] _nl_archive_subfreeres ->
[libc.a(loadarchive.o)] __sysconf -> [libc.a(sysconf.o)] __tzname_max ->
[libc.a(tzset.o)] sscanf
[initial] __assert_fail -> [libc.a(assert.o)] __dcgettext ->
[libc.a(dcgettext.o)] __dcigettext -> [libc.a(dcigettext.o)] strchr
[initial] __assert_fail -> [libc.a(assert.o)] __dcgettext ->
[libc.a(dcgettext.o)] __dcigettext -> [libc.a(dcigettext.o)] strcmp
[initial] __assert_fail -> [libc.a(assert.o)] strcpy
[initial] __assert_fail -> [libc.a(assert.o)] __dcgettext ->
[libc.a(dcgettext.o)] __dcigettext -> [libc.a(dcigettext.o)] __gconv_open ->
[libc.a(gconv_open.o)] __gconv_close_transform -> [libc.a(gconv_db.o)]
__gconv_find_shlib -> [libc.a(gconv_dl.o)] __libc_dlclose ->
[libc.a(dl-libc.o)] __libc_register_dlfcn_hook -> [libc.a(sdlerror.o)] strerror
[initial] __assert_fail -> [libc.a(assert.o)] __fxprintf ->
[libc.a(fxprintf.o)] strlen
[initial] __assert_fail -> [libc.a(assert.o)] _dl_pagesize ->
[libc.a(dl-support.o)] __unsetenv -> [libc.a(setenv.o)] strncmp
[initial] __assert_fail -> [libc.a(assert.o)] _dl_pagesize ->
[libc.a(dl-support.o)] _dl_init_paths -> [libc.a(dl-load.o)] __strsep_g ->
[libc.a(strsep.o)] strpbrk
[initial] __assert_fail -> [libc.a(assert.o)] __progname ->
[libc.a(init-misc.o)] strrchr
[initial] __assert_fail -> [libc.a(assert.o)] __dcgettext ->
[libc.a(dcgettext.o)] __dcigettext -> [libc.a(dcigettext.o)] strstr
[initial] __assert_fail -> [libc.a(assert.o)] free -> [libc.a(malloc.o)] strtol
[initial] __assert_fail -> [libc.a(assert.o)] free -> [libc.a(malloc.o)]
__get_nprocs -> [libc.a(getsysstats.o)] strtoul
[initial] __assert_fail -> [libc.a(assert.o)] free -> [libc.a(malloc.o)]
__get_nprocs -> [libc.a(getsysstats.o)] time
[initial] __assert_fail -> [libc.a(assert.o)] __fxprintf ->
[libc.a(fxprintf.o)] _IO_vfprintf -> [libc.a(vfprintf.o)] vfprintf


conform/XPG4/wordexp.h/linknamespace.test-result contains:

FAIL: conform/XPG4/wordexp.h/linknamespace
original exit status 1

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30742-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Dec 23 16:21:23 2015
Return-Path: <glibc-bugs-return-30742-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 16541 invoked by alias); 23 Dec 2015 16:21:23 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 16458 invoked by uid 48); 23 Dec 2015 16:21:18 -0000
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug string/19391] strnlen invokes UB by adding maxlen to str
Date: Wed, 23 Dec 2015 16:21:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: string
X-Bugzilla-Version: 2.24
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fweimer at redhat dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-19391-131-pqZwwrV7sZ@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19391-131@http.sourceware.org/bugzilla/>
References: <bug-19391-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00131.txt.bz2
Content-length: 561

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com

--- Comment #1 from Florian Weimer <fweimer at redhat dot com> ---
Isn't strnlen (p, -1) equivalent to strlen (p)?  It's difficult to tell from
the specification.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30743-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Dec 23 19:25:15 2015
Return-Path: <glibc-bugs-return-30743-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 119719 invoked by alias); 23 Dec 2015 19:25:14 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 119664 invoked by uid 48); 23 Dec 2015 19:25:11 -0000
From: "matthew.aaron.simpson at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug string/19390] Integer overflow in strncat
Date: Wed, 23 Dec 2015 19:25:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: string
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: matthew.aaron.simpson at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security+
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-19390-131-ugo1Fe1UO4@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19390-131@http.sourceware.org/bugzilla/>
References: <bug-19390-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00132.txt.bz2
Content-length: 1101

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

M. Simpson <matthew.aaron.simpson at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |matthew.aaron.simpson@gmail
                   |                            |.com

--- Comment #4 from M. Simpson <matthew.aaron.simpson at gmail dot com> ---
$ file a.out 
a.out: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked,
interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32,
BuildID[sha1]=8730e4750909db3ae281264c026e8ceb6ec4a140, not stripped

$ pacman -Q | grep glibc
glibc 2.22-3
lib32-glibc 2.22-3.1

$ ./a.out 
before:
01111111111111111111111111111111111111111111111111...
after:
22222222222222222222222222222222202222211111111111...
the string should end here       ^

This is on:
Arch Linux 4.2.5-1-ARCH #1 SMP PREEMPT Tue Oct 27 08:13:28 CET 2015 x86_64
GNU/Linux

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30744-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Dec 23 19:28:26 2015
Return-Path: <glibc-bugs-return-30744-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 126378 invoked by alias); 23 Dec 2015 19:28:26 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 126267 invoked by uid 48); 23 Dec 2015 19:28:20 -0000
From: "triegel at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug nptl/13690] pthread_mutex_unlock potentially cause invalid access
Date: Wed, 23 Dec 2015 19:28:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: nptl
X-Bugzilla-Version: 2.15
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: triegel at redhat dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: review?
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-13690-131-sAsfVRRUy0@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-13690-131@http.sourceware.org/bugzilla/>
References: <bug-13690-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00133.txt.bz2
Content-length: 533

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

Torvald Riegel <triegel at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #52 from Torvald Riegel <triegel at redhat dot com> ---
This is now fixed on master.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30745-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Dec 24 00:14:29 2015
Return-Path: <glibc-bugs-return-30745-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 106329 invoked by alias); 24 Dec 2015 00:14:29 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 106294 invoked by uid 48); 24 Dec 2015 00:14:25 -0000
From: "info at robinvandervliet dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug locale/19400] New: Language missing in  "iso-639.def", trivial fix in description
Date: Thu, 24 Dec 2015 00:14:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: locale
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: info at robinvandervliet dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-19400-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00134.txt.bz2
Content-length: 1127

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

            Bug ID: 19400
           Summary: Language missing in  "iso-639.def", trivial fix in
                    description
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: locale
          Assignee: unassigned at sourceware dot org
          Reporter: info at robinvandervliet dot com
  Target Milestone: ---

When I tried to compile my custom locale for the Talossan language with
"localedef", I got the following errors:

LC_ADDRESS: terminology language code `tzl' not defined
LC_ADDRESS: language abbreviation `tzl' not defined

Those errors are caused by "iso-639.def" not supporting the Talossan language,
because when I swap out "tzl" in my code to "tlh" (Klingon) it does work.

Adding the following line to "iso-639.def" will fix the problem:
DEFINE_LANGUAGE_CODE3 ("Talossan", tzl, tzl)

I hope somebody here can add this line soon, so this bug report can be closed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30746-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Dec 24 07:17:37 2015
Return-Path: <glibc-bugs-return-30746-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 86837 invoked by alias); 24 Dec 2015 07:17:36 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 86789 invoked by uid 48); 24 Dec 2015 07:17:32 -0000
From: "vapier at gentoo dot org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/19385] bg_BG: time separator should be colon, not comma
Date: Thu, 24 Dec 2015 07:17:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: 2.21
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vapier at gentoo dot org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: see_also short_desc
Message-ID: <bug-19385-131-IodPPCvJIJ@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19385-131@http.sourceware.org/bugzilla/>
References: <bug-19385-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00135.txt.bz2
Content-length: 597

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

Mike Frysinger <vapier at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |http://bugs.debian.org/8081
                   |                            |43
            Summary|Time separator in bg_BG     |bg_BG: time separator
                   |should be colon, not comma  |should be colon, not comma

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30747-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Dec 24 09:15:31 2015
Return-Path: <glibc-bugs-return-30747-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 100925 invoked by alias); 24 Dec 2015 09:15:27 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 90882 invoked by uid 48); 24 Dec 2015 09:15:19 -0000
From: "raoulgough at yahoo dot co.uk" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug nptl/19402] New: Deadlock with robust shared mutex and asynchronous termination
Date: Thu, 24 Dec 2015 09:15:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: nptl
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: raoulgough at yahoo dot co.uk
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone attachments.created
Message-ID: <bug-19402-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00136.txt.bz2
Content-length: 11150

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

            Bug ID: 19402
           Summary: Deadlock with robust shared mutex and asynchronous
                    termination
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: nptl
          Assignee: unassigned at sourceware dot org
          Reporter: raoulgough at yahoo dot co.uk
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

Created attachment 8863
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8863&action=edit
Test program for shared robust mutex with asynchronous termination

I have a test program that sets up a process-shared robust mutex, and then
forks a child that repeatedly locks and unlocks the mutex in a loop while the
parent concurrently sends a signal to kill the child. It repeats this, forking
a new child each time, until the required number of iterations complete and the
program exists or the program stops making progress for some reason.

Steps to reproduce
==================
Compile and run the attached test program on a Linux system with at least two
CPU cores.

e.g.
$ gcc -Wall -g  test_robust.c  -lpthread -o test_robust
$ ./test_robust
iteration 0
  C-c C-c
$

Actual results
==============
The program stalls, on my system usually after less than 200 iterations.

Expected results
================
I expect the program always to run to completion in a reasonable amount of
time. The stalled state shouldn't exist because the robust mutex was either
locked or unlocked at the time the child terminated, and so pthread_mutex_lock
in the parent should return either EOWNERDEAD or no error, respectively.

Test platform
=============
Dual-core Intel(R) Core(TM)2 Duo CPU     P8600  @ 2.40GHz
Linux debian8 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u1 (2015-12-14)
x86_64 GNU/Linux
Hosted under VMWare Fusion 4.1.4 on Mac OS X 10.6.8

Results are the same both with the stock debian jessie glibc (2.19-18+deb8) and
with a glibc built on this system from git glibc sources as of commit
2cf3e1aa7477b813ca3ebb901003a7d44f970218 (2015-12-22 13:39:19 UTC).

I have seen a similar test program exhibit the same problem on bare metal Red
Hat Linux systems, so I don't think it is VMWare or Debian specific.

Further details
===============

I have done a few things to investigate this further. Firstly, in the stalled
state the child process is definitely terminated but the parent process is
stuck in a futex system call - see example session below:

$ make test_robust
cc -Wall -g -I/home/raoul/install/include -I
/usr/lib/gcc/x86_64-linux-gnu/4.9.2/include -I /usr/include -I
/usr/include/x86_64-linux-gnu -L/home/raoul/install/lib
-Wl,-rpath=/home/raoul/install/lib
-Wl,--dynamic-linker=/home/raoul/install/lib/ld-2.22.90.so  test_robust.c 
-lpthread -o test_robust
$ ./test_robust &
[1] 25446
$ iteration 0
iteration 100

$ ps
  PID TTY          TIME CMD
25144 pts/2    00:00:00 bash
25446 pts/2    00:00:00 test_robust
25549 pts/2    00:00:00 ps
$ cat /proc/$!/stack
[<ffffffff810d18cc>] futex_wait_queue_me+0xcc/0x130
[<ffffffff810d1ba2>] futex_wait+0x162/0x260
[<ffffffff8108958a>] posix_cpu_timers_exit+0x1a/0x30
[<ffffffff810d3d22>] do_futex+0xf2/0xb60
[<ffffffff810a76b2>] remove_wait_queue+0x12/0x50
[<ffffffff810694fc>] do_wait+0x11c/0x230
[<ffffffff810d47fe>] SyS_futex+0x6e/0x150
[<ffffffff81068410>] child_wait_callback+0x0/0x60
[<ffffffff81513ccd>] system_call_fast_compare_end+0x10/0x15
[<ffffffffffffffff>] 0xffffffffffffffff

Secondly, it is possible to attach gdb to the parent and inspect the state of
the mutex in the stalled state, which (I think) shows the mutex is "locked" by
the terminated child process:

$ gdb -p $!
GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
Attaching to process 25446
Reading symbols from /home/raoul/c/test_robust...done.
Reading symbols from /home/raoul/install/lib/libpthread.so.0...done.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/home/raoul/install/lib/libthread_db.so.1".
Loaded symbols for /home/raoul/install/lib/libpthread.so.0
Reading symbols from /home/raoul/install/lib/libc.so.6...done.
Loaded symbols for /home/raoul/install/lib/libc.so.6
Reading symbols from /home/raoul/install/lib/ld-2.22.90.so...done.
Loaded symbols for /home/raoul/install/lib/ld-2.22.90.so
__lll_robust_lock_wait ()
    at ../sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S:85
85              movl    (%rdi), %eax
(gdb) frame 3
#3  0x0000000000401190 in main (argc=1, argv=0x7ffde4bc39d8)
    at test_robust.c:137
137           do_lock(shared);
(gdb) set print pretty
(gdb) print *shared
$1 = {
  mutex = {
    __data = {
      __lock = -2147458100, 
      __count = 1, 
      __owner = 0, 
      __nusers = 0, 
      __kind = 656, 
      __spins = 0, 
      __elision = 0, 
      __list = {
        __prev = 0x0, 
        __next = 0x0
      }
    }, 
    __size = "\314c\000\200\001", '\000' <repeats 11 times>, "\220\002", '\000'
<repeats 21 times>, 
    __align = 6442476492
  }, 
  child_state = 2, 
  child_pid = 25548, 
  reclaims = 95
}
(gdb) print/x shared->mutex.__data.__lock
$2 = 0x800063cc
(gdb) print shared->mutex.__data.__lock & 0xffff
$3 = 25548
(gdb) print shared->child_pid
$4 = 25548
(gdb) quit
A debugging session is active.

        Inferior 1 [process 25446] will be detached.

Quit anyway? (y or n) y
Detaching from program: /home/raoul/c/test_robust, process 25446
$ kill %%; wait %%
[1]+  Terminated              ./test_robust


Finally, it is possible to parameterize the test program such that it
sends the child a SIGABRT instead of a SIGTERM, which causes it to
dump core. This allows us to see where the child process was executing
when it terminated. In my case, I have no corefile pattern on the
system so the same corefile gets repeatedly overwritten until the
parent stalls:

$ ulimit -c unlimited
$ ./test_robust 200 6 &
[1] 26200
$ iteration 0
iteration 100

$ gdb test_robust core
[snip]
Program terminated with signal SIGABRT, Aborted.
#0  0x00007f52d0a23735 in __pthread_mutex_lock_full (mutex=0x7f52d0e55000)
    at ../nptl/pthread_mutex_lock.c:256
256               oldval = LLL_ROBUST_MUTEX_LOCK (mutex, id);
(gdb) disas
Dump of assembler code for function __pthread_mutex_lock_full:
[snip]
   0x00007f52d0a23710 <+768>:   and    $0x40000000,%eax
   0x00007f52d0a23715 <+773>:   jne    0x7f52d0a237b8
<__pthread_mutex_lock_full+936>
   0x00007f52d0a2371b <+779>:   and    $0x3fffffff,%edx
   0x00007f52d0a23721 <+785>:   cmp    %edx,%ebp
   0x00007f52d0a23723 <+787>:   je     0x7f52d0a23815
<__pthread_mutex_lock_full+1029>
   0x00007f52d0a23729 <+793>:   mov    %ebp,%edi
   0x00007f52d0a2372b <+795>:   mov    %r10d,%eax
   0x00007f52d0a2372e <+798>:   mov    %r9d,%esi
   0x00007f52d0a23731 <+801>:   lock cmpxchg %edi,(%rbx)
=> 0x00007f52d0a23735 <+805>:   je     0x7f52d0a2374d
<__pthread_mutex_lock_full+829>
   0x00007f52d0a23737 <+807>:   lea    (%rbx),%rdi
   0x00007f52d0a2373a <+810>:   sub    $0x80,%rsp
   0x00007f52d0a23741 <+817>:   callq  0x7f52d0a29e50 <__lll_robust_lock_wait>
[snip]
End of assembler dump.
(gdb) info reg eflags
eflags         0x246    [ PF ZF IF ]
(gdb) where
#0  0x00007f52d0a23735 in __pthread_mutex_lock_full (mutex=0x7f52d0e55000)
    at ../nptl/pthread_mutex_lock.c:256
#1  0x0000000000400e04 in run_child (shared=0x7f52d0e55000)
    at test_robust.c:62
#2  0x0000000000400f0b in do_fork (shared=0x7f52d0e55000) at test_robust.c:81
#3  0x000000000040119c in main (argc=3, argv=0x7fff630d1cd8)
    at test_robust.c:138
(gdb) frame 3
#3  0x000000000040119c in main (argc=3, argv=0x7fff630d1cd8)
    at test_robust.c:138
138           do_fork(shared);
(gdb) set print pretty
(gdb) print *shared
$1 = {
  mutex = {
    __data = {
      __lock = 26301, 
      __count = 1, 
      __owner = 0, 
      __nusers = 0, 
      __kind = 656, 
      __spins = 0, 
      __elision = 0, 
      __list = {
        __prev = 0x0, 
        __next = 0x0
      }
    }, 
    __size = "\275f\000\000\001", '\000' <repeats 11 times>, "\220\002", '\000'
<repeats 21 times>, 
    __align = 4294993597
  }, 
  child_state = 2, 
  child_pid = 26301, 
  reclaims = 89
}
(gdb) print/x shared->mutex
$2 = {
  __data = {
    __lock = 0x66bd, 
    __count = 0x1, 
    __owner = 0x0, 
    __nusers = 0x0, 
    __kind = 0x290, 
    __spins = 0x0, 
    __elision = 0x0, 
    __list = {
      __prev = 0x0, 
      __next = 0x0
    }
  }, 
  __size = {0xbd, 0x66, 0x0, 0x0, 0x1, 0x0 <repeats 11 times>, 0x90, 0x2, 
    0x0 <repeats 22 times>}, 
  __align = 0x1000066bd
}

Here is another slightly different case where the child terminated after the
LLL_ROBUST_MUTEX_LOCK, but before (or during) the ENQUEUE_MUTEX:

Program terminated with signal SIGABRT, Aborted.
#0  0x00007f892a4f0777 in __pthread_mutex_lock_full (mutex=0x7f892a922000)
    at ../nptl/pthread_mutex_lock.c:272
272           ENQUEUE_MUTEX (mutex);
(gdb) disas
[snip]
   0x00007f892a4f075f <+847>:   movl   $0x1,0x4(%rbx)
   0x00007f892a4f0766 <+854>:   mov    %fs:0x2e0,%rax
   0x00007f892a4f076f <+863>:   and    $0xfffffffffffffffe,%rax
   0x00007f892a4f0773 <+867>:   mov    %r8,-0x8(%rax)
=> 0x00007f892a4f0777 <+871>:   mov    %fs:0x2e0,%rax
   0x00007f892a4f0780 <+880>:   mov    %rax,0x20(%rbx)
[snip]


Speculation
===========
My theory is that there are at least some points in the execution of
pthread_mutex_lock and/or pthread_mutex_unlock where an asynchronous
termination signal can leave the mutex in a locked state which the kernel does
not resolve during termination. In the example termination points above, the
LLL_ROBUST_MUTEX_LOCK has completed but the mutex has not yet been added to the
thread-specific robust mutex list. This kind of termination is not likely, but
is possible via an external process sending a signal (as in this test) or
another thread in the same program encountering a SEGV or such like.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30748-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Dec 24 09:16:49 2015
Return-Path: <glibc-bugs-return-30748-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 68964 invoked by alias); 24 Dec 2015 09:16:49 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 66615 invoked by uid 48); 24 Dec 2015 09:16:45 -0000
From: "raoulgough at yahoo dot co.uk" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug nptl/19402] Deadlock with robust shared mutex and asynchronous termination
Date: Thu, 24 Dec 2015 09:16:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: nptl
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: raoulgough at yahoo dot co.uk
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-19402-131-sxf1UGRW7k@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19402-131@http.sourceware.org/bugzilla/>
References: <bug-19402-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00137.txt.bz2
Content-length: 390

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

raoulgough at yahoo dot co.uk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |raoulgough at yahoo dot co.uk

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30749-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Dec 24 22:31:14 2015
Return-Path: <glibc-bugs-return-30749-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 13323 invoked by alias); 24 Dec 2015 22:31:13 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 13294 invoked by uid 48); 24 Dec 2015 22:31:09 -0000
From: "info at robinvandervliet dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug locale/19400] Language missing in  "iso-639.def", trivial fix in description
Date: Thu, 24 Dec 2015 22:31:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: locale
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: info at robinvandervliet dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc attachments.created
Message-ID: <bug-19400-131-owv8yF7e6a@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19400-131@http.sourceware.org/bugzilla/>
References: <bug-19400-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00138.txt.bz2
Content-length: 712

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

Robin van der Vliet <info at robinvandervliet dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |info at robinvandervliet dot com

--- Comment #1 from Robin van der Vliet <info at robinvandervliet dot com> ---
Created attachment 8865
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8865&action=edit
Proposed patch, added 1 line

My proposed patch. I added the 1 line I described in the description of the
bug.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30750-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Dec 25 12:37:57 2015
Return-Path: <glibc-bugs-return-30750-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 122678 invoked by alias); 25 Dec 2015 12:37:56 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 122621 invoked by uid 48); 25 Dec 2015 12:37:51 -0000
From: "bernd.edlinger at hotmail dot de" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug build/19403] New: cross-compiling fails to install
Date: Fri, 25 Dec 2015 12:37:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: build
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bernd.edlinger at hotmail dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone
Message-ID: <bug-19403-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00139.txt.bz2
Content-length: 3513

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

            Bug ID: 19403
           Summary: cross-compiling fails to install
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: build
          Assignee: unassigned at sourceware dot org
          Reporter: bernd.edlinger at hotmail dot de
                CC: carlos at redhat dot com
  Target Milestone: ---

Hi

when testing my fix for gcc bug#69012 I tried to build
a cross glibc for mips-linux-gnu out of nothing, but it
failed to install on my system root, is that expected?

If the install succeeds I want to build a cross-g++,
fortran and ada compiler, because they need working glibc.

I did the following steps

cd ../binutils-build-mips
../binutils-2.25.1/configure --prefix=/home/ed/gnu/mips-linux-gnu
--target=mips-linux-gnu
make && make install

cd ../gcc-build-mips
../gcc-trunk/configure --prefix=/home/ed/gnu/mips-linux-gnu
--target=mips-linux-gnu --enable-languages=c --disable-shared --disable-threads
--disable-libssp --disable-libgomp --disable-libquadmath --disable-libatomic
make && make install

PATH=/home/ed/gnu/mips-linux-gnu/bin:$PATH

cd ../linux
make ARCH=mips CROSS_COMPILE=mips-linux-gnu- distclean
make ARCH=mips CROSS_COMPILE=mips-linux-gnu- defconfig
make ARCH=mips CROSS_COMPILE=mips-linux-gnu-
INSTALL_HDR_PATH=/home/ed/gnu/mips-linux-gnu/mips-linux-gnu headers_install

cd ../glibc-build-mips
../glibc-2.22/configure --prefix=/home/
../binutils-2.25.1/configure --prefix=/home/ed/gnu/mips-linux-gnu
--target=mips-linux-gnu
make && make install

cd ../gcc-build-mips
../gcc-trunk/configure --prefix=/home/ed/gnu/mips-linux-gnu
--target=mips-linux-gnu --enable-languages=c --disable-shared --disable-threads
--disable-libssp --disable-libgomp --disable-libquadmath --disable-libatomic
make && make install

PATH=/home/ed/gnu/mips-linux-gnu/bin:$PATH

cd ../linux
make ARCH=mips CROSS_COMPILE=mips-linux-gnu- distclean
make ARCH=mips CROSS_COMPILE=mips-linux-gnu- defconfig
make ARCH=mips CROSS_COMPILE=mips-linux-gnu-
INSTALL_HDR_PATH=/home/ed/gnu/mips-linux-gnu/mips-linux-gnu headers_install

cd ../glibc-build-mips
../glibc-2.22/configure --prefix=/home/ed/gnu/mips-linux-gnu/mips-linux-gnu
--build=mips-linux-gnu --disable-werror CC=mips-linux-gnu-gcc BUILD_CC=gcc

make # succeeds if the patch from gcc bug#69012 is installed

make install 
...
if test -r
/home/ed/gnu/mips-linux-gnu/mips-linux-gnu/include/gnu/stubs-o32_hard.h && cmp
-s /home/ed/gnu/glibc-build-mips/stubs.h
/home/ed/gnu/mips-linux-gnu/mips-linux-gnu/include/gnu/stubs-o32_hard.h; \
        then echo 'stubs.h unchanged'; \
        else /usr/bin/install -c -m 644 /home/ed/gnu/glibc-build-mips/stubs.h
/home/ed/gnu/mips-linux-gnu/mips-linux-gnu/include/gnu/stubs-o32_hard.h; fi
stubs.h unchanged
rm -f /home/ed/gnu/glibc-build-mips/stubs.h
/home/ed/gnu/glibc-build-mips/elf/sln
/home/ed/gnu/glibc-build-mips/elf/symlink.list
/home/ed/gnu/glibc-build-mips/elf/sln: 1:
/home/ed/gnu/glibc-build-mips/elf/sln: Syntax error: "(" unexpected
make[1]: *** [install-symbolic-link] Error 2
make[1]: Leaving directory `/home/ed/gnu/glibc-2.22'
make: *** [install] Fehler 2

Note: /home/ed/gnu/glibc-build-mips/elf/sln was built by the cross compiler,
and is therefore not executable on the host system.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30751-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Dec 25 13:05:35 2015
Return-Path: <glibc-bugs-return-30751-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 32515 invoked by alias); 25 Dec 2015 13:05:35 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 28473 invoked by uid 48); 25 Dec 2015 13:05:30 -0000
From: "bernd.edlinger at hotmail dot de" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug build/19403] cross-compiling fails to install
Date: Fri, 25 Dec 2015 13:05:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: build
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bernd.edlinger at hotmail dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19403-131-yzOVDJQVK6@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19403-131@http.sourceware.org/bugzilla/>
References: <bug-19403-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00140.txt.bz2
Content-length: 1559

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

--- Comment #1 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
hmm, the problem starts probably because of this
../glibc-2.22/configure --prefix=/home/ed/gnu/mips-linux-gnu/mips-linux-gnu
--build=mips-linux-gnu --disable-werror CC=mips-linux-gnu-gcc BUILD_CC=gcc
grep cross *
config.log:cross_compiling='no'
config.make:cross-compiling = no
config.status:# must be portable across $(()) and expr.
config.status:S["cross_compiling"]="no"

../glibc-2.22/configure --prefix=/home/ed/gnu/mips-linux-gnu/mips-linux-gnu
--host=x86_64-linux-gnu --build=mips-linux-gnu --disable-werror
CC=mips-linux-gnu-gcc BUILD_CC=gcc
...
checking for forced unwind support... yes
checking for C cleanup handling... yes
running configure fragment for sysdeps/gnu
running configure fragment for sysdeps/x86_64
checking for cpuid.h... no
configure: error: gcc must provide the <cpuid.h> header

../glibc-2.22/configure --prefix=/home/ed/gnu/mips-linux-gnu/mips-linux-gnu
--host=x86_64-linux-gnu --build=mips-linux-gnu --disable-werror
succeds, and
grep cross *
config.log:cross_compiling='yes'
config.make:cross-compiling = yes
config.status:# must be portable across $(()) and expr.
config.status:S["cross_compiling"]="yes"

but the build now uses x86_64-linux-gnu-gcc all the time.

so there is no way how to configure that correctly,
but if BUILD_CC != CC we know, it is a cross build.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30752-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Dec 25 13:38:59 2015
Return-Path: <glibc-bugs-return-30752-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 70466 invoked by alias); 25 Dec 2015 13:38:58 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 70396 invoked by uid 48); 25 Dec 2015 13:38:52 -0000
From: "bernd.edlinger at hotmail dot de" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug build/19403] cross-compiling fails to install
Date: Fri, 25 Dec 2015 13:38:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: build
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bernd.edlinger at hotmail dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19403-131-9pKbntPfXm@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19403-131@http.sourceware.org/bugzilla/>
References: <bug-19403-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00141.txt.bz2
Content-length: 1171

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

--- Comment #2 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
this works for me:

diff -pur a/glibc-2.22/Makefile b/glibc-2.22/Makefile
--- a/glibc-2.22/Makefile       2015-08-05 08:42:21.000000000 +0200
+++ b/glibc-2.22/Makefile       2015-12-25 14:10:22.508742935 +0100
@@ -96,7 +96,7 @@ elf/ldso_install:

 # Create links for shared libraries using the `ldconfig' program if possible.
 # Ignore the error if we cannot update /etc/ld.so.cache.
-ifeq (no,$(cross-compiling))
+ifeq ($(BUILD_CC),$(CC))
 ifeq (yes,$(build-shared))
 install: install-symbolic-link
 .PHONY: install-symbolic-link
diff -pur a/glibc-2.22/Makerules b/glibc-2.22/Makerules
--- a/glibc-2.22/Makerules      2015-08-05 08:42:21.000000000 +0200
+++ b/glibc-2.22/Makerules      2015-12-25 14:22:31.295783007 +0100
@@ -996,7 +996,7 @@ endef
 endif

 ifeq (yes,$(build-shared))
-ifeq (no,$(cross-compiling))
+ifeq ($(BUILD_CC),$(CC))
 symbolic-link-prog := $(elf-objpfx)sln
 symbolic-link-list := $(elf-objpfx)symlink.list
 define make-shlib-link

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30753-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sat Dec 26 19:09:14 2015
Return-Path: <glibc-bugs-return-30753-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 69121 invoked by alias); 26 Dec 2015 19:09:13 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 69062 invoked by uid 48); 26 Dec 2015 19:09:10 -0000
From: "cherepan at mccme dot ru" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug string/19390] Integer overflow in strncat
Date: Sat, 26 Dec 2015 19:09:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: string
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cherepan at mccme dot ru
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security+
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-19390-131-uecSRikdQk@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19390-131@http.sourceware.org/bugzilla/>
References: <bug-19390-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00142.txt.bz2
Content-length: 339

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

--- Comment #5 from Alexander Cherepanov <cherepan at mccme dot ru> ---
Created attachment 8866
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8866&action=edit
Test strncat for all offsets

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30754-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sat Dec 26 19:14:56 2015
Return-Path: <glibc-bugs-return-30754-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 72155 invoked by alias); 26 Dec 2015 19:14:56 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 72100 invoked by uid 48); 26 Dec 2015 19:14:52 -0000
From: "cherepan at mccme dot ru" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug string/19390] Integer overflow in strncat
Date: Sat, 26 Dec 2015 19:14:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: string
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cherepan at mccme dot ru
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security+
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19390-131-tXbybO9cTD@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19390-131@http.sourceware.org/bugzilla/>
References: <bug-19390-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00143.txt.bz2
Content-length: 774

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

--- Comment #6 from Alexander Cherepanov <cherepan at mccme dot ru> ---
(In reply to howey014 from comment #1)
> I tried your code on ppc 32-bit, with glibc 2.20 as I didn't have 2.22
> available.

(In reply to cvs268 from comment #2)
> Tried the sample-code on ARM (Cortex A9) running Ubuntu 12.04.
[skip]
> So works properly, no issues, right?

Thanks for testing it on different archs. Yes, this particular test is fine.

I attached a fuller test which tries all offsets and all lengths upto 64 (you
can change it to 128 if you want). It will either print "Ok" or details of the
first found fail. Please try it on your platforms.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30755-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sat Dec 26 19:24:31 2015
Return-Path: <glibc-bugs-return-30755-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 104145 invoked by alias); 26 Dec 2015 19:24:31 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 104059 invoked by uid 48); 26 Dec 2015 19:24:27 -0000
From: "cherepan at mccme dot ru" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug string/19390] Integer overflow in strncat
Date: Sat, 26 Dec 2015 19:24:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: string
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cherepan at mccme dot ru
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security+
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19390-131-GnAwSnDqKJ@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19390-131@http.sourceware.org/bugzilla/>
References: <bug-19390-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00144.txt.bz2
Content-length: 491

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

--- Comment #7 from Alexander Cherepanov <cherepan at mccme dot ru> ---
(In reply to Xavier Roche from comment #3)
> Possible duplicate of BUG 17279
> (https://sourceware.org/bugzilla/show_bug.cgi?id=17279)

Yes, seems to be the same. So, this bug is not merely theoretical but is
triggered by real code. Is your code open source / publicly available?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30756-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sun Dec 27 11:47:16 2015
Return-Path: <glibc-bugs-return-30756-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 48775 invoked by alias); 27 Dec 2015 11:47:15 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 48727 invoked by uid 48); 27 Dec 2015 11:47:11 -0000
From: "GavinSmith0123 at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug manual/19404] New: Treatment of combining characters by iconv not documented well
Date: Sun, 27 Dec 2015 11:47:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: manual
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: GavinSmith0123 at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone
Message-ID: <bug-19404-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00145.txt.bz2
Content-length: 2698

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

            Bug ID: 19404
           Summary: Treatment of combining characters by iconv not
                    documented well
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: manual
          Assignee: unassigned at sourceware dot org
          Reporter: GavinSmith0123 at gmail dot com
                CC: mtk.manpages at gmail dot com, roland at gnu dot org
  Target Milestone: ---

In some character encodings like cp-1255, there are combining characters that
can be combined with the preceding character: for example, to represent accents
or vowel points.

When iconv processes input from such an encoding, it may not output a character
from the input until it sees whether a combining character follows which would
have to be combined with the character. At the end of the input, it is
necessary to call iconv with null input arguments to flush the last character.

The manual (in manual/charset.texi, node Generic Conversion Interface) doesn't
document this well. It says the following:

"If INBUF is a null pointer, the `iconv' function performs the
     necessary action to put the state of the conversion into the
     initial state.

...

"Therefore an `iconv' call to reset the state should always
     be performed if some protocol requires this for the output text"


This does not obviously apply for combining characters. In this case every
non-combining, graphical character is simultaneously a shift character and not
a shift character: a shift character when a combining character comes after it,
and not a shift character when a combining character doesn't come after it or
it occurs at the end of the input. This is not what people have in mind when
they read about "shift sequences". The manual explains that the shift state is
reset for the output, but not that graphical characters may be waiting to be
output.

Moreover, the following in the manual is misleading:

"If all input from the input buffer is successfully converted and
     stored in the output buffer, the function returns the number of
     non-reversible conversions performed."

This is not true because a positive return value is possible while a character
from the input waits in the iconv state, and is not stored in the output
buffer.

The extra call to iconv was missing for wget (see
http://lists.gnu.org/archive/html/bug-wget/2015-12/msg00110.html) and info (see
https://lists.gnu.org/archive/html/bug-texinfo/2015-12/msg00010.html).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30757-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sun Dec 27 15:41:35 2015
Return-Path: <glibc-bugs-return-30757-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 119962 invoked by alias); 27 Dec 2015 15:41:34 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 117831 invoked by uid 48); 27 Dec 2015 15:41:30 -0000
From: "cherepan at mccme dot ru" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug manual/19406] New: memchr description: may it access all @var{size} bytes?
Date: Sun, 27 Dec 2015 15:41:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: manual
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cherepan at mccme dot ru
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone
Message-ID: <bug-19406-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00146.txt.bz2
Content-length: 1403

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

            Bug ID: 19406
           Summary: memchr description: may it access all @var{size}
                    bytes?
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: manual
          Assignee: unassigned at sourceware dot org
          Reporter: cherepan at mccme dot ru
                CC: mtk.manpages at gmail dot com, roland at gnu dot org
  Target Milestone: ---

The description of the memchr function in C11, 7.24.5.1p2, says that memchr
cannot access the part of the array after the located char:

"The implementation shall behave as if it reads the characters sequentially and
stops as soon as a matching character is found."

The glibc manual doesn't provide this guarantee:

"This function finds the first occurrence of the byte @var{c} (converted to an
@code{unsigned char}) in the initial @var{size} bytes of the object beginning
at @var{block}.  The return value is a pointer to the located byte, or a null
pointer if no match was found."

https://sourceware.org/git/?p=glibc.git;a=blob;f=manual/string.texi;h=016fd0b9a05f3126a1594e942c5e6da0669d0410;hb=HEAD#l1716

The implementation is probably fine so only the manual is wrong.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30758-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sun Dec 27 15:43:53 2015
Return-Path: <glibc-bugs-return-30758-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 128538 invoked by alias); 27 Dec 2015 15:43:52 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 128499 invoked by uid 48); 27 Dec 2015 15:43:48 -0000
From: "cherepan at mccme dot ru" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug string/19387] Integer overflow in memchr
Date: Sun, 27 Dec 2015 15:43:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: string
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cherepan at mccme dot ru
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security+
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19387-131-x17rHzcwzt@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19387-131@http.sourceware.org/bugzilla/>
References: <bug-19387-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00147.txt.bz2
Content-length: 338

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

--- Comment #1 from Alexander Cherepanov <cherepan at mccme dot ru> ---
The description of memchr in the glibc manual seems to prohibit the provided
example. This is wrong and is filed as pr19406 now.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30759-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sun Dec 27 15:45:54 2015
Return-Path: <glibc-bugs-return-30759-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 2811 invoked by alias); 27 Dec 2015 15:45:53 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 2761 invoked by uid 48); 27 Dec 2015 15:45:50 -0000
From: "cherepan at mccme dot ru" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug manual/19407] New: Non-null-terminated arrays in description of strn* and wcsn* functions
Date: Sun, 27 Dec 2015 15:45:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: manual
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cherepan at mccme dot ru
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone
Message-ID: <bug-19407-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00148.txt.bz2
Content-length: 2586

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

            Bug ID: 19407
           Summary: Non-null-terminated arrays in description of strn* and
                    wcsn* functions
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: manual
          Assignee: unassigned at sourceware dot org
          Reporter: cherepan at mccme dot ru
                CC: mtk.manpages at gmail dot com, roland at gnu dot org
  Target Milestone: ---

The strn* and wcsn* functions take an argument limiting the size of processed
parts of arrays. The C standard cautiously and consistently talks about arrays
instead of strings in such cases and (hence) doesn't require arguments to be
null-terminated strings in all cases.
OTOH the glibc manual doesn't make such a distinction and doesn't usually make
remarks to that effect. (The only one I found is the description of strnlen
which mentions that it "works even if the string s is not null-terminated".)

Take for example strcmp and strncmp. The description of strcmp in C11,
7.24.4.2p2:

"The strcmp function compares the string pointed to by s1 to the string pointed
to by s2."

It talks about "the string pointed to by s1" as expected.

Then, the description of strncmp -- C11, 7.24.4.4p2:

"The strncmp function compares not more than n characters (characters that
follow a null character are not compared) from the array pointed to by s1 to
the array pointed to by s2."

Here, it talks about "the array pointed to by s1" instead of strings.

In the next paragraph it talks about "the possibly null-terminated array
pointed to by s1" (please note "possibly").

The description of strncmp in the glibc manual is silent on such details:

"This function is the similar to @code{strcmp}, except that no more than
@var{size} bytes are compared.  In other words, if the two strings are the same
in their first @var{size} bytes, the return value is zero."

https://sourceware.org/git/?p=glibc.git;a=blob;f=manual/string.texi;h=016fd0b9a05f3126a1594e942c5e6da0669d0410;hb=HEAD#l1304

Affected function that are from C11:

strncpy/wcsncpy, strncat/wcsncat, strncmp/wcsncmp.

Other affected functions:

stpncpy/wcpncpy, strndup, strndupa, strncasecmp/wcsncasecmp.

For them, the point is moot but IMHO it's better to be consistent with C11.

I slightly tested several of these functions and they behave fine so it seems
only the manual is wrong.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30760-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Dec 28 00:35:43 2015
Return-Path: <glibc-bugs-return-30760-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 85843 invoked by alias); 28 Dec 2015 00:35:42 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 85695 invoked by uid 48); 28 Dec 2015 00:35:39 -0000
From: "ldv at altlinux dot org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug nptl/13690] pthread_mutex_unlock potentially cause invalid access
Date: Mon, 28 Dec 2015 00:35:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: nptl
X-Bugzilla-Version: 2.15
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ldv at altlinux dot org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags: review?
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-13690-131-5OvYv4HLhD@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-13690-131@http.sourceware.org/bugzilla/>
References: <bug-13690-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00149.txt.bz2
Content-length: 375

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

Dmitry V. Levin <ldv at altlinux dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |2.23

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30761-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Dec 28 00:39:02 2015
Return-Path: <glibc-bugs-return-30761-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 89139 invoked by alias); 28 Dec 2015 00:39:02 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 89053 invoked by uid 48); 28 Dec 2015 00:38:58 -0000
From: "ldv at altlinux dot org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19347] grantpt: try to force a specific gid even without pt_chown
Date: Mon, 28 Dec 2015 00:39:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ldv at altlinux dot org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-19347-131-JeIJ0nYTKt@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19347-131@http.sourceware.org/bugzilla/>
References: <bug-19347-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00150.txt.bz2
Content-length: 375

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

Dmitry V. Levin <ldv at altlinux dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |2.23

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30762-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Dec 28 00:43:36 2015
Return-Path: <glibc-bugs-return-30762-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 119984 invoked by alias); 28 Dec 2015 00:43:36 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 119947 invoked by uid 48); 28 Dec 2015 00:43:33 -0000
From: "ldv at altlinux dot org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19219] GLIBC build fails for ia64 with missing __nearbyintl
Date: Mon, 28 Dec 2015 00:43:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ldv at altlinux dot org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-19219-131-l1cDjatA2g@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19219-131@http.sourceware.org/bugzilla/>
References: <bug-19219-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00151.txt.bz2
Content-length: 375

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

Dmitry V. Levin <ldv at altlinux dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |2.23

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30763-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Dec 28 00:45:03 2015
Return-Path: <glibc-bugs-return-30763-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 122332 invoked by alias); 28 Dec 2015 00:45:02 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 122184 invoked by uid 48); 28 Dec 2015 00:44:58 -0000
From: "ldv at altlinux dot org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19168] math/test-ildoubl and math/test-ldouble failure
Date: Mon, 28 Dec 2015 00:45:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ldv at altlinux dot org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: fweimer at redhat dot com
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-19168-131-3IC55ZXPSv@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19168-131@http.sourceware.org/bugzilla/>
References: <bug-19168-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00152.txt.bz2
Content-length: 375

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

Dmitry V. Levin <ldv at altlinux dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |2.23

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30764-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Dec 28 01:02:13 2015
Return-Path: <glibc-bugs-return-30764-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 5085 invoked by alias); 28 Dec 2015 01:02:13 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 5023 invoked by uid 48); 28 Dec 2015 01:02:09 -0000
From: "ldv at altlinux dot org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19408] New: linux personality syscall wrapper may erroneously return an error on 32-bit architectures
Date: Mon, 28 Dec 2015 01:02:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ldv at altlinux dot org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: ldv at altlinux dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone
Message-ID: <bug-19408-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00153.txt.bz2
Content-length: 929

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

            Bug ID: 19408
           Summary: linux personality syscall wrapper may erroneously
                    return an error on 32-bit architectures
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: ldv at altlinux dot org
          Reporter: ldv at altlinux dot org
                CC: drepper.fsp at gmail dot com
  Target Milestone: 2.23

While personality syscall is always successful on 32-bit architectures
nowadays, the syscall wrapper may return an error.
For example, personality((unsigned) -EINVAL) will make any subsequent
personality call, including absolutely harmless read-only
personality(0xffffffff) call, return -1 with errno set to EINVAL.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30765-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Dec 28 03:33:00 2015
Return-Path: <glibc-bugs-return-30765-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 67385 invoked by alias); 28 Dec 2015 03:32:58 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 66961 invoked by uid 48); 28 Dec 2015 03:32:53 -0000
From: "izaberina at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19409] New: some open() flags are undefined without _GNU_SOURCE
Date: Mon, 28 Dec 2015 03:32:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: izaberina at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone
Message-ID: <bug-19409-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00154.txt.bz2
Content-length: 1109

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

            Bug ID: 19409
           Summary: some open() flags are undefined without _GNU_SOURCE
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: izaberina at gmail dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

I'm using arch linux with glibc 2.22-3 on linux 4.2.5, and I didn't
compile glibc myself, but I downloaded the source.  The line numbers are
from the latest git commit at the time of writing:

3cf74f8a4a0e0c7b7a9b4d40ba220832f33ea638
Fix getaddrinfo bug number in ChangeLog and NEWS files


O_DIRECT, O_NOATIME, O_PATH and O_TMPFILE are defined in lines 147-152 in
sysdeps/unix/sysv/linux/bits/fcntl-linux.h if __USE_GNU is defined.
Users need _GNU_SOURCE to enable them, but this isn't mentioned anywhere
in the docs.  Please add it.


---
xoxo iza

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30766-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Dec 28 11:36:27 2015
Return-Path: <glibc-bugs-return-30766-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 17344 invoked by alias); 28 Dec 2015 11:36:26 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 17296 invoked by uid 48); 28 Dec 2015 11:36:21 -0000
From: "ldv at altlinux dot org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19409] some open() flags are undefined without _GNU_SOURCE
Date: Mon, 28 Dec 2015 11:36:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ldv at altlinux dot org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19409-131-9Wb6twl1IJ@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19409-131@http.sourceware.org/bugzilla/>
References: <bug-19409-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00155.txt.bz2
Content-length: 548

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

--- Comment #1 from Dmitry V. Levin <ldv at altlinux dot org> ---
(In reply to Isabella from comment #0)
> Users need _GNU_SOURCE to enable them, but this isn't mentioned anywhere
> in the docs.  Please add it.

JFYI, open(2) manpage mentions this in "CONFORMING TO" section:

"The O_DIRECT, O_NOATIME, O_PATH, and O_TMPFILE flags are Linux-specific. One
must define _GNU_SOURCE to obtain their definitions".

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30767-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Dec 28 11:37:47 2015
Return-Path: <glibc-bugs-return-30767-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 18019 invoked by alias); 28 Dec 2015 11:37:47 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 17987 invoked by uid 48); 28 Dec 2015 11:37:43 -0000
From: "ldv at altlinux dot org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19408] linux personality syscall wrapper may erroneously return an error on 32-bit architectures
Date: Mon, 28 Dec 2015 11:37:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ldv at altlinux dot org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: ldv at altlinux dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status
Message-ID: <bug-19408-131-9KVAuXifsY@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19408-131@http.sourceware.org/bugzilla/>
References: <bug-19408-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00156.txt.bz2
Content-length: 379

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

Dmitry V. Levin <ldv at altlinux dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30768-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Dec 28 11:39:31 2015
Return-Path: <glibc-bugs-return-30768-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 72971 invoked by alias); 28 Dec 2015 11:39:30 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 72942 invoked by uid 48); 28 Dec 2015 11:39:27 -0000
From: "izaberina at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19409] some open() flags are undefined without _GNU_SOURCE
Date: Mon, 28 Dec 2015 11:39:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: izaberina at gmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: INVALID
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-19409-131-sVSP0qPSkn@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19409-131@http.sourceware.org/bugzilla/>
References: <bug-19409-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00157.txt.bz2
Content-length: 540

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

Isabella <izaberina at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Isabella <izaberina at gmail dot com> ---
I'm sorry for the noise, I totally missed it

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30769-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Dec 28 14:05:33 2015
Return-Path: <glibc-bugs-return-30769-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 54608 invoked by alias); 28 Dec 2015 14:05:32 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 54559 invoked by uid 48); 28 Dec 2015 14:05:28 -0000
From: "pascal_cuoq at hotmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug string/19391] strnlen invokes UB by adding maxlen to str
Date: Mon, 28 Dec 2015 14:05:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: string
X-Bugzilla-Version: 2.24
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pascal_cuoq at hotmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19391-131-VDn2I1eBvs@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19391-131@http.sourceware.org/bugzilla/>
References: <bug-19391-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00158.txt.bz2
Content-length: 1293

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

--- Comment #2 from Pascal Cuoq <pascal_cuoq at hotmail dot com> ---
Florian,

my interpretation of the standards is that in all the strn* functions, as well
as memchr (as an explicit exception among the mem* functions), the size
argument limits the number of characters read but is allowed to be arbitrarily
larger than the number of characters that would be valid to read (if reading
stops because '\0' or the searched character is found).

In other words, yes, I think that strnlen (p, -1) should not invoke UB and be
equivalent to strlen (p).

In other words, this report is part of the same wave as
https://sourceware.org/bugzilla/show_bug.cgi?id=19390 and
https://sourceware.org/bugzilla/show_bug.cgi?id=19387 , except that those
describe concrete problems in assembly versions whereas this one is a
theoretical problem in the C version.

FWIW, the idea of looking at very large size arguments for standard functions
started with memchr, for which they are very explicitly allowed in POSIX and
C11, and it was this remark of Jed Davis that incited me to look at the strn*
functions:

https://twitter.com/xlerb/status/678963983756333056

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30770-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Dec 28 14:08:51 2015
Return-Path: <glibc-bugs-return-30770-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 44696 invoked by alias); 28 Dec 2015 14:08:51 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 44659 invoked by uid 48); 28 Dec 2015 14:08:46 -0000
From: "cherepan at mccme dot ru" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug string/19411] New: mbrtoc16 and mbrtowc: UB when n is larger than input size
Date: Mon, 28 Dec 2015 14:08:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: string
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cherepan at mccme dot ru
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-19411-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00159.txt.bz2
Content-length: 1776

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

            Bug ID: 19411
           Summary: mbrtoc16 and mbrtowc: UB when n is larger than input
                    size
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: string
          Assignee: unassigned at sourceware dot org
          Reporter: cherepan at mccme dot ru
  Target Milestone: ---

The functions

size_t mbrtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps)
size_t mbrtoc16 (char16_t *pc16, const char *s, size_t n, mbstate_t *ps)

have a limit n on the number of processed bytes but it seems that the source
array s is not required to contain n accessible bytes. At least the commit

https://sourceware.org/git/?p=glibc.git;a=commit;h=16edf13b226dbe5f4f39794cfa363904af2c7973

added checks for pointer wrapping into mbrtowc and a test case with n=SIZE_MAX
(the test case uses mbtowc which in turn passes everything to __mbrtowc).

The check looks like this:

 endbuf = inbuf + n;
 if (__glibc_unlikely (endbuf < inbuf))

https://sourceware.org/git/?p=glibc.git;a=blob;f=wcsmbs/mbrtowc.c;h=dbfe9403a64a544a233a7b9d8f6bcab92d9edb28;hb=HEAD#l74
https://sourceware.org/git/?p=glibc.git;a=blob;f=wcsmbs/mbrtoc16.c;h=f23b24262b8fffaeed67c57155e47379e44b48fd;hb=HEAD#l92

This code is invalid. The sum "inbuf + n" is undefined by the C standard when
the result doesn't point into the same array. Then, checks for pointer wrapping
like "endbuf < inbuf" are already "miscompiled" by clang and, I guess, could be
expected to be broken by gcc in the future.

Similar to pr19391.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30771-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Dec 28 14:10:42 2015
Return-Path: <glibc-bugs-return-30771-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 47105 invoked by alias); 28 Dec 2015 14:10:42 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 47040 invoked by uid 48); 28 Dec 2015 14:10:38 -0000
From: "cherepan at mccme dot ru" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug network/19412] New: xdrmem_setpos: UB when pos is large
Date: Mon, 28 Dec 2015 14:10:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: network
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cherepan at mccme dot ru
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-19412-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00160.txt.bz2
Content-length: 1542

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

            Bug ID: 19412
           Summary: xdrmem_setpos: UB when pos is large
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: network
          Assignee: unassigned at sourceware dot org
          Reporter: cherepan at mccme dot ru
  Target Milestone: ---

It seems xdrmem_setpos tries to defend against out-of-bounds values of the pos
argument:

 174 static bool_t
 175 xdrmem_setpos (XDR *xdrs, u_int pos)
 176 {
 177   caddr_t newaddr = xdrs->x_base + pos;
 178   caddr_t lastaddr = xdrs->x_private + xdrs->x_handy;
 179   size_t handy = lastaddr - newaddr;
 180 
 181   if (newaddr > lastaddr
 182       || newaddr < xdrs->x_base
 183       || handy != (u_int) handy)
 184     return FALSE;
 185 
 186   xdrs->x_private = newaddr;
 187   xdrs->x_handy = (u_int) handy;
 188   return TRUE;
 189 }

https://sourceware.org/git/?p=glibc.git;a=blob;f=sunrpc/xdr_mem.c;h=8b9858959476ad8bee7f7eaa7250c516beda55b4;hb=HEAD#l174

This code is invalid C. The sum "xdrs->x_base + pos" (line 177) is undefined by
the C standard when the result doesn't point into the same array. Then, checks
for pointer wrapping like "newaddr < xdrs->x_base" (line 182) are already
"miscompiled" by clang and, I guess, could be expected to be broken by gcc in
the future.

Similar to pr19391.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30772-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Dec 28 14:14:10 2015
Return-Path: <glibc-bugs-return-30772-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 49390 invoked by alias); 28 Dec 2015 14:14:10 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 49352 invoked by uid 48); 28 Dec 2015 14:14:06 -0000
From: "cherepan at mccme dot ru" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug network/19413] New: ns_name_unpack: UB when checking for out of range addresses
Date: Mon, 28 Dec 2015 14:14:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: network
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cherepan at mccme dot ru
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-19413-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00161.txt.bz2
Content-length: 1191

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

            Bug ID: 19413
           Summary: ns_name_unpack: UB when checking for out of range
                    addresses
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: network
          Assignee: unassigned at sourceware dot org
          Reporter: cherepan at mccme dot ru
  Target Milestone: ---

ns_name_unpack has the following code:

 425                         srcp = msg + (((n & 0x3f) << 8) | (*srcp & 0xff));
 426                         if (srcp < msg || srcp >= eom) {  /*%< Out of
range. */

https://sourceware.org/git/?p=glibc.git;a=blob;f=resolv/ns_name.c;h=f355cf34443c46d091157ed06f4ef8487214bf10;hb=HEAD#l425

This code is invalid C. The sum "msg + ..." is undefined by the C standard when
the result doesn't point into the same array. Then, checks for pointer wrapping
like "srcp < msg" are already "miscompiled" by clang and, I guess, could be
expected to be broken by gcc in the future.

Similar to pr19391.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30773-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Dec 28 14:18:11 2015
Return-Path: <glibc-bugs-return-30773-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 51344 invoked by alias); 28 Dec 2015 14:18:11 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 51299 invoked by uid 48); 28 Dec 2015 14:18:07 -0000
From: "cherepan at mccme dot ru" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug string/19391] strnlen invokes UB by adding maxlen to str
Date: Mon, 28 Dec 2015 14:18:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: string
X-Bugzilla-Version: 2.24
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cherepan at mccme dot ru
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19391-131-vvo143grbP@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19391-131@http.sourceware.org/bugzilla/>
References: <bug-19391-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00162.txt.bz2
Content-length: 2792

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

--- Comment #3 from Alexander Cherepanov <cherepan at mccme dot ru> ---
(In reply to Florian Weimer from comment #1)
> Isn't strnlen (p, -1) equivalent to strlen (p)?  It's difficult to tell from
> the specification.

1. I'm not sure what you mean. IMHO, yes, according to the
specifications[1][2], strnlen(p, -1) is equivalent to strlen(p) (modulo their
behavior on an array of SIZE_MAX non-NUL bytes and if objects can't be larger
than SIZE_MAX bytes). There is no explicit language requiring accesses to all
bytes up to maxlen to be valid hence an implementation can't assume it. And
IIUC this bug report filed based on this POV.

Is there a chance that strnlen("abc", -1) and, by generalization, strncmp("ab",
"abc", 5) are considered invalid?

Anyway, strnlen(p, -1) is in glibc tests[3].

The glibc manual is indeed silent on some aspects of the strn* functions -- I
files pr19407 (and pr19406 while at it). But it's not applicable to strnlen.

[1]
http://pubs.opengroup.org/onlinepubs/9699919799/functions/strlen.html#tag_16_577_03
[2]
https://www.gnu.org/software/libc/manual/html_node/String-Length.html#index-strnlen
[3]
https://sourceware.org/git/?p=glibc.git;a=blob;f=string/tst-strlen.c;h=8376831de559c12057a7a432dc91953fb4e9624f;hb=HEAD#l43

2. No matter what, a comparison of the form "buffer + len < buffer" (where
buffer is a pointer and len is a non-negative integer) is always a sign of
problems. According to the C standard it's either false or UB. If the code does
something when the result of the comparison is true it means two things:
1) such a case is expected;
2) the code to handle the case is invalid (invokes UB). 

The straight comparison "buffer + len < buffer" is optimized into
"(ptrdiff_t)len < 0" right now by gcc (and by clang) which is not what a
programmer intended. The variant with an intermediary variable -- "end_ptr =
buffer + len; if (end_ptr < buffer)..." -- seems not to be optimized by current
gcc (but is optimized by clang). To depend on this is not the safest thing to
do. Please note that the current tests with n=SIZE_MAX will not catch this
optimization (because (ptrdiff_t)SIZE_MAX < 0).

Overall, very handy and robust way to find invalid pointer arithmetic. But, to
iterate, the comparison itself is only a sign of it and it's not enough to fix
the comparison alone.

3. I guess (and hope) that, in the end, this is considered a bug by the glibc
community even if a very low priority one (but who knows, given that "the GNU C
Library is implemented in GNU C, not in ISO C"). So I went and filed several
more similar bugs: pr19411, pr19412, pr19413.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30774-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Dec 28 17:38:31 2015
Return-Path: <glibc-bugs-return-30774-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 33718 invoked by alias); 28 Dec 2015 17:38:31 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 33662 invoked by uid 48); 28 Dec 2015 17:38:27 -0000
From: "cherepan at mccme dot ru" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug locale/16950] mbrtowc on empty buffer returns 0, should return (size_t) -2
Date: Mon, 28 Dec 2015 17:38:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: locale
X-Bugzilla-Version: 2.19
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cherepan at mccme dot ru
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security?
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-16950-131-IwIGWqLQZ2@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-16950-131@http.sourceware.org/bugzilla/>
References: <bug-16950-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00163.txt.bz2
Content-length: 599

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

Alexander Cherepanov <cherepan at mccme dot ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cherepan at mccme dot ru

--- Comment #1 from Alexander Cherepanov <cherepan at mccme dot ru> ---
Seems to be fixed in
https://sourceware.org/git/?p=glibc.git;a=commit;h=9781a370023952383028e07399fd196a889bb2be
.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30775-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Dec 28 19:28:33 2015
Return-Path: <glibc-bugs-return-30775-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 45226 invoked by alias); 28 Dec 2015 19:28:33 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 45170 invoked by uid 48); 28 Dec 2015 19:28:28 -0000
From: "cherepan at mccme dot ru" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug string/19414] New: mbsrtowcs and wcsrtombs: UB and fail with large len
Date: Mon, 28 Dec 2015 19:28:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: string
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cherepan at mccme dot ru
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created
Message-ID: <bug-19414-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00164.txt.bz2
Content-length: 1734

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

            Bug ID: 19414
           Summary: mbsrtowcs and wcsrtombs: UB and fail with large len
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: string
          Assignee: unassigned at sourceware dot org
          Reporter: cherepan at mccme dot ru
  Target Milestone: ---

Created attachment 8867
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8867&action=edit
mbsrtowcs and wcsrtombs fail with len=SIZE_MAX

The len argument of the mbsrtowcs and wcsrtombs functions limits the number of
elements stored into the destination array but it could be greater than the
size of the array. Hence additions in the following codes fragments are invalid
C (exhibit UB):

https://sourceware.org/git/?p=glibc.git;a=blob;f=wcsmbs/mbsrtowcs_l.c;h=d71934117d4e8aa894aa8d5f33ba2c308a7bf3d6;hb=HEAD#l107

 107       data.__outbuf = (unsigned char *) dst;
 108       data.__outbufend = data.__outbuf + len * sizeof (wchar_t);

https://sourceware.org/git/?p=glibc.git;a=blob;f=wcsmbs/wcsrtombs.c;h=ae303683383c3116a695bd0269c836a4f92c4cb9;hb=HEAD#l107

 107       data.__outbuf = (unsigned char *) dst;
 108       data.__outbufend = (unsigned char *) dst + len;

The functions also return wrong results wrongly return 0 when called with large
len, e.g., with len=SIZE_MAX. The attached program prints "0 0" instead of "2
2".

Please note that fixing only wrong result is not enough, the root problem is
invalid pointer arithmetic. See pr19411 for comparison.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30776-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Dec 29 06:06:36 2015
Return-Path: <glibc-bugs-return-30776-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 28322 invoked by alias); 29 Dec 2015 06:06:36 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 28237 invoked by uid 55); 29 Dec 2015 06:06:32 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/15421] lgamma wrongly sets signgam for ISO C
Date: Tue, 29 Dec 2015 06:06:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: 2.17
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-15421-131-DA1U1zHZhg@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-15421-131@http.sourceware.org/bugzilla/>
References: <bug-15421-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00165.txt.bz2
Content-length: 1463

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

--- Comment #4 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  d46256f440fef7e3ee49d2e2660c2eeb707437e9 (commit)
      from  3cf74f8a4a0e0c7b7a9b4d40ba220832f33ea638 (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=d46256f440fef7e3ee49d2e2660c2eeb707437e9

commit d46256f440fef7e3ee49d2e2660c2eeb707437e9
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Mon Dec 28 22:18:22 2015 -0500

    ia64: fpu: fix gammaf typo [BZ #15421]

    The lgamma rewrite in commit d709042a6e5ab3c360280faad6f9538a34dc8eea
    used "gammaf" in this function when it should have used "gamma".

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

Summary of changes:
 ChangeLog                        |    5 +++++
 sysdeps/ia64/fpu/w_lgamma_main.c |    8 ++++----
 2 files changed, 9 insertions(+), 4 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30777-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Dec 29 10:51:52 2015
Return-Path: <glibc-bugs-return-30777-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 87823 invoked by alias); 29 Dec 2015 10:51:52 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 87793 invoked by uid 48); 29 Dec 2015 10:51:48 -0000
From: "i.palachev at samsung dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug dynamic-link/19329] dl-tls.c assert failure at concurrent pthread_create and dlopen
Date: Tue, 29 Dec 2015 10:51:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: dynamic-link
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: i.palachev at samsung dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-19329-131-xOPl5vchzZ@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19329-131@http.sourceware.org/bugzilla/>
References: <bug-19329-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00166.txt.bz2
Content-length: 577

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

Ilya Palachev <i.palachev at samsung dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |i.palachev at samsung dot com

--- Comment #1 from Ilya Palachev <i.palachev at samsung dot com> ---
Hi, I've suggested a patch for this bug:
https://sourceware.org/ml/libc-alpha/2015-12/msg00570.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30778-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Dec 29 18:24:52 2015
Return-Path: <glibc-bugs-return-30778-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 101423 invoked by alias); 29 Dec 2015 18:24:51 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 101386 invoked by uid 48); 29 Dec 2015 18:24:47 -0000
From: "danglin at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19415] New: dladdr returns wrong names on hppa
Date: Tue, 29 Dec 2015 18:24:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: danglin at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone cf_gcchost cf_gcctarget cf_gccbuild attachments.created
Message-ID: <bug-19415-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00167.txt.bz2
Content-length: 4383

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

            Bug ID: 19415
           Summary: dladdr returns wrong names on hppa
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: danglin at gcc dot gnu.org
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---
              Host: hppa-unknown-linux-gnu
            Target: hppa-unknown-linux-gnu
             Build: hppa-unknown-linux-gnu

Created attachment 8868
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8868&action=edit
Test program.

Attached is a small test program that demonstrates.  The code attempts
to find address info the function foo.

The files foo.c and bar.c should be compiled as shared libraries.  The file
main.c should be compiled and linked against libfoo, libbar and libdl.

The code executes as follows:

dave@mx3210:~/debian/nss$ ./main
./main
./main
./main

The following glibc is used to find the function descriptor associated
with the function pointer &foo:

ElfW(Addr)
_dl_lookup_address (const void *address)
{
  ElfW(Addr) addr = (ElfW(Addr)) address;
  struct fdesc_table *t;
  unsigned long int i;

  for (t = local.root; t != NULL; t = t->next)
    {
      i = (struct fdesc *) addr - &t->fdesc[0];
      if (i < t->first_unused && addr == (ElfW(Addr)) &t->fdesc[i])
        {
          addr = t->fdesc[i].ip;
          break;
        }
    }

  return addr;
}

The first time it is called we have

Breakpoint 1, main () at main.c:17
17        result = dladdr ((void *)&foo, &info);
(gdb) disass _dl_lookup_address
Dump of assembler code for function _dl_lookup_address:
   0xfd4822c8 <+0>:     addil L%800,r19,r1
   0xfd4822cc <+4>:     ldw 44(r1),ret0
   0xfd4822d0 <+8>:     ldw 0(ret0),r21
   0xfd4822d4 <+12>:    cmpib,= 0,r21,0xfd482310 <_dl_lookup_address+72>
   0xfd4822d8 <+16>:    copy r26,ret0
   0xfd4822dc <+20>:    ldo c(r21),r20
   0xfd4822e0 <+24>:    ldw 8(r21),r31
   0xfd4822e4 <+28>:    sub r26,r20,r20
   0xfd4822e8 <+32>:    extrw,s r20,28,29,r20
   0xfd4822ec <+36>:    cmpb,<<= r31,r20,0xfd482304 <_dl_lookup_address+60>
   0xfd4822f0 <+40>:    ldo 1(r20),r22
   0xfd4822f4 <+44>:    shladd,l r22,3,r21,r22
   0xfd4822f8 <+48>:    ldo 4(r22),r20
   0xfd4822fc <+52>:    cmpclr,<> r20,r26,r0
   0xfd482300 <+56>:    b,l,n 0xfd482314 <_dl_lookup_address+76>,r0
   0xfd482304 <+60>:    ldw 0(r21),r21
   0xfd482308 <+64>:    cmpib,<> 0,r21,0xfd4822e0 <_dl_lookup_address+24>
   0xfd48230c <+68>:    ldo c(r21),r20
   0xfd482310 <+72>:    bv,n r0(rp)
   0xfd482314 <+76>:    bv r0(rp)
   0xfd482318 <+80>:    ldw 4(r22),ret0
End of assembler dump.
(gdb) break *0xfd4822d4
Breakpoint 2 at 0xfd4822d4: file ../sysdeps/hppa/dl-fptr.c, line 332.
(gdb) c
Continuing.

Breakpoint 2, 0xfd4822d4 in _dl_lookup_address (address=0x11164)
    at ../sysdeps/hppa/dl-fptr.c:332
332     ../sysdeps/hppa/dl-fptr.c: No such file or directory.
(gdb) p/x local
$1 = {root = 0xfd48b2c0, free_list = 0x0, npages = 0x2, boot_table = {
    next = 0x0, len = 0x400, first_unused = 0x5, 
    fdesc = 0xfd48b2cc <local+24>}, boot_fdescs = {{ip = 0xfd480a88, 
      gp = 0xfd48d410}, {ip = 0xfc9b9cc0, gp = 0xfcaa6c30}, {ip = 0xfc99b2dc, 
      gp = 0xfcaa6c30}, {ip = 0xfc9b91b4, gp = 0xfcaa6c30}, {ip = 0xfc96c590, 
      gp = 0xfcaa6c30}, {ip = 0x0, gp = 0x0} <repeats 1019 times>}}
(gdb) p *t
$2 = {next = 0x0, len = 1024, first_unused = 5, fdesc = 0xfd48b2cc <local+24>}
(gdb) x/2x 0x11164
0x11164:        0x00011198      0x00000054
(gdb) bt
#0  0xfd4822d4 in _dl_lookup_address (address=0x11164)
    at ../sysdeps/hppa/dl-fptr.c:332
#1  0xfca6c0fc in __GI__dl_addr (address=<optimized out>, info=0xfd70330c, 
    mapp=mapp@entry=0x0, symbolp=symbolp@entry=0x0) at dl-addr.c:127
#2  0xfcb56b74 in __dladdr (address=<optimized out>, info=<optimized out>)
    at dladdr.c:38
#3  0x00010804 in main () at main.c:17

The function descriptor being used is not in the table so it is not found.
So, we end up with an address in main.

Think this lookup is only relevant to ia64?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30779-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Dec 29 18:25:46 2015
Return-Path: <glibc-bugs-return-30779-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 104234 invoked by alias); 29 Dec 2015 18:25:46 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 104127 invoked by uid 55); 29 Dec 2015 18:25:41 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19270] [hppa] Shared libm missing __isnanl
Date: Tue, 29 Dec 2015 18:25:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19270-131-Sy3ox5oh5M@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19270-131@http.sourceware.org/bugzilla/>
References: <bug-19270-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00168.txt.bz2
Content-length: 1664

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

--- Comment #4 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  d51442aacdbdb63e2f10815d843b551a9291d7a5 (commit)
      from  d46256f440fef7e3ee49d2e2660c2eeb707437e9 (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=d51442aacdbdb63e2f10815d843b551a9291d7a5

commit d51442aacdbdb63e2f10815d843b551a9291d7a5
Author: John David Anglin <dave.anglin@bell.net>
Date:   Sun Nov 22 17:15:04 2015 -0500

    hppa: Define __NO_LONG_DOUBLE_MATH so headers are consistent with libm
build [BZ #19270]

    The attached patch fixes BZ #19270 and the Debian gmt package now builds
    successfully.  Aside from the comment, the define of __NO_LONG_DOUBLE_MATH
    is similar to that in the generic version of glibc.

    Build tested on hppa-unknown-linux-gnu with no observed regressions.

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

Summary of changes:
 ChangeLog                       |    5 +++++
 sysdeps/hppa/fpu/bits/mathdef.h |    9 +++++++--
 2 files changed, 12 insertions(+), 2 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30780-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Dec 29 18:26:24 2015
Return-Path: <glibc-bugs-return-30780-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 104861 invoked by alias); 29 Dec 2015 18:26:23 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 104811 invoked by uid 48); 29 Dec 2015 18:26:19 -0000
From: "vapier at gentoo dot org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/19270] [hppa] Shared libm missing __isnanl
Date: Tue, 29 Dec 2015 18:26:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: math
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vapier at gentoo dot org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-19270-131-ozbFnsqxhW@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19270-131@http.sourceware.org/bugzilla/>
References: <bug-19270-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00169.txt.bz2
Content-length: 576

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

Mike Frysinger <vapier at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.23

--- Comment #5 from Mike Frysinger <vapier at gentoo dot org> ---
fix pushed to master

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30781-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Dec 29 18:32:49 2015
Return-Path: <glibc-bugs-return-30781-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 121186 invoked by alias); 29 Dec 2015 18:32:48 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 121150 invoked by uid 55); 29 Dec 2015 18:32:44 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug network/19369] Default domain name not reset by res_ninit when "search" / "domain" entry is removed from resolv.conf
Date: Tue, 29 Dec 2015 18:32:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: network
X-Bugzilla-Version: 2.24
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: rob at robwu dot nl
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19369-131-KJtcqdCwoe@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19369-131@http.sourceware.org/bugzilla/>
References: <bug-19369-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00170.txt.bz2
Content-length: 1655

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

--- Comment #1 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  b674b821091141c5eed7d423612d3b10703e9c62 (commit)
      from  d51442aacdbdb63e2f10815d843b551a9291d7a5 (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=b674b821091141c5eed7d423612d3b10703e9c62

commit b674b821091141c5eed7d423612d3b10703e9c62
Author: Rob Wu <rob@robwu.nl>
Date:   Wed Dec 16 12:53:27 2015 +0100

    resolv: Reset defdname before use in __res_vinit [BZ #19369]

    Resetting defdname (default domain name) before use in __res_vinit
    ensures that the default domain name is correctly set to a default
    value when it is not set by the LOCALDOMAIN environment variable or
    the "domain" or "search" parameters in resolv.conf

    Tested using the steps from:
    https://sourceware.org/bugzilla/show_bug.cgi?id=19369

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

Summary of changes:
 ChangeLog         |    5 +++++
 resolv/res_init.c |    1 +
 2 files changed, 6 insertions(+), 0 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30782-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Dec 29 18:41:44 2015
Return-Path: <glibc-bugs-return-30782-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 4448 invoked by alias); 29 Dec 2015 18:41:43 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 4409 invoked by uid 48); 29 Dec 2015 18:41:39 -0000
From: "vapier at gentoo dot org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug network/19369] Default domain name not reset by res_ninit when "search" / "domain" entry is removed from resolv.conf
Date: Tue, 29 Dec 2015 18:41:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: network
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vapier at gentoo dot org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: rob at robwu dot nl
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status version resolution target_milestone
Message-ID: <bug-19369-131-SwrjixyvnS@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19369-131@http.sourceware.org/bugzilla/>
References: <bug-19369-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00171.txt.bz2
Content-length: 634

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

Mike Frysinger <vapier at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
            Version|2.24                        |2.22
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.23

--- Comment #2 from Mike Frysinger <vapier at gentoo dot org> ---
fix pushed to master now

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30783-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Dec 29 18:51:34 2015
Return-Path: <glibc-bugs-return-30783-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 32528 invoked by alias); 29 Dec 2015 18:51:34 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 32490 invoked by uid 55); 29 Dec 2015 18:51:29 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/19385] bg_BG: time separator should be colon, not comma
Date: Tue, 29 Dec 2015 18:51:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: 2.21
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19385-131-LBSrdlkliz@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19385-131@http.sourceware.org/bugzilla/>
References: <bug-19385-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00172.txt.bz2
Content-length: 1887

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

--- Comment #2 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  b69b5b3e3e5a5cd9e693db1dc8c94e621561aa95 (commit)
      from  d108b75561d0d3a4187be9fa47285260aaad37ea (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=b69b5b3e3e5a5cd9e693db1dc8c94e621561aa95

commit b69b5b3e3e5a5cd9e693db1dc8c94e621561aa95
Author: Damyan Ivanov <dam+gnu@ktnx.net>
Date:   Tue Dec 29 13:45:25 2015 -0500

    localedata: bg_BG: use colon as time separator [BZ #19385]

    The only official source is the "Official spelling dictionary of the
    Bulgarian language, Prosveta 2012", which states there are three ways
    to separate time components: comma, colon and dot. That same dictionary
    doesn't say which one is preferred.

    So I turned to the mailing list of the translators of free software in
    Bulgarian. The consensus is that colon is the only separator that is
    widely used in Bulgarian texts and everything else will just be confusing.

    URL: http://lists.ludost.net/pipermail/dict/2015-December/000538.html

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

Summary of changes:
 localedata/ChangeLog     |    6 ++++++
 localedata/locales/bg_BG |    4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30784-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Dec 29 18:52:21 2015
Return-Path: <glibc-bugs-return-30784-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 33430 invoked by alias); 29 Dec 2015 18:52:20 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 33395 invoked by uid 48); 29 Dec 2015 18:52:17 -0000
From: "vapier at gentoo dot org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/19385] bg_BG: time separator should be colon, not comma
Date: Tue, 29 Dec 2015 18:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: 2.21
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vapier at gentoo dot org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-19385-131-E11bbWhRbB@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19385-131@http.sourceware.org/bugzilla/>
References: <bug-19385-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00173.txt.bz2
Content-length: 729

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

Mike Frysinger <vapier at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.23

--- Comment #3 from Mike Frysinger <vapier at gentoo dot org> ---
i've formatted + posted + submitted this patch this time, but for future
submissions, please follow the checklist:
https://sourceware.org/glibc/wiki/Contribution%20checklist

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30785-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Dec 29 20:04:26 2015
Return-Path: <glibc-bugs-return-30785-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 64799 invoked by alias); 29 Dec 2015 20:04:26 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 64383 invoked by uid 48); 29 Dec 2015 20:04:22 -0000
From: "vapier at gentoo dot org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/19220] The LC_ADDRESS/postal_fmt values for China and Indian are not correct
Date: Tue, 29 Dec 2015 20:04:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: 2.21
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vapier at gentoo dot org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19220-131-3px21HqSn7@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19220-131@http.sourceware.org/bugzilla/>
References: <bug-19220-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00174.txt.bz2
Content-length: 414

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

--- Comment #1 from Mike Frysinger <vapier at gentoo dot org> ---
changes to localedata need citations to back up proposals.  please cite
relevant official docs/specs.

once you have that, please follow the checklist:
https://sourceware.org/glibc/wiki/Contribution%20checklist

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30786-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Dec 29 21:35:11 2015
Return-Path: <glibc-bugs-return-30786-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 95331 invoked by alias); 29 Dec 2015 21:35:11 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 95285 invoked by uid 48); 29 Dec 2015 21:35:06 -0000
From: "cherepan at mccme dot ru" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug stdio/19416] New: ftell on wide-oriented stream can crash (in OOM case) or fail (in any case)
Date: Tue, 29 Dec 2015 21:35:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: stdio
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cherepan at mccme dot ru
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created
Message-ID: <bug-19416-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00175.txt.bz2
Content-length: 3557

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

            Bug ID: 19416
           Summary: ftell on wide-oriented stream can crash (in OOM case)
                    or fail (in any case)
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: stdio
          Assignee: unassigned at sourceware dot org
          Reporter: cherepan at mccme dot ru
  Target Milestone: ---

Created attachment 8869
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8869&action=edit
ftell returns wrong result and then crashes

There are several problems when ftell is called for a stream and the following
conditions are met:
- the stream is wide-oriented,
- it has unflushed data,
- the current locale uses a variable-length encoding.

The problems are illustrated by the attached sample program and are described
below. Quick-n-dirty patch is attached too.

When the conditions are met, at some point, the execution is passed to this
fragment:

----------------------------------------------------------------------
https://sourceware.org/git/?p=glibc.git;a=blob;f=libio/wfileops.c;h=99f9c8fe65726ac4c163c7d61bc7ee58e05e986e;hb=HEAD#l697

 697             {
 698               size_t delta = (fp->_wide_data->_IO_write_ptr
 699                               - fp->_wide_data->_IO_write_base);

Apparently, this is the number of wide chars not yet written to the stream.

 700 
 701               /* Allocate enough space for the conversion.  */
 702               size_t outsize = delta * sizeof (wchar_t);

Problem 1: to get the size of output buffer you have to multiply the number of
chars by something like MB_LEN_MAX instead of sizeof (wchar_t). If there is not
enough space conversion will fail.

 703               char *out = malloc (outsize);

Problem 2: the result of malloc is checked. In out of memory condition the
program will crash.

 704               char *outstop = out;
 705               const wchar_t *in = fp->_wide_data->_IO_write_base;
 706 
 707               enum __codecvt_result status;
 708 
 709               __mbstate_t state = fp->_wide_data->_IO_last_state;
 710               status = (*cv->__codecvt_do_out) (cv, &state,
 711                                                 in, in + delta, &in,
 712                                                 out, out + outsize,
&outstop);
 713 
 714               /* We don't check for __codecvt_partial because it can be
 715                  returned on one of two conditions: either the output
 716                  buffer is full or the input sequence is incomplete.  We
 717                  take care to allocate enough buffer and our input
 718                  sequences must be complete since they are accepted as
 719                  wchar_t; if not, then that is an error.  */
 720               if (__glibc_unlikely (status != __codecvt_ok))
 721                 {
 722                   free (out);
 723                   return WEOF;

Problem 3: WEOF is invalid error code for ftell. It prints 4294967295 on my
x86-64 machine.

 724                 }
 725 
 726               offset += outstop - out;
 727               free (out);
 728             }

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

Introduced in
https://sourceware.org/git/?p=glibc.git;a=commit;h=000232b9bcbf194f1e5fd0ff380000f341505405
.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30787-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Dec 29 21:37:20 2015
Return-Path: <glibc-bugs-return-30787-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 97637 invoked by alias); 29 Dec 2015 21:37:20 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 97391 invoked by uid 48); 29 Dec 2015 21:37:17 -0000
From: "cherepan at mccme dot ru" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug stdio/19416] ftell on wide-oriented stream can crash (in OOM case) or fail (in any case)
Date: Tue, 29 Dec 2015 21:37:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: stdio
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cherepan at mccme dot ru
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-19416-131-wntHjSZl5I@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19416-131@http.sourceware.org/bugzilla/>
References: <bug-19416-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00176.txt.bz2
Content-length: 316

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

--- Comment #1 from Alexander Cherepanov <cherepan at mccme dot ru> ---
Created attachment 8870
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8870&action=edit
Patch

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30788-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Dec 29 22:31:38 2015
Return-Path: <glibc-bugs-return-30788-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 86389 invoked by alias); 29 Dec 2015 22:31:38 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 86356 invoked by uid 48); 29 Dec 2015 22:31:35 -0000
From: "sh0924.hwang at samsung dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug dynamic-link/19329] dl-tls.c assert failure at concurrent pthread_create and dlopen
Date: Tue, 29 Dec 2015 22:31:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: dynamic-link
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: sh0924.hwang at samsung dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-19329-131-kGSrCZgue0@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19329-131@http.sourceware.org/bugzilla/>
References: <bug-19329-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00177.txt.bz2
Content-length: 394

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

sh0924.hwang at samsung dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sh0924.hwang at samsung dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30789-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Dec 30 04:21:37 2015
Return-Path: <glibc-bugs-return-30789-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 48171 invoked by alias); 30 Dec 2015 04:21:36 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 48090 invoked by uid 55); 30 Dec 2015 04:21:32 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/19198] Small improvements Dutch locales
Date: Wed, 30 Dec 2015 04:21:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19198-131-MvNGQ5C0Ez@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19198-131@http.sourceware.org/bugzilla/>
References: <bug-19198-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00178.txt.bz2
Content-length: 1433

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

--- Comment #1 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  a82cd945b54958f2ee8d1503eee20fd521f1c236 (commit)
      from  1bd5483e104c8bde6e61dc5e3f8a848bc861872d (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=a82cd945b54958f2ee8d1503eee20fd521f1c236

commit a82cd945b54958f2ee8d1503eee20fd521f1c236
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Tue Dec 29 23:19:54 2015 -0500

    localedata: nl_NL@euro: copy measurement from nl_NL [BZ #19198]

    No real changes here as the output is the same.  Just making the input
    a little bit nicer.

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

Summary of changes:
 localedata/ChangeLog          |    5 +++++
 localedata/locales/nl_NL@euro |    3 +--
 2 files changed, 6 insertions(+), 2 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30790-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Dec 30 04:22:21 2015
Return-Path: <glibc-bugs-return-30790-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 48699 invoked by alias); 30 Dec 2015 04:22:20 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 48646 invoked by uid 48); 30 Dec 2015 04:22:17 -0000
From: "vapier at gentoo dot org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/19198] nl_NL: small improvements for Dutch locales
Date: Wed, 30 Dec 2015 04:22:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: vapier at gentoo dot org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-19198-131-wDXCTxEkzf@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19198-131@http.sourceware.org/bugzilla/>
References: <bug-19198-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00179.txt.bz2
Content-length: 640

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

Mike Frysinger <vapier at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Small improvements Dutch    |nl_NL: small improvements
                   |locales                     |for Dutch locales

--- Comment #2 from Mike Frysinger <vapier at gentoo dot org> ---
i've committed the suggestion for nl_NL@euro

please provide justifications for the nl_NL improvements though

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30791-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Dec 30 10:33:53 2015
Return-Path: <glibc-bugs-return-30791-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 65010 invoked by alias); 30 Dec 2015 10:33:53 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 64969 invoked by uid 55); 30 Dec 2015 10:33:49 -0000
From: "cherepan at mccme dot ru" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug string/19391] strnlen invokes UB by adding maxlen to str
Date: Wed, 30 Dec 2015 10:33:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: string
X-Bugzilla-Version: 2.24
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cherepan at mccme dot ru
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19391-131-O5aUe6COLN@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19391-131@http.sourceware.org/bugzilla/>
References: <bug-19391-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00180.txt.bz2
Content-length: 1108

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

--- Comment #4 from Alexander Cherepanov <cherepan at mccme dot ru> ---
On 2015-12-28 17:18, cherepan at mccme dot ru wrote:
> (In reply to Florian Weimer from comment #1)
>> Isn't strnlen (p, -1) equivalent to strlen (p)?  It's difficult to tell from
>> the specification.
>
> 1. I'm not sure what you mean.

Ok, I think I found the reason of the confusion. I was looking at glibc 
manual as available on https://www.gnu.org/ but manual/string.texi was 
modified recently. In particular, the description of strnlen was changed 
by [1]. The current description[2] indeed talks about "the array @var{s} 
of size @var{maxlen}". IMHO this is plainly wrong (and contradicts the 
use of strnlen in glibc itself).

[1] 
https://sourceware.org/git/?p=glibc.git;a=commit;h=2cc4b9cce51643ec299e97450ccde4deeecfb083
[2] 
https://sourceware.org/git/?p=glibc.git;a=blob;f=manual/string.texi;h=016fd0b9a05f3126a1594e942c5e6da0669d0410;hb=HEAD#l313

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30792-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Dec 30 14:51:52 2015
Return-Path: <glibc-bugs-return-30792-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 128451 invoked by alias); 30 Dec 2015 14:51:52 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 128427 invoked by uid 48); 30 Dec 2015 14:51:48 -0000
From: "heiko at hexco dot de" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug locale/19418] New: iconv should stop reading from 'inbuf' when 'outbytesleft' is zero
Date: Wed, 30 Dec 2015 14:51:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: locale
X-Bugzilla-Version: 2.19
X-Bugzilla-Keywords: std-posix
X-Bugzilla-Severity: normal
X-Bugzilla-Who: heiko at hexco dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone attachments.created
Message-ID: <bug-19418-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00181.txt.bz2
Content-length: 2086

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

            Bug ID: 19418
           Summary: iconv should stop reading from 'inbuf' when
                    'outbytesleft' is zero
           Product: glibc
           Version: 2.19
            Status: NEW
          Keywords: std-posix
          Severity: normal
          Priority: P2
         Component: locale
          Assignee: unassigned at sourceware dot org
          Reporter: heiko at hexco dot de
  Target Milestone: ---

Created attachment 8871
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8871&action=edit
test programm that demonstrates that iconv reads from inbuf even if
outbytesleft == 0

Quote from the opengroup description
(http://pubs.opengroup.org/onlinepubs/009695399/functions/iconv.html):

If the output buffer is not large enough to hold the entire converted input,
conversion shall stop just prior to the input bytes that would cause the output
buffer to overflow.
= end quote =

What I see instead is that iconv() reads 'inbytesleft' unconditionally, when at
least one character had been converted.

I have added a test program to demonstrate the issue. (Compile with 'gcc
-fsanitize=address -g -o test_iconv test_iconv.c').
(There are two variants: one with memory from the heap (preferred) 
and one with an anonymously memory mapped region).

I am converting "1" from UTF-8 to UCS-2BE. 'outbuf' has two bytes, so
'outbytesleft' is initialized to 2.
It seems to me that 'outbytesleft' is not checked before reading from 'inbuf'.

Three calls are done with 'inbytesleft' set to 1, 2 and 3.
Expected behaviour would be in each case:
read one byte input, 
convert it to 2 bytes output,
place it in the outbuf,
increment pointers, decrement counters,
check if there is space left in the 'outbuf',
and since there is no space left, terminate the loop.
-
Address sanitizer confirms, that up to 3 bytes are read instead.

This is done on AMD64 on Ubuntu, with gcc 5.3.

Best regards, Heiko

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30793-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Dec 30 20:58:38 2015
Return-Path: <glibc-bugs-return-30793-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 27779 invoked by alias); 30 Dec 2015 20:58:38 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 27713 invoked by uid 48); 30 Dec 2015 20:58:34 -0000
From: "vapier at gentoo dot org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/19010] en_ID: new locale for Indonesian English
Date: Wed, 30 Dec 2015 20:58:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: localedata
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: vapier at gentoo dot org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-19010-131-q2xZF1ytfN@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19010-131@http.sourceware.org/bugzilla/>
References: <bug-19010-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00182.txt.bz2
Content-length: 460

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

Mike Frysinger <vapier at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|en_ID: wew locale for       |en_ID: new locale for
                   |Indonesian English          |Indonesian English

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30794-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Dec 31 00:27:22 2015
Return-Path: <glibc-bugs-return-30794-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 128980 invoked by alias); 31 Dec 2015 00:27:21 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 128917 invoked by uid 55); 31 Dec 2015 00:27:17 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19408] linux personality syscall wrapper may erroneously return an error on 32-bit architectures
Date: Thu, 31 Dec 2015 00:27:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: ldv at altlinux dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19408-131-CbJhsNth5K@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19408-131@http.sourceware.org/bugzilla/>
References: <bug-19408-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00183.txt.bz2
Content-length: 5062

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

--- Comment #1 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  e0043e17dfc52fe1702746543127cb4a87232bcd (commit)
      from  cc42170ef6ca931c7527a86f14fc66059b6dfff4 (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=e0043e17dfc52fe1702746543127cb4a87232bcd

commit e0043e17dfc52fe1702746543127cb4a87232bcd
Author: Dmitry V. Levin <ldv@altlinux.org>
Date:   Sun Dec 27 16:30:02 2015 +0000

    Fix linux personality syscall wrapper

    The personality system call, starting with linux kernel commit
    v2.6.29-6609-g11d06b2a1e5658f448a308aa3beb97bacd64a940, always
    successfully changes the personality if requested.  The syscall
    wrapper, however, still can return an error in the following cases:
    - the value returned by the system call looks like an error
    due to architecture limitations of 32-bit kernels;
    - a personality greater than 0xffffffff is passed to the system call,
    and the 64-bit kernel does not have commit
    v2.6.35-rc1-372-g485d527686850d68a0e9006dd9904f19f122485e
    that would truncate this value to unsigned int;
    - on sparc64, the value returned by the system call looks like an error
    due to sparc64 kernel sign extension bug.

    The solution is three-fold:
    - move generic syscalls.list personality entry to generic 64-bit
    syscalls.list file;
    - for each 32-bit architecture that use negated errno semantics,
    add a NOERRNO personality entry to their syscalls.list file;
    - for sparc64 and 32-bit architectures that use dedicated registers
    to flag syscall errors, add a wrapper around personality syscall;
    if the system call return value is flagged as an error, this wrapper
    returns the negated "would be errno" value, otherwise it returns
    the system call return value; on sparc64, it also truncates the
    personality argument to unsigned int before passing it to the kernel.

    [BZ #19408]
    * sysdeps/unix/sysv/linux/personality.c: New file.
    * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
    * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
    * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
    (sysdep_routines): Add personality.
    (tests): Add tst-personality.
    * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
    * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
    * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
    * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
    * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
    * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
    * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
    Likewise.
    * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
    Likewise.
    * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
    Likewise.
    * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
    * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
    Likewise.

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

Summary of changes:
 ChangeLog                                          |   25 ++++++++++
 sysdeps/unix/sysv/linux/Makefile                   |    5 +-
 sysdeps/unix/sysv/linux/arm/syscalls.list          |    2 +
 sysdeps/unix/sysv/linux/hppa/syscalls.list         |    1 +
 sysdeps/unix/sysv/linux/i386/syscalls.list         |    2 +
 sysdeps/unix/sysv/linux/m68k/syscalls.list         |    1 +
 sysdeps/unix/sysv/linux/microblaze/syscalls.list   |    1 +
 .../unix/sysv/linux/mips/mips64/n32/syscalls.list  |    2 +
 sysdeps/unix/sysv/linux/personality.c              |   49 ++++++++++++++++++++
 sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list |    1 +
 sysdeps/unix/sysv/linux/sh/syscalls.list           |    2 +
 .../unix/sysv/linux/sparc/sparc64/personality.c    |    3 +
 sysdeps/unix/sysv/linux/syscalls.list              |    1 -
 sysdeps/unix/sysv/linux/tst-personality.c          |   45 ++++++++++++++++++
 sysdeps/unix/sysv/linux/wordsize-64/syscalls.list  |    1 +
 sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list   |    1 +
 16 files changed, 139 insertions(+), 3 deletions(-)
 create mode 100644 sysdeps/unix/sysv/linux/personality.c
 create mode 100644 sysdeps/unix/sysv/linux/sparc/sparc64/personality.c
 create mode 100644 sysdeps/unix/sysv/linux/tst-personality.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30795-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Dec 31 00:33:36 2015
Return-Path: <glibc-bugs-return-30795-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 15135 invoked by alias); 31 Dec 2015 00:33:35 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 15088 invoked by uid 48); 31 Dec 2015 00:33:31 -0000
From: "ldv at altlinux dot org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/19408] linux personality syscall wrapper may erroneously return an error on 32-bit architectures
Date: Thu, 31 Dec 2015 00:33:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ldv at altlinux dot org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: ldv at altlinux dot org
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-19408-131-Ysexf0endD@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19408-131@http.sourceware.org/bugzilla/>
References: <bug-19408-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00184.txt.bz2
Content-length: 518

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

Dmitry V. Levin <ldv at altlinux dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Dmitry V. Levin <ldv at altlinux dot org> ---
Fixed in master.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30797-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Dec 31 12:47:47 2015
Return-Path: <glibc-bugs-return-30797-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 37724 invoked by alias); 31 Dec 2015 12:47:47 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 37567 invoked by uid 55); 31 Dec 2015 12:47:41 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug stdio/17269] _IO_wstr_overflow integer overflow
Date: Thu, 31 Dec 2015 12:47:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: stdio
X-Bugzilla-Version: 2.19
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: ppluzhnikov at google dot com
X-Bugzilla-Target-Milestone: 2.22
X-Bugzilla-Flags: security+
X-Bugzilla-Changed-Fields:
Message-ID: <bug-17269-131-uZJnDPazF2@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-17269-131@http.sourceware.org/bugzilla/>
References: <bug-17269-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00186.txt.bz2
Content-length: 3899

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

--- Comment #8 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, release/2.18/master has been updated
       via  325241608584653c1275a2ea28ce349a04fc4d28 (commit)
       via  161a7ef860561b0738f953c533eb8920cbf0b813 (commit)
       via  f0cb70a25452585ff950b3a89f811ea3d473ae83 (commit)
       via  80e44fad705561e39d8001c8258a8bae9c149fc7 (commit)
      from  d4deb63367247eaddcbe10b872d39ff70659eaf4 (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=325241608584653c1275a2ea28ce349a04fc4d28

commit 325241608584653c1275a2ea28ce349a04fc4d28
Author: Paul Pluzhnikov <ppluzhnikov@google.com>
Date:   Sun Feb 22 12:01:47 2015 -0800

    Fix BZ #17269 -- _IO_wstr_overflow integer overflow

    (cherry picked from commit bdf1ff052a8e23d637f2c838fa5642d78fcedc33)

    Conflicts:
        NEWS

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

commit 161a7ef860561b0738f953c533eb8920cbf0b813
Author: Andreas Schwab <schwab@suse.de>
Date:   Thu Feb 26 14:55:24 2015 +0100

    Fix read past end of pattern in fnmatch (bug 18032)

    (cherry picked from commit 4a28f4d55a6cc33474c0792fe93b5942d81bf185)

    Conflicts:
        NEWS
        posix/tst-fnmatch3.c

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

commit f0cb70a25452585ff950b3a89f811ea3d473ae83
Author: Florian Weimer <fweimer@redhat.com>
Date:   Tue Oct 6 13:12:36 2015 +0200

    Harden tls_dtor_list with pointer mangling [BZ #19018]

    (cherry picked from commit f586e1328681b400078c995a0bb6ad301ef73549)

    Conflicts:
        NEWS
        stdlib/cxa_thread_atexit_impl.c

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

commit 80e44fad705561e39d8001c8258a8bae9c149fc7
Author: Florian Weimer <fweimer@redhat.com>
Date:   Thu Oct 15 09:23:07 2015 +0200

    Always enable pointer guard [BZ #18928]

    Honoring the LD_POINTER_GUARD environment variable in AT_SECURE mode
    has security implications.  This commit enables pointer guard
    unconditionally, and the environment variable is now ignored.

            [BZ #18928]
            * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
            _dl_pointer_guard member.
            * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
            initializer.
            (security_init): Always set up pointer guard.
            (process_envvars): Do not process LD_POINTER_GUARD.

    (cherry picked from commit a014cecd82b71b70a6a843e250e06b541ad524f7)

    Conflicts:
        NEWS

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

Summary of changes:
 ChangeLog                                   |   30 +++++++++++++++++++++++++++
 NEWS                                        |    5 +++-
 elf/rtld.c                                  |   15 +++---------
 libio/wstrops.c                             |    8 ++++++-
 posix/fnmatch_loop.c                        |    5 +--
 stdlib/tst-system.c => posix/tst-fnmatch3.c |   16 ++++++++------
 stdlib/cxa_thread_atexit_impl.c             |   12 +++++++++-
 sysdeps/generic/ldsodefs.h                  |    3 --
 8 files changed, 66 insertions(+), 28 deletions(-)
 copy stdlib/tst-system.c => posix/tst-fnmatch3.c (72%)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30799-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Dec 31 12:47:48 2015
Return-Path: <glibc-bugs-return-30799-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 37902 invoked by alias); 31 Dec 2015 12:47:48 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 37534 invoked by uid 55); 31 Dec 2015 12:47:36 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/18032] buffer overflow (read past end of buffer) in internal_fnmatch
Date: Thu, 31 Dec 2015 12:47:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.21
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.22
X-Bugzilla-Flags: security+
X-Bugzilla-Changed-Fields:
Message-ID: <bug-18032-131-LNeE8yxrlm@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-18032-131@http.sourceware.org/bugzilla/>
References: <bug-18032-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00188.txt.bz2
Content-length: 3899

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

--- Comment #8 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, release/2.18/master has been updated
       via  325241608584653c1275a2ea28ce349a04fc4d28 (commit)
       via  161a7ef860561b0738f953c533eb8920cbf0b813 (commit)
       via  f0cb70a25452585ff950b3a89f811ea3d473ae83 (commit)
       via  80e44fad705561e39d8001c8258a8bae9c149fc7 (commit)
      from  d4deb63367247eaddcbe10b872d39ff70659eaf4 (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=325241608584653c1275a2ea28ce349a04fc4d28

commit 325241608584653c1275a2ea28ce349a04fc4d28
Author: Paul Pluzhnikov <ppluzhnikov@google.com>
Date:   Sun Feb 22 12:01:47 2015 -0800

    Fix BZ #17269 -- _IO_wstr_overflow integer overflow

    (cherry picked from commit bdf1ff052a8e23d637f2c838fa5642d78fcedc33)

    Conflicts:
        NEWS

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

commit 161a7ef860561b0738f953c533eb8920cbf0b813
Author: Andreas Schwab <schwab@suse.de>
Date:   Thu Feb 26 14:55:24 2015 +0100

    Fix read past end of pattern in fnmatch (bug 18032)

    (cherry picked from commit 4a28f4d55a6cc33474c0792fe93b5942d81bf185)

    Conflicts:
        NEWS
        posix/tst-fnmatch3.c

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

commit f0cb70a25452585ff950b3a89f811ea3d473ae83
Author: Florian Weimer <fweimer@redhat.com>
Date:   Tue Oct 6 13:12:36 2015 +0200

    Harden tls_dtor_list with pointer mangling [BZ #19018]

    (cherry picked from commit f586e1328681b400078c995a0bb6ad301ef73549)

    Conflicts:
        NEWS
        stdlib/cxa_thread_atexit_impl.c

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

commit 80e44fad705561e39d8001c8258a8bae9c149fc7
Author: Florian Weimer <fweimer@redhat.com>
Date:   Thu Oct 15 09:23:07 2015 +0200

    Always enable pointer guard [BZ #18928]

    Honoring the LD_POINTER_GUARD environment variable in AT_SECURE mode
    has security implications.  This commit enables pointer guard
    unconditionally, and the environment variable is now ignored.

            [BZ #18928]
            * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
            _dl_pointer_guard member.
            * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
            initializer.
            (security_init): Always set up pointer guard.
            (process_envvars): Do not process LD_POINTER_GUARD.

    (cherry picked from commit a014cecd82b71b70a6a843e250e06b541ad524f7)

    Conflicts:
        NEWS

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

Summary of changes:
 ChangeLog                                   |   30 +++++++++++++++++++++++++++
 NEWS                                        |    5 +++-
 elf/rtld.c                                  |   15 +++---------
 libio/wstrops.c                             |    8 ++++++-
 posix/fnmatch_loop.c                        |    5 +--
 stdlib/tst-system.c => posix/tst-fnmatch3.c |   16 ++++++++------
 stdlib/cxa_thread_atexit_impl.c             |   12 +++++++++-
 sysdeps/generic/ldsodefs.h                  |    3 --
 8 files changed, 66 insertions(+), 28 deletions(-)
 copy stdlib/tst-system.c => posix/tst-fnmatch3.c (72%)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30796-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Dec 31 12:47:47 2015
Return-Path: <glibc-bugs-return-30796-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 37709 invoked by alias); 31 Dec 2015 12:47:46 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 37531 invoked by uid 55); 31 Dec 2015 12:47:36 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug nptl/19018] Mangle function pointers in tls_dtor_list
Date: Thu, 31 Dec 2015 12:47:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: nptl
X-Bugzilla-Version: 2.23
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: fweimer at redhat dot com
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags: security-
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19018-131-l5mBZ1oeMi@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19018-131@http.sourceware.org/bugzilla/>
References: <bug-19018-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00185.txt.bz2
Content-length: 3899

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

--- Comment #4 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, release/2.18/master has been updated
       via  325241608584653c1275a2ea28ce349a04fc4d28 (commit)
       via  161a7ef860561b0738f953c533eb8920cbf0b813 (commit)
       via  f0cb70a25452585ff950b3a89f811ea3d473ae83 (commit)
       via  80e44fad705561e39d8001c8258a8bae9c149fc7 (commit)
      from  d4deb63367247eaddcbe10b872d39ff70659eaf4 (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=325241608584653c1275a2ea28ce349a04fc4d28

commit 325241608584653c1275a2ea28ce349a04fc4d28
Author: Paul Pluzhnikov <ppluzhnikov@google.com>
Date:   Sun Feb 22 12:01:47 2015 -0800

    Fix BZ #17269 -- _IO_wstr_overflow integer overflow

    (cherry picked from commit bdf1ff052a8e23d637f2c838fa5642d78fcedc33)

    Conflicts:
        NEWS

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

commit 161a7ef860561b0738f953c533eb8920cbf0b813
Author: Andreas Schwab <schwab@suse.de>
Date:   Thu Feb 26 14:55:24 2015 +0100

    Fix read past end of pattern in fnmatch (bug 18032)

    (cherry picked from commit 4a28f4d55a6cc33474c0792fe93b5942d81bf185)

    Conflicts:
        NEWS
        posix/tst-fnmatch3.c

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

commit f0cb70a25452585ff950b3a89f811ea3d473ae83
Author: Florian Weimer <fweimer@redhat.com>
Date:   Tue Oct 6 13:12:36 2015 +0200

    Harden tls_dtor_list with pointer mangling [BZ #19018]

    (cherry picked from commit f586e1328681b400078c995a0bb6ad301ef73549)

    Conflicts:
        NEWS
        stdlib/cxa_thread_atexit_impl.c

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

commit 80e44fad705561e39d8001c8258a8bae9c149fc7
Author: Florian Weimer <fweimer@redhat.com>
Date:   Thu Oct 15 09:23:07 2015 +0200

    Always enable pointer guard [BZ #18928]

    Honoring the LD_POINTER_GUARD environment variable in AT_SECURE mode
    has security implications.  This commit enables pointer guard
    unconditionally, and the environment variable is now ignored.

            [BZ #18928]
            * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
            _dl_pointer_guard member.
            * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
            initializer.
            (security_init): Always set up pointer guard.
            (process_envvars): Do not process LD_POINTER_GUARD.

    (cherry picked from commit a014cecd82b71b70a6a843e250e06b541ad524f7)

    Conflicts:
        NEWS

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

Summary of changes:
 ChangeLog                                   |   30 +++++++++++++++++++++++++++
 NEWS                                        |    5 +++-
 elf/rtld.c                                  |   15 +++---------
 libio/wstrops.c                             |    8 ++++++-
 posix/fnmatch_loop.c                        |    5 +--
 stdlib/tst-system.c => posix/tst-fnmatch3.c |   16 ++++++++------
 stdlib/cxa_thread_atexit_impl.c             |   12 +++++++++-
 sysdeps/generic/ldsodefs.h                  |    3 --
 8 files changed, 66 insertions(+), 28 deletions(-)
 copy stdlib/tst-system.c => posix/tst-fnmatch3.c (72%)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30798-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Dec 31 12:47:48 2015
Return-Path: <glibc-bugs-return-30798-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 37784 invoked by alias); 31 Dec 2015 12:47:47 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 37565 invoked by uid 55); 31 Dec 2015 12:47:41 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug dynamic-link/18928] LD_POINTER_GUARD is not ignored for privileged binaries
Date: Thu, 31 Dec 2015 12:47:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: dynamic-link
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: fweimer at redhat dot com
X-Bugzilla-Target-Milestone: 2.23
X-Bugzilla-Flags: security+
X-Bugzilla-Changed-Fields:
Message-ID: <bug-18928-131-FvdjAxEkNL@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-18928-131@http.sourceware.org/bugzilla/>
References: <bug-18928-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00187.txt.bz2
Content-length: 3899

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

--- 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, release/2.18/master has been updated
       via  325241608584653c1275a2ea28ce349a04fc4d28 (commit)
       via  161a7ef860561b0738f953c533eb8920cbf0b813 (commit)
       via  f0cb70a25452585ff950b3a89f811ea3d473ae83 (commit)
       via  80e44fad705561e39d8001c8258a8bae9c149fc7 (commit)
      from  d4deb63367247eaddcbe10b872d39ff70659eaf4 (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=325241608584653c1275a2ea28ce349a04fc4d28

commit 325241608584653c1275a2ea28ce349a04fc4d28
Author: Paul Pluzhnikov <ppluzhnikov@google.com>
Date:   Sun Feb 22 12:01:47 2015 -0800

    Fix BZ #17269 -- _IO_wstr_overflow integer overflow

    (cherry picked from commit bdf1ff052a8e23d637f2c838fa5642d78fcedc33)

    Conflicts:
        NEWS

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

commit 161a7ef860561b0738f953c533eb8920cbf0b813
Author: Andreas Schwab <schwab@suse.de>
Date:   Thu Feb 26 14:55:24 2015 +0100

    Fix read past end of pattern in fnmatch (bug 18032)

    (cherry picked from commit 4a28f4d55a6cc33474c0792fe93b5942d81bf185)

    Conflicts:
        NEWS
        posix/tst-fnmatch3.c

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

commit f0cb70a25452585ff950b3a89f811ea3d473ae83
Author: Florian Weimer <fweimer@redhat.com>
Date:   Tue Oct 6 13:12:36 2015 +0200

    Harden tls_dtor_list with pointer mangling [BZ #19018]

    (cherry picked from commit f586e1328681b400078c995a0bb6ad301ef73549)

    Conflicts:
        NEWS
        stdlib/cxa_thread_atexit_impl.c

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

commit 80e44fad705561e39d8001c8258a8bae9c149fc7
Author: Florian Weimer <fweimer@redhat.com>
Date:   Thu Oct 15 09:23:07 2015 +0200

    Always enable pointer guard [BZ #18928]

    Honoring the LD_POINTER_GUARD environment variable in AT_SECURE mode
    has security implications.  This commit enables pointer guard
    unconditionally, and the environment variable is now ignored.

            [BZ #18928]
            * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
            _dl_pointer_guard member.
            * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
            initializer.
            (security_init): Always set up pointer guard.
            (process_envvars): Do not process LD_POINTER_GUARD.

    (cherry picked from commit a014cecd82b71b70a6a843e250e06b541ad524f7)

    Conflicts:
        NEWS

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

Summary of changes:
 ChangeLog                                   |   30 +++++++++++++++++++++++++++
 NEWS                                        |    5 +++-
 elf/rtld.c                                  |   15 +++---------
 libio/wstrops.c                             |    8 ++++++-
 posix/fnmatch_loop.c                        |    5 +--
 stdlib/tst-system.c => posix/tst-fnmatch3.c |   16 ++++++++------
 stdlib/cxa_thread_atexit_impl.c             |   12 +++++++++-
 sysdeps/generic/ldsodefs.h                  |    3 --
 8 files changed, 66 insertions(+), 28 deletions(-)
 copy stdlib/tst-system.c => posix/tst-fnmatch3.c (72%)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30800-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Dec 31 14:20:41 2015
Return-Path: <glibc-bugs-return-30800-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 60513 invoked by alias); 31 Dec 2015 14:20:41 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 60473 invoked by uid 48); 31 Dec 2015 14:20:37 -0000
From: "heiko at hexco dot de" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug locale/19418] iconv should stop reading from 'inbuf' when 'outbytesleft' is zero
Date: Thu, 31 Dec 2015 14:20:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: locale
X-Bugzilla-Version: 2.19
X-Bugzilla-Keywords: std-posix
X-Bugzilla-Severity: normal
X-Bugzilla-Who: heiko at hexco dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19418-131-LW1p1HfR3N@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19418-131@http.sourceware.org/bugzilla/>
References: <bug-19418-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00189.txt.bz2
Content-length: 286

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

--- Comment #1 from Heiko Eißfeldt <heiko at hexco dot de> ---
The iconv() implementations from FreeBSD and Solaris do not have this problem.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30801-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Dec 31 16:49:58 2015
Return-Path: <glibc-bugs-return-30801-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 10947 invoked by alias); 31 Dec 2015 16:49:58 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 10858 invoked by uid 55); 31 Dec 2015 16:49:51 -0000
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/16009] Possible buffer overflow in strxfrm
Date: Thu, 31 Dec 2015 16:49:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cvs-commit at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: sid@reserved-bit.com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: security+
X-Bugzilla-Changed-Fields:
Message-ID: <bug-16009-131-javtKksK0x@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-16009-131@http.sourceware.org/bugzilla/>
References: <bug-16009-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00190.txt.bz2
Content-length: 3039

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

--- Comment #7 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, release/2.18/master has been updated
       via  b057b4813c9f05c3cedff0c74b58c9c9d583f09f (commit)
      from  325241608584653c1275a2ea28ce349a04fc4d28 (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=b057b4813c9f05c3cedff0c74b58c9c9d583f09f

commit b057b4813c9f05c3cedff0c74b58c9c9d583f09f
Author: Leonhard Holz <leonhard.holz@web.de>
Date:   Tue Jan 13 11:33:56 2015 +0530

    Fix memory handling in strxfrm_l [BZ #16009]

    [Modified from the original email by Siddhesh Poyarekar]

    This patch solves bug #16009 by implementing an additional path in
    strxfrm that does not depend on caching the weight and rule indices.

    In detail the following changed:

    * The old main loop was factored out of strxfrm_l into the function
    do_xfrm_cached to be able to alternativly use the non-caching version
    do_xfrm.

    * strxfrm_l allocates a a fixed size array on the stack. If this is not
    sufficiant to store the weight and rule indices, the non-caching path is
    taken. As the cache size is not dependent on the input there can be no
    problems with integer overflows or stack allocations greater than
    __MAX_ALLOCA_CUTOFF. Note that malloc-ing is not possible because the
    definition of strxfrm does not allow an oom errorhandling.

    * The uncached path determines the weight and rule index for every char
    and for every pass again.

    * Passing all the locale data array by array resulted in very long
    parameter lists, so I introduced a structure that holds them.

    * Checking for zero src string has been moved a bit upwards, it is
    before the locale data initialization now.

    * To verify that the non-caching path works correct I added a test run
    to localedata/sort-test.sh & localedata/xfrm-test.c where all strings
    are patched up with spaces so that they are too large for the caching path.

    (cherry picked from commit 0f9e585480edcdf1e30dc3d79e24b84aeee516fa)

    Conflicts:
        NEWS
        string/strxfrm_l.c

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

Summary of changes:
 ChangeLog               |   16 ++
 NEWS                    |    4 +-
 localedata/sort-test.sh |    6 +
 localedata/xfrm-test.c  |   52 +++++-
 string/strxfrm_l.c      |  499 ++++++++++++++++++++++++++++++++++++++---------
 5 files changed, 473 insertions(+), 104 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-30802-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Dec 31 19:16:44 2015
Return-Path: <glibc-bugs-return-30802-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 88593 invoked by alias); 31 Dec 2015 19:16:44 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 88541 invoked by uid 48); 31 Dec 2015 19:16:40 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug build/19403] cross-compiling fails to install
Date: Thu, 31 Dec 2015 19:16:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: build
X-Bugzilla-Version: 2.22
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: INVALID
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-19403-131-ZiZ6sjduZj@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-19403-131@http.sourceware.org/bugzilla/>
References: <bug-19403-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-12/txt/msg00191.txt.bz2
Content-length: 784

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
All your glibc configure commands are incorrect.  --build must be the system
you are running the build on (x86_64-linux-gnu) and --host must be the system
glibc will run on (mips-linux-gnu).  Because glibc is not a compilation tool,
--target makes no sense when configuring glibc.

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


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug nptl/12889] Race condition in pthread_kill
  2011-06-15  0:39 [Bug nptl/12889] New: Race condition in pthread_kill bugdal at aerifal dot cx
                   ` (5 preceding siblings ...)
  2015-10-31 20:27 ` bugdal at aerifal dot cx
@ 2021-08-17  6:25 ` fweimer at redhat dot com
  2021-08-17 12:01 ` fweimer at redhat dot com
                   ` (8 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: fweimer at redhat dot com @ 2021-08-17  6:25 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #4 from Florian Weimer <fweimer at redhat dot com> ---
*** Bug 19193 has been marked as a duplicate of this bug. ***

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug nptl/12889] Race condition in pthread_kill
  2011-06-15  0:39 [Bug nptl/12889] New: Race condition in pthread_kill bugdal at aerifal dot cx
                   ` (6 preceding siblings ...)
  2021-08-17  6:25 ` fweimer at redhat dot com
@ 2021-08-17 12:01 ` fweimer at redhat dot com
  2021-08-17 12:44 ` fweimer at redhat dot com
                   ` (7 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: fweimer at redhat dot com @ 2021-08-17 12:01 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at sourceware dot org   |fweimer at redhat dot com
             Status|NEW                         |ASSIGNED

--- Comment #5 from Florian Weimer <fweimer at redhat dot com> ---
I believe we should fix bug 19193 separately.

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug nptl/12889] Race condition in pthread_kill
  2011-06-15  0:39 [Bug nptl/12889] New: Race condition in pthread_kill bugdal at aerifal dot cx
                   ` (7 preceding siblings ...)
  2021-08-17 12:01 ` fweimer at redhat dot com
@ 2021-08-17 12:44 ` fweimer at redhat dot com
  2021-08-17 13:52 ` fweimer at redhat dot com
                   ` (6 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: fweimer at redhat dot com @ 2021-08-17 12:44 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://bugzilla.redhat.com
                   |                            |/show_bug.cgi?id=1994068

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug nptl/12889] Race condition in pthread_kill
  2011-06-15  0:39 [Bug nptl/12889] New: Race condition in pthread_kill bugdal at aerifal dot cx
                   ` (8 preceding siblings ...)
  2021-08-17 12:44 ` fweimer at redhat dot com
@ 2021-08-17 13:52 ` fweimer at redhat dot com
  2021-09-13 10:41 ` cvs-commit at gcc dot gnu.org
                   ` (5 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: fweimer at redhat dot com @ 2021-08-17 13:52 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #6 from Florian Weimer <fweimer at redhat dot com> ---
Patches posted:
https://sourceware.org/pipermail/libc-alpha/2021-August/130207.html

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug nptl/12889] Race condition in pthread_kill
  2011-06-15  0:39 [Bug nptl/12889] New: Race condition in pthread_kill bugdal at aerifal dot cx
                   ` (9 preceding siblings ...)
  2021-08-17 13:52 ` fweimer at redhat dot com
@ 2021-09-13 10:41 ` cvs-commit at gcc dot gnu.org
  2021-09-13 10:46 ` fweimer at redhat dot com
                   ` (4 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-09-13 10:41 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #7 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Florian Weimer <fw@sourceware.org>:

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

commit 8af8456004edbab71f8903a60a3cae442cf6fe69
Author: Florian Weimer <fweimer@redhat.com>
Date:   Mon Sep 13 11:06:08 2021 +0200

    nptl: pthread_kill, pthread_cancel should not fail after exit (bug 19193)

    This closes one remaining race condition related to bug 12889: if
    the thread already exited on the kernel side, returning ESRCH
    is not correct because that error is reserved for the thread IDs
    (pthread_t values) whose lifetime has ended.  In case of a
    kernel-side exit and a valid thread ID, no signal needs to be sent
    and cancellation does not have an effect, so just return 0.

    sysdeps/pthread/tst-kill4.c triggers undefined behavior and is
    removed with this commit.

    Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug nptl/12889] Race condition in pthread_kill
  2011-06-15  0:39 [Bug nptl/12889] New: Race condition in pthread_kill bugdal at aerifal dot cx
                   ` (10 preceding siblings ...)
  2021-09-13 10:41 ` cvs-commit at gcc dot gnu.org
@ 2021-09-13 10:46 ` fweimer at redhat dot com
  2021-09-13 12:20 ` cvs-commit at gcc dot gnu.org
                   ` (3 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: fweimer at redhat dot com @ 2021-09-13 10:46 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.35

--- Comment #8 from Florian Weimer <fweimer at redhat dot com> ---
Fixed for 2.35 via:

commit 526c3cf11ee9367344b6b15d669e4c3cb461a2be
Author: Florian Weimer <fweimer@redhat.com>
Date:   Mon Sep 13 11:06:08 2021 +0200

    nptl: Fix race between pthread_kill and thread exit (bug 12889)

    A new thread exit lock and flag are introduced.  They are used to
    detect that the thread is about to exit or has exited in
    __pthread_kill_internal, and the signal is not sent in this case.

    The test sysdeps/pthread/tst-pthread_cancel-select-loop.c is derived
    from a downstream test originally written by Marek Polacek.

    Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug nptl/12889] Race condition in pthread_kill
  2011-06-15  0:39 [Bug nptl/12889] New: Race condition in pthread_kill bugdal at aerifal dot cx
                   ` (11 preceding siblings ...)
  2021-09-13 10:46 ` fweimer at redhat dot com
@ 2021-09-13 12:20 ` cvs-commit at gcc dot gnu.org
  2021-09-21 13:05 ` fweimer at redhat dot com
                   ` (2 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-09-13 12:20 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #9 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The release/2.34/master branch has been updated by Florian Weimer
<fw@sourceware.org>:

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

commit 3abf3bd4edc86fb28c099cc85203cb46a811e0b8
Author: Florian Weimer <fweimer@redhat.com>
Date:   Mon Sep 13 11:06:08 2021 +0200

    nptl: pthread_kill, pthread_cancel should not fail after exit (bug 19193)

    This closes one remaining race condition related to bug 12889: if
    the thread already exited on the kernel side, returning ESRCH
    is not correct because that error is reserved for the thread IDs
    (pthread_t values) whose lifetime has ended.  In case of a
    kernel-side exit and a valid thread ID, no signal needs to be sent
    and cancellation does not have an effect, so just return 0.

    sysdeps/pthread/tst-kill4.c triggers undefined behavior and is
    removed with this commit.

    Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
    (cherry picked from commit 8af8456004edbab71f8903a60a3cae442cf6fe69)

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug nptl/12889] Race condition in pthread_kill
  2011-06-15  0:39 [Bug nptl/12889] New: Race condition in pthread_kill bugdal at aerifal dot cx
                   ` (12 preceding siblings ...)
  2021-09-13 12:20 ` cvs-commit at gcc dot gnu.org
@ 2021-09-21 13:05 ` fweimer at redhat dot com
  2021-09-23  8:54 ` cvs-commit at gcc dot gnu.org
  2021-09-23  9:04 ` cvs-commit at gcc dot gnu.org
  15 siblings, 0 replies; 17+ messages in thread
From: fweimer at redhat dot com @ 2021-09-21 13:05 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://sourceware.org/bugz
                   |                            |illa/show_bug.cgi?id=28361

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug nptl/12889] Race condition in pthread_kill
  2011-06-15  0:39 [Bug nptl/12889] New: Race condition in pthread_kill bugdal at aerifal dot cx
                   ` (13 preceding siblings ...)
  2021-09-21 13:05 ` fweimer at redhat dot com
@ 2021-09-23  8:54 ` cvs-commit at gcc dot gnu.org
  2021-09-23  9:04 ` cvs-commit at gcc dot gnu.org
  15 siblings, 0 replies; 17+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-09-23  8:54 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #10 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Florian Weimer <fw@sourceware.org>:

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

commit 2849e2f53311b66853cb5159b64cba2bddbfb854
Author: Florian Weimer <fweimer@redhat.com>
Date:   Thu Sep 23 09:55:54 2021 +0200

    nptl: Avoid setxid deadlock with blocked signals in thread exit [BZ #28361]

    As part of the fix for bug 12889, signals are blocked during
    thread exit, so that application code cannot run on the thread that
    is about to exit.  This would cause problems if the application
    expected signals to be delivered after the signal handler revealed
    the thread to still exist, despite pthread_kill can no longer be used
    to send signals to it.  However, glibc internally uses the SIGSETXID
    signal in a way that is incompatible with signal blocking, due to the
    way the setxid handshake delays thread exit until the setxid operation
    has completed.  With a blocked SIGSETXID, the handshake can never
    complete, causing a deadlock.

    As a band-aid, restore the previous handshake protocol by not blocking
    SIGSETXID during thread exit.

    The new test sysdeps/pthread/tst-pthread-setuid-loop.c is based on
    a downstream test by Martin Osvald.

    Reviewed-by: Carlos O'Donell <carlos@redhat.com>
    Tested-by: Carlos O'Donell <carlos@redhat.com>

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug nptl/12889] Race condition in pthread_kill
  2011-06-15  0:39 [Bug nptl/12889] New: Race condition in pthread_kill bugdal at aerifal dot cx
                   ` (14 preceding siblings ...)
  2021-09-23  8:54 ` cvs-commit at gcc dot gnu.org
@ 2021-09-23  9:04 ` cvs-commit at gcc dot gnu.org
  15 siblings, 0 replies; 17+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-09-23  9:04 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #11 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The release/2.34/master branch has been updated by Florian Weimer
<fw@sourceware.org>:

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

commit 33adeaa3e2b9143c38884bc5aa65ded222ed274e
Author: Florian Weimer <fweimer@redhat.com>
Date:   Thu Sep 23 09:55:54 2021 +0200

    nptl: Avoid setxid deadlock with blocked signals in thread exit [BZ #28361]

    As part of the fix for bug 12889, signals are blocked during
    thread exit, so that application code cannot run on the thread that
    is about to exit.  This would cause problems if the application
    expected signals to be delivered after the signal handler revealed
    the thread to still exist, despite pthread_kill can no longer be used
    to send signals to it.  However, glibc internally uses the SIGSETXID
    signal in a way that is incompatible with signal blocking, due to the
    way the setxid handshake delays thread exit until the setxid operation
    has completed.  With a blocked SIGSETXID, the handshake can never
    complete, causing a deadlock.

    As a band-aid, restore the previous handshake protocol by not blocking
    SIGSETXID during thread exit.

    The new test sysdeps/pthread/tst-pthread-setuid-loop.c is based on
    a downstream test by Martin Osvald.

    Reviewed-by: Carlos O'Donell <carlos@redhat.com>
    Tested-by: Carlos O'Donell <carlos@redhat.com>
    (cherry picked from commit 2849e2f53311b66853cb5159b64cba2bddbfb854)

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2021-09-23  9:04 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-15  0:39 [Bug nptl/12889] New: Race condition in pthread_kill bugdal at aerifal dot cx
2011-06-18 23:35 ` [Bug nptl/12889] " ppluzhnikov at google dot com
2012-04-29  3:04 ` bugdal at aerifal dot cx
2014-06-27 13:11 ` fweimer at redhat dot com
2015-10-31 12:08 ` fweimer at redhat dot com
2015-10-31 12:37 ` schwab@linux-m68k.org
2015-10-31 20:27 ` bugdal at aerifal dot cx
2021-08-17  6:25 ` fweimer at redhat dot com
2021-08-17 12:01 ` fweimer at redhat dot com
2021-08-17 12:44 ` fweimer at redhat dot com
2021-08-17 13:52 ` fweimer at redhat dot com
2021-09-13 10:41 ` cvs-commit at gcc dot gnu.org
2021-09-13 10:46 ` fweimer at redhat dot com
2021-09-13 12:20 ` cvs-commit at gcc dot gnu.org
2021-09-21 13:05 ` fweimer at redhat dot com
2021-09-23  8:54 ` cvs-commit at gcc dot gnu.org
2021-09-23  9:04 ` cvs-commit at gcc dot gnu.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).