The defined(__x86_64__) line is borked in mentioned file. This causes an unexpected behaviour in uname, the hardware platform doesn't show up. I will attach robmoss's patch to come around that.
Created attachment 37039 [details, diff] Repair the gentoo-uname patch for coreutils
I can attest to this. On a dual opteron compiled in 32bit mode 'uname -p' yeilds: AMD Opteron(tm) Processor 246 On the exact same hardware booted into a 64-bit environment, 'uname -p' reports the much less useful: 5 Any chance of this being fixed in the main portage tree?
i've added a fix to the ebuild, but this still needs to make it into a patch tarball
I'll add this to the tarball shortly, don't worry.
added to the patch tarball for -r2.