Skip to content

RTLD_DEEPBIND removal#2347

Merged
Ignition merged 2 commits intomasterfrom
rtld_deepbind_removal
Sep 26, 2024
Merged

RTLD_DEEPBIND removal#2347
Ignition merged 2 commits intomasterfrom
rtld_deepbind_removal

Conversation

@Ignition
Copy link
Contributor

@Ignition Ignition commented Sep 24, 2024

In the past we had issues with RTLD_DEEPBIND.
Some issues made a query module work because of RTLD_DEEPBIND, others would break because of RTLD_DEEPBIND.

Advice is to remove RTLD_DEEPBIND and make most global symbols hidden.

My belief is that most of the issues we were having were solved by the update to toolchain-v5 which used a newer libstdc++. I'm currently unable to reproduce the issue, so removing RTLD_DEEPBIND is a first step. Fixing symbol hiding will be done in a later PR.

@Ignition
Copy link
Contributor Author

Ignition commented Sep 24, 2024

Tracking

Standard development

CI Testing Labels

  • Select the appropriate CI test labels (CI -build=build-name -test=test-suite)

Documentation checklist

  • Add the documentation label
  • Add the bug / feature label
  • Add the milestone for which this feature is intended
    • If not known, set for a later milestone
  • Write a release note, including added/changed clauses
    • [ Release note text ]
  • [ Documentation PR link memgraph/documentation#XXXX ]
    • Is back linked to this development PR
  • [ Tag someone from docs team ]

@Ignition Ignition added this to the mg-v2.21.0 milestone Sep 24, 2024
@Ignition Ignition self-assigned this Sep 24, 2024
@Ignition Ignition added Docs - changelog only Docs - changelog only bug bug labels Sep 24, 2024
@Ignition Ignition requested review from as51340 and gitbuda September 24, 2024 09:46
@Ignition Ignition marked this pull request as ready for review September 24, 2024 09:54
@Ignition Ignition force-pushed the rtld_deepbind_removal branch from 6aea680 to 0d92e2c Compare September 24, 2024 09:54
@as51340
Copy link
Contributor

as51340 commented Sep 24, 2024

maybe it would be good to run test release workflows on each OS since there could be some differences

@Ignition Ignition added this pull request to the merge queue Sep 26, 2024
@Ignition Ignition removed this pull request from the merge queue due to a manual request Sep 26, 2024
@Ignition Ignition added this pull request to the merge queue Sep 26, 2024
@Ignition Ignition removed this pull request from the merge queue due to a manual request Sep 26, 2024
@Ignition Ignition force-pushed the rtld_deepbind_removal branch from 0d92e2c to 055c1cb Compare September 26, 2024 15:43
@Ignition Ignition enabled auto-merge September 26, 2024 15:43
@Ignition Ignition added this pull request to the merge queue Sep 26, 2024
@sonarqubecloud
Copy link

Merged via the queue into master with commit 45e8aa3 Sep 26, 2024
@Ignition Ignition deleted the rtld_deepbind_removal branch September 26, 2024 17:35
as51340 pushed a commit that referenced this pull request Oct 24, 2025
In the past we had issues with RTLD_DEEPBIND.
Some issues made a query module work because of RTLD_DEEPBIND, others
would break because of RTLD_DEEPBIND.

Advice is to remove RTLD_DEEPBIND and make most global symbols hidden. 

My belief is that most of the issues we were having were solved by the
update to toolchain-v5 which used a newer libstdc++. I'm currently
unable to reproduce the issue, so removing RTLD_DEEPBIND is a first
step. Fixing symbol hiding will be done in a later PR.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug bug Docs - changelog only Docs - changelog only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants