Segfault when library is linked using "-Bsymbolic-functions"

Bug #1748586 reported by Michael Biebl
This bug report is a duplicate of:  Bug #1727528: Linking against libgrpc.so fails. Edit Remove
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
grpc (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

https://github.com/grpc/grpc/issues/11195

The grpc library is broken as it has been compiled with "-Bsymbolic-functions". This makes the library unusuable.
-Wl,-Bsymbolic-functions should be stripped from LD_FLAGS when building on Ubuntu.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in grpc (Ubuntu):
status: New → Confirmed
Revision history for this message
Kohei Takahashi (flast) wrote :

I commented about resolution last year.

> Because `libgrpc++.so` contains some C implementation what also exists in `libgrpc.so`, so some C functions (and static variable, e.g. `g_event_engine`) are duplicated. Some of calls go to `libgrpc.so` and others go to `libgrpc++.so`, and refers uninitialized variables.
>
> To resolve this, remove all C files from `LIBGRPC++_*_SRC` in Makefile.

https://github.com/grpc/grpc/issues/11195#issuecomment-438897402

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.