Date: Tue, 28 Oct 2014 10:16:43 +0100 From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no> To: Kurt Jaeger <pi@FreeBSD.org> Cc: Konstantin Belousov <kostikbel@gmail.com>, svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r273734 - head/bin/dd Message-ID: <86r3xseepw.fsf@nine.des.no> In-Reply-To: <86vbn4egjt.fsf@nine.des.no> ("Dag-Erling =?utf-8?Q?Sm=C3=B8r?= =?utf-8?Q?grav=22's?= message of "Tue, 28 Oct 2014 09:37:10 %2B0100") References: <201410271138.s9RBcHrA002447@svn.freebsd.org> <20141027153957.GZ1877@kib.kiev.ua> <20141027155427.GM1492@f10.opsec.eu> <86vbn4egjt.fsf@nine.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
Dag-Erling Sm=C3=B8rgrav <des@des.no> writes: > Kurt Jaeger <pi@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) !=3D 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=3Darm TARGET_ARCH=3Darm 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 --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86r3xseepw.fsf>