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

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

[Octave-bug-tracker] [bug #61472] AddressSanitizer crash in MEX tests


From: Arun Giridhar
Subject: [Octave-bug-tracker] [bug #61472] AddressSanitizer crash in MEX tests
Date: Sat, 4 Dec 2021 14:25:30 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0

Follow-up Comment #13, bug #61472 (project octave):

With the two patches, I am getting build errors like the following:


  CXXLD    src/octave-cli
  CXXLD    src/octave-gui
/usr/bin/ld: libinterp/.libs/liboctinterp.so: undefined reference to
`Array<octave_int<unsigned short>,
std::pmr::polymorphic_allocator<octave_int<unsigned short> > >::column(long)
const'
/usr/bin/ld: libinterp/.libs/liboctinterp.so: undefined reference to
`Array<octave_int<long>, std::pmr::polymorphic_allocator<octave_int<long> >
>::checkelem(Array<long, std::pmr::polymorphic_allocator<long> > const&)
const'
/usr/bin/ld: libinterp/.libs/liboctinterp.so: undefined reference to
`Array<octave_int<unsigned int>,
std::pmr::polymorphic_allocator<octave_int<unsigned int> > >::nnz() const'


I think it's trying to compile with C++11 instead of C++17. Does it pick up
automatically or does it need to be forced via CXXFLAGS?

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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