[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#778121: sks-ecc: ftbfs with GCC-5



Package: src:sks-ecc
Version: 0.93-3
Severity: normal
Tags: sid stretch
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-5

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-5/g++-5, but succeeds to build with gcc-4.9/g++-4.9. The
severity of this report may be raised before the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc5-20150205/sks-ecc_0.93-3_unstable_gcc5.log
The last lines of the build log are at the end of this report.

To build with GCC 5, either set CC=gcc-5 CXX=g++-5 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t experimental install g++ 

Common build failures are C11 as the default C mode, new warnings
resulting in build failures with -Werror turned on, or new/dropped
symbols in Debian symbols files.  For other C/C++ related build failures
see the porting guide at http://gcc.gnu.org/gcc-5/porting_to.html

[...]
tfm/mpi.c:9663:40: warning: unused variable 'sc1' [-Wunused-variable]
    fp_digit *a, b[6], c0, c1, c2, sc0, sc1, sc2;
                                        ^
tfm/mpi.c:9663:35: warning: unused variable 'sc0' [-Wunused-variable]
    fp_digit *a, b[6], c0, c1, c2, sc0, sc1, sc2;
                                   ^
tfm/mpi.c: In function 'fp_sqr_comba4':
tfm/mpi.c:10069:45: warning: unused variable 'sc2' [-Wunused-variable]
    fp_digit *a, b[8], c0, c1, c2, sc0, sc1, sc2;
                                             ^
tfm/mpi.c:10069:40: warning: unused variable 'sc1' [-Wunused-variable]
    fp_digit *a, b[8], c0, c1, c2, sc0, sc1, sc2;
                                        ^
tfm/mpi.c:10069:35: warning: unused variable 'sc0' [-Wunused-variable]
    fp_digit *a, b[8], c0, c1, c2, sc0, sc1, sc2;
                                   ^
tfm/mpi.c: In function 'fp_sqr_comba_small':
tfm/mpi.c:7952:1: warning: 'sc0' may be used uninitialized in this function [-Wmaybe-uninitialized]
 asm(                                                     \
 ^
tfm/mpi.c:11824:36: note: 'sc0' was declared here
    fp_digit *a, b[32], c0, c1, c2, sc0, sc1, sc2;
                                    ^
tfm/mpi.c:7952:1: warning: 'sc1' may be used uninitialized in this function [-Wmaybe-uninitialized]
 asm(                                                     \
 ^
tfm/mpi.c:11824:41: note: 'sc1' was declared here
    fp_digit *a, b[32], c0, c1, c2, sc0, sc1, sc2;
                                         ^
tfm/mpi.c:7952:1: warning: 'sc2' may be used uninitialized in this function [-Wmaybe-uninitialized]
 asm(                                                     \
 ^
tfm/mpi.c:11824:46: note: 'sc2' was declared here
    fp_digit *a, b[32], c0, c1, c2, sc0, sc1, sc2;
                                              ^
gcc -DLINUX -DVERSION='"0.93"' -DSKS_LANG=1 -DDEVRANDOM -Wall -funroll-loops -fomit-frame-pointer  -DFULLTABLES -Itfm -Iltc   -c -o ltc/aes.o ltc/aes.c
gcc -DLINUX -DVERSION='"0.93"' -DSKS_LANG=1 -DDEVRANDOM -Wall -funroll-loops -fomit-frame-pointer  -DFULLTABLES -Itfm -Iltc   -c -o ltc/tiger.o ltc/tiger.c
gcc -o sks sks.o binasc.o util.o entropy.o hash.o symcrypt.o gflib.o eclib.o eccrypt.o keyring.o tfm/mpi.o ltc/aes.o ltc/tiger.o -lz
gflib.o: In function `gf2m_Reduce':
gflib.c:(.text+0xb70): undefined reference to `gf2m_Reduce_Small_T'
gflib.o: In function `_gf2m_Multiply':
gflib.c:(.text+0xcf9): undefined reference to `gf2m_SmallMult'
gflib.c:(.text+0xdcc): undefined reference to `gf2m_SmallMult'
collect2: error: ld returned 1 exit status
make[1]: *** [sks] Error 1
Makefile:147: recipe for target 'sks' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
make: *** [build-stamp] Error 2
debian/rules:25: recipe for target 'build-stamp' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2


Reply to: