Bug#695661: gcc-4.7: Please fix build on powerpcspe
On 12/11/2012 03:48 PM, Roland Stigge wrote:
> On 12/11/2012 02:01 PM, Matthias Klose wrote:
>> Am 11.12.2012 13:31, schrieb Roland Stigge:
>>
>> both patches look wrong. the definition is found in the t-spe file. find out why
>> it doesn't get used.
>
> I guess rs6000/t-linux defining:
>
> MULTIARCH_DIRNAME = powerpc-linux-gnu
>
> overwrites this.
Another obstacle:
The ${target} in case of powerpcspe is powerpc-unknown-linux-gnuspe, but t-spe is
only included in one place (src/gcc/config.gcc):
powerpc-*-eabispe*)
tm_file="${tm_file} dbxelf.h elfos.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/eabi.h rs6000/e500.h rs6000/eabispe.h"
extra_options="${extra_options} rs6000/sysv4.opt"
tmake_file="rs6000/t-spe rs6000/t-ppccomm"
use_gcc_stdint=wrap
;;
which looks quite bsd specific and doesn't match our target. How about including
rs6000/t-spe instead of rs6000/t-linux at the place where currently only
rs6000/t-linux is added?
I can send a patch after my test run is finished.
Roland
Reply to: