Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible with CMake's add_executable compiled tests #2

Open
a1exwang opened this issue Jan 25, 2019 · 1 comment
Open

Incompatible with CMake's add_executable compiled tests #2

a1exwang opened this issue Jan 25, 2019 · 1 comment

Comments

@a1exwang
Copy link

a1exwang commented Jan 25, 2019

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

@lonnywong
Copy link
Owner

Could you give me an example? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants