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

fix shared libary compile on ppc #3619

Closed
wants to merge 1 commit into from
Closed

Conversation

zhsj
Copy link
Contributor

@zhsj zhsj commented Mar 16, 2018

shared-ppc-objects is missed in $(SHARED4) target

shared-ppc-objects is missed in $(SHARED4) target
@facebook-github-bot
Copy link
Contributor

@zhsj has updated the pull request.

1 similar comment
@facebook-github-bot
Copy link
Contributor

@zhsj has updated the pull request.

@ajkr
Copy link
Contributor

ajkr commented Mar 16, 2018

@sagar0 does our CI testing cover this?

@zhsj
Copy link
Contributor Author

zhsj commented Mar 20, 2018

ping?

The shared lib can be built on ppc64le without this patch. However when you try to link it against applications,

$ g++ simple_example.cc -lrocksdb
/usr/lib/gcc/powerpc64le-linux-gnu/7/../../../../lib/librocksdb.so: undefined reference to `crc32c_ppc'
collect2: error: ld returned 1 exit status

Does the CI tests linking the shared library?

@sagar0 sagar0 self-assigned this Mar 20, 2018
Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ajkr is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ajkr has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ajkr is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants