public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/105397] New: Cannot export module initializer symbols with `-fvisibility=hidden`
@ 2022-04-26 17:46 bugzilla.gcc at me dot benboeckel.net
  2022-06-09 13:47 ` [Bug c++/105397] " redbeard0531 at gmail dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugzilla.gcc at me dot benboeckel.net @ 2022-04-26 17:46 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105397

            Bug ID: 105397
           Summary: Cannot export module initializer symbols with
                    `-fvisibility=hidden`
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bugzilla.gcc at me dot benboeckel.net
  Target Milestone: ---

There is no way to decorate an `export module X;` with an
`__attribute__((visibility("default")))` such that it ends up visible in the
resulting shared library if `-fvisibility=hidden` is passed. I also tried
linker scripts with no luck.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-12-21 11:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-26 17:46 [Bug c++/105397] New: Cannot export module initializer symbols with `-fvisibility=hidden` bugzilla.gcc at me dot benboeckel.net
2022-06-09 13:47 ` [Bug c++/105397] " redbeard0531 at gmail dot com
2022-12-08 20:43 ` [Bug c++/105397] C++ modules vs -fvisibility option bugzilla.gcc at me dot benboeckel.net
2022-12-21 11:32 ` iains at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).