Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Dec 2016 00:37:08 -0800
From:      Mark Millard <markmi@dsl-only.net>
To:        FreeBSD Toolchain <freebsd-toolchain@freebsd.org>, FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>
Subject:   6.2.0 based devel/powerpc64-gcc rejects sys/powerpc/powerpc/db_trace.c for very old code
Message-ID:  <B70A01B3-8D44-432F-88E1-26CC0D9DAC81@dsl-only.net>

next in thread | raw e-mail | index | archive | help
I have submitted:

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

sys/powerpc/powerpc/db_trace.c -r132070 2004-Jul-12 is when this
__builtin_frame_address use was introduced:

void
db_trace_self(void)
{
        db_addr_t addr;

        addr =3D (db_addr_t)__builtin_frame_address(1);
        db_backtrace(curthread, addr, -1);
}



head was at -r310556 for this discovery but with a patch for libdwarf
in ctfconvert to enable buildkernel to get this far. I have not yet
updated to the 6.3.0 based devel/powerpc64-gcc .

=3D=3D=3D
Mark Millard
markmi at dsl-only.net




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B70A01B3-8D44-432F-88E1-26CC0D9DAC81>