Public bug reported:

== Comment: #0 - Akshay Adiga - 2016-09-22 23:55:06 ==
---Problem Description---
boot arguments (passed as CONFIG_CMDLINE)  are not being
picked up by kernel while using gcc-ppc64-linux-gnu v5.4.0 and v6.1.1.
 (gcc v5.3.1 works fine)
 
 
---Steps to Reproduce---
enable following config options in .config
CONFIG_CMDLINE_BOOL=y
CONFIG_CMDLINE="<required boot args for the system>"
CONFIG_CMDLINE_FORCE=y

build kernel image and kexec without additional boot args.

The system does not boot as it does not get the boot args.

I have debugged to issue to gcc compiler optimization :
https://lists.ozlabs.org/pipermail/linuxppc-dev/2016-September/149026.html

The problem has been reported and fixed in upstream gcc
   https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71709

Need to backport this fix for gcc-ppc64-linux-gnu v5.4.0 onwards.

** Affects: gcc-defaults (Ubuntu)
     Importance: Undecided
     Assignee: Taco Screen team (taco-screen-team)
         Status: New


** Tags: architecture-ppc64le bugnameltc-146668 severity-high 
targetmilestone-inin---

** Tags added: architecture-ppc64le bugnameltc-146668 severity-high
targetmilestone-inin---

** Changed in: ubuntu
     Assignee: (unassigned) => Taco Screen team (taco-screen-team)

** Package changed: ubuntu => gcc-defaults (Ubuntu)

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

Title:
  boot arguments passed in CONFIG_CMDLINE not being picked up by kernel
  with gcc-ppc64-linux-gnu v5.4.0 and v6.1.1

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to