kern/102424: [libc] printf(3) prints ill result.

Tsurutani Naoki turutani at scphys.kyoto-u.ac.jp
Thu Jul 24 17:12:54 UTC 2008


Hi,

Now, I can ready to use 7-STABLE.
% uname -a
FreeBSD h116.65.226.10.32118.vlan.kuins.net 7.0-STABLE FreeBSD 7.0-STABLE #16: Sun Jul 20 
13:56:49 JST 2008     turutani at h116.65.226.10.32118.vlan.kuins.net:/usr/obj/usr/src/sys/POLYMER13  amd64

I tested my old binary compiled on 6-STABLE:
% ./printftest
0.0:0000, 3fb99999 99999999
I recompiled it:
% gcc -O2 -m32 -L/usr/lib32 -B/usr/lib32 printftest.c -o printftest
% ./printftest
0.100000, 3fb99999 99999999
I recompiled it and linked with libc.so.6:
% gcc -O2 -m32 -L/usr/lib32 -B/usr/lib32 printftest.c /usr/local/lib32/compat/libc.so.6 -o 
printftest
% ./printftest
0.0:0000, 3fb99999 99999999

Now, it seems to be fixed, but I do not know how this trouble is fixed.

Sincerely.

---
Tsurutani Naoki (turutani at scphys.kyoto-u.ac.jp)


More information about the freebsd-bugs mailing list