public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/15007] [PATCH] /usr/include/bits/stdlib-ldbl.h:35:1: error: 'qecvt' undeclared here (not in a function)
2013-01-09 13:39 [Bug libc/15007] New: [PATCH] /usr/include/bits/stdlib-ldbl.h:35:1: error: 'qecvt' undeclared here (not in a function) devurandom at gmx dot net
@ 2013-01-09 13:39 ` devurandom at gmx dot net
2013-01-09 17:33 ` joseph at codesourcery dot com
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: devurandom at gmx dot net @ 2013-01-09 13:39 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=15007
devurandom at gmx dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://bugs.gentoo.org/sho
| |w_bug.cgi?id=450714
--
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] 10+ messages in thread
* [Bug libc/15007] New: [PATCH] /usr/include/bits/stdlib-ldbl.h:35:1: error: 'qecvt' undeclared here (not in a function)
@ 2013-01-09 13:39 devurandom at gmx dot net
2013-01-09 13:39 ` [Bug libc/15007] " devurandom at gmx dot net
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: devurandom at gmx dot net @ 2013-01-09 13:39 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=15007
Bug #: 15007
Summary: [PATCH] /usr/include/bits/stdlib-ldbl.h:35:1: error:
'qecvt' undeclared here (not in a function)
Product: glibc
Version: 2.16
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: unassigned@sourceware.org
ReportedBy: devurandom@gmx.net
CC: drepper.fsp@gmail.com
Classification: Unclassified
Created attachment 6805
--> http://sourceware.org/bugzilla/attachment.cgi?id=6805
glibc-2.16.0-stdlib-ldbl-qecvt.patch
libtool: compile: powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I.
-I../include -I../include/opensm -I./../include -Wall -g -D_XOPEN_SOURCE=6
00 -D_BSD_SOURCE=1 -pipe -O2 -mcpu=cell -mabi=altivec -mgen-cell-microcode -c
cl_dispatcher.c -fPIC -DPIC -o .libs/libosmcomp_la-cl_dispatcher.o
In file included from /usr/include/stdlib.h:960:0,
from cl_dispatcher.c:46:
/usr/include/bits/stdlib-ldbl.h:35:1: error: 'qecvt' undeclared here (not in a
function)
/usr/include/bits/stdlib-ldbl.h:36:1: error: 'qfcvt' undeclared here (not in a
function)
/usr/include/bits/stdlib-ldbl.h:37:1: error: 'qgcvt' undeclared here (not in a
function)
/usr/include/bits/stdlib-ldbl.h:38:1: error: 'qecvt_r' undeclared here (not in
a function)
/usr/include/bits/stdlib-ldbl.h:39:1: error: 'qfcvt_r' undeclared here (not in
a function)
The problem was caused by mismatching #ifdef guards: The reference in
stdlib-ldbl.h was guarded by "defined __USE_SVID || defined
__USE_XOPEN_EXTENDED" while stdlib.h guarded the declaration with "(defined
__USE_XOPEN_EXTENDED && !defined __USE_XOPEN2K) || defined __USE_SVID".
Apparently __USE_XOPEN2K is defined in my case.
Attached patch fixes the issue.
--
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] 10+ messages in thread
* [Bug libc/15007] [PATCH] /usr/include/bits/stdlib-ldbl.h:35:1: error: 'qecvt' undeclared here (not in a function)
2013-01-09 13:39 [Bug libc/15007] New: [PATCH] /usr/include/bits/stdlib-ldbl.h:35:1: error: 'qecvt' undeclared here (not in a function) devurandom at gmx dot net
2013-01-09 13:39 ` [Bug libc/15007] " devurandom at gmx dot net
@ 2013-01-09 17:33 ` joseph at codesourcery dot com
2013-01-09 22:57 ` [Bug libc/15007] stdlib/bits/stdlib-ldbl.h: mismatch of guards around qecvt & friends vapier at gentoo dot org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: joseph at codesourcery dot com @ 2013-01-09 17:33 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=15007
--- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2013-01-09 17:32:54 UTC ---
On Wed, 9 Jan 2013, devurandom at gmx dot net wrote:
> --> http://sourceware.org/bugzilla/attachment.cgi?id=6805
> glibc-2.16.0-stdlib-ldbl-qecvt.patch
The conditions on these functions in stdlib.h changed in 2.17 to fix bug
14824, so a patch to stdlib-ldbl.h will need to match the current fixed
version of stdlib.h rather than an older version.
Please send patches to libc-alpha@sourceware.org - with [BZ #15007] in the
ChangeLog entry to reference this bug.
--
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] 10+ messages in thread
* [Bug libc/15007] stdlib/bits/stdlib-ldbl.h: mismatch of guards around qecvt & friends
2013-01-09 13:39 [Bug libc/15007] New: [PATCH] /usr/include/bits/stdlib-ldbl.h:35:1: error: 'qecvt' undeclared here (not in a function) devurandom at gmx dot net
2013-01-09 13:39 ` [Bug libc/15007] " devurandom at gmx dot net
2013-01-09 17:33 ` joseph at codesourcery dot com
@ 2013-01-09 22:57 ` vapier at gentoo dot org
2013-03-30 15:12 ` devurandom at gmx dot net
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: vapier at gentoo dot org @ 2013-01-09 22:57 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=15007
Mike Frysinger <vapier at gentoo dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |toolchain at gentoo dot org
Summary|[PATCH] |stdlib/bits/stdlib-ldbl.h:
|/usr/include/bits/stdlib-ld |mismatch of guards around
|bl.h:35:1: error: 'qecvt' |qecvt & friends
|undeclared here (not in a |
|function) |
--
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] 10+ messages in thread
* [Bug libc/15007] stdlib/bits/stdlib-ldbl.h: mismatch of guards around qecvt & friends
2013-01-09 13:39 [Bug libc/15007] New: [PATCH] /usr/include/bits/stdlib-ldbl.h:35:1: error: 'qecvt' undeclared here (not in a function) devurandom at gmx dot net
` (3 preceding siblings ...)
2013-03-30 15:12 ` devurandom at gmx dot net
@ 2013-03-30 15:12 ` devurandom at gmx dot net
2013-04-03 16:51 ` aj at suse dot de
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: devurandom at gmx dot net @ 2013-03-30 15:12 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=15007
devurandom at gmx dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|2.16 |2.17
--
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] 10+ messages in thread
* [Bug libc/15007] stdlib/bits/stdlib-ldbl.h: mismatch of guards around qecvt & friends
2013-01-09 13:39 [Bug libc/15007] New: [PATCH] /usr/include/bits/stdlib-ldbl.h:35:1: error: 'qecvt' undeclared here (not in a function) devurandom at gmx dot net
` (2 preceding siblings ...)
2013-01-09 22:57 ` [Bug libc/15007] stdlib/bits/stdlib-ldbl.h: mismatch of guards around qecvt & friends vapier at gentoo dot org
@ 2013-03-30 15:12 ` devurandom at gmx dot net
2013-03-30 15:12 ` devurandom at gmx dot net
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: devurandom at gmx dot net @ 2013-03-30 15:12 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=15007
devurandom at gmx dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #6805|0 |1
is obsolete| |
--- Comment #2 from devurandom at gmx dot net 2013-03-30 15:12:15 UTC ---
Created attachment 6962
--> http://sourceware.org/bugzilla/attachment.cgi?id=6962
glibc-2.17-stdlib-ldbl-qecvt.patch
(In reply to comment #1)
> The conditions on these functions in stdlib.h changed in 2.17 to fix bug
> 14824, so a patch to stdlib-ldbl.h will need to match the current fixed
> version of stdlib.h rather than an older version.
Attached patch was created against glibc-2.17, but it looks exactly the same as
the old patch - apparently the change of conditions was reverted before
release.
--
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] 10+ messages in thread
* [Bug libc/15007] stdlib/bits/stdlib-ldbl.h: mismatch of guards around qecvt & friends
2013-01-09 13:39 [Bug libc/15007] New: [PATCH] /usr/include/bits/stdlib-ldbl.h:35:1: error: 'qecvt' undeclared here (not in a function) devurandom at gmx dot net
` (4 preceding siblings ...)
2013-03-30 15:12 ` devurandom at gmx dot net
@ 2013-04-03 16:51 ` aj at suse dot de
2013-04-03 17:23 ` devurandom at gmx dot net
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: aj at suse dot de @ 2013-04-03 16:51 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=15007
Andreas Jaeger <aj at suse dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |aj at suse dot de
--- Comment #3 from Andreas Jaeger <aj at suse dot de> 2013-04-03 16:51:03 UTC ---
devurandom, could you give me your full name for a ChangeLog entry, please?
--
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] 10+ messages in thread
* [Bug libc/15007] stdlib/bits/stdlib-ldbl.h: mismatch of guards around qecvt & friends
2013-01-09 13:39 [Bug libc/15007] New: [PATCH] /usr/include/bits/stdlib-ldbl.h:35:1: error: 'qecvt' undeclared here (not in a function) devurandom at gmx dot net
` (5 preceding siblings ...)
2013-04-03 16:51 ` aj at suse dot de
@ 2013-04-03 17:23 ` devurandom at gmx dot net
2013-04-27 14:25 ` aj at suse dot de
2014-06-13 19:05 ` fweimer at redhat dot com
8 siblings, 0 replies; 10+ messages in thread
From: devurandom at gmx dot net @ 2013-04-03 17:23 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=15007
--- Comment #4 from devurandom at gmx dot net 2013-04-03 17:23:16 UTC ---
(In reply to comment #3)
> devurandom, could you give me your full name for a ChangeLog entry, please?
Dennis Schridde
Thanks for the credit. :)
--
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] 10+ messages in thread
* [Bug libc/15007] stdlib/bits/stdlib-ldbl.h: mismatch of guards around qecvt & friends
2013-01-09 13:39 [Bug libc/15007] New: [PATCH] /usr/include/bits/stdlib-ldbl.h:35:1: error: 'qecvt' undeclared here (not in a function) devurandom at gmx dot net
` (6 preceding siblings ...)
2013-04-03 17:23 ` devurandom at gmx dot net
@ 2013-04-27 14:25 ` aj at suse dot de
2014-06-13 19:05 ` fweimer at redhat dot com
8 siblings, 0 replies; 10+ messages in thread
From: aj at suse dot de @ 2013-04-27 14:25 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=15007
Andreas Jaeger <aj at suse dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
AssignedTo|unassigned at sourceware |aj at suse dot de
|dot org |
--- Comment #5 from Andreas Jaeger <aj at suse dot de> 2013-04-27 14:24:58 UTC ---
We fixed this slightly different now for glibc 2.18 with this commit:
commit 4220c3ef773c0e7fff7c95ecd7cff69886fe4c0e
Author: Andreas Jaeger <aj@suse.de>
Date: Sat Apr 27 16:17:55 2013 +0200
Fix guards for qecvt
[BZ #15007]
* stdlib/stdlib.h: Update guards for qecvt.
* stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
<stdlib.h>.
Thanks for the report, Andreas
--
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] 10+ messages in thread
* [Bug libc/15007] stdlib/bits/stdlib-ldbl.h: mismatch of guards around qecvt & friends
2013-01-09 13:39 [Bug libc/15007] New: [PATCH] /usr/include/bits/stdlib-ldbl.h:35:1: error: 'qecvt' undeclared here (not in a function) devurandom at gmx dot net
` (7 preceding siblings ...)
2013-04-27 14:25 ` aj at suse dot de
@ 2014-06-13 19:05 ` fweimer at redhat dot com
8 siblings, 0 replies; 10+ messages in thread
From: fweimer at redhat dot com @ 2014-06-13 19:05 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=15007
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] 10+ messages in thread
end of thread, other threads:[~2014-06-13 19:05 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-09 13:39 [Bug libc/15007] New: [PATCH] /usr/include/bits/stdlib-ldbl.h:35:1: error: 'qecvt' undeclared here (not in a function) devurandom at gmx dot net
2013-01-09 13:39 ` [Bug libc/15007] " devurandom at gmx dot net
2013-01-09 17:33 ` joseph at codesourcery dot com
2013-01-09 22:57 ` [Bug libc/15007] stdlib/bits/stdlib-ldbl.h: mismatch of guards around qecvt & friends vapier at gentoo dot org
2013-03-30 15:12 ` devurandom at gmx dot net
2013-03-30 15:12 ` devurandom at gmx dot net
2013-04-03 16:51 ` aj at suse dot de
2013-04-03 17:23 ` devurandom at gmx dot net
2013-04-27 14:25 ` aj at suse dot de
2014-06-13 19:05 ` 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).