https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110744

--- Comment #5 from Kewen Lin <linkw at gcc dot gnu.org> ---
(In reply to Li Pan from comment #2)
> Hi there,
> 
> Just try to reproduce this bug with powerPC cross compiler (sorry we don't
> have a real powerPC) with the below options. Unfortunately, I failed to
> reproduce this bug as above mentioned.

Cfarm (https://cfarm.tetaneutral.net/) recently gets one Power10 machine, you
can have a try there. :) But yeah, for this kind of compilation issue, cross
compiler is normally enough.

> 
> Could you please help to take a look if there is something missing or
> incorrect?
> 
> 1. Build cross compiler
> 
> ../configure \
>   --target=powerpc-unknown-elf \

I can reproduce it with --target=powerpc64le-unknown-linux-gnu.

powerpc is 32bit Power, unfortunately lxvl and stxvl (vector with length)
hardware instructions require 64bit GPR (for holding length in some of its high
bits), so partial vector is not enabled there.

>   --prefix=${INSTALL_DIR} \
>   --disable-shared \
>   --enable-threads \
>   --enable-tls \
>   --enable-languages=c,c++ \
>   --with-system-zlib \
>   --with-newlib \
>   --disable-libmudflap \
>   --disable-libssp \
>   --disable-libquadmath \
>   --disable-libgomp \
>   --enable-nls \
>   --disable-tm-clone-registry \
>   --enable-multilib \
>   --src=`pwd`/../ \
>   --enable-werror \
> 
> make -j $(nproc) all-gcc && make install-gcc
>

Reply via email to