[klibc] Bug#677087: klibc: produces 64-bit binaries on i386 with x86_64 kernel

Thorsten Glaser tg at mirbsd.de
Mon Jun 11 11:02:03 PDT 2012

Sven Joachim dixit:

>Building klibc on i386 with an x86_64 kernel produces packages
>containing 64-bit binaries.  While this can be avoided by running the
>build process under "setarch i386", it is not nice.

Or “linux32”. And I believe that programmes can have a reasonable
expectation that $(uname -p) matches what gcc will produce by
default – I cursed like a sailor when Apple broke that, first.
Let’s not follow. So please, when running i386 builds, always
do that in a (faked) i386 environment.

That being said, maybe we _should_ always set ${ARCH}?

13:37⎜«Natureshadow» Deep inside, I hate mirabilos. I mean, he's a good
guy. But he's always right! In every fsckin' situation, he's right. Even
with his deeply perverted taste in software and borked ambition towards
broken OSes - in the end, he's damn right about it :(! […] works in mksh

More information about the klibc mailing list