Created
November 16, 2016 21:41
-
-
Save matejaputic/50bdd259225d090245362d5076b2c5eb to your computer and use it in GitHub Desktop.
llvm-link-3.4 error: Invalid value
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/if21/mp3t/.local/bin/cmake -H/if21/mp3t/Projects/LLVM-Tracer -B/if21/mp3t/Projects/LLVM-Tracer/build --check-build-system CMakeFiles/Makefile.cmake 0 | |
/if21/mp3t/.local/bin/cmake -E cmake_progress_start /if21/mp3t/Projects/LLVM-Tracer/build/CMakeFiles /if21/mp3t/Projects/LLVM-Tracer/build/CMakeFiles/progress.marks | |
make -f CMakeFiles/Makefile2 all | |
make[1]: Entering directory `/net/if21/mp3t/Projects/LLVM-Tracer/build' | |
make -f full-trace/CMakeFiles/full_trace.dir/build.make full-trace/CMakeFiles/full_trace.dir/depend | |
make[2]: Entering directory `/net/if21/mp3t/Projects/LLVM-Tracer/build' | |
cd /if21/mp3t/Projects/LLVM-Tracer/build && /if21/mp3t/.local/bin/cmake -E cmake_depends "Unix Makefiles" /if21/mp3t/Projects/LLVM-Tracer /if21/mp3t/Projects/LLVM-Tracer/full-trace /if21/mp3t/Projects/LLVM-Tracer/build /if21/mp3t/Projects/LLVM-Tracer/build/full-trace /if21/mp3t/Projects/LLVM-Tracer/build/full-trace/CMakeFiles/full_trace.dir/DependInfo.cmake --color= | |
make[2]: Leaving directory `/net/if21/mp3t/Projects/LLVM-Tracer/build' | |
make -f full-trace/CMakeFiles/full_trace.dir/build.make full-trace/CMakeFiles/full_trace.dir/build | |
make[2]: Entering directory `/net/if21/mp3t/Projects/LLVM-Tracer/build' | |
[ 7%] Building CXX object full-trace/CMakeFiles/full_trace.dir/full_trace.cpp.o | |
cd /if21/mp3t/Projects/LLVM-Tracer/build/full-trace && /usr/bin/clang -DLLVM_VERSION=34 -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -Dfull_trace_EXPORTS -I/usr/lib/llvm-3.4/include -Wall -W -Wno-unused-parameter -Wwrite-strings -pedantic -Wno-long-long -std=c++11 -fno-rtti -O3 -fPIC -o CMakeFiles/full_trace.dir/full_trace.cpp.o -c /if21/mp3t/Projects/LLVM-Tracer/full-trace/full_trace.cpp | |
In file included from /if21/mp3t/Projects/LLVM-Tracer/full-trace/full_trace.cpp:18: | |
In file included from /if21/mp3t/Projects/LLVM-Tracer/full-trace/SlotTracker.h:31: | |
/usr/lib/llvm-3.4/include/llvm/Support/FormattedStream.h:133:16: warning: 'resetColor' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] | |
raw_ostream &resetColor() { | |
^ | |
/usr/lib/llvm-3.4/include/llvm/Support/raw_ostream.h:230:24: note: overridden virtual function is here | |
virtual raw_ostream &resetColor() { return *this; } | |
^ | |
In file included from /if21/mp3t/Projects/LLVM-Tracer/full-trace/full_trace.cpp:18: | |
In file included from /if21/mp3t/Projects/LLVM-Tracer/full-trace/SlotTracker.h:31: | |
/usr/lib/llvm-3.4/include/llvm/Support/FormattedStream.h:138:16: warning: 'reverseColor' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] | |
raw_ostream &reverseColor() { | |
^ | |
/usr/lib/llvm-3.4/include/llvm/Support/raw_ostream.h:230:24: note: overridden virtual function is here | |
virtual raw_ostream &resetColor() { return *this; } | |
^ | |
In file included from /if21/mp3t/Projects/LLVM-Tracer/full-trace/full_trace.cpp:18: | |
In file included from /if21/mp3t/Projects/LLVM-Tracer/full-trace/SlotTracker.h:31: | |
/usr/lib/llvm-3.4/include/llvm/Support/FormattedStream.h:138:16: warning: 'reverseColor' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] | |
raw_ostream &reverseColor() { | |
^ | |
/usr/lib/llvm-3.4/include/llvm/Support/raw_ostream.h:233:24: note: overridden virtual function is here | |
virtual raw_ostream &reverseColor() { return *this; } | |
^ | |
In file included from /if21/mp3t/Projects/LLVM-Tracer/full-trace/full_trace.cpp:18: | |
In file included from /if21/mp3t/Projects/LLVM-Tracer/full-trace/SlotTracker.h:31: | |
/usr/lib/llvm-3.4/include/llvm/Support/FormattedStream.h:143:16: warning: 'changeColor' overrides a member function but is not marked 'override' [-Winconsistent | |
-missing-override] | |
raw_ostream &changeColor(enum Colors Color, | |
^ | |
/usr/lib/llvm-3.4/include/llvm/Support/raw_ostream.h:219:24: note: overridden virtual function is here | |
virtual raw_ostream &changeColor(enum Colors Color, | |
^ | |
In file included from /if21/mp3t/Projects/LLVM-Tracer/full-trace/full_trace.cpp:18: | |
In file included from /if21/mp3t/Projects/LLVM-Tracer/full-trace/SlotTracker.h:31: | |
/usr/lib/llvm-3.4/include/llvm/Support/FormattedStream.h:150:8: warning: 'is_displayed' overrides a member function but is not marked 'override' [-Winconsistent | |
-missing-override] | |
bool is_displayed() const { | |
^ | |
/usr/lib/llvm-3.4/include/llvm/Support/raw_ostream.h:238:16: note: overridden virtual function is here | |
virtual bool is_displayed() const { return false; } | |
^ | |
In file included from /if21/mp3t/Projects/LLVM-Tracer/full-trace/full_trace.cpp: | |
19: | |
/if21/mp3t/Projects/LLVM-Tracer/full-trace/full_trace.h:25:18: warning: 'fullTra | |
ce::doInitialization' hides overloaded virtual function [-Woverloaded-virtual] | |
virtual bool doInitialization(Module &M); | |
^ | |
/usr/lib/llvm-3.4/include/llvm/Pass.h:337:16: note: hidden overloaded virtual fu | |
nction 'llvm::BasicBlockPass::doInitialization' declared here: type mismatch at | |
1st parameter ('llvm::Function &' vs 'llvm::Module &') | |
virtual bool doInitialization(Function &); | |
^ | |
/if21/mp3t/Projects/LLVM-Tracer/full-trace/full_trace.cpp:192:23: warning: compa | |
rison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long' | |
) [-Wsign-compare] | |
for (int i = 0; i < intrinsics.size(); i++) { | |
~ ^ ~~~~~~~~~~~~~~~~~ | |
/if21/mp3t/Projects/LLVM-Tracer/full-trace/full_trace.cpp:706:5: warning: delete | |
called on non-final 'full_traceImpl' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] | |
delete this->Impl; | |
^ | |
In file included from /if21/mp3t/Projects/LLVM-Tracer/full-trace/full_trace.cpp:18: | |
/if21/mp3t/Projects/LLVM-Tracer/full-trace/SlotTracker.h:137:21: warning: unused function 'createSlotTracker' [-Wunused-function] | |
static SlotTracker *createSlotTracker(const Value *V) { | |
^ | |
8 warnings generated. | |
[ 14%] Linking CXX shared library full_trace.so | |
cd /if21/mp3t/Projects/LLVM-Tracer/build/full-trace && /if21/mp3t/.local/bin/cmake -E cmake_link_script CMakeFiles/full_trace.dir/link.txt --verbose=1 | |
/usr/bin/clang -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -pedantic -Wno-long-long -std=c++11 -fno-rtti -O3 -shared -Wl,-soname,full_trace.so -o full_trace.so CMakeFiles/full_trace.dir/full_trace.cpp.o -L/usr/lib/llvm-3.4/lib | |
make[2]: Leaving directory `/net/if21/mp3t/Projects/LLVM-Tracer/build' | |
[ 14%] Built target full_trace | |
make -f profile-func/CMakeFiles/trace_logger.dir/build.make profile-func/CMakeFiles/trace_logger.dir/depend | |
make[2]: Entering directory `/net/if21/mp3t/Projects/LLVM-Tracer/build' | |
cd /if21/mp3t/Projects/LLVM-Tracer/build && /if21/mp3t/.local/bin/cmake -E cmake_depends "Unix Makefiles" /if21/mp3t/Projects/LLVM-Tracer /if21/mp3t/Projects/LLVM-Tracer/profile-func /if21/mp3t/Projects/LLVM-Tracer/build /if21/mp3t/Projects/LLVM-Tracer/build/profile-func /if21/mp3t/Projects/LLVM-Tracer/build/profile-fu | |
nc/CMakeFiles/trace_logger.dir/DependInfo.cmake --color= | |
make[2]: Leaving directory `/net/if21/mp3t/Projects/LLVM-Tracer/build' | |
make -f profile-func/CMakeFiles/trace_logger.dir/build.make profile-func/CMakeFi | |
les/trace_logger.dir/build | |
make[2]: Entering directory `/net/if21/mp3t/Projects/LLVM-Tracer/build' | |
[ 21%] Generating trace_logger.obj.llvm | |
cd /if21/mp3t/Projects/LLVM-Tracer/build/profile-func && /usr/bin/clang -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fno-inline-functions -fno-use-cxa-atexit | |
-O3 -emit-llvm -c /if21/mp3t/Projects/LLVM-Tracer/profile-func/trace_logger.c -o /if21/mp3t/Projects/LLVM-Tracer/build/profile-func/trace_logger.obj.llvm | |
[ 28%] Generating trace_logger.unopt.llvm | |
cd /if21/mp3t/Projects/LLVM-Tracer/build/profile-func && /usr/bin/llvm-link-3.4 /if21/mp3t/Projects/LLVM-Tracer/build/profile-func/trace_logger.obj.llvm -o /if2 | |
1/mp3t/Projects/LLVM-Tracer/build/profile-func/trace_logger.unopt.llvm | |
/usr/bin/llvm-link-3.4: /if21/mp3t/Projects/LLVM-Tracer/build/profile-func/trace | |
_logger.obj.llvm: error: Invalid value | |
/usr/bin/llvm-link-3.4: error loading file '/if21/mp3t/Projects/LLVM-Tracer/buil | |
d/profile-func/trace_logger.obj.llvm' | |
make[2]: *** [profile-func/trace_logger.unopt.llvm] Error 1 | |
make[2]: Leaving directory `/net/if21/mp3t/Projects/LLVM-Tracer/build' | |
make[1]: *** [profile-func/CMakeFiles/trace_logger.dir/all] Error 2 | |
make[1]: Leaving directory `/net/if21/mp3t/Projects/LLVM-Tracer/build' | |
make: *** [all] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment