bugGNU Octave - Bugs: bug #48019, undefined "floorf" and...

 
 

bug #48019: undefined "floorf" and "signbit"

Submitter:  Stefan Husmann <haawda>
Submitted:  Thu 26 May 2016 05:24:13 AM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Duplicate Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 26 May 2016 06:16:43 AM UTC, comment #1: 

Thanks for your bug report. The error is not quite the same, but I think it's essentially the same issue, which is Octave doesn't compile with gcc 6 currently.

Closing as a duplicate. Please contribute any ideas or patches on bug #47073.

Mike Miller <mtmiller>
Group Member
Thu 26 May 2016 05:24:13 AM UTC, original submission:  

Under Arch Linux, 64 bit, GCC 6.1.1, I get (full og attached):

  CXX      libinterp/octave-value/libinterp_octave_value_liboctave_value_la-ov-fcn.lo
  CXX      libinterp/octave-value/libinterp_octave_value_liboctave_value_la-ov-float.lo
../libinterp/octave-value/ov-float.cc:324:29: error: no member named 'floorf' in namespace 'gnulib'; did you mean simply 'floorf'?
      SCALAR_MAPPER (floor, gnulib::floorf);
                            ^~~~~~~~~~~~~~
                            floorf
../libinterp/octave-value/ov-float.cc:297:28: note: expanded from macro 'SCALAR_MAPPER'
      return octave_value (FCN (scalar))
                           ^~~
/usr/include/bits/mathcalls.h:184:1: note: 'floorf' declared here
_MATHCALLX (floor,, (_Mdouble __x), (_const_));
^
/usr/include/math.h:71:3: note: expanded from macro '__MATHCALLX'
  _MATHDECLX (_Mdouble,function,suffix, args, attrib)
  ^
/usr/include/math.h:73:3: note: expanded from macro '__MATHDECLX'
  _MATHDECL_1(type, function,suffix, args) __attribute_ (attrib); \
  ^
/usr/include/math.h:76:15: note: expanded from macro '__MATHDECL_1'
  extern type __MATH_PRECNAME(function,suffix) args __THROW
              ^
/usr/include/math.h:100:34: note: expanded from macro '__MATH_PRECNAME'
# define __MATH_PRECNAME(name,r) name##f##r
                                 ^
<scratch space>:183:1: note: expanded from here
floorf
^
In file included from ../libinterp/octave-value/ov-float.cc:29:
In file included from ../liboctave/util/data-conv.h:31:
In file included from ../liboctave/util/oct-inttypes.h:36:
../liboctave/numeric/lo-mappers.h:347:10: error: use of undeclared identifier 'signbit'
  return signbit (x);
         ^
../libinterp/octave-value/ov-float.cc:341:32: note: in instantiation of function template specialization 'xsignbit<float>' requested here
      SCALAR_MAPPER (xsignbit, xsignbit);
                               ^
2 errors generated.
Makefile:18774: recipe for target 'libinterp/octave-value/libinterp_octave_value_liboctave_value_la-ov-float.lo' failed
make[2]: * [libinterp/octave-value/libinterp_octave_value_liboctave_value_la-ov-float.lo] Error 1
make[2]: Leaving directory '/home/haawda/paketierung/meine_Pakete/octave-hg/src/octave-local/build'
Makefile:25384: recipe for target 'all-recursive' failed
make[1]: * [all-recursive] Error 1
make[1]: Leaving directory '/home/haawda/paketierung/meine_Pakete/octave-hg/src/octave-local/build'
Makefile:9645: recipe for target 'all' failed

Stefan Husmann <haawda>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #37270:  makepkg.log added by haawda (164KiB - text/x-log)

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by haawda (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-05-26 mtmiller Dependencies- Depends on bugs #47073
    2016-05-26 mtmiller StatusNone Duplicate
        Open/ClosedOpen Closed
    2016-05-26 haawda Attached File- Added makepkg.log, #37270

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code