Compiler gets stuck (or extremely slow) on ppc64el
Bug #1862053 reported by
Till Kamppeter
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc |
Fix Released
|
Medium
|
|||
gcc-9 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
ghostscript (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
I have uploaded Ghostscript 9.50 to focal and it built without any problem on all architectures but ppc64el. On ppc64el the compiler seems to get stuck (or extremely slow) on one of the files of Ghostscript (devices/
See
https:/
and
Changed in gcc (Ubuntu): | |
importance: | Undecided → High |
Changed in ghostscript (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in gcc: | |
importance: | Unknown → Medium |
status: | Unknown → New |
Changed in gcc: | |
status: | New → Confirmed |
Changed in gcc: | |
status: | Confirmed → In Progress |
Changed in gcc: | |
status: | In Progress → Confirmed |
Changed in gcc: | |
status: | Confirmed → Fix Released |
To post a comment you must log in.
As of doko's request I am attaching the pre-processed source file devices/ vector/ gdevpdfb. c to this bug report, generated by the original gcc command line (from the Makefile output) with "-save-temp" added on a ppc64el server, coming out as gdevpdfb.i in the root directory of the source tree.
Command line:
gcc -save-temps -DHAVE_MKSTEMP -DHAVE_FILE64 -DHAVE_FSEEKO -DHAVE_MKSTEMP64 -DHAVE_FONTCONFIG -DHAVE_LIBIDN -DHAVE_SETLOCALE -DHAVE_BSWAP32 -DHAVE_BYTESWAP_H -DHAVE_STRERROR -DHAVE_ISNAN -DHAVE_ISINF -DHAVE_ PREAD_PWRITE= 1 -DGS_RECURSIVE_ MUTEXATTR= PTHREAD_ MUTEX_RECURSIVE -fPIC -O2 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wundef -Wmissing- declarations -Wmissing- prototypes -Wwrite-strings -fno-strict- aliasing -Werror= declaration- after-statement -fno-builtin -fno-common -Werror=return-type -DHAVE_STDINT_H=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_ SYS_TIMES_ H=1 -DHAVE_INTTYPES_H=1 -DHAVE_LIBDL=1 -DGX_COLOR_ INDEX_TYPE= "unsigned long long" -D__USE_UNIX98=1 -g -O3 -fdebug- prefix- map=/home/ ubuntu/ ubuntu/ ghostscript/ ghostscript- 9.50~dfsg= . -fstack- protector- strong -Wformat -Werror= format- security -DHAVE_RESTRICT=1 -DUSE_LIBPAPER -I/usr/ include/ powerpc64le- linux-gnu -fno-strict- aliasing -DHAVE_ POPEN_PROTO= 1 -DGS_DEVS_SHARED -DGS_DEVS_ SHARED_ DIR=\"/ usr/lib/ ghostscript/ 9.50\" -I./soobj -I./base -I./soobj -I./devices -I./devices/vector -o ./soobj/gdevpdfb.o -c ./devices/ vector/ gdevpdfb. c