Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake: do not pass -B{symbolic,symbolic-functions} to linker on FreeBSD #24920

Merged
merged 1 commit into from
Nov 6, 2018

Conversation

wjwithagen
Copy link
Contributor

When using the -Wl flags, this will result in a crashing ceph-mon
on FreeBSD. very likely because the FreeBSD linker is no longer the
GNU linker.

This also needs to be backported to mimic.

  • References tracker ticket
  • Updates documentation if necessary
  • Includes tests for new functionality or reproducer for bug

@wjwithagen wjwithagen added bug-fix build/ops backport FreeBSD Modifications specific for (only) FreeBSD labels Nov 4, 2018
@tchaikov tchaikov changed the title build: FreeBSD does not need symbolic link fixing cmake: do not pass -B{symbolic,symbolic-functions} to linker on FreeBSD Nov 5, 2018
@tchaikov
Copy link
Contributor

tchaikov commented Nov 5, 2018

@wjwithagen the fix is not related to symbolic link. it's more about symbol resolution. so i updated the title of this PR accordingly. could you update your the title of your commit also?

see also https://sourceware.org/binutils/docs-2.16/ld/Options.html#Options

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
@wjwithagen
Copy link
Contributor Author

@tchaikov
amended the commit

@tchaikov tchaikov merged commit f6cc40a into ceph:master Nov 6, 2018
@wjwithagen
Copy link
Contributor Author

@tchaikov
I think this also needs to go down in releases as far as Mimic.
How can I do that?

@tchaikov
Copy link
Contributor

tchaikov commented Nov 6, 2018

@wjwithagen probably you could go ahead and just file a PR cherry-picking this change ? but i guess a better way would be to file a tracker ticket for this issue. what do you think?

@wjwithagen
Copy link
Contributor Author

@tchaikov
cherry-picking is a new one for me.
But I'll try and make a tracker ticket first.

@wjwithagen
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-fix build/ops FreeBSD Modifications specific for (only) FreeBSD
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants