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

Build kernel headers and install Virtualbox (x86) #951

Closed
tcagle opened this issue Jul 31, 2014 · 3 comments
Closed

Build kernel headers and install Virtualbox (x86) #951

tcagle opened this issue Jul 31, 2014 · 3 comments
Labels

Comments

@tcagle
Copy link

tcagle commented Jul 31, 2014

I am getting the following error message:

.
.
.
cc1: error: unrecognized command line option ‘-fstack-protector-strong’
make[3]: *** [kernel/bounds.s] Error 1
make[2]: *** [prepare0] Error 2
make[2]: Leaving directory /home/tim/kernel' make[1]: *** [debian/stamp/conf/kernel-conf] Error 2 make[1]: Leaving directory/home/tim/kernel'
make: *** [debian/stamp/conf/minimal_debian] Error 2
Failed to create a ./debian directory: at /usr/bin/make-kpkg line 984.

This happens at this step:

$ make-kpkg --rootcmd fakeroot kernel_image kernel_headers

I have a HP Pavillion Chromebook 14. The uname give this info...

$ uname -a
Linux localhost 3.4.0 #1 SMP Thu Jul 24 15:16:06 PDT 2014 x86_64 x86_64 x86_64 GNU/Linux

Thanks for any help .... Tim C.

@divx118
Copy link
Contributor

divx118 commented Jul 31, 2014

So, depending on your gcc you may need to edit /usr/src/kernel/arch/x86/Makefile
Line 78 change "stackp-y := -fstack-protector-strong" to stackp-y := -fstack-protector-all

If that doesn't work you can build your own newer gcc see #939

@tcagle
Copy link
Author

tcagle commented Aug 1, 2014

The makefile edit option seems to be allowing the build to proceed. I will
let you know if I have further issues. Thanks for the suggestions.

Got Win7 and the globalcache.com windows-only utility "ilearn,exe" working in my crouton/virtualbox now. This is a wonderful project thanks for all the obvious hard work that goes into it. I can work all the needed toolchain pieces for my openremote.org driven home automation stuff from my chromebook now!!!! Major kudos to everybody on this project. Please close this now non-issue.

On Thu, Jul 31, 2014 at 1:01 PM, divx118 [email protected] wrote:

So, depending on your gcc you may need to edit /usr/src/kernel/arch/x86/Makefile
Line 78 change "stackp-y := -fstack-protector-strong" to stackp-y := -fstack-protector-all

If that doesn't work you can build your own newer gcc see #939
#939


Reply to this email directly or view it on GitHub
#951 (comment).

@tcagle tcagle closed this as completed Aug 1, 2014
@divx118
Copy link
Contributor

divx118 commented Aug 1, 2014

Thanks for the feedback. I will add some extra info for building 3.4 kernel to the wiki

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

No branches or pull requests

3 participants