rake test fails with GCC 4.7 #189

voxik opened this Issue Feb 2, 2012 · 1 comment


None yet
1 participant

voxik commented Feb 2, 2012

Using GCC 4.7, I got following error running the test suite:

cc -m64 -o build/libtest.so -shared -mimpure-text -Wl,-O1 -Wl,-soname,libtest.so  build/libtest/BoolTest.o  build/libtest/ClosureTest.o  build/libtest/Benchmark.o  build/libtest/ReferenceTest.o  build/libtest/GlobalVariable.o  build/libtest/PointerTest.o  build/libtest/FunctionTest.o  build/libtest/EnumTest.o  build/libtest/VariadicTest.o  build/libtest/LastErrorTest.o  build/libtest/BufferTest.o  build/libtest/StringTest.o  build/libtest/NumberTest.o  build/libtest/UnionTest.o  build/libtest/StructTest.o -lm
cc: error: unrecognized command line option '-mimpure-text'

It runs fine if I remove the '-mimpure-text' parameter:

sed -i -e 's| -mimpure-text||' libtest/GNUmakefile

ghost pushed a commit that referenced this issue Feb 2, 2012


ghost commented Feb 2, 2012

Should be fixed now. Thanks!

@ghost ghost closed this Feb 2, 2012

This issue was closed.

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