On Sat, Apr 11, 2020 at 06:14:07PM +0200, László Böszörményi wrote:
> On Mon, Apr 6, 2020 at 2:02 PM Pirate Praveen <prav...@onenetbeyond.org> 
> wrote:
> > This patch makes the build successful.
> >
> > https://salsa.debian.org/debian/grpc/-/blob/buster-backports/debian/patches/no-link-upb.patch
>  I still would be interested why it links with upb in your backport
> when in Sid it doesn't. Something is way different there.
>...

The difference is that the toolchain in sid defaults to as-needed,
but the toolchain in buster does not.

Which matters since this linking with libupb.so unnecessary
(all actual usage seems to be with libupb.a).

I need only the following change (which is a nop in sid)
for building otherwise unmodified 1.26.0-3 in buster:
-#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

> Regards,
> Laszlo/GCS

cu
Adrian

Reply via email to