Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Mar 2014 23:09:22 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Mark R V Murray <markm@FreeBSD.org>
Cc:        ports@freebsd.org, pizzamig <luca.pizzamiglio@gmail.com>
Subject:   Re: Port devel/gdb broken on 11-CURRENT amd64.
Message-ID:  <1040C8F5-CA6A-4CC3-840A-64EB213C95EE@FreeBSD.org>
In-Reply-To: <4AC81949-35A8-4760-BEFC-315DB278E41E@FreeBSD.org>
References:  <73962E64-42F0-4042-8647-2DE7C78005AB@FreeBSD.org> <a4182c74-d44d-449f-ae75-c8a1db0b5d86@email.android.com> <4AC81949-35A8-4760-BEFC-315DB278E41E@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_D5978D32-1669-46C8-9BEB-3D7FBFBDA2BC
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

On 24 Mar 2014, at 22:32, Mark R V Murray <markm@FreeBSD.org> wrote:
>=20
> On 24 Mar 2014, at 15:34, pizzamig <luca.pizzamiglio@gmail.com> wrote:
>> I've already got a report about that, but I'm on holiday, without a =
CURRENT system, I cannot work on it right now...
>> I guess CURRENT has a new clang version=85
>=20
> Yup! It=92s Clang v3.4. I=92ve done a local dirty fix of =
=91CFLAGS+=3D-Wno-error=92 in the Port Makefile. I suspect it will need =
rather more than this to cover all the CLANG and GCC versions that are =
around.

IMHO it is fairly ridiculous the port is compiled with -Werror.  If we
were gdb developers, I could understand, but for contributed software it
does not make much sense.  Maybe the maintainer can apply the following
patch, which I have literally had for years in my ports tree now.

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 348737)
+++ devel/gdb/Makefile  (working copy)
@@ -21,7 +21,8 @@
                --with-separate-debug-dir=3D/usr/lib/debug \
                ${ICONV_CONFIGURE_ARG} \
                --without-libunwind-ia64 \
-               --enable-targets=3Dall
+               --enable-targets=3Dall \
+               --disable-werror
 CFLAGS:=3D       ${CFLAGS:C/ +$//}       # blanks at EOL creep in =
sometimes
 CFLAGS+=3D       -DRL_NO_COMPAT
 EXCLUDE=3D       dejagnu expect sim texinfo intl


--Apple-Mail=_D5978D32-1669-46C8-9BEB-3D7FBFBDA2BC
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)

iEYEARECAAYFAlM0oZwACgkQsF6jCi4glqON8QCeJ/fUJacsvV7OWcx+y7RjJL0/
ND0AoOzEzgl+CKed80Hr7xIggE1kf6ej
=1SJb
-----END PGP SIGNATURE-----

--Apple-Mail=_D5978D32-1669-46C8-9BEB-3D7FBFBDA2BC--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1040C8F5-CA6A-4CC3-840A-64EB213C95EE>