[Libreoffice-bugs] [Bug 142583] 7.1.3.2: configiure fails on gcc visibility options checks

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Jul 20 12:29:56 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=142583

--- Comment #5 from Stephan Bergmann <sbergman at redhat.com> ---
(In reply to Tomasz Kłoczko from comment #4)
> OK so what exactly you want to to provide?

Look into configure.ac (search for "has a visibility bug with class-level
attributes (GCC bug 26905)"), it constructs a visibility.cxx there with content

  #pragma GCC visibility push(hidden)
  struct __attribute__ ((visibility ("default"))) TestStruct {
    static void Init();
  };
  __attribute__ ((visibility ("default"))) void TestFunc() {
    TestStruct::Init();
  }

and command line how to invoke it,

  $CXX $CXXFLAGS $CPPFLAGS -fpic -S visibility.cxx

(e.g., prepend echo to easily see what the variables expand to).  What you need
to provide here is the expanded command line (which you must then manually
invoke), any stdout/-err output from the invocation, the invocation's exit code
(i.e., success or failure), and the content of the resulting visibility.s (if
any).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210720/fc03305c/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list