Skip to content

Fix hidden symbols on GCC - #239

Open
Flamefire wants to merge 1 commit into
pybind:mainfrom
Flamefire:patch-1
Open

Fix hidden symbols on GCC#239
Flamefire wants to merge 1 commit into
pybind:mainfrom
Flamefire:patch-1

Conversation

@Flamefire

@Flamefire Flamefire commented Aug 31, 2026

Copy link
Copy Markdown

The pybind11 namespace is declared with hidden visibility, and GCC propagates type visibility to declarations that use pybind11 types. Without this, the definitions in proto_cast_util.cc would be hidden and unavailable to other shared objects.

Force default visibility.

See tensorflow/tensorflow#103033

The pybind11 namespace is declared with hidden visibility, and GCC propagates type visibility to declarations that use pybind11 types.
Without this, the definitions in proto_cast_util.cc would be hidden and unavailable to other shared objects.

Force default visibility.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant