If you hit the error "glibc Error: suffix or operands invalid for `fnstsw' chnge int to short" while compliing glibc 2.6 or any software that depends on it, the solution is as follows.
Open the file which is throwing the error and go to the corresponding line no. There will be a call to fnstsw, and a variable would have been passed along with it some thing like
__asm__(fnstsw, ..... , var);
The "var" would be type int, change it to "short".
That should take care of the error.
No comments:
Post a Comment