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/clean-up the build for lmbench #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MarekBykowski
Copy link

This is the heads-up that meta-oe of Yocto is planning on integrating a couple
of changes to lmbench.

These changes can be wrapped up around fixing/cleaning up as follows:

  • if lmbench doesn't use a return from a function attributed to warn_unused_result
    supress the warning/s
  • fix buffer overflow
  • define feature_test_macro GNU_SOURCE compiling in sched{get,set}affinity()
  • go strict for a pre-build check if sched_{get,set}affinity() from glibc builds
    cleanly. If it is not compile it out.

Please find the original discussion on the changes at meta-oe
http://lists.openembedded.org/pipermail/openembedded-devel/2019-October/202206.html

I have tested these changes against this repo and they build just fine.
The compiler warns though about the changes which already are in the meta-oe and
are not part of this commit.

Signed-off-by: Marek Bykowski [email protected]
Reviewed-off-by: Marcin Lapaj [email protected]

This is the heads-up that meta-oe of Yocto is planning on integrating a couple
of changes to lmbench.

These changes can be wrapped up around fixing/cleaning up as follows:
- if lmbench doesn't use a return from a function attributed to warn_unused_result
  supress the warning/s
- fix buffer overflow
- define feature_test_macro _GNU_SOURCE compiling in sched_{get,set}affinity()
- go strict for a pre-build check if sched_{get,set}affinity() from glibc builds
  cleanly. If it is not compile it out.

Please find the original discussion on the changes at meta-oe
http://lists.openembedded.org/pipermail/openembedded-devel/2019-October/202206.html

I have tested these changes against this repo and they build just fine.
The compiler warns though about the changes which already are in the meta-oe and
are not part of this commit.

Signed-off-by: Marek Bykowski <[email protected]>
Reviewed-off-by: Marcin Lapaj <[email protected]>
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.

1 participant