public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug stdio/31776] New: __nldbl__IO_vfscanf should be a compat symbol
@ 2024-05-21 13:44 hjl.tools at gmail dot com
  2024-05-21 14:10 ` [Bug stdio/31776] " schwab@linux-m68k.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: hjl.tools at gmail dot com @ 2024-05-21 13:44 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 31776
           Summary: __nldbl__IO_vfscanf should be a compat symbol
           Product: glibc
           Version: 2.40
            Status: NEW
          Severity: normal
          Priority: P2
         Component: stdio
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com
  Target Milestone: ---
            Target: alpha

libc.so has:

  2002: 00000000001adf20    92 FUNC    GLOBAL DEFAULT [STD GPLOAD]    11
__nldbl__IO_vfscanf@@GLIBC_2.4

__nldbl__IO_vfscanf should be a compat symbol.

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

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

* [Bug stdio/31776] __nldbl__IO_vfscanf should be a compat symbol
  2024-05-21 13:44 [Bug stdio/31776] New: __nldbl__IO_vfscanf should be a compat symbol hjl.tools at gmail dot com
@ 2024-05-21 14:10 ` schwab@linux-m68k.org
  2024-05-21 18:07 ` fweimer at redhat dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: schwab@linux-m68k.org @ 2024-05-21 14:10 UTC (permalink / raw)
  To: glibc-bugs

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

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|alpha                       |
               Host|                            |alpha-*-*

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

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

* [Bug stdio/31776] __nldbl__IO_vfscanf should be a compat symbol
  2024-05-21 13:44 [Bug stdio/31776] New: __nldbl__IO_vfscanf should be a compat symbol hjl.tools at gmail dot com
  2024-05-21 14:10 ` [Bug stdio/31776] " schwab@linux-m68k.org
@ 2024-05-21 18:07 ` fweimer at redhat dot com
  2024-05-21 18:31 ` hjl.tools at gmail dot com
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: fweimer at redhat dot com @ 2024-05-21 18:07 UTC (permalink / raw)
  To: glibc-bugs

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

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> ---
Are you sure? Doesn't alpha have libnldbl.a? I think we would have to build
that differently if it's expected to work with compat symbols.

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

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

* [Bug stdio/31776] __nldbl__IO_vfscanf should be a compat symbol
  2024-05-21 13:44 [Bug stdio/31776] New: __nldbl__IO_vfscanf should be a compat symbol hjl.tools at gmail dot com
  2024-05-21 14:10 ` [Bug stdio/31776] " schwab@linux-m68k.org
  2024-05-21 18:07 ` fweimer at redhat dot com
@ 2024-05-21 18:31 ` hjl.tools at gmail dot com
  2024-05-23 20:09 ` hjl.tools at gmail dot com
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: hjl.tools at gmail dot com @ 2024-05-21 18:31 UTC (permalink / raw)
  To: glibc-bugs

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

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

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

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
math/libnldbl_nonshared.a references __nldbl__IO_vfscanf.

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

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

* [Bug stdio/31776] __nldbl__IO_vfscanf should be a compat symbol
  2024-05-21 13:44 [Bug stdio/31776] New: __nldbl__IO_vfscanf should be a compat symbol hjl.tools at gmail dot com
                   ` (2 preceding siblings ...)
  2024-05-21 18:31 ` hjl.tools at gmail dot com
@ 2024-05-23 20:09 ` hjl.tools at gmail dot com
  2024-05-23 20:11 ` fweimer at redhat dot com
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: hjl.tools at gmail dot com @ 2024-05-23 20:09 UTC (permalink / raw)
  To: glibc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|NOTABUG                     |---

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
There are

#if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_29)
int
attribute_compat_text_section
__nldbl__IO_vfscanf (FILE *s, const char *fmt, va_list ap, int *errp)
{
  int ret = __vfscanf_internal (s, fmt, ap, SCANF_LDBL_IS_DBL);
  if (__glibc_unlikely (errp != 0))
    *errp = (ret == -1); 
  return ret; 
}
#endif

and

But __nldbl__IO_vfscanf isn't marked as a compat symbol and there are
references
to __nldbl__IO_vfscanf in libnldbl_nonshared.a.

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

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

* [Bug stdio/31776] __nldbl__IO_vfscanf should be a compat symbol
  2024-05-21 13:44 [Bug stdio/31776] New: __nldbl__IO_vfscanf should be a compat symbol hjl.tools at gmail dot com
                   ` (3 preceding siblings ...)
  2024-05-23 20:09 ` hjl.tools at gmail dot com
@ 2024-05-23 20:11 ` fweimer at redhat dot com
  2024-05-24 15:05 ` hjl.tools at gmail dot com
  2024-05-24 18:33 ` hjl.tools at gmail dot com
  6 siblings, 0 replies; 8+ messages in thread
From: fweimer at redhat dot com @ 2024-05-23 20:11 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEW

--- Comment #4 from Florian Weimer <fweimer at redhat dot com> ---
As discussed on libc-alpha, libnldbl_nonshared.a should use
__nldbl___isoc99_vfscanf (vfscanf wasn't part of C89).

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

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

* [Bug stdio/31776] __nldbl__IO_vfscanf should be a compat symbol
  2024-05-21 13:44 [Bug stdio/31776] New: __nldbl__IO_vfscanf should be a compat symbol hjl.tools at gmail dot com
                   ` (4 preceding siblings ...)
  2024-05-23 20:11 ` fweimer at redhat dot com
@ 2024-05-24 15:05 ` hjl.tools at gmail dot com
  2024-05-24 18:33 ` hjl.tools at gmail dot com
  6 siblings, 0 replies; 8+ messages in thread
From: hjl.tools at gmail dot com @ 2024-05-24 15:05 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> ---
I think __nldbl__IO_vfscanf should always be defined:

https://patchwork.sourceware.org/project/glibc/list/?series=34326

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

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

* [Bug stdio/31776] __nldbl__IO_vfscanf should be a compat symbol
  2024-05-21 13:44 [Bug stdio/31776] New: __nldbl__IO_vfscanf should be a compat symbol hjl.tools at gmail dot com
                   ` (5 preceding siblings ...)
  2024-05-24 15:05 ` hjl.tools at gmail dot com
@ 2024-05-24 18:33 ` hjl.tools at gmail dot com
  6 siblings, 0 replies; 8+ messages in thread
From: hjl.tools at gmail dot com @ 2024-05-24 18:33 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to H.J. Lu from comment #5)
> I think __nldbl__IO_vfscanf should always be defined:
> 
> https://patchwork.sourceware.org/project/glibc/list/?series=34326

__nldbl__IO_vfscanf should be a compat symbol:

https://patchwork.sourceware.org/project/glibc/list/?series=34338

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

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

end of thread, other threads:[~2024-05-24 18:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-21 13:44 [Bug stdio/31776] New: __nldbl__IO_vfscanf should be a compat symbol hjl.tools at gmail dot com
2024-05-21 14:10 ` [Bug stdio/31776] " schwab@linux-m68k.org
2024-05-21 18:07 ` fweimer at redhat dot com
2024-05-21 18:31 ` hjl.tools at gmail dot com
2024-05-23 20:09 ` hjl.tools at gmail dot com
2024-05-23 20:11 ` fweimer at redhat dot com
2024-05-24 15:05 ` hjl.tools at gmail dot com
2024-05-24 18:33 ` hjl.tools at gmail 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).