| Summary: | media-libs/libjpeg-turbo-1.4.0 fails to build on PPC with CFLAG -ftree-vectorize | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Podko Andrew <copyer> |
| Component: | [OLD] Library | Assignee: | Jory A. Pratt <anarchy> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | minor | CC: | anarchy, graphics+disabled, ppc, slyfox |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | PPC | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
build.log
emerge --info |
||
Please also attach emerge --info and the full build log. Created attachment 402622 [details]
build.log
Created attachment 402624 [details]
emerge --info
Could be closed as media-libs/libjpeg-turbo-1.4.0 is no longer in tree and 1.5.0 is stable across all arches? Yeah. Looking at the eror the bug is in gcc's instruction selector.
I can't reproduce it on modern ppc (gcc-6.4.0, gcc-5.4.0). Tried as:
CFLAGS="-O2 -mcpu=powerpc -mtune=powerpc -pipe -fdiagnostics-show-option -frecord-gcc-switches -ftree-vectorize" emerge -v1 media-libs/libjpeg-turbo
Let's close it as obsolete. If you still can reproduce it please let us know
and we will try to track it down.
gcc internal compiler errors (ICEs) are usually easy to shrink down to something palatable to fix upstream.
|
Need filter CFLAG -ftree-vectorize for media-libs/libjpeg-turbo-1.4.0 on PPC arch Reproducible: Always Steps to Reproduce: 1. add -ftree-vectorize to CFLAGS 2. emerge -1 =media-libs/libjpeg-turbo-1.4.0 Actual Results: /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/tmp/portage/media-libs/libjpeg-turbo-1.4.0/work/libjpeg-turbo-1.4.0 -Wall -O2 -mcpu=7450 -mtune=7450 -pipe -maltivec -mabi=altivec -frename-registers -ftree-vectorize -ftracer -funroll-loops -fno-strict-aliasing -c -o jquant2.lo /tmp/portage/media-libs/libjpeg-turbo-1.4.0/work/libjpeg-turbo-1.4.0/jquant2.c rs6000_secondary_reload_inner:16984, type = load (parallel [ (set (reg:V4SI 88 11) (mem:V4SI (and:SI (reg/f:SI 0 0 [orig:353 vectp_quantptr.243 ] [353]) (const_int -16 [0xfffffffffffffff0])) [0 MEM[(ISLOW_MULT_TYPE *)vectp_quantptr.243_337 & 4294967280B]+0 S16 A128])) (clobber (reg:SI 10 10)) ]) /tmp/portage/media-libs/libjpeg-turbo-1.4.0/work/libjpeg-turbo-1.4.0/jidctint.c: In function ‘jpeg_idct_9x9’: /tmp/portage/media-libs/libjpeg-turbo-1.4.0/work/libjpeg-turbo-1.4.0/jidctint.c:1057:1: internal compiler error: in rs6000_secondary_reload_fail, at config/rs6000/rs6000.c:16775 }