Skip to content

make flintqs-20070817 spkg build with -m64 rather than -march=opteron #11351

@sagetrac-mariah

Description

@sagetrac-mariah

sage-4.7.rc2 built on an opteron system [skynet:flavius (x86_64-Linux-k8-fc)] with SAGE_FAT_BINARY="yes", and then moved to another x86_64-Linux system will fail with a segmentation fault on the following code:

set_random_seed(0)
p = next_prime(randrange(2^96))
q = next_prime(randrange(2^97))
n = p * q
qsieve(n) 

qsieve is from the flintqs-20070817 spkg, which by default builds
with -march=opteron on all x86_64 systems (and in 32-bit mode).


New spkg: http://sage.math.washington.edu/home/leif/Sage/spkgs/flintqs-20070817.p6.spkg

Component: packages: standard

Keywords: sd32 quadratic sieve

Author: Mariah Lenox

Reviewer: Martin Albrecht

Merged: sage-4.7.2.alpha3

Issue created by migration from https://trac.sagemath.org/ticket/11351

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions