svn commit: r273734 - head/bin/dd

Dag-Erling Smørgrav des at des.no
Tue Oct 28 09:23:44 UTC 2014


Dag-Erling Smørgrav <des at des.no> writes:
> Kurt Jaeger <pi at FreeBSD.org> writes:
> > I do not have a working arm setup right now.
> This is a bug on all platforms, and both clang and (recent) gcc should
> complain about it.  That printf() call will print garbage.

Correction: it will print garbage on 32-bit platforms, where sizeof(int)
!= sizeof(intmax_t), but clang and gcc should still emit a warning.  You
don't need "a working arm setup" to see this; all you need is to
cross-build (make TARGET=arm TARGET_ARCH=arm buildworld).  It won't even
take long (15 minutes on my AMD FX8350) since the arm world is
significantly smaller than the i386 or amd64 world.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the svn-src-head mailing list