Date: Thu, 15 Mar 2018 15:19:10 -0400 From: Jung-uk Kim <jkim@FreeBSD.org> To: mmel@freebsd.org, Luca Pizzamiglio <pizzamig@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r464493 - in head/devel/gdb: . files files/kgdb Message-ID: <8b7bf792-71e8-c636-82f7-db0fbc5827b0@FreeBSD.org> In-Reply-To: <3f23cada-14ff-d959-3445-7f4f0043ebf6@freebsd.org> References: <201803141433.w2EEXMGn079353@repo.freebsd.org> <3f23cada-14ff-d959-3445-7f4f0043ebf6@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Q6euxwGZBrdiwZJx5PdFBX4cqprQc8kCv Content-Type: multipart/mixed; boundary="ZLC6wquM5w6STa0oZpFoMtwRyEBg21VaG"; protected-headers="v1" From: Jung-uk Kim <jkim@FreeBSD.org> To: mmel@freebsd.org, Luca Pizzamiglio <pizzamig@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Message-ID: <8b7bf792-71e8-c636-82f7-db0fbc5827b0@FreeBSD.org> Subject: Re: svn commit: r464493 - in head/devel/gdb: . files files/kgdb References: <201803141433.w2EEXMGn079353@repo.freebsd.org> <3f23cada-14ff-d959-3445-7f4f0043ebf6@freebsd.org> In-Reply-To: <3f23cada-14ff-d959-3445-7f4f0043ebf6@freebsd.org> --ZLC6wquM5w6STa0oZpFoMtwRyEBg21VaG Content-Type: multipart/mixed; boundary="------------3026FF8579057B895450CC8E" Content-Language: en-US This is a multi-part message in MIME format. --------------3026FF8579057B895450CC8E Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 03/15/2018 10:26, Michal Meloun wrote: >=20 >=20 > On 14.03.2018 15:33, Luca Pizzamiglio wrote: >> Author: pizzamig >> Date: Wed Mar 14 14:33:21 2018 >> New Revision: 464493 >> URL: https://svnweb.freebsd.org/changeset/ports/464493 >> >> Log: >> =C2=A0=C2=A0 devel/gdb: Update to version 8.1 >> =C2=A0=C2=A0 =C2=A0=C2=A0 The official annoucement is available here: >> =C2=A0=C2=A0 https://www.gnu.org/software/gdb/download/ANNOUNCEMENT >> =C2=A0=C2=A0 =C2=A0=C2=A0 Moreover: >> =C2=A0=C2=A0 * support for 'info proc' is added (jhb@) >> =C2=A0=C2=A0 * update kgdb to use gdb 8.1 >> =C2=A0=C2=A0 =C2=A0=C2=A0 Reviewed by:=C2=A0=C2=A0=C2=A0 jhb@ >> =C2=A0=C2=A0 Differential Revision:=C2=A0=C2=A0=C2=A0 https://reviews.= freebsd.org/D14148 >> > This caused breakage for (at least) amd64, armv6, armv7, arm64 on > 12/head. On all these arches, compile fails with: > (taken from amd64 build) >=20 > arch/arm-get-next-pcs.c:52:26: error: constant expression evaluates to > -1 which cannot be narrowed > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 to type 'CORE_ADDR' (aka 'unsigned long'= ) [-Wc++11-narrowing] > =C2=A0 CORE_ADDR breaks[2] =3D {-1, -1}; > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = ^~ > arch/arm-get-next-pcs.c:52:26: note: insert an explicit cast to silence= > this issue > =C2=A0 CORE_ADDR breaks[2] =3D {-1, -1}; =2E.. The attached patch worked around the problem for me. Jung-uk Kim --------------3026FF8579057B895450CC8E Content-Type: text/x-patch; name="gdb.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="gdb.diff" Index: devel/gdb/Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- devel/gdb/Makefile (revision 464623) +++ devel/gdb/Makefile (working copy) @@ -91,7 +91,10 @@ CONFIGURE_TARGET=3D x86_64-portbld-freebsd${OSREL} =20 .if ${COMPILER_TYPE} =3D=3D "clang" CFLAGS+=3D -Wno-extended-offsetof +.if ${COMPILER_VERSION} >=3D 60 +CXXFLAGS+=3D -Wno-c++11-narrowing .endif +.endif =20 post-patch: @${REINPLACE_CMD} -e 's|$$| [GDB v${PORTVERSION} for FreeBSD]|' \ --------------3026FF8579057B895450CC8E-- --ZLC6wquM5w6STa0oZpFoMtwRyEBg21VaG-- --Q6euxwGZBrdiwZJx5PdFBX4cqprQc8kCv Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEl1bqgKaRyqfWXu/CfJ+WJvzb8UYFAlqqxz8ACgkQfJ+WJvzb 8UZ1tgf/Vh1C/H/r9cRDHgomgSvj3qV7s+mahAMZ4Bb4WgnYXx9mk6YkbXX+uk/D H8PbOM9pdUbEfOXj9kYjDIDo9SgXZpQ3oiN2MeJUqjaFvWvrTenMulUxawVlHFVL wY4Xly8xFu2UoY4Thkj9Wy+JJANGQEL5wOqPHvG66uX77bdt5dtmX+88pPohCoJe PSwds7Xa27Y3ZXifh6UvnSJcbIpIiN4VyYTS5Aowepoj9T2dgbbyi9fO3eRTXlUl 87OGR/dEA8AcG1ozjI+OFjFkRCAoSRC4kL18yN947vKcp/uo/DXqHu3E7kCYW/N3 0ivAKCm8NyR962ulK3dc163Hlk9Npg== =xw6P -----END PGP SIGNATURE----- --Q6euxwGZBrdiwZJx5PdFBX4cqprQc8kCv--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8b7bf792-71e8-c636-82f7-db0fbc5827b0>