[Bug 224293] Kernel fails to build from source on powerpc64

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Dec 12 20:24:24 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224293

            Bug ID: 224293
           Summary: Kernel fails to build from source on powerpc64
           Product: Base System
           Version: CURRENT
          Hardware: powerpc
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: breno.leitao at gmail.com

Created attachment 188772
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=188772&action=edit
Patch that fixes the problem

Currently fasttrap_pid_probe() is using a undefined variable, which causes
the kernel build to fail on powerpc when using a newer compiler.

This patch simply derefence ->pc after rp is defined.

This regression was added by commit
b0b9b4fcf4a7a712c3270a5fde519c199b11fc87('Pass the trap frame to fasttrap
hooks.');

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list