Bug#593193: gmp-ecm: FTBFS on sparc: Assertion failed during tests

2010-09-02 Thread Jurij Smakov
On Tue, Aug 31, 2010 at 09:50:04PM +0200, Paul Zimmermann wrote:
> > cc:ing debian-sparc in case someone there would be able to help.
> 
> I can help concerning GMP-ECM (in particular comparing with a correct run
> on a 32-bit computer) but I have no access to a 32-bit sparc.

Latest Debian release only supports 64-bit machines (Ultra 1 or 
better). Kernels are 64-bit, but userspace is (mostly) 32-bit, which 
has been a source of constant confusion.

Best regards,
-- 
Jurij Smakov   ju...@wooyd.org
Key: http://www.wooyd.org/pgpkey/  KeyID: C99E03CC



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#593193: gmp-ecm: FTBFS on sparc: Assertion failed during tests

2010-08-31 Thread Paul Zimmermann
> cc:ing debian-sparc in case someone there would be able to help.

I can help concerning GMP-ECM (in particular comparing with a correct run
on a 32-bit computer) but I have no access to a 32-bit sparc.

Paul Zimmermann




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#593193: gmp-ecm: FTBFS on sparc: Assertion failed during tests

2010-08-31 Thread Julien Cristau
cc:ing debian-sparc in case someone there would be able to help.

On Tue, Aug 31, 2010 at 21:06:42 +0200, Laurent Fousse wrote:

> Hello,
> 
> * Mehdi Dogguy [Mon, Aug 16, 2010 at 08:18:16AM +0200]:
> > Your package gmp-ecm/6.3-2 fails to build from source on sparc:
> [...]
> > The full build log can be found at:
> > https://buildd.debian.org/fetch.cgi?pkg=gmp-ecm&arch=sparc&ver=6.3-2&stamp=1281775571&file=log&as=raw
> 
> Thank you for the report. I can reproduce it on smetana.d.o in the sid
> chroot, using the default compiler (gcc-4.4.5), pristine upstream source
> compiled with
> 
> ./configure CFLAGS="-O0 -ggdb" && make && make check
> 
> However, the package builds fine using gcc-4.3 so it could be a
> compiler issue. I'll look into it next week, but help would be
> appreciated. The problematic C file is pm1fs2.c according to the abort
> message, and comparison of the assembly files for each compiler does
> not help me (I don't grok sparc assembly).
> 
> Laurent.
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> 


signature.asc
Description: Digital signature


Bug#593193: gmp-ecm: FTBFS on sparc: Assertion failed during tests

2010-08-31 Thread Laurent Fousse
Hello,

* Mehdi Dogguy [Mon, Aug 16, 2010 at 08:18:16AM +0200]:
> Your package gmp-ecm/6.3-2 fails to build from source on sparc:
[...]
> The full build log can be found at:
> https://buildd.debian.org/fetch.cgi?pkg=gmp-ecm&arch=sparc&ver=6.3-2&stamp=1281775571&file=log&as=raw

Thank you for the report. I can reproduce it on smetana.d.o in the sid
chroot, using the default compiler (gcc-4.4.5), pristine upstream source
compiled with

./configure CFLAGS="-O0 -ggdb" && make && make check

However, the package builds fine using gcc-4.3 so it could be a
compiler issue. I'll look into it next week, but help would be
appreciated. The problematic C file is pm1fs2.c according to the abort
message, and comparison of the assembly files for each compiler does
not help me (I don't grok sparc assembly).

Laurent.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#593193: gmp-ecm: FTBFS on sparc: Assertion failed during tests

2010-08-15 Thread Mehdi Dogguy
Package: gmp-ecm
Version: 6.3-2
Severity: serious
Justification: FTBFS

Hi maintainer,

Your package gmp-ecm/6.3-2 fails to build from source on sparc:
> ** Factor found in step 1: 409100738617
> Found input number N
> GMP-ECM 6.3 [configured with GMP 4.3.2] [P+1]
> Input number is 
> 227718937509844817011855877544711725455605543304035536750762506158547102293199086726265869065639109
>  (103 digits)
> Using B1=2337233, B2=173055082, polynomial x^1, x0=3
> Step 1 took 273805ms
> lt-ecm: pm1fs2.c:1843: poly_from_sets_V: Assertion `(__builtin_constant_p 
> (1UL) && (1UL) == 0 ? ((F[deg])->_mp_size < 0 ? -1 : (F[deg])->_mp_size > 0) 
> : __gmpz_cmp_ui (F[deg],1UL)) == 0' failed.
> Aborted
> ### ERROR ###
> Expected return code 14 but got 134
> make[1]: *** [check] Error 1
> make[1]: Leaving directory 
> `/build/buildd-gmp-ecm_6.3-2-sparc-nrlHN0/gmp-ecm-6.3'
> make: *** [build-stamp] Error 2

The full build log can be found at:
https://buildd.debian.org/fetch.cgi?pkg=gmp-ecm&arch=sparc&ver=6.3-2&stamp=1281775571&file=log&as=raw

Regards,

-- 
Mehdi Dogguy

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org