[Bug 1897371] Re: don't ship libgc with -Wl,-Bsymbolic-functions
Nathan Lee
1897371 at bugs.launchpad.net
Thu Jun 30 16:51:39 UTC 2022
I'm not sure if we want to risk backporting the fix, but attaching a
diff that is a cherry-pick from the fix itself (see Ivan's comment).
There was a merge conflict where the HOST_ANDROID logic had not been
removed in v7.6.4 yet. Digging the git logs, it was removed in
https://github.com/ivmai/bdwgc/commit/7744b5d5dba1bd13abe6ebca258c335ec557f3f6,
which points to https://github.com/ivmai/bdwgc/issues/259.
I'm not sure if it is desired to leave in the HOST_ANDROID logic for
that particular use case. If this affects ubuntu packages, we can use a
patch were this logic is only applied if HOST_ANDROID is not defined
(but I suppose this means the patch won't help for users of libgc built
with HOST_ANDROID).
-----
I came back to this because we have had a couple reports that the
ppa:inkscape.dev/stable experiences the issue outside of WSL
(https://gitlab.com/inkscape/inkscape/-/issues/1637#note_1010909501),
though I'm not able to replicate it myself.
** Bug watch added: github.com/ivmai/bdwgc/issues #259
https://github.com/ivmai/bdwgc/issues/259
** Bug watch added: gitlab.com/inkscape/inkscape/-/issues #1637
https://gitlab.com/inkscape/inkscape/-/issues/1637
** Patch added: "__data_start-_end-pair.diff"
https://bugs.launchpad.net/ubuntu/+source/libgc/+bug/1897371/+attachment/5600710/+files/__data_start-_end-pair.diff
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to libgc in Ubuntu.
https://bugs.launchpad.net/bugs/1897371
Title:
don't ship libgc with -Wl,-Bsymbolic-functions
Status in libgc package in Ubuntu:
New
Bug description:
This option leads to various issues, see the upstream discussion on
https://github.com/ivmai/bdwgc/issues/321
Steps to reproduction are given there.
We ran into it in Sagemath, see https://trac.sagemath.org/ticket/30629
Basically, ecl built with this libgc on WSL is broken.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libgc/+bug/1897371/+subscriptions
More information about the foundations-bugs
mailing list