public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/30773] New: [m68k] busybox awk is broken (lshift.S related)
@ 2023-08-17  6:17 wbx at openadk dot org
  2023-08-17  7:22 ` [Bug math/30773] " schwab@linux-m68k.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: wbx at openadk dot org @ 2023-08-17  6:17 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 30773
           Summary: [m68k] busybox awk is broken (lshift.S related)
           Product: glibc
           Version: 2.38
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: wbx at openadk dot org
  Target Milestone: ---

Hi,

Running glibc 2.38 system in qemu-system-m68k (machine virt, cpu m68040).
Patch from here is applied
https://sourceware.org/bugzilla/show_bug.cgi?id=30740.

There is one issue, this oneliner does not work, I use it to show the ip
address of the system:
ipaddr=$(ip addr show $(ip route show|awk '/default/ { print $5 }')|awk '/inet
/ { print $2 }'|tail -1)

With strace I get:
Fatal glibc error: printf_fp.c:501 (__printf_fp_buffer_1): assertion failed: cy
== 1 || (p.frac[p.fracsize - 2] == 0 && p.frac[0] == 0)
Aborted

Removing sysdeps/m68k/m680x0/lshift.S fixes the issue.

best regards
 Waldemar

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

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

end of thread, other threads:[~2023-08-18  7:04 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-17  6:17 [Bug math/30773] New: [m68k] busybox awk is broken (lshift.S related) wbx at openadk dot org
2023-08-17  7:22 ` [Bug math/30773] " schwab@linux-m68k.org
2023-08-17  9:36 ` wbx at openadk dot org
2023-08-17 10:39 ` schwab@linux-m68k.org
2023-08-17 12:29 ` adhemerval.zanella at linaro dot org
2023-08-17 14:03 ` schwab@linux-m68k.org
2023-08-17 14:09 ` adhemerval.zanella at linaro dot org
2023-08-17 14:35 ` schwab@linux-m68k.org
2023-08-18  5:01 ` sam at gentoo dot org
2023-08-18  6:19 ` wbx at openadk dot org
2023-08-18  7:04 ` sam at gentoo dot org

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