{"id":22,"date":"2005-04-04T00:19:13","date_gmt":"2005-04-03T22:19:13","guid":{"rendered":"http:\/\/blog.blackdown.de\/2005\/04\/04\/per_linux32-fixes-for-linuxppc64\/"},"modified":"2016-10-29T03:51:02","modified_gmt":"2016-10-29T01:51:02","slug":"per_linux32-fixes-for-linuxppc64","status":"publish","type":"post","link":"https:\/\/blackdown.de\/articles\/per_linux32-fixes-for-linuxppc64\/","title":{"rendered":"PER_LINUX32 Fixes for Linux\/ppc64"},"content":{"rendered":"

I’ve tried to rebuild the latest Debian packages of Mozilla and Firefox with my jsarena pointer arithmetic fix<\/a> on ppc32\/ppc64 today. Rebuilding worked fine with older versions but this time it failed because the makefiles identified my G5 as an i386 box! The makefiles use uname -m<\/code> to determine the CPU type, there’s no code to handle ‘ppc64’ and the default is ‘x86’.<\/p>\n

As my old work-around (providing a uname<\/code> command that returns ‘ppc’) didn’t work anymore, this forced me to look at the root cause of the problem.<\/p>\n

I’ve finally found two issues with the PER_LINUX32<\/code> personality:<\/p>\n