[Bug 215600] devel/powerpc64-gcc based buildkernel: sys/powerpc/powerpc/db_trace.c rejected for: '__builtin_frame_address' with a nonzero argument is unsafe

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jan 2 20:25:13 UTC 2017


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

--- Comment #2 from Mark Millard <markmi at dsl-only.net> ---
[Just recording John Baldwin's note about the issue in bugzilla.]

In:

https://lists.freebsd.org/pipermail/freebsd-toolchain/2017-January/002542.html

John Baldwin wrote the following:


From: John Baldwin . . .
. . .
Date: January 2, 2017 at 8:07:57 AM PST
. . .
Try using '0' instead of '1'.  You might get an extra frame in the backtrace
compared to before.  A simple way to test is to add 'options KDB_TRACE' and
then trigger a panic (e.g. sysctl debug.kdb.panic=1)


Side note by Mark Millard:

I've no clue if this is the direction that the powerpc64 (and powerpc)
FreeBSD folks want to go/investigate for the compiler's report or not.

As stands I'm using WERROR= to allow the buildkernel to complete.

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


More information about the freebsd-bugs mailing list