Dr. David Kirkby wrote: > I've noticed this problem with packages output GNU-specific options > directly to the linker on SPARC, but MPIR was not one of the guilty > parties on SPARC. The MPIR build is either broken on OpenSolaris with > the GNU linker, or Sage does something to break it.
I should have said MPIR is broken on OpenSolaris (x86) if the *Sun* linker is used. GCC can be configured two ways on Solaris. One is to use the GNU linker and assembler from binutils, the other is to use the Sun linker and assembler in /usr/ucb/bin. The Sun tools are considered preferable to the GNU ones. But MPIR is outputting a GNU specific option directly to the Sun linker. These are the most common linker errors seen in Sage - all related to the building of shared libraries. I've put the Sun equivalents after GNU ones. -shared ==> -G -soname ==> -h --whole-archive ==> -z allextract --no-whole-archive ==> -z defaultextract Dave --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---