don't ship libgc with -Wl,-Bsymbolic-functions

Bug #1897371 reported by Dima Pasechnik
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libgc (Ubuntu)
New
Undecided
Unassigned

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.

Tags: patch
Dima Pasechnik (dimpase)
description: updated
Revision history for this message
Ivan Maidanski (ivmai) wrote :
Revision history for this message
Nathan Lee (nathan.lee) wrote :

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.

Revision history for this message
Nathan Lee (nathan.lee) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "__data_start-_end-pair.diff" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
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.