[Fuego] [PATCH 2/4] bonnie: use static linking

Daniel Sangorrin daniel.sangorrin at toshiba.co.jp
Wed Mar 28 08:31:59 UTC 2018


I already found problems running the test on newer file systems
because the runtime C++ library was mis-matching so make it
link static. ./configure doesn't seem to have an option
for that so I dig into the Makefile and found this LFLAGS,
which looks like an errata of LDFLAGS, and used it to
add the -static flag.

Signed-off-by: Daniel Sangorrin <daniel.sangorrin at toshiba.co.jp>
---
 engine/tests/Benchmark.bonnie/fuego_test.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/engine/tests/Benchmark.bonnie/fuego_test.sh b/engine/tests/Benchmark.bonnie/fuego_test.sh
index b96807c..4831de9 100755
--- a/engine/tests/Benchmark.bonnie/fuego_test.sh
+++ b/engine/tests/Benchmark.bonnie/fuego_test.sh
@@ -9,7 +9,7 @@ function test_pre_check {
 
 function test_build {
     ./configure --host=$HOST --build=`uname -m`-linux-gnu;
-    make
+    LFLAGS="-static" make
 }
 
 function test_deploy {
-- 
2.7.4




More information about the Fuego mailing list