You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Igor Canadi
fd4eca73e7
fPIC in x64 environment
Summary:
Check https://github.com/facebook/rocksdb/pull/15 for context.
Apparently [1], we need -fPIC in x64 environments (this is added only in non-fbcode).
In fbcode, I removed -fPIC per @dhruba's suggestion, since it introduces perf regression. I'm not sure what would are the implications of doing that, but looks like it works, and when releasing to the third-party, we're disabling -fPIC either way [2].
Would love a suggestion from someone who knows more about this
[1] http://eli.thegreenplace.net/2011/11/11/position-independent-code-pic-in-shared-libraries-on-x64/
[2] https://our.intern.facebook.com/intern/wiki/index.php/Database/RocksDB/Third_Party
Test Plan: make check works
Reviewers: dhruba, emayanke, kailiu
Reviewed By: dhruba
CC: leveldb, dhruba, reconnect.grayhat
Differential Revision: https://reviews.facebook.net/D14337
|
11 years ago |
.. |
build_detect_platform
|
fPIC in x64 environment
|
11 years ago |
build_detect_version
|
fix issue #11
|
11 years ago |
fbcode.clang31.sh
|
Remove libevent
|
11 years ago |
fbcode.gcc471.sh
|
We should compile with -fPIC on non-fbcode environments also
|
11 years ago |
fbcode.gcc481.sh
|
We should compile with -fPIC on non-fbcode environments also
|
11 years ago |
mac-install-gflags.sh
|
make util/env_posix.cc work under mac
|
11 years ago |
regression_build_test.sh
|
Memtable regression test
|
11 years ago |
valgrind_test.sh
|
Clean up the Makefile and the build scripts
|
11 years ago |