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

bluestore: fixed compilation error when enable spdk with gcc 4.8.5 #16945

Merged
merged 1 commit into from Aug 10, 2017
Merged

bluestore: fixed compilation error when enable spdk with gcc 4.8.5 #16945

merged 1 commit into from Aug 10, 2017

Conversation

liupan1111
Copy link
Contributor

@liupan1111 liupan1111 commented Aug 9, 2017

The change is induced by my commit #12672.

At that time, "add_compile_options" is needed to fix compile error.
But since we've updated spdk to 17.07 and related spdk/dpdk.git, add_compile_options is no longer needed.

If we leave it in CMakelists.txt, "add_compile_options" can not be identified by low gcc version, and the developer has to upgrade gcc to 6.X.X.

By this reason, I revert this change.

Signed-off-by: Pan Liu wanjun.lp@alibaba-inc.com
Signed-off-by: Ziye Yang optimistyzy@gmail.com

Signed-off-by: Pan Liu <wanjun.lp@alibaba-inc.com>
Signed-off-by: Ziye Yang <optimistyzy@gmail.com>
@liupan1111 liupan1111 closed this Aug 9, 2017
@liupan1111 liupan1111 reopened this Aug 10, 2017
@liupan1111
Copy link
Contributor Author

@yuyuyu101 Please help take a look. It is no problem after local test.

@liupan1111
Copy link
Contributor Author

retest this please

@liupan1111
Copy link
Contributor Author

@yuyuyu101 The failure in "make check" is caused by Jenkins, not related to this change.

@yuyuyu101 yuyuyu101 merged commit 63de53e into ceph:master Aug 10, 2017
@liupan1111 liupan1111 deleted the wip-fix-spdk-compile branch August 10, 2017 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants