NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-mips/57680: printf("%.1f") shows wrong results on R3000 mipseb
The following reply was made to PR port-mips/57680; it has been noted by GNATS.
From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: port-mips/57680: printf("%.1f") shows wrong results on R3000 mipseb
Date: Fri, 3 Nov 2023 18:44:37 +0900
> It looks something wrong in libc.so.12.213 from NetBSD 9.3.
> The same binary with libc.so.12.207 from NetBSD 8.2 works as expected.
>
> ---
> # file ./a.out
> ./a.out: ELF 32-bit MSB executable, MIPS, MIPS-I version 1 (SYSV), dynamically linked, interpreter /usr/libexec/ld.elf_so, for NetBSD 9.3, not stripped
> # file /lib/libc.so.12.213
> /lib/libc.so.12.213: ELF 32-bit MSB shared object, MIPS, MIPS-I version 1 (SYSV), dynamically linked, for NetBSD 9.3, not stripped
> # ./a.out
> 300.0
> 314
> ?00.0
> 1570
The same binary with libc.so.12.213 (in netbsd-9 src) built using
netbsd-8 toolchain (i.e. gcc 5.5.0) shows:
---
# ./a.out
0.0
314
0000000001570.8
1570
#
---
Izumi Tsutsui
Home |
Main Index |
Thread Index |
Old Index