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

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

[Octave-bug-tracker] [bug #58900] Name collisions with "make check" with


From: anonymous
Subject: [Octave-bug-tracker] [bug #58900] Name collisions with "make check" with g++ but not clang
Date: Tue, 4 Aug 2020 18:07:35 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:79.0) Gecko/20100101 Firefox/79.0

URL:
  <https://savannah.gnu.org/bugs/?58900>

                 Summary: Name collisions with "make check" with g++ but not
clang
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Tue 04 Aug 2020 10:07:33 PM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error or Warning
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: GNU/Linux

    _______________________________________________________

Details:

This is with the dev version, hg id 652a675c0916. I maintain three parallel
build trees, one for g++ with compiler optimizations, one for g++ with debug
flags, and one for clang with optimizations. The optimized g++ version is
installed system-wide. Whatever packages are installed are also installed
system-wide.

Running "make check" on all trees gives generally similar results except for
name collisions on the two g++ versions that don't present themselves in
clang:


>>>>> processing
/home/username/src/octave/build/libinterp/octave-value/ov-fcn-inline.cc-tst
***** error <STR argument must be a string> inline (1)
!!!!! error failed.
Expected <STR argument must be a string>, but got <inline: EXPR must be a
string>

***** error <FUN must be an inline function> formula (1)
!!!!! error failed.
Expected <FUN must be an inline function>, but got <'formula' undefined near
line 2, column 2

The 'formula' function belongs to the symbolic package from Octave Forge
which you have installed but not loaded.  To load the package, run 'pkg
load symbolic' from the Octave prompt.

Please read <https://www.octave.org/missing.html> to learn how you can
contribute missing functionality.>

***** error <FUN must be an inline function> argnames (1)
!!!!! error failed.
Expected <FUN must be an inline function>, but got <'argnames' undefined near
line 2, column 2

The 'argnames' function belongs to the symbolic package from Octave
Forge which you have installed but not loaded.  To load the package, run
'pkg load symbolic' from the Octave prompt.

Please read <https://www.octave.org/missing.html> to learn how you can
contribute missing functionality.>

***** error <FUN must be a string or inline function> vectorize (1)
!!!!! error failed.
Expected <FUN must be a string or inline function>, but got <vectorize: FUN
must be a string or anonymous function handle>


There are two possible bugs here. One is whether formula() and argnames()
should have the symbolic Forge package loaded or whether the function names
are unrelated to the symbolic package. The other is why g++ traps the errors
and clang does not.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58900>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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