Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Dec 2017 20:24:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 224293] Kernel fails to build from source on powerpc64
Message-ID:  <bug-224293-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224293

            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@FreeBSD.org
          Reporter: breno.leitao@gmail.com

Created attachment 188772
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D188772&action=
=3Dedit
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.');

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224293-8>