[Bug 1605013] Re: gcc fails to compile kernel

Caleb Fujimori caleb.fujimori at gmail.com
Wed Jul 20 23:42:03 UTC 2016


Thanks to the help of nicst on the kernelnewbies irc channel:

The error seems to come from the --enable-default-pie option gcc was
compiled with.

This can be overcome by appending KCFLAGS=-fno-PIE to the make command

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-defaults in Ubuntu.
https://bugs.launchpad.net/bugs/1605013

Title:
  gcc fails to compile kernel

Status in gcc-defaults package in Ubuntu:
  New

Bug description:
  Compilation error messages after 'make': http://codepad.org/SDmemfEX

  output of 'make V=1': http://codepad.org/MkDpZR1A

  Output of 'gcc -m64 -mcmodel=kernel -c -v -o /tmp/empty.o
  scripts/mod/empty.c': http://codepad.org/rIuFRwkL

  ProblemType: Bug
  DistroRelease: Ubuntu 16.10
  Package: gcc 4:5.3.1-1ubuntu1
  ProcVersionSignature: Ubuntu 4.4.0-30.49-generic 4.4.13
  Uname: Linux 4.4.0-30-generic x86_64
  ApportVersion: 2.20.2-0ubuntu1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Wed Jul 20 19:21:33 2016
  InstallationDate: Installed on 2016-07-11 (9 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
  SourcePackage: gcc-defaults
  UpgradeStatus: Upgraded to yakkety on 2016-07-12 (8 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-defaults/+bug/1605013/+subscriptions



More information about the foundations-bugs mailing list