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

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

[Octave-bug-tracker] [bug #51530] fsanitize=undefined errors


From: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #51530] fsanitize=undefined errors
Date: Fri, 21 Jul 2017 15:41:51 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0

Follow-up Comment #1, bug #51530 (project octave):

My "verbatim"s got messed up.
Trying again:

HG ID for this build is "cda0614beaec"


configure --disable-docs --without-qt --without-fltk CFLAGS="-O0
-fsanitize=undefined" CXXFLAGS="-O0 -fsanitize=undefined"


running "make check" results in two runtime errors:


<...>
 gcc_ubsan/liboctave/util/oct-inttypes.cc-tst
................../liboctave/util/oct-inttypes.cc:431:40: runtime error:
negation of -9223372036854775808 cannot be represented in type 'long int';
cast to an unsigned type to negate this value to itself
 PASS     28/28
<...>
Fixed test scripts:

  bc-overloads.tst ............................................ PASS   
451/451 
  conv.tst .................................................... PASS   
405/405 
  sparse.tst
..................................................../libinterp/corefcn/ls-mat5.cc:492:11:
runtime error: load of misaligned address 0x7f86637b5257 for type 'const
int16_t', which requires 2 byte alignment
0x7f86637b5257: note: pointer points here
 68 2e 68 00 00  01 00 00 00 00 00 00 00  6c 6f 61 64 3a 20 65 72  72 6f 72 20
70 72 6f 62  69 6e 67
             ^ 
 PASS   1204/1204
<...>


Dmitri.
-- 


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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