Re: math/sage error log message

2014-05-14 Thread Montgomery-Smith, Stephen
On 05/14/2014 02:36 PM, Bruce wrote:
> At this time I get the same error at the same place.  I have had sage on
> this computer before freebsd-9.2 and haven't been able to build it
> since.  Every time I notice a change in the sage port I try again.  I
> have tried about 4 times in the last week.  Before the last Makefile
> change in the port it got a lot farther and the error was during the
> building of the html documentation.
> I have tried MAKE_JOBS_UNSAFE and it gets farther.
> 
> I am using a Shuttle xpc with amd 64 and freebsd-9.2
> 
> uname -a FreeBSD 192.168.1.4 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898:
> Thu Sep 26 22:50:31 UTC 2013
> r...@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
> 
> Thanks for your help.

All the recent changes to the Makefile have been essentially cosmetic.
THe only change that might be at work is that I removed the
"NO_STAGE=yes" line.  That might have introduced some environment
variables that created the crash.  But it seems very unlikely.

Did you upgrade FreeBSD or other ports in the mean time?  Or maybe you
are using an old and buggy gcc47?

I should add that no-one has been able to get sage to build if the base
compiler is clang.  So updating to FreeBSD-10 will only make things
worse.  I am still using FreeBSD-8.

When you run it with MAKE_JOBS_UNSAFE, what error does it stop with?
Ironically it may not be getting as far.  When MAKE_JOBS_UNSAFE is not
set, it tries to build the subpackages in parallel.  So if it breaks on
more than one package, it is a bit random which package will cause the
break.

However, if you got as far as building the documentation, then the build
of the sage binaries is complete.  And then you can use sage to your
hearts content and get the docs using google.

In the meantime, I am looking into getting sage 6.2 working.  But that
is also giving me many problems.

Also, when replying, try to make sure that you send it to
step...@freebsd.org.  If you send it to step...@missouri.edu, it will
not get separated from all the other email I get from the FreeBSD
project, and I might not see it.  You are free to send it to both of
these email addresses, but make sure the step...@freebsd.org email
address is included.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: math/sage error log message

2014-05-14 Thread Dimitry Andric
On 14 May 2014, at 02:17, Bruce  wrote:
> /bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
> -I../..  -I../.. -I. -I../../linbox -DDISABLE_COMMENTATOR -O2 -g -DNDEBUG 
> -U_LB_DEBUG -DDISABLE_COMMENTATOR 
> -I/usr/ports/math/sage/work/sage-6.1.1/local/include 
> -I/usr/ports/math/sage/work/sage-6.1.1/local/include 
> -I/usr/ports/math/sage/work/sage-6.1.1/local/include 
> -I/usr/ports/math/sage/work/sage-6.1.1/local/include 
> -I/usr/ports/math/sage/work/sage-6.1.1/local/include -pipe 
> -Wl,-rpath=/usr/ports/math/sage/work/sage-6.1.1/local/lib 
> -Wl,-rpath=/usr/local/lib/gcc47 
> -Wl,-rpath=/usr/ports/math/sage/work/sage-6.1.1/local/lib 
> -Wl,-rpath=/usr/local/lib/gcc47 -g -fPIC -c -o linbox-sage.lo linbox-sage.C
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I. -I../../linbox 
> -DDISABLE_COMMENTATOR -O2 -g -DNDEBUG -U_LB_DEBUG -DDISABLE_COMMENTATOR 
> -I/usr/ports/math/sage/work/sage-6.1.1/local/include 
> -I/usr/ports/math/sage/work/sage-6.1.1/local/include 
> -I/usr/ports/math/sage/work/sage-6.1.1/local/include 
> -I/usr/ports/math/sage/work/sage-6.1.1/local/include 
> -I/usr/ports/math/sage/work/sage-6.1.1/local/include -pipe 
> -Wl,-rpath=/usr/ports/math/sage/work/sage-6.1.1/local/lib 
> -Wl,-rpath=/usr/local/lib/gcc47 
> -Wl,-rpath=/usr/ports/math/sage/work/sage-6.1.1/local/lib 
> -Wl,-rpath=/usr/local/lib/gcc47 -g -fPIC -c linbox-sage.C  -fPIC -DPIC -o 
> .libs/linbox-sage.o
> {standard input}: Assembler messages:
> {standard input}:669830: Warning: end of file not at end of a line; newline 
> inserted
> {standard input}:670930: Error: unknown pseudo-op: `.lvl719'
> {standard input}: Error: open CFI at the end of file; missing .cfi_endproc 
> directive
> g++47: internal compiler error: Killed: 9 (program cc1plus)

How much memory do you have in this machine?  Do you see any "pid XXX
was killed, out of swap space" messages in dmesg or syslog?

My first guess would be that gcc is running out of memory, dies, and
leaves a half-written assembly file.  That is why you get the complaint
from the assembler about an open CFI directive at the end of the file.

-Dimitry



signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: math/sage error log message

2014-05-14 Thread Bruce
At this time I get the same error at the same place.  I have had sage on 
this computer before freebsd-9.2 and haven't been able to build it 
since.  Every time I notice a change in the sage port I try again.  I 
have tried about 4 times in the last week.  Before the last Makefile 
change in the port it got a lot farther and the error was during the 
building of the html documentation.

I have tried MAKE_JOBS_UNSAFE and it gets farther.

I am using a Shuttle xpc with amd 64 and freebsd-9.2

uname -a FreeBSD 192.168.1.4 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: 
Thu Sep 26 22:50:31 UTC 2013 
r...@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64


Thanks for your help.

Montgomery-Smith, Stephen wrote:

On 05/13/2014 07:17 PM, Bruce wrote:


-Wl,-rpath=/usr/local/lib/gcc47 -g -fPIC -c linbox-sage.C  -fPIC -DPIC
-o .libs/linbox-sage.o
{standard input}: Assembler messages:
{standard input}:669830: Warning: end of file not at end of a line;
newline inserted
{standard input}:670930: Error: unknown pseudo-op: `.lvl719'
{standard input}: Error: open CFI at the end of file; missing
.cfi_endproc directive
g++47: internal compiler error: Killed: 9 (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
.

What a horrible error!  Do you get the error in the same place every
time you try to compile sage?

It might be a hardware error, or maybe the compiler is running out of
memory.  Did you try building it with MAKE_JOBS_UNSAFE set?  How many
cores do you have on your processor?
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"



___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: math/sage error log message

2014-05-13 Thread Montgomery-Smith, Stephen
On 05/13/2014 07:17 PM, Bruce wrote:

> -Wl,-rpath=/usr/local/lib/gcc47 -g -fPIC -c linbox-sage.C  -fPIC -DPIC
> -o .libs/linbox-sage.o
> {standard input}: Assembler messages:
> {standard input}:669830: Warning: end of file not at end of a line;
> newline inserted
> {standard input}:670930: Error: unknown pseudo-op: `.lvl719'
> {standard input}: Error: open CFI at the end of file; missing
> .cfi_endproc directive
> g++47: internal compiler error: Killed: 9 (program cc1plus)
> Please submit a full bug report,
> with preprocessed source if appropriate.
> .

What a horrible error!  Do you get the error in the same place every
time you try to compile sage?

It might be a hardware error, or maybe the compiler is running out of
memory.  Did you try building it with MAKE_JOBS_UNSAFE set?  How many
cores do you have on your processor?
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"