DynamoRIO / drmemory

Memory Debugger for Windows, Linux, Mac, and Android
Other
2.45k stars 262 forks source link

drcov2lcov module unsafe for SAFESEH image #1654

Open derekbruening opened 10 years ago

derekbruening commented 10 years ago

From zqiu1...@gmail.com on November 05, 2014 17:47:56

using windows 7 cmake 2.8.1 Visual Studio 12 build type release with debugon

configured with CC=cl CXX=cl ASM=ml "C:\Program Files (x86)\CMake 2.8\bin\cmake" -DCMAKE_BUILD_TYPE=Release -DDEBUG=ON -Wno-dev -G"Visual Studio 12" ../

built with cmake --build .

expected:no errors during build process got the following during the build process:

"c:\Users\qiu\Desktop\fromubuntu\drmemory\build\ALL_BUILD.vcxproj" (default targ et) (1) ->

"C:\Users\qiu\Desktop\fromubuntu\drmemory\build\dynamorio\clients\drcov\drcov2lc ov.vcxproj" (default target) (46) ->

(Link target) -> drdecode.lib(x86.asm_noncore.obj) : error LNK2026: module unsafe for SAFESEH i mage. [C:\Users\qiu\Desktop\fromubuntu\drmemory\build\dynamorio\clients\drcov\dr cov2lcov.vcxproj]

drdecode.lib(asm_shared.asm_noncore.obj) : error LNK2026: module unsafe for SA FESEH image. [C:\Users\qiu\Desktop\fromubuntu\drmemory\build\dynamorio\clients\d rcov\drcov2lcov.vcxproj]

C:\Users\qiu\Desktop\fromubuntu\drmemory\build\dynamorio\clients\bin32\drcov2l cov.exe : fatal error LNK1281: Unable to generate SAFESEH image. [C:\Users\qiu\D esktop\fromubuntu\drmemory\build\dynamorio\clients\drcov\drcov2lcov.vcxproj]

Original issue: http://code.google.com/p/drmemory/issues/detail?id=1654

derekbruening commented 10 years ago

From zhao...@google.com on November 05, 2014 15:48:27

It seems is caused by drdecodelib, which is linked by drfrontendlib.