octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #38175] 3.6.4rc1 doesn't build with gfortran f


From: John Marino
Subject: [Octave-bug-tracker] [bug #38175] 3.6.4rc1 doesn't build with gfortran from gcc 4.7, script never exits after segfault
Date: Sun, 27 Jan 2013 10:56:07 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.52 Safari/537.17

URL:
  <http://savannah.gnu.org/bugs/?38175>

                 Summary: 3.6.4rc1 doesn't build with gfortran from gcc 4.7,
script never exits after segfault 
                 Project: GNU Octave
            Submitted by: jrmarino
            Submitted on: Sun 27 Jan 2013 10:56:06 AM GMT
                Category: Configuration and Build System
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Build Failure
                  Status: None
             Assigned to: None
         Originator Name: John Marino
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: *BSD

    _______________________________________________________

Details:

For several months, I've tried building octave with fortran from gcc 4.7.  It
always segfaults during the build.  I had hoped that 3.6.4rc1 would finally
address this, but it does not.

Before 3.6.4 is released, please fix it for the current gcc.

The second issue is that the build script hangs if run-octave segfaults.  On
both pkgsrc and FreeBSD ports, the build will never exit because whatever
calls run-octave never figures out that run-octave panicked.  Perhaps some
kind of exit code could be added to the "stopping myself" routine so that
scripts can gracefully exit.

As you can see from the build log excerpt below, the script had to forcibly
called after the panic.

=====================================


rm -rf $backupdir; exit $rc
../../run-octave -f -q -H ./mk_doc_cache.m doc-cache ../../scripts/DOCSTRINGS
../../src/DOCSTRINGS || { rm -f doc-cache; exit 1; }
warning: X11 DISPLAY environment variable not set
panic: Segmentation fault: 11 -- stopping myself...
attempting to save variables to 'octave-core'...
attempting to save variables to 'octave-core'...
Killed
gmake[3]: *** [doc-cache] Error 1
gmake[3]: Leaving directory
`/wrkdirs/math/octave/work/octave-3.6.4-rc1/doc/interpreter'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/wrkdirs/math/octave/work/octave-3.6.4-rc1/doc'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/wrkdirs/math/octave/work/octave-3.6.4-rc1'
gmake: *** [all] Error 2
*** Error code 1




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?38175>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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