From owner-freebsd-toolchain@freebsd.org Tue Mar 29 17:49:30 2016 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ECE3EAE2314 for ; Tue, 29 Mar 2016 17:49:30 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ADB23180E; Tue, 29 Mar 2016 17:49:30 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:7b8:3a7::4513:c3a7:b0b8:ff47] (unknown [IPv6:2001:7b8:3a7:0:4513:c3a7:b0b8:ff47]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 2AA1F696F; Tue, 29 Mar 2016 19:49:27 +0200 (CEST) Subject: Re: warning: DWARF2 only supports one section per compilation unit Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/signed; boundary="Apple-Mail=_53FCA829-50F9-4853-8073-0BC39C5651F6"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.6b2 (ebbf3ef) From: Dimitry Andric In-Reply-To: <56FA94ED.1060402@FreeBSD.org> Date: Tue, 29 Mar 2016 19:49:14 +0200 Cc: freebsd-toolchain@FreeBSD.org Message-Id: References: <56FA94ED.1060402@FreeBSD.org> To: Andriy Gapon X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2016 17:49:31 -0000 --Apple-Mail=_53FCA829-50F9-4853-8073-0BC39C5651F6 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 29 Mar 2016, at 16:45, Andriy Gapon wrote: >=20 > I've noticed many messages like the following during amd64 buildworld = with very > recent head: >=20 >> warning: DWARF2 only supports one section per compilation unit >> .section .note.GNU-stack,"",%progbits >=20 > Reported sections varied (e.g. there was .rodata). > The messages seem to be related to .s files. > I hope that those are harmless? These are harmless, and have been showing up for at least a year now. Clang is just notifying you that due to DWARF2 limitations, it will not emit debug info for more than one code section. All such warnings in our tree are about artificially added sections, such as .note.GNU-stack, .reloc and __xen_guest, and it is not likely that anybody cares that those sections will not have debug info. Lastly, I never found an option to shut up the warnings. Well, apart from using -gdwarf-4. :-) -Dimitry --Apple-Mail=_53FCA829-50F9-4853-8073-0BC39C5651F6 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.29 iEYEARECAAYFAlb6wCYACgkQsF6jCi4glqNxYwCeNT0niNmQcjk5RvIjZbjj//RA SzgAoPoVScz97R0dC1ZxQkeji/aqkf7y =LzL7 -----END PGP SIGNATURE----- --Apple-Mail=_53FCA829-50F9-4853-8073-0BC39C5651F6--