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

Fix expr error in Solaris 10 when using gcc. #166

Merged
merged 1 commit into from
Jan 10, 2015
Merged

Conversation

dumol
Copy link
Contributor

@dumol dumol commented Jan 7, 2015

The following error is outputted when configuring libffi in Solaris 10 amd64 for GCC:

checking whether .eh_frame section should be read-only... expr: syntax error
no

This introduces a test for a non-empty result when grep'ing the objdump output for eh_frame.

Side note: in Solaris there is no objdump and it seems elfdump -c could be used instead of objdump -h. If that would be case, then the grep command should check for " .eh_frame" instead of eh_frame in conftest.dump, otherwise a second instance of eh_frame will be matched in that file in the string rela.eh_frame.

Please review. Thanks!

atgreen added a commit that referenced this pull request Jan 10, 2015
Fix expr error in Solaris 10 when using gcc.
@atgreen atgreen merged commit c82cc15 into libffi:master Jan 10, 2015
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

Successfully merging this pull request may close these issues.

2 participants