public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug nptl/14188] New: pthread_cleanup_push uses __builtin_expect when !defined(__GNUC__)
@ 2012-05-31 16:15 robotux at celest dot fr
  2012-05-31 21:07 ` [Bug nptl/14188] " jrnieder at gmail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: robotux at celest dot fr @ 2012-05-31 16:15 UTC (permalink / raw)
  To: glibc-bugs

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

             Bug #: 14188
           Summary: pthread_cleanup_push uses __builtin_expect when
                    !defined(__GNUC__)
           Product: glibc
           Version: 2.15
            Status: NEW
          Severity: normal
          Priority: P2
         Component: nptl
        AssignedTo: unassigned@sourceware.org
        ReportedBy: robotux@celest.fr
                CC: drepper.fsp@gmail.com
    Classification: Unclassified


Greetings glibc maintainers,

in pthread.h, when __GNUC__ is not defined, pthread_cleanup_push is defined
(line 648 in 2.15) in a way that uses __builtin_expect. I think this can't
reasonnably be expected to be supported by all compilers. As a matter of fact,
tinycc doesn't support this extension and thus every program using
pthread_cleanup_push fails to compile with it.

Best regards,

Thomas Preud'homme

-- 
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] 7+ messages in thread

* [Bug nptl/14188] pthread_cleanup_push uses __builtin_expect when !defined(__GNUC__)
  2012-05-31 16:15 [Bug nptl/14188] New: pthread_cleanup_push uses __builtin_expect when !defined(__GNUC__) robotux at celest dot fr
@ 2012-05-31 21:07 ` jrnieder at gmail dot com
  2012-05-31 21:33 ` vr5 at yandex dot ru
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jrnieder at gmail dot com @ 2012-05-31 21:07 UTC (permalink / raw)
  To: glibc-bugs

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

Jonathan Nieder <jrnieder at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jrnieder at gmail 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] 7+ messages in thread

* [Bug nptl/14188] pthread_cleanup_push uses __builtin_expect when !defined(__GNUC__)
  2012-05-31 16:15 [Bug nptl/14188] New: pthread_cleanup_push uses __builtin_expect when !defined(__GNUC__) robotux at celest dot fr
  2012-05-31 21:07 ` [Bug nptl/14188] " jrnieder at gmail dot com
@ 2012-05-31 21:33 ` vr5 at yandex dot ru
  2012-06-01 20:01 ` siddhesh at redhat dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: vr5 at yandex dot ru @ 2012-05-31 21:33 UTC (permalink / raw)
  To: glibc-bugs

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

vr5 at yandex dot ru changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vr5 at yandex dot ru

-- 
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] 7+ messages in thread

* [Bug nptl/14188] pthread_cleanup_push uses __builtin_expect when !defined(__GNUC__)
  2012-05-31 16:15 [Bug nptl/14188] New: pthread_cleanup_push uses __builtin_expect when !defined(__GNUC__) robotux at celest dot fr
  2012-05-31 21:07 ` [Bug nptl/14188] " jrnieder at gmail dot com
  2012-05-31 21:33 ` vr5 at yandex dot ru
@ 2012-06-01 20:01 ` siddhesh at redhat dot com
  2012-06-01 20:09 ` siddhesh at redhat dot com
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: siddhesh at redhat dot com @ 2012-06-01 20:01 UTC (permalink / raw)
  To: glibc-bugs

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

Siddhesh Poyarekar <siddhesh at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |siddhesh at redhat dot com
         AssignedTo|unassigned at sourceware    |spoyarek at redhat dot 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] 7+ messages in thread

* [Bug nptl/14188] pthread_cleanup_push uses __builtin_expect when !defined(__GNUC__)
  2012-05-31 16:15 [Bug nptl/14188] New: pthread_cleanup_push uses __builtin_expect when !defined(__GNUC__) robotux at celest dot fr
                   ` (2 preceding siblings ...)
  2012-06-01 20:01 ` siddhesh at redhat dot com
@ 2012-06-01 20:09 ` siddhesh at redhat dot com
  2012-06-04  9:17 ` siddhesh at redhat dot com
  2014-06-19 14:34 ` fweimer at redhat dot com
  5 siblings, 0 replies; 7+ messages in thread
From: siddhesh at redhat dot com @ 2012-06-01 20:09 UTC (permalink / raw)
  To: glibc-bugs

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

Siddhesh Poyarekar <siddhesh at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|spoyarek at redhat dot com  |siddhesh at redhat 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] 7+ messages in thread

* [Bug nptl/14188] pthread_cleanup_push uses __builtin_expect when !defined(__GNUC__)
  2012-05-31 16:15 [Bug nptl/14188] New: pthread_cleanup_push uses __builtin_expect when !defined(__GNUC__) robotux at celest dot fr
                   ` (3 preceding siblings ...)
  2012-06-01 20:09 ` siddhesh at redhat dot com
@ 2012-06-04  9:17 ` siddhesh at redhat dot com
  2014-06-19 14:34 ` fweimer at redhat dot com
  5 siblings, 0 replies; 7+ messages in thread
From: siddhesh at redhat dot com @ 2012-06-04  9:17 UTC (permalink / raw)
  To: glibc-bugs

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

Siddhesh Poyarekar <siddhesh at redhat dot com> changed:

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

--- Comment #1 from Siddhesh Poyarekar <siddhesh at redhat dot com> 2012-06-04 09:17:26 UTC ---
Thanks for reporting this. Fixed in master.

-- 
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] 7+ messages in thread

* [Bug nptl/14188] pthread_cleanup_push uses __builtin_expect when !defined(__GNUC__)
  2012-05-31 16:15 [Bug nptl/14188] New: pthread_cleanup_push uses __builtin_expect when !defined(__GNUC__) robotux at celest dot fr
                   ` (4 preceding siblings ...)
  2012-06-04  9:17 ` siddhesh at redhat dot com
@ 2014-06-19 14:34 ` fweimer at redhat dot com
  5 siblings, 0 replies; 7+ messages in thread
From: fweimer at redhat dot com @ 2014-06-19 14:34 UTC (permalink / raw)
  To: glibc-bugs

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

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] 7+ messages in thread

end of thread, other threads:[~2014-06-19 14:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-31 16:15 [Bug nptl/14188] New: pthread_cleanup_push uses __builtin_expect when !defined(__GNUC__) robotux at celest dot fr
2012-05-31 21:07 ` [Bug nptl/14188] " jrnieder at gmail dot com
2012-05-31 21:33 ` vr5 at yandex dot ru
2012-06-01 20:01 ` siddhesh at redhat dot com
2012-06-01 20:09 ` siddhesh at redhat dot com
2012-06-04  9:17 ` siddhesh at redhat dot com
2014-06-19 14:34 ` fweimer at redhat dot com

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