public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/15404] New: Two conflict defines for __sigsetjmp in pthread.h and setjmp.h
@ 2013-04-26 8:39 guojiufu at gmail dot com
2013-04-26 14:30 ` [Bug libc/15404] " schwab@linux-m68k.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: guojiufu at gmail dot com @ 2013-04-26 8:39 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=15404
Bug #: 15404
Summary: Two conflict defines for __sigsetjmp in pthread.h and
setjmp.h
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: unassigned@sourceware.org
ReportedBy: guojiufu@gmail.com
CC: drepper.fsp@gmail.com
Classification: Unclassified
the prototype of sigsetjmp in pthread.h and setjmp.h are little different.
/usr/include/pthread.h:
extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask) __THROW;
/usr/include/setjmp.h:
extern int __sigsetjmp (struct __jmp_buf_tag __env[1], int __savemask) __THROW;
These two defines are not compliant to each other in C++ aspect. So would you
please change them to the same prototype?
--
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] 6+ messages in thread
* [Bug libc/15404] Two conflict defines for __sigsetjmp in pthread.h and setjmp.h
2013-04-26 8:39 [Bug libc/15404] New: Two conflict defines for __sigsetjmp in pthread.h and setjmp.h guojiufu at gmail dot com
@ 2013-04-26 14:30 ` schwab@linux-m68k.org
2013-05-07 12:09 ` guojiufu at cn dot ibm.com
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: schwab@linux-m68k.org @ 2013-04-26 14:30 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=15404
--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> 2013-04-26 14:30:02 UTC ---
In which way do they conflict?
--
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] 6+ messages in thread
* [Bug libc/15404] Two conflict defines for __sigsetjmp in pthread.h and setjmp.h
2013-04-26 8:39 [Bug libc/15404] New: Two conflict defines for __sigsetjmp in pthread.h and setjmp.h guojiufu at gmail dot com
2013-04-26 14:30 ` [Bug libc/15404] " schwab@linux-m68k.org
@ 2013-05-07 12:09 ` guojiufu at cn dot ibm.com
2013-05-07 12:53 ` schwab@linux-m68k.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: guojiufu at cn dot ibm.com @ 2013-05-07 12:09 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=15404
Jeff Guo <guojiufu at cn dot ibm.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |guojiufu at cn dot ibm.com
--- Comment #2 from Jeff Guo <guojiufu at cn dot ibm.com> 2013-05-07 12:09:38 UTC ---
one declare with namespace scope, one without namespace scope
-------------------
extern "C" {
struct __jmp_buf_tag;
extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask) throw ();
}
--------------
namespace cvtest
{
extern "C" {
typedef long int __jmp_buf[64] __attribute__ ((__aligned__ (16)));
typedef struct
{
unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))];
} __sigset_t;
typedef __sigset_t sigset_t;
struct __jmp_buf_tag
{
__jmp_buf __jmpbuf;
int __mask_was_saved;
__sigset_t __saved_mask;
};
typedef struct __jmp_buf_tag jmp_buf[1];
extern int __sigsetjmp (struct __jmp_buf_tag __env[1], int __savemask) throw
();
}
}
--
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] 6+ messages in thread
* [Bug libc/15404] Two conflict defines for __sigsetjmp in pthread.h and setjmp.h
2013-04-26 8:39 [Bug libc/15404] New: Two conflict defines for __sigsetjmp in pthread.h and setjmp.h guojiufu at gmail dot com
2013-04-26 14:30 ` [Bug libc/15404] " schwab@linux-m68k.org
2013-05-07 12:09 ` guojiufu at cn dot ibm.com
@ 2013-05-07 12:53 ` schwab@linux-m68k.org
2013-10-20 17:47 ` neleai at seznam dot cz
2014-06-13 18:15 ` fweimer at redhat dot com
4 siblings, 0 replies; 6+ messages in thread
From: schwab@linux-m68k.org @ 2013-05-07 12:53 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=15404
Andreas Schwab <schwab@linux-m68k.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
--- Comment #3 from Andreas Schwab <schwab@linux-m68k.org> 2013-05-07 12:53:18 UTC ---
There is no cvtest namespace. Please provide a complete, self-contained test
case.
--
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] 6+ messages in thread
* [Bug libc/15404] Two conflict defines for __sigsetjmp in pthread.h and setjmp.h
2013-04-26 8:39 [Bug libc/15404] New: Two conflict defines for __sigsetjmp in pthread.h and setjmp.h guojiufu at gmail dot com
` (2 preceding siblings ...)
2013-05-07 12:53 ` schwab@linux-m68k.org
@ 2013-10-20 17:47 ` neleai at seznam dot cz
2014-06-13 18:15 ` fweimer at redhat dot com
4 siblings, 0 replies; 6+ messages in thread
From: neleai at seznam dot cz @ 2013-10-20 17:47 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=15404
Ondrej Bilka <neleai at seznam dot cz> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
CC| |neleai at seznam dot cz
Resolution|--- |INVALID
--- Comment #4 from Ondrej Bilka <neleai at seznam dot cz> ---
Closing as we did not received a testcase in five months.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libc/15404] Two conflict defines for __sigsetjmp in pthread.h and setjmp.h
2013-04-26 8:39 [Bug libc/15404] New: Two conflict defines for __sigsetjmp in pthread.h and setjmp.h guojiufu at gmail dot com
` (3 preceding siblings ...)
2013-10-20 17:47 ` neleai at seznam dot cz
@ 2014-06-13 18:15 ` fweimer at redhat dot com
4 siblings, 0 replies; 6+ messages in thread
From: fweimer at redhat dot com @ 2014-06-13 18:15 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=15404
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags| |security-
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-06-13 18:15 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-26 8:39 [Bug libc/15404] New: Two conflict defines for __sigsetjmp in pthread.h and setjmp.h guojiufu at gmail dot com
2013-04-26 14:30 ` [Bug libc/15404] " schwab@linux-m68k.org
2013-05-07 12:09 ` guojiufu at cn dot ibm.com
2013-05-07 12:53 ` schwab@linux-m68k.org
2013-10-20 17:47 ` neleai at seznam dot cz
2014-06-13 18:15 ` 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).