On Wed, Aug 30, 2017 at 10:13 AM, Adrian Bunk <b...@debian.org> wrote:
> powerpc64le-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall 
> -Wstrict-prototypes -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
> -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.6m -c greenlet.c -o 
> build/temp.linux-ppc64le-3.6/greenlet.o -fno-tree-dominator-opts
> In file included from slp_platformselect.h:16:0,
>                  from greenlet.c:328:
> platform/switch_ppc64_linux.h: In function 'slp_switch':
> platform/switch_ppc64_linux.h:72:5: error: PIC register clobbered by 'r2' in 
> 'asm'
>      __asm__ volatile ("" : : : REGS_TO_SAVE);
>      ^~~~~~~
> platform/switch_ppc64_linux.h:85:5: error: PIC register clobbered by 'r2' in 
> 'asm'
>      __asm__ volatile ("" : : : REGS_TO_SAVE);
>      ^~~~~~~
[...]
> http://gcc.gnu.org/gcc-7/changes.html
> - GCC now diagnoses inline assembly that clobbers register r2. This has 
> always been invalid code, and is no longer quietly tolerated.
 Already seen and found this, thanks. Solution is pending.

Laszlo/GCS

Reply via email to