[PATCH] PPC fix build break caused by VMX instructions

Steve Munroe sjmunroe@us.ibm.com
Tue May 25 16:14:00 GMT 2004


As recent binutls change requires the user to specifically select a cpu 
type that supports VMX to allow the assembly of VMX instructions. This 
causes the compile of setjmp/__longjmp etc to fail.

The work around passes -many to the assembler for these functions. The 
attached patch adds "-Wa,-many" to CPPFLAGS for the specific functions 
involved.

Its it interesting that the ASFLAGS-setjmp.S form would seem to be more 
appropriate but does not work.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ppc-vmx-20040518.txt
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20040525/5dd1b0eb/attachment.txt>


More information about the Libc-alpha mailing list