Re: [xml] Build failure on Sparc solaris using gcc and binutils

2010-03-15 Thread Rob Richards
Daniel Veillard wrote: On Fri, Oct 23, 2009 at 12:09:19AM +0300, Roumen Petrov wrote: Daniel Veillard wrote: On Thu, Oct 22, 2009 at 12:26:27AM +0300, Roumen Petrov wrote: Matthias Jung wrote: [SNIP] My suggestion as long -M ld option is not clear ;-) VERSION_SCRIPT_F

Re: [xml] Build failure on Sparc solaris using gcc and binutils

2010-03-11 Thread Daniel Veillard
On Wed, Mar 10, 2010 at 11:01:01PM +0200, Roumen Petrov wrote: > Roumen Petrov wrote: > >Daniel Veillard wrote: > >>On Fri, Oct 23, 2009 at 12:09:19AM +0300, Roumen Petrov wrote: > >>>Daniel Veillard wrote: > On Thu, Oct 22, 2009 at 12:26:27AM +0300, Roumen Petrov wrote: > >Matthias Jung wr

Re: [xml] Build failure on Sparc solaris using gcc and binutils

2010-03-10 Thread Roumen Petrov
Roumen Petrov wrote: Daniel Veillard wrote: On Fri, Oct 23, 2009 at 12:09:19AM +0300, Roumen Petrov wrote: Daniel Veillard wrote: On Thu, Oct 22, 2009 at 12:26:27AM +0300, Roumen Petrov wrote: Matthias Jung wrote: [SNIP] My suggestion as long -M ld option is not clear ;-) VERSION_SCRIPT_FLA

Re: [xml] Build failure on Sparc solaris using gcc and binutils

2010-03-10 Thread Roumen Petrov
Daniel Veillard wrote: On Fri, Oct 23, 2009 at 12:09:19AM +0300, Roumen Petrov wrote: Daniel Veillard wrote: On Thu, Oct 22, 2009 at 12:26:27AM +0300, Roumen Petrov wrote: Matthias Jung wrote: [SNIP] My suggestion as long -M ld option is not clear ;-) VERSION_SCRIPT_FLAGS= $($LD --help 2>&1

Re: [xml] Build failure on Sparc solaris using gcc and binutils

2010-03-10 Thread Daniel Veillard
On Wed, Mar 10, 2010 at 02:01:30AM +0200, Roumen Petrov wrote: [...] > So I just finish rebuild of libxml2, libxslt, and xmlsec > (linux+mingw-cross). > okay thanks for the quick answer :-) > > Hum, that's an old thread but I think still relevant. > >I tried to update some of the configure a

Re: [xml] Build failure on Sparc solaris using gcc and binutils

2010-03-09 Thread Roumen Petrov
Daniel Veillard wrote: On Fri, Oct 23, 2009 at 12:09:19AM +0300, Roumen Petrov wrote: Daniel Veillard wrote: On Thu, Oct 22, 2009 at 12:26:27AM +0300, Roumen Petrov wrote: Matthias Jung wrote: [SNIP] My suggestion as long -M ld option is not clear ;-) VERSION_SCRIPT_FLAGS= $($LD --help 2>&1

Re: [xml] Build failure on Sparc solaris using gcc and binutils

2010-03-09 Thread Daniel Veillard
On Fri, Oct 23, 2009 at 12:09:19AM +0300, Roumen Petrov wrote: > Daniel Veillard wrote: > >On Thu, Oct 22, 2009 at 12:26:27AM +0300, Roumen Petrov wrote: > >>Matthias Jung wrote: > >>[SNIP] > >>>My suggestion as long -M ld option is not clear ;-) > >>> > >>>VERSION_SCRIPT_FLAGS= > >>>$($LD --help 2

Re: [xml] Build failure on Sparc solaris using gcc and binutils

2009-10-22 Thread Roumen Petrov
Daniel Veillard wrote: On Thu, Oct 22, 2009 at 12:26:27AM +0300, Roumen Petrov wrote: Matthias Jung wrote: [SNIP] My suggestion as long -M ld option is not clear ;-) VERSION_SCRIPT_FLAGS= $($LD --help 2>&1 | grep -- --version-script >/dev/null) && \ VERSION_SCRIPT_FLAGS=-Wl,--version-script

Re: [xml] Build failure on Sparc solaris using gcc and binutils

2009-10-21 Thread Daniel Veillard
On Thu, Oct 22, 2009 at 12:26:27AM +0300, Roumen Petrov wrote: > Matthias Jung wrote: > [SNIP] >> My suggestion as long -M ld option is not clear ;-) >> >> VERSION_SCRIPT_FLAGS= >> $($LD --help 2>&1 | grep -- --version-script >/dev/null) && \ >>VERSION_SCRIPT_FLAGS=-Wl,--version-script= > > > M

Re: [xml] Build failure on Sparc solaris using gcc and binutils

2009-10-21 Thread Roumen Petrov
Matthias Jung wrote: [SNIP] My suggestion as long -M ld option is not clear ;-) VERSION_SCRIPT_FLAGS= $($LD --help 2>&1 | grep -- --version-script >/dev/null) && \ VERSION_SCRIPT_FLAGS=-Wl,--version-script= May be is time project to upgrade libtool to 2.+ version where exist flag with_gnu

Re: [xml] Build failure on Sparc solaris using gcc and binutils

2009-10-21 Thread Matthias Jung
I looked a bit deeper into details and ask myself whether the check for Solaris and static usage of -M option is a good idea at all. If a linker supports option --version-script it should be used no matter which operating system is in use. First of all I suggest to change the line: $(/usr/bin

Re: [xml] Build failure on Sparc solaris using gcc and binutils

2009-10-19 Thread Daniel Veillard
On Mon, Oct 19, 2009 at 03:19:15PM +0200, Matthias Jung wrote: > Hi all, > on sparc solaris ./configure.in sets VERSION_SCRIPT_FLAGS to "-Wl,-M > -Wl," no matter which compiler/linker is used. > Unfortunately gnu gcc/ld does not like -M option for symbol files, which > causes a build using gcc

[xml] Build failure on Sparc solaris using gcc and binutils

2009-10-19 Thread Matthias Jung
Hi all, on sparc solaris ./configure.in sets VERSION_SCRIPT_FLAGS to "-Wl,-M -Wl," no matter which compiler/linker is used. Unfortunately gnu gcc/ld does not like -M option for symbol files, which causes a build using gcc to fail. Instead good old "--version-script=" is expectd here. Any idea