From owner-freebsd-current@FreeBSD.ORG Mon Oct 28 21:15:54 2013 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4C5B2185 for ; Mon, 28 Oct 2013 21:15:54 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B67062EB8 for ; Mon, 28 Oct 2013 21:15:53 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.7/8.14.7) with ESMTP id r9SLFjbg093912; Mon, 28 Oct 2013 23:15:45 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.8.3 kib.kiev.ua r9SLFjbg093912 Received: (from kostik@localhost) by tom.home (8.14.7/8.14.7/Submit) id r9SLFjtw093908; Mon, 28 Oct 2013 23:15:45 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 28 Oct 2013 23:15:45 +0200 From: Konstantin Belousov To: Michael Butler Subject: Re: SVN r257228 breaks kernel build with gcc Message-ID: <20131028211545.GR59496@kib.kiev.ua> References: <526ECEB6.20009@protected-networks.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="X35wERi4JU/f1kly" Content-Disposition: inline In-Reply-To: <526ECEB6.20009@protected-networks.net> User-Agent: Mutt/1.5.22 (2013-10-16) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on tom.home Cc: FreeBSD Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Oct 2013 21:15:54 -0000 --X35wERi4JU/f1kly Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 28, 2013 at 04:53:10PM -0400, Michael Butler wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 > That is .. >=20 > - --- busdma_bounce.o --- > cc1: warnings being treated as errors > In file included from /usr/src/sys/x86/x86/busdma_bounce.c:54: > /usr/src/sys/x86/include/busdma_impl.h:85: warning: redundant > redeclaration of 'busdma_lock_mutex' [-Wredundant-decls] > /usr/src/sys/sys/bus_dma.h:150: warning: previous declaration of > 'busdma_lock_mutex' was here > *** [busdma_bounce.o] Error code 1 Does the following patch allow you to successfully build the kernel with gcc, or is there more issues left ? diff --git a/sys/x86/include/busdma_impl.h b/sys/x86/include/busdma_impl.h index 70c9a6f..b851e7a 100644 --- a/sys/x86/include/busdma_impl.h +++ b/sys/x86/include/busdma_impl.h @@ -82,7 +82,6 @@ struct bus_dma_impl { bus_dmasync_op_t op); }; =20 -void busdma_lock_mutex(void *arg, bus_dma_lock_op_t op); void bus_dma_dflt_lock(void *arg, bus_dma_lock_op_t op); int bus_dma_run_filter(struct bus_dma_tag_common *dmat, bus_addr_t paddr); int common_bus_dma_tag_create(struct bus_dma_tag_common *parent, --X35wERi4JU/f1kly Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQIcBAEBAgAGBQJSbtQAAAoJEJDCuSvBvK1Bqv4P/RvBL5crOWbul9ANuUpNWqwj Pafv2c8/VX1FMa7MFlW3XSAKHyoDHEJQ80RSTdP0dilVkTUwfI5/o6ZTtSayIrQh QR8RTf8ggcuKtAVxUd+RIz4CY8wcScRyJdemknRnxK1WNrzbBtcZ/j7NNrKEMX6l o8VXiIxpUJj89zs2VpCgdpbZupn0Hk+zxbb6usTinUoxGRKHzmLlHZqmQGLs2NSs JLo7OzTDcn9oKRi5t6Vpz3x3tD3YMBdx5C9U5se0PVoR2fC3abPRQpLS1Urr/B/G 2FRd3Uc471foTiDtTT5r2FkihNKoA9ceP3UC2WQAB99SoQCgo845NbiJ6h9F77BD DCV/TbMbJsVcxQEFNeDYjtgsoqwNisDRm5tnA2ED5Y8fGPbsAQYsnLCoiEplILBb QICZJU6hk7txTohn+eY7MLRj/Dd9boLcu+vpOWWhD8vfb4P2Rldk+qwd/chODNEA s6JRZTva7N9IS/2lGp72PdZN40moqgl3T1JmXkNjFNj6eFIvtm3KD5CgqY3ygtmo EmDgSLVW+IRthXhyB1r6l8H1W4CCGQOSXkTDL/PMACMuM88veZ4Xtki0b4fKJUFK LLmswhnuyE/ljUKiasW8/8Z8xuztNNjavOB603meHNPNGuu01PWBNDwNM0ruRnto 6vzTGTm8kJ/FaE9xD20P =GD+a -----END PGP SIGNATURE----- --X35wERi4JU/f1kly--