glibcmock icon indicating copy to clipboard operation
glibcmock copied to clipboard

Incompatible with CMake's add_executable compiled tests

Open a1exwang opened this issue 6 years ago • 1 comments

Expected equality of these values:
  2
  ehdr->e_type
    Which is: 3
object file type should be [ET_EXEC]

CMake set the ELF e_type flag to ET_DYN with a main symbol so it is executable. I think glibcmock should not assume a executable ELF file has e_type == ET_EXEC

a1exwang avatar Jan 25 '19 12:01 a1exwang

Could you give me an example? Thanks.

lonnywong avatar Apr 08 '19 06:04 lonnywong