octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gethelp build issues


From: Rik
Subject: Re: gethelp build issues
Date: Mon, 16 Jan 2012 10:23:51 -0800

On 01/16/2012 08:05 AM, address@hidden wrote:
> Message: 2
> Date: Mon, 16 Jan 2012 10:27:30 +0200
> From: Jussi Lehtola <address@hidden>
> To: address@hidden
> Subject: SMP build failed - missing dependency?
> Message-ID: <address@hidden>
> Content-Type: text/plain; charset=US-ASCII
>
> Hi,
>
>
> SMP build of Octave failed on the Fedora build system due as
>
> make[3]: Entering directory `/builddir/build/BUILD/octave-3.6.0/scripts'
> /bin/sh ../libtool --tag=CXX   --mode=link g++ -O2 -g -pipe -Wall
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4  -m32 -march=i686 -mtune=atom
> -fasynchronous-unwind-tables  -DHAVE_CONFIG_H -mieee-fp  -Wall -W
> -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings
> -Wcast-align -Wcast-qual -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
> -fexceptions -fstack-protector --param=ssp-buffer-size=4  -m32
> -march=i686 -mtune=atom -fasynchronous-unwind-tables -pthread -O2 -g
> -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4  -m32 -march=i686 -mtune=atom
> -fasynchronous-unwind-tables  -Wl,-z,relro  -o gethelp gethelp.o  -lm
> mv miscellaneous/PKG_ADD-t miscellaneous/PKG_ADD mv general/PKG_ADD-t
> general/PKG_ADD mv statistics/distributions/PKG_ADD-t
> statistics/distributions/PKG_ADD libtool: link: g++ -O2 -g -pipe -Wall
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom
> -fasynchronous-unwind-tables -DHAVE_CONFIG_H -mieee-fp -Wall -W
> -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings
> -Wcast-align -Wcast-qual -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
> -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32
> -march=i686 -mtune=atom -fasynchronous-unwind-tables -pthread -O2 -g
> -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom
> -fasynchronous-unwind-tables -Wl,-z -Wl,relro -o gethelp gethelp.o  -lm
> -pthread gethelp.o: file not recognized: File truncated collect2:
> error: ld returned 1 exit status
>
>
> Looks like gethelp is not properly dependent on gethelp.o.
Can you provide more detail on this?

First, what flags are altered when you do an SMP build versus a non-SMP build?

Second, are you doing a form of cross-compiling such as compiling for a SMP
machine on a non-SMP machine?

Third, are you executing a parallel make?  If so, does 'make -j1' work
correctly?

Fourth, what versions of the autotools suite are you using (autoconf,
automake)?

The current rule for gethelp is rather simple and is written in Makefile.am
in TOPLEVEL/scripts.  It is mostly autotools that is expanding and creating
the necessary compilation lines so the issue might really be there rather
than with Octave.

Cheers,
Rik




reply via email to

[Prev in Thread] Current Thread [Next in Thread]