Comments (3)
I changed the createglobalstrptr to GlobalVariable, but a new error comes as follows. I'm using llvm 7.0. I want to know what version of llvm you used.
-- Building tiff version 4.0.7
-- libtiff library version 5.2.5
-- The C compiler identification is unknown
-- Check for working C compiler: /home/lt/aflgo-org/afl-clang-fast
-- Check for working C compiler: /home/lt/aflgo-org/afl-clang-fast -- broken
CMake Error at /usr/share/cmake-3.5/Modules/CMakeTestCCompiler.cmake:61 (message):
The C compiler "/home/lt/aflgo-org/afl-clang-fast" is not able to compile a
simple test program.
It fails with the following output:
Change Dir: /home/lt/libtiff/tiff-4.0.7-save-temp/aflgo-build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_04bdf/fast"
/usr/bin/make -f CMakeFiles/cmTC_04bdf.dir/build.make
CMakeFiles/cmTC_04bdf.dir/build
make[1]: Entering directory
'/home/lt/libtiff/tiff-4.0.7-save-temp/aflgo-build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_04bdf.dir/testCCompiler.c.o
/home/lt/aflgo-org/afl-clang-fast
-targets=/home/lt/libtiff/tiff-4.0.7-save-temp/temp/BBtargets.txt
-outdir=/home/lt/libtiff/tiff-4.0.7-save-temp/temp -flto -fuse-ld=gold
-Wl,-plugin-opt=save-temps -lz -ljbig -lm -o
CMakeFiles/cmTC_04bdf.dir/testCCompiler.c.o -c
/home/lt/libtiff/tiff-4.0.7-save-temp/aflgo-build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_04bdf
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_04bdf.dir/link.txt
--verbose=1
/home/lt/aflgo-org/afl-clang-fast
-targets=/home/lt/libtiff/tiff-4.0.7-save-temp/temp/BBtargets.txt
-outdir=/home/lt/libtiff/tiff-4.0.7-save-temp/temp -flto -fuse-ld=gold
-Wl,-plugin-opt=save-temps -lz -ljbig -lm
CMakeFiles/cmTC_04bdf.dir/testCCompiler.c.o -o cmTC_04bdf
/usr/bin/ld.gold: fatal error: Failed to link module
CMakeFiles/cmTC_04bdf.dir/testCCompiler.c.o: Invalid record (Producer:
'LLVM7.0.0svn' Reader: 'LLVM 7.0.0svn')
clang-7.0: error: linker command failed with exit code 1 (use -v to see
invocation)
CMakeFiles/cmTC_04bdf.dir/build.make:97: recipe for target 'cmTC_04bdf'
failed
make[1]: *** [cmTC_04bdf] Error 1
make[1]: Leaving directory
'/home/lt/libtiff/tiff-4.0.7-save-temp/aflgo-build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_04bdf/fast' failed
make: *** [cmTC_04bdf/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:71 (project)
-- Configuring incomplete, errors occurred!
See also "/home/lt/libtiff/tiff-4.0.7-save-temp/aflgo-build/CMakeFiles/CMakeOutput.log".
See also "/home/lt/libtiff/tiff-4.0.7-save-temp/aflgo-build/CMakeFiles/CMakeError.log".
from aflgo.
hi @levi-2018
Look at your error message, I see that you are using LLVM 7.0. Can you please try to use LLVM 3.8 or LLVM 4.0?
There could be some LLVM-version specific issue that we have not encountered. We tested our tool mostly with LLVM 3.8 and LLVM 4.0.
from aflgo.
Ok, I'll try it with LLVM 4.0. Thank you.
from aflgo.
Related Issues (20)
- Fail to build lua [lua.o: File format not recognized] HOT 1
- Can't test on aflgo on libxml2 HOT 4
- invalid syntax when execute gen_distance_fast.py HOT 1
- typo of AFLGO_PROFILER_FILE HOT 1
- Incorrect method of merge call graph HOT 2
- Some incorrect lines caused the script gen_distance_fast.py to abort.
- Can't build libxml2 HOT 1
- Function distance calculation differs from paper HOT 3
- Can afl-llvm-pass.so.cc:366 solve the same name issue of basic block? HOT 2
- Build sqlite by afl-clang-fast HOT 1
- Cannot observe the crash in simple C program HOT 1
- Build libxml2: C compiler cannot create executables
- cannot access 'TMP_DIR/dot-files': No such file or directory HOT 4
- How to direct to code in a shared library HOT 1
- Erros when generating distance file HOT 5
- Distance calculation optimization in distance.py
- Details about AFLGo for patch testing
- Troubles Encountered in Distance Calculation HOT 3
- Link DG with AFLGo HOT 12
- gen_distance_fast.py: error: Couldn't find any binaries in folder /home/chen/aflgo/libxml2. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aflgo.