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

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

[Octave-patch-tracker] [patch #8919] Start of patch to enable visibility


From: Rik
Subject: [Octave-patch-tracker] [patch #8919] Start of patch to enable visibility attributes for GCC in build system
Date: Wed, 6 Jan 2021 17:27:43 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36

Follow-up Comment #29, patch #8919 (project octave):

I'm getting an error during final linking that is probably related to the
visibility changes.  The error is


libinterp/.libs/liboctinterp.so: undefined reference to
`Array<idx_vector>::operator()(long) const'


This happens when I use compilation flags "-O0 -pipe".  It disappears if I use
an optimization level of 1 or 2.  Perhaps this is a g++ bug as well.  My
version is "g++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0".

It's annoying because the flags that I typically run for debugging are "-ggdb3
-O0 -pipe" because I find that the optimization makes it harder to walk
through code in gdb.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/patch/?8919>

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




reply via email to

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