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

 
 

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

Submitted by:  Stefan Husmann <haawda>
Submitted on:  Thu 26 May 2016 05:24:13 AM UTC  
 
Category: Configuration and Build SystemSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build Failure
Status: DuplicateAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project Administrator
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 File(s):
   
   
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
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by haawda (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 26 May 2016 06:16:58 AM UTCmtmillerDependencies-=>Depends on bugs #47073
    Thu 26 May 2016 06:16:43 AM UTCmtmillerStatusNone=>Duplicate
      Open/ClosedOpen=>Closed
    Thu 26 May 2016 05:24:13 AM UTChaawdaAttached File-=>Added makepkg.log, #37270

    Back to the top


    Powered by Savane 3.1-cleanup1