Problem when a 32-bit library is linked instead of a 64-bit library

2010-07-12 Thread Dr. David Kirkby
On OpenSolaris, like Solaris, the default it to build 32-bit objects. For most applications, setting CFAGS=-m64 LDFLAGS=-m64 configure make works. However, one or two applications don't work well. In this case. http://trac.sagemath.org/sage_trac/ticket/7864 lists a build failure in the Sag

Re: libtool documentation missing Index.html

2010-07-12 Thread Ralf Wildenhues
* Carlo Marcelo Arenas Belon wrote on Mon, Jul 12, 2010 at 07:34:55AM CEST: > On Mon, Jul 12, 2010 at 07:13:03AM +0200, Ralf Wildenhues wrote: > > * Carlo Marcelo Arenas Belon wrote on Mon, Jul 12, 2010 at 12:37:15AM CEST: > > > As can be seen by clicking on the HTML or HTML compressed (gzip tar) l

Re: Issues w/ "relink" and cross-compilation

2010-07-12 Thread Richard Purdie
Hi, I've spoken about this in the past but it looks like I should mention it again. I do extensive cross compiling of the entire Linux software stack using OpenEmbedded and Poky (I maintain the latter). We have cross compiling working with libtool with a variety of workarounds. This mainly consist

Re: Issues w/ "relink" and cross-compilation

2010-07-12 Thread Thierry Reding
And here's the patch. diff --git a/ltmain.sh b/ltmain.sh index 6939dcc..be92a38 100755 --- a/ltmain.sh +++ b/ltmain.sh @@ -2009,6 +2009,10 @@ func_mode_install () dir="$dir$objdir" if test -n "$relink_command"; then + if test -n "$sysroot"; then + libdir=`$ECHO "X$libdir" | $Xsed -e "s%

Re: Issues w/ "relink" and cross-compilation

2010-07-12 Thread Thierry Reding
* Philip Prindeville wrote: > On 7/11/10 3:29 AM, Ralf Wildenhues wrote: > >Hello Philip, > > > >thanks for the reports. > > > >* Philip Prindeville wrote on Sun, Jul 11, 2010 at 02:38:28AM CEST: > >>The problem is that a lot of projects that we use in turn use > >>libtool (and not always terribly