Hello, On 11/26/2016 10:57 AM, Adrian Bunk wrote: > Source: yadifa > Version: 2.2.2-1 > Severity: serious > > https://buildd.debian.org/status/fetch.php?pkg=yadifa&arch=ppc64el&ver=2.2.2-1&stamp=1480164499 > > ... > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./include/dnscore -Wdate-time > -D_FORTIFY_SOURCE=2 -DNDEBUG -g -DDNSCORE_BUILD -D_THREAD_SAFE -D_REENTRANT > -D_FILE_OFFSET_BITS=64 -I/«PKGBUILDDIR»/lib/dnscore > -I/«PKGBUILDDIR»/lib/dnscore/include -fno-ident -ansi -pedantic -Wall > -Wno-unknown-pragmas -Werror=missing-field-initializers -std=gnu99 > -mtune=native -DUSES_GCC -DPREFIX=\"/usr\" -DSYSCONFDIR=\"/etc\" > -DLOCALSTATEDIR=\"/var\" -DDATAROOTDIR=\"/usr/share\" > -DDATADIR=\"/usr/share\" -DLOCALEDIR=\"/usr/share/locale\" > -DLOGDIR=\"/var/log/yadifa\" -DTCLDIR=\"\" -DNDEBUG -O3 -g -DCMR -c > src/message_print_format_dig.c -o src/message_print_format_dig.o > src/message_print_format_dig.c: In function 'message_print_format_dig_buffer': > src/message_print_format_dig.c:304:1: internal compiler error: in > push_reload, at reload.c:1349 > } > ^ > Please submit a full bug report, > with preprocessed source if appropriate. > See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions. > Preprocessed source stored into /tmp/ccy8l7aF.out file, please attach this to > your bugreport.
This is a known issue on GCC as you can see at: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78543 I just created a patch to fix this FTBFS on Debian. It is attached to this email.
diff -Nru yadifa-2.2.2/debian/changelog yadifa-2.2.2/debian/changelog --- yadifa-2.2.2/debian/changelog 2016-11-08 06:21:48.000000000 -0500 +++ yadifa-2.2.2/debian/changelog 2016-11-28 15:12:29.000000000 -0500 @@ -1,3 +1,9 @@ +yadifa (2.2.2-1.1) UNRELEASED; urgency=medium + + * Avoid compiling with O3 on ppc64el due to a known bug + + -- Breno Leitao <breno.lei...@gmail.com> Mon, 28 Nov 2016 15:12:29 -0500 + yadifa (2.2.2-1) unstable; urgency=medium * New upstream version 2.2.2 (Closes: #828612) diff -Nru yadifa-2.2.2/debian/patches/fix-ppc64el_ftbfs.patch yadifa-2.2.2/debian/patches/fix-ppc64el_ftbfs.patch --- yadifa-2.2.2/debian/patches/fix-ppc64el_ftbfs.patch 1969-12-31 19:00:00.000000000 -0500 +++ yadifa-2.2.2/debian/patches/fix-ppc64el_ftbfs.patch 2016-11-28 15:12:29.000000000 -0500 @@ -0,0 +1,27 @@ +--- a/m4/eurid.m4 2016-11-08 05:56:43.140600104 -0500 ++++ b/m4/eurid.m4 2016-11-28 15:01:27.000000000 -0500 +@@ -298,6 +298,9 @@ case "$(uname -m)" in + CPU_UNKNOWN=0 + cpu_intel_compatible=1 + ;; ++ ppc64le) ++ cpu_power_compatible=1 ++ ;; + *) + ;; + esac +@@ -625,7 +628,13 @@ then + CCOPTIMISATIONFLAGS=-O3 + fi + fi +- ++ ++ dnl Move to O2 due to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78543 ++ if [[ $cpu_power_compatible -eq 1 ]] ++ then ++ CCOPTIMISATIONFLAGS=-O2 ++ fi ++ + AM_CONDITIONAL([USES_ICC], [false]) + AM_CONDITIONAL([USES_GCC], [true]) + AM_CONDITIONAL([USES_CLANG], [false]) diff -Nru yadifa-2.2.2/debian/patches/series yadifa-2.2.2/debian/patches/series --- yadifa-2.2.2/debian/patches/series 2016-11-08 06:21:48.000000000 -0500 +++ yadifa-2.2.2/debian/patches/series 2016-11-28 15:12:20.000000000 -0500 @@ -5,3 +5,4 @@ fix-yadifad-spelling.patch fix-yadifarc-manpage.patch do-not-use-or-define-the-compile-date.patch +fix-ppc64el_ftbfs.patch