Subject: Discussion related to cado-nfs
List archive
- From: tomdean@speakeasy.org (Thomas D. Dean)
- To: cado-nfs-discuss@lists.gforge.inria.fr
- Subject: Re: [Cado-nfs-discuss] Factor Failed
- Date: Thu, 12 Jan 2012 00:27:47 -0800
- List-archive: <http://lists.gforge.inria.fr/pipermail/cado-nfs-discuss>
- List-id: A discussion list for Cado-NFS <cado-nfs-discuss.lists.gforge.inria.fr>
I rebuilt gcc46 and cado.
The problem is in the loader.
FreeBSD 9.0 has a patched version of gcc (ang g++) installed for kernel
reasons, I forget the details. This is
# gcc --version
gcc (GCC) 4.2.1 20070831 patched [FreeBSD]
I have gcc46 in /usr/local. And, libstdc++ is in /usr/local/lib/gcc46.
ldconfig set hints to /lib, /usr/lib, /usr/local/lib, etc.
I copied the gcc46 version of libstdc++ to /usr/lib and factor.sh
completes.
This is not a fix, the next time I update the system, it will get
overwritten. The preferred fix is to add the linker statement:
-Wl,-rpath,/usr/local/lib/gcc46
to the link command.
This will force the loader to use /usr/local/lib/gcc46 for the libraries
there.
I can do this with gmake LDFLAGS="-Wl,-rpath,/usr/local/lib/gcc46".
If I put LDFLAGS="..." in local.sh will this be picked up?
Here is the big question.
How do I restart the factoring process that ran for 7 days and failed
with the error?
Tom Dean
- [Cado-nfs-discuss] Factor Failed, Thomas D. Dean, 01/12/2012
- Re: [Cado-nfs-discuss] Factor Failed, Zimmermann Paul, 01/12/2012
- Re: [Cado-nfs-discuss] Factor Failed, Thomas D. Dean, 01/12/2012
- Re: [Cado-nfs-discuss] Factor Failed, Zimmermann Paul, 01/12/2012
- Re: [Cado-nfs-discuss] Factor Failed, Emmanuel Thomé, 01/12/2012
- Re: [Cado-nfs-discuss] Factor Failed, Thomas D. Dean, 01/12/2012
- Re: [Cado-nfs-discuss] Factor Failed, Thomas D. Dean, 01/12/2012
- Re: [Cado-nfs-discuss] Factor Failed, Zimmermann Paul, 01/12/2012
Archive powered by MHonArc 2.6.19+.