binutils broken for some CPUs, patch attached

Brian White mscdex at mscdex.net
Wed Mar 30 00:35:51 CEST 2011


I recently attempted to install glibc 2.12.2 from moonbase, but received an
error during compilation about an illegal instruction. After some
investigation it appears the issue stems from the fact that some CPUs do not
implement the undocumented i686 instruction, NOPL. These CPUs include at
least: Via C3-2 ("Nehemiah"), AMD Geode LX (used in the OLPC), and Transmeta
Crusoe.

I found and tested the attached patch for binutils that fixes the issue.
This patch has already been applied upstream in binutils cvs, but obviously
users with these CPUs will have problems until a new binutils release is
made.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://foo-projects.org/pipermail/lunar/attachments/20110329/ea030cee/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: binutils-2.21-nopl-fix.patch
Type: application/octet-stream
Size: 31306 bytes
Desc: not available
URL: <http://foo-projects.org/pipermail/lunar/attachments/20110329/ea030cee/attachment-0001.obj>


More information about the Lunar mailing list