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
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ 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] 9+ 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
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ 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] 9+ 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
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ 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] 9+ 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
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ 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] 9+ 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
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ 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] 9+ 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
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ 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] 9+ 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
  2024-07-02  9:19 ` fweimer at redhat dot com
  7 siblings, 0 replies; 9+ 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] 9+ 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
  2024-07-02  9:19 ` fweimer at redhat dot com
  7 siblings, 0 replies; 9+ 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] 9+ 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
                   ` (6 preceding siblings ...)
  2024-05-24 18:33 ` hjl.tools at gmail dot com
@ 2024-07-02  9:19 ` fweimer at redhat dot com
  7 siblings, 0 replies; 9+ messages in thread
From: fweimer at redhat dot com @ 2024-07-02  9:19 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #7 from Florian Weimer <fweimer at redhat dot com> ---
The failures I see are:

* alpha-linux-gnu

Missing functions in libc.a:
 __nldbl__IO_vfscanf

* i686-gnu

Missing functions in libc.a:
 __pthread_get_cleanup_stack pthread_attr_destroy pthread_attr_getscope
pthread_attr_init pthread_attr_setschedparam pthread_attr_setscope
pthread_cond_broadcast pthread_cond_destroy pthread_cond_init
pthread_cond_signal pthread_cond_timedwait pthread_cond_wait
pthread_condattr_destroy pthread_condattr_init pthread_exit
pthread_mutex_destroy pthread_mutex_init pthread_mutex_lock
pthread_mutex_unlock pthread_setcancelstate pthread_setcanceltype
Extra functions in libc.a:
evc_wait_clear.o: evc_wait_clear
fchroot.o: fchroot
path-lookup.o: file_name_path_scan
errstring.o: mach_error_full_diag
errstring.o: mach_error_string_int
mach_init.o: mach_init
mach_msg_trap.o: mach_msg_trap

Extra functions in libhurduser.a:
RPC_auth_getids.o: auth_getids
RPC_auth_makeauth.o: auth_makeauth
RPC_auth_server_authenticate.o: auth_server_authenticate
RPC_auth_user_authenticate.o: auth_user_authenticate
RPC_crash_dump_task.o: crash_dump_task
RPC_dir_link.o: dir_link
RPC_dir_lookup.o: dir_lookup
RPC_dir_mkdir.o: dir_mkdir
RPC_dir_mkfile.o: dir_mkfile

Extra functions in libmachuser.a:
RPC_device_close.o: device_close
RPC_device_get_status.o: device_get_status
RPC_device_intr_ack.o: device_intr_ack
RPC_device_intr_register.o: device_intr_register
RPC_device_map.o: device_map
RPC_device_open.o: device_open
RPC_device_open_new.o: device_open_new
RPC_device_open_new_request.o: device_open_new_request
RPC_device_open_request.o: device_open_request

* powerpc*-linux-gnu
* s390*-linux-gnu
* sparcv8-linux-gnu
* sparcv9-linux-gnu

Missing functions in libc.a:
 __nldbl__IO_vfscanf

* x86_64-gnu

Missing functions in libc.a:
 __pthread_get_cleanup_stack pthread_attr_destroy pthread_attr_getscope
pthread_attr_init pthread_attr_setschedparam pthread_attr_setscope
pthread_cond_broadcast pthread_cond_destroy pthread_cond_init
pthread_cond_signal pthread_cond_timedwait pthread_cond_wait
pthread_condattr_destroy pthread_condattr_init pthread_exit
pthread_mutex_destroy pthread_mutex_init pthread_mutex_lock
pthread_mutex_unlock pthread_setcancelstate pthread_setcanceltype
Extra functions in libc.a:
evc_wait_clear.o: evc_wait_clear
fchroot.o: fchroot
path-lookup.o: file_name_path_scan
errstring.o: mach_error_full_diag
errstring.o: mach_error_string_int
mach_init.o: mach_init
mach_msg_trap.o: mach_msg_trap

Extra functions in libhurduser.a:
RPC_auth_getids.o: auth_getids
RPC_auth_makeauth.o: auth_makeauth
RPC_auth_server_authenticate.o: auth_server_authenticate
RPC_auth_user_authenticate.o: auth_user_authenticate
RPC_crash_dump_task.o: crash_dump_task
RPC_dir_link.o: dir_link
RPC_dir_lookup.o: dir_lookup
RPC_dir_mkdir.o: dir_mkdir
RPC_dir_mkfile.o: dir_mkfile

Extra functions in libmachuser.a:
RPC_device_close.o: device_close
RPC_device_get_status.o: device_get_status
RPC_device_intr_ack.o: device_intr_ack
RPC_device_intr_register.o: device_intr_register
RPC_device_map.o: device_map
RPC_device_open.o: device_open
RPC_device_open_new.o: device_open_new
RPC_device_open_new_request.o: device_open_new_request
RPC_device_open_request.o: device_open_request

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

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

end of thread, other threads:[~2024-07-02  9:19 UTC | newest]

Thread overview: 9+ 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
2024-07-02  9:19 ` 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).