Skip to content

31.0: protoc linking fails due to missing upb_AllExts symbols #21755

@mtelka

Description

@mtelka

What version of protobuf and what language are you using?
Version: 31.0
Language: N/A

What operating system (Linux, Windows, ...) and version?
OpenIndiana Hipster

What runtime / compiler are you using (e.g., python version or gcc version)
GCC 14

What did you do?
I'm trying to compile protobuf 31.0 on OpenIndiana.

What did you expect to see
The compilation complete successfully (as it did with versions 24.4, 29.3, 30.1, 30.2).

What did you see instead?

[ 50%] Linking CXX executable protoc
Undefined                       first referenced
 symbol                             in file
__stop_linkarr_upb_AllExts          libprotoc.so.31.0.0  (symbol scope specifies local binding)
__start_linkarr_upb_AllExts         libprotoc.so.31.0.0  (symbol scope specifies local binding)
ld: fatal: symbol referencing errors. No output written to protoc-31.0.0
collect2: error: ld returned 1 exit status

Anything else we should know about your project / environment
This is with native illumos (Solaris) linker, not GNU ld.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions