Bug#499877: flint - FTBFS: error: '__gmpn_udiv_w_sdiv' was not declared in this scope

2008-09-24 Thread Bastian Blank
On Tue, Sep 23, 2008 at 09:35:32PM -0400, Tim Abbott wrote: > I've implemented the short-term fix in > . > I don't have access to an s390 machine to do a test build on. I'd > appreciate it if you would do a build on on s390 to see if this is

Bug#499877: flint - FTBFS: error: '__gmpn_udiv_w_sdiv' was not declared in this scope

2008-09-23 Thread Tim Abbott
Because flint is linking against gmp, the short-term solution is probably to just add a prototype for __gmpn_udiv_w_sdiv in the relevant section of longlong.h. The flint developers plan to implement a better solution when they switch from gmp to mpir (a fork of gmp currently under development).

Bug#499877: flint - FTBFS: error: '__gmpn_udiv_w_sdiv' was not declared in this scope

2008-09-23 Thread Tim Abbott
It does link the library; the code being copied is an internal header that defines macros giving a platform-independent interface to efficient implementations of various arithmetic operations. I think the impression that the flint developers think that the definitions in longlong.h should be p

Bug#499877: flint - FTBFS: error: '__gmpn_udiv_w_sdiv' was not declared in this scope

2008-09-23 Thread Bastian Blank
On Tue, Sep 23, 2008 at 11:58:39AM -0400, Tim Abbott wrote: > I've traced the problem to flint having copied longlong.h from GMP > without also copying udiv_w_sdiv.c from GMP, which defines (after some > macro magic) __gmpn_udiv_w_sdiv. Why does it copy code from GMP and not link the lib? Basti

Bug#499877: flint - FTBFS: error: '__gmpn_udiv_w_sdiv' was not declared in this scope

2008-09-23 Thread Tim Abbott
I've traced the problem to flint having copied longlong.h from GMP without also copying udiv_w_sdiv.c from GMP, which defines (after some macro magic) __gmpn_udiv_w_sdiv. -Tim Abbott On Tue, 23 Sep 2008, Bastian Blank wrote: Package: flint Version: 1.011-1 Severity: serious There wa

Bug#499877: flint - FTBFS: error: '__gmpn_udiv_w_sdiv' was not declared in this scope

2008-09-23 Thread Bastian Blank
Package: flint Version: 1.011-1 Severity: serious There was an error while trying to autobuild your package: > Automatic build of flint_1.011-1 on debian-31.osdl.marist.edu by sbuild/s390 > 98 [...] > g++ -fPIC -g -O2 -g -Wall -O2 -funroll-loops -I/usr/include > -I/usr/include/NTL -c NTL-inter