If I compile heimdal-0.6.3-r1 on x86-64 platform I get this output from one
test:
...
/bin/sh ../../libtool --mode=link x86_64-pc-linux-gnu-gcc -Wall
-Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations
-Wnested-externs -O3 -mmmx -m3dnow -msse -msse2 -mfpmath=sse -funroll-loops
-pipe -fprefetch-loop-arrays -fomit-frame-pointer -march=k8 -frename-registers
-o strpftime-test strpftime-test.o libtest.la libroken.la -lcrypt -lresolv
x86_64-pc-linux-gnu-gcc -Wall -Wmissing-prototypes -Wpointer-arith
-Wbad-function-cast -Wmissing-declarations -Wnested-externs -O3 -mmmx -m3dnow
-msse -msse2 -mfpmath=sse -funroll-loops -pipe -fprefetch-loop-arrays
-fomit-frame-pointer -march=k8 -frename-registers -o .libs/strpftime-test
strpftime-test.o ./.libs/libtest.a ./.libs/libroken.so -ldb -lcrypt -lresolv
creating strpftime-test
make[4]: Leaving directory
`/var/tmp/portage/heimdal-0.6.3-r1/work/heimdal-0.6.3/lib/roken'
make check-TESTS check-local
make[4]: Entering directory
`/var/tmp/portage/heimdal-0.6.3-r1/work/heimdal-0.6.3/lib/roken'
PASS: base64-test
PASS: getaddrinfo-test
PASS: parse_bytes-test
PASS: parse_reply-test
failed: format = "%d", "-2147483648" != "-7400"
failed: format = "%x", "80000000" != "30"
failed: format = "%X", "80000000" != "2A"
failed: format = "%o", "20000000000" != "52"
failed: format = "%#x", "0x80000000" != "0x2d"
...
failed: format = "%-#10llx", "0x8000000000000000" != "0x45 "
failed: format = "%-#10llX", "0X8000000000000000" != "0X42 "
failed: format = "%-#10llo", "01000000000000000000000" != "0102 "
FAIL: snprintf-test
PASS: strpftime-test
========================================
1 of 6 tests failed
Please report to heimdal-bugs@pdc.kth.se
========================================
...
Reproducible: Always
Steps to Reproduce:
1. emerge -pv heimdal and
2. wait because test is not included in Configure
This bug was reported to Heimdal developers by:
From: Peter Kruty <xkruty@fi.muni.cz>
Subject: [BUG Report] snprintf-test.c
Date: Thu, 31 Mar 2005 13:32:10 +0200
To: heimdal-bugs@pdc.kth.se