>>>>> Kai Ruottu writes: Kai> In the crossgcc list was a problem with gcc-3.4 generating the opcode Kai> 'mfcr' with '-mcpu=power' for the second created multilib, when the Kai> GCC target is 'rs6000-ibm-aix4.3'. The other multilibs produced as Kai> default are for '-pthread', '-mcpu=powerpc' and '-maix64'... The AIX Kai> users could judge if all these are normally required, but when the Kai> builder also used the '--without-threads', the first sounds being vain Kai> or even clashing with something. Building no multilibs using Kai> '--disable-multilib' of course is possible...
Kai> But what is the case with the 'mfcr' and POWER ? Bug in GNU as (the Kai> Linux binutils-2.15.94.0.2.2 was tried) or in GCC (both gcc-3.3.5 and Kai> gcc-3.4.3 were tried) ? First, AIX assembler is recommended on AIX. This is mentioned in the platform-specific installation information. The use of GNU Assembler on AIX probably is the source of your problems. The mfcr instruction has existed since the original POWER architecture. It always is valid. The instruction was updated in POWER4 and later chips to accept an optional operand to specify which field to move. That variant only is enabled for processors that support the instruction. The variant is not enabled for -mcpu=power. David