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

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

[Octave-bug-tracker] [bug #59820] build fails on macOS with visibility s


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #59820] build fails on macOS with visibility settings
Date: Sat, 18 Dec 2021 04:29:23 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36 Edg/96.0.1054.57

Update of bug #59820 (project octave):

                  Status:               Need Info => In Progress            

    _______________________________________________________

Follow-up Comment #64:

I pushed a patch here that moves the forward declaration of many matrix
classes to their own forward declaration header:
https://hg.savannah.gnu.org/hgweb/octave/rev/6f07492c9c20

That brings the related warnings on the macOS runner down to two:

ld: warning: direct access in function
'octave::math::sparse_lu<SparseComplexMatrix>::~sparse_lu()' from file
'liboctave/array/.libs/libarray.a(libarray_la-CSparse.o)' to global weak
symbol 'vtable for octave::math::sparse_lu<SparseComplexMatrix>' from file
'liboctave/numeric/.libs/libnumeric.a(libnumeric_la-sparse-lu.o)' means the
weak symbol cannot be overridden at runtime. This was likely caused by
different translation units being compiled with different visibility
settings.
ld: warning: direct access in function
'octave::math::sparse_lu<SparseMatrix>::~sparse_lu()' from file
'liboctave/array/.libs/libarray.a(libarray_la-dSparse.o)' to global weak
symbol 'vtable for octave::math::sparse_lu<SparseMatrix>' from file
'liboctave/numeric/.libs/libnumeric.a(libnumeric_la-sparse-lu.o)' means the
weak symbol cannot be overridden at runtime. This was likely caused by
different translation units being compiled with different visibility
settings.


Still no change to the index vector related test failures though.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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