Git Product home page Git Product logo

Comments (3)

lvtao-sec avatar lvtao-sec commented on July 24, 2024

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.

thuanpv avatar thuanpv commented on July 24, 2024

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.

lvtao-sec avatar lvtao-sec commented on July 24, 2024

Ok, I'll try it with LLVM 4.0. Thank you.

from aflgo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.