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

Patches for gcc 5.2 compilation #5

Merged
merged 3 commits into from
Oct 24, 2015
Merged

Patches for gcc 5.2 compilation #5

merged 3 commits into from
Oct 24, 2015

Conversation

madisongh
Copy link

Port of the three patches Otavio referenced that fix kernel compilation with gcc 5.2 for jethro.

WIth these patches, wandboard kernel build succeeds and boots on my Wandboard-Quad.

pantoniou and others added 3 commits October 24, 2015 07:06
When compiling a kernel without CONFIG_MULTI_CACHE enabled the
dma access functions end up not being exported. Fix it.

Signed-off-by: Pantelis Antoniou <[email protected]>
Signed-off-by: Otavio Salvador <[email protected]>
(cherry picked from commit 22f6925)
With compilers which follow the C99 standard (like modern versions of gcc and
clang), "extern inline" does the wrong thing (emits code for an externally
linkable version of the inline function). In this case using static inline
and removing the NULL version of return_address in return_address.c does
the right thing.

Signed-off-by: Behan Webster <[email protected]>
Reviewed-by: Mark Charlebois <[email protected]>
Acked-by: Steven Rostedt <[email protected]>
Signed-off-by: Russell King <[email protected]>
(cherry picked from commit aeea359)
…he.h

With compilers which follow the C99 standard (like modern versions of gcc and
clang), "extern inline" does the wrong thing (emits code for an externally
linkable version of the inline function). "static inline" is the correct choice
instead.

Author: Behan Webster <[email protected]>
Signed-off-by: Behan Webster <[email protected]>
Reviewed-by: Mark Charlebois <[email protected]>
(cherry picked from commit 76ae038)
otavio added a commit that referenced this pull request Oct 24, 2015
@otavio otavio merged commit e2df042 into wandboard-org:wandboard_imx_3.14.28_1.0.0_ga Oct 24, 2015
@otavio
Copy link
Collaborator

otavio commented Oct 24, 2015

Please prepare a patch to update the kernel recipe ;-)

@madisongh
Copy link
Author

Yep, will do, now that I have the srcrev to use.

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.

4 participants