From owner-freebsd-ports@freebsd.org Wed Apr 10 19:29:31 2019 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 855F01569FD9 for ; Wed, 10 Apr 2019 19:29:31 +0000 (UTC) (envelope-from george+freebsd@m5p.com) Received: from mailhost.m5p.com (mailhost.m5p.com [74.104.188.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "m5p.com", Issuer "Let's Encrypt Authority X3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 02C2A86767; Wed, 10 Apr 2019 19:29:30 +0000 (UTC) (envelope-from george+freebsd@m5p.com) Received: from [IPv6:2001:470:1f07:15ff::1] (parkstreet.m5p.com [IPv6:2001:470:1f07:15ff:0:0:0:1]) (authenticated bits=0) by mailhost.m5p.com (8.15.2/8.15.2) with ESMTPSA id x3AJTJSJ042022 (version=TLSv1.2 cipher=AES128-SHA bits=128 verify=NO); Wed, 10 Apr 2019 15:29:28 -0400 (EDT) (envelope-from george+freebsd@m5p.com) To: Dimitry Andric Cc: freebsd ports References: <15210358-2ff9-54a2-d9c2-075ca4c0f335@m5p.com> From: George Mitchell Openpgp: preference=signencrypt Autocrypt: addr=george+freebsd@m5p.com; prefer-encrypt=mutual; keydata= mQINBFgnLnwBEADAJDiBKQX77LFRz9wZW8mz3KvaQol2nIremcws0F1mz/zgFlk6uhQVtwnL wb4XL5LdFwcNE1+QZzPLcbYWoWQlz0lBw1bMuKAgr0S6V2e0+I0DqhKeslVFctcTwtvT6pnK VLZXO/7ZGAaLzG4K5vSPzgoevU+YI/pxNsVCH2UO/c3jQW63uEt25mIZbCF1Pu4jgp4RhIgF ujn877r/j6OwBwjzRUu3E6ADp+U825d+5YCuQMEH0wIPnn9GTpXvfdKdbwOIl2akqXqs4cnk iATWfK3r6D4mvDEj1OPHlTvJYcf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u8dXeVvMP1Ndk/F5wcoLZlQwFtPfu2xyRYIsveXMoyypAvAFSaAGXU0hRzuDJ fGI3LFvpI9UXU2C4MMzjfyZyD2NJEDKOACTo85QQzxgheTDQaDocXW00wknXFMwEItiXp8dO 2zEml/3Kj4efDfjqGpjNefjK0cnj02Byt7y6GozWXyIylrXu0SN9qWRzUVZH3+q+ijA4q3Gm 9uWzLdpjN4QWAiiaEvMhLPohp9DdLsy3kAWWrA3+pAfHSTZXrobMMbSeBkE9E4/WxdKl0nM7 TNslAWcxkTd/7Ly9cxwT8wFdHuQB1hgCmIQxDNXHL1N1ANTeUYum1w9nUg6e1M0UWu+nk3Cw qL7oL2KZe13mQnU/CFwlhbf+i//j3SXrQLlIVQv9Fn805bxIcVo9yqUZyoiV7EUpvOsxDCZh ej3mNYF5nRCf6trEJQVk0aLC26zJAYExykdUlRqc4I13XPhlt+aFSMMkoL/thYO6e9oNFK6Q aJEKXomzxxqpceJVmPH6zvqJbOboAdE/mOD0PoS1M6saIQ== Subject: Re: Clang crash compiling qt5 Message-ID: <123ee70c-d167-087a-d4be-d7f871f7fba6@m5p.com> Date: Wed, 10 Apr 2019 15:29:13 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="V7A7CwTefsmwfcComJam59A8SrEWRhz7j" X-Spam-Status: No, score=0.0 required=10.0 tests=HELO_MISC_IP autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mattapan.m5p.com X-Rspamd-Queue-Id: 02C2A86767 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.99)[-0.988,0]; TAGGED_FROM(0.00)[freebsd] X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Apr 2019 19:29:31 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --V7A7CwTefsmwfcComJam59A8SrEWRhz7j Content-Type: multipart/mixed; boundary="oFDMG6eALQyytq4qT3mLLDemfqbSK0VYb"; protected-headers="v1" From: George Mitchell To: Dimitry Andric Cc: freebsd ports Message-ID: <123ee70c-d167-087a-d4be-d7f871f7fba6@m5p.com> Subject: Re: Clang crash compiling qt5 References: <15210358-2ff9-54a2-d9c2-075ca4c0f335@m5p.com> In-Reply-To: --oFDMG6eALQyytq4qT3mLLDemfqbSK0VYb Content-Type: multipart/mixed; boundary="------------36FC99764E28A04B7F719E30" Content-Language: en-US This is a multi-part message in MIME format. --------------36FC99764E28A04B7F719E30 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2019-04-10 15:11, Dimitry Andric wrote: > On 10 Apr 2019, at 19:37, George Mitchell wrot= e: >> >> Yesterday I went through a round of updating and compiling ports. By >> all outward appearances it was successful. But this morning's daily >> status report revealed that clang had crashed on a signal 11 once >> while compiling each qt5 package. (For once, it was useful to have >> the "such-and-such installed" messages in the system log.) So I just >> tried recompiling qt5-qmake just now under "script". Sure enough, >> there was a clang crash about 15 seconds before the end of typescript,= >> though the typescript output looks completely innocuous as far as I >> can see, and all the qt5 packages and their dependencies seem to be >> functional at this point. Any idea about what's going on? >> >> The typescript output is at https://m5p.com/~george/typescript if >> you think it would be helpful. -- George >=20 > Hi George, >=20 > I don't see any crash report(s) in the typescript? Did clang drop two > files (a .sh and preprocessed .c or .cpp file) in /tmp, by any chance? >=20 Yes, it did -- quite a few of them. The 13 .cpp files are all identical. The .sh files are very similar but not identical. I attached one. Running it indeed causes another core dump. It sort of looks like it happened during a configuration step. Explicitly running "make configure" yields this (plus another core dump): =3D=3D=3D> qt5-qmake-5.12.2 depends on executable: gmake - found =3D=3D=3D> qt5-qmake-5.12.2 depends on package: pkgconf>=3D1.3.0_1 - fo= und =3D=3D=3D> qt5-qmake-5.12.2 depends on file: /usr/local/bin/python3.6 -= found =3D=3D=3D> Configuring for qt5-qmake-5.12.2 /bin/mkdir -p /usr/ports/devel/qt5-qmake/work/qtbase-everywhere-src-5.12.= 2 echo 'CMAKE_MODULE_TESTS =3D -' > /usr/ports/devel/qt5-qmake/work/qtbase-everywhere-src-5.12.2/.qmake.cache= echo 'QMAKE_LIBDIR_FLAGS =3D -L/usr/ports/devel/qt5-qmake/work/qtbase-everywhere-src-5.12.2/lib' >> /usr/ports/devel/qt5-qmake/work/qtbase-everywhere-src-5.12.2/.qmake.cache= echo 'QMAKE_DEFAULT_LIBDIRS =3D /usr/local/lib' >> /usr/ports/devel/qt5-qmake/work/qtbase-everywhere-src-5.12.2/.qmake.cache= echo 'QMAKE_DEFAULT_INCDIRS =3D /usr/local/include' >> /usr/ports/devel/qt5-qmake/work/qtbase-everywhere-src-5.12.2/.qmake.cache= Creating qmake... > If you are using a stable branch, clang will not have been built with > assertions, and that can lead to crashes in some cases. You could try > commenting out the -DNDEBUG line in lib/clang/llvm.build.mk, and then > rebuilding and reinstalling world. Then try the port again. >=20 > -Dimitry >=20 Gosh, I cravenly confess to a lack of enthusiasm for doing this. My self-serving excuse is that no packages outside qt5 exhibited this problem, and even qt5 superficially appears to be okay ... -- George --------------36FC99764E28A04B7F719E30-- --oFDMG6eALQyytq4qT3mLLDemfqbSK0VYb-- --V7A7CwTefsmwfcComJam59A8SrEWRhz7j Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEENdM4ZHktsJW5kKZXwRES3m+p4fkFAlyuRAkACgkQwRES3m+p 4fnbGw/+IASFCg6iDKtkWC1UVvYtcdG1Ze4lkVjlob0v3XMArG5YaOR0wVfBqD0F LUv6dStry8UVO49f/KQRwl9a6bKZuJRLNVvcvRrLwy8UmIY4aoLYvkTNwM9EyZRP keS0dnVzlMb+vxgYJiNAW9XHYLm1Ta3vt+BKY6MNC0W5eSKfY+hlOIOqAki5ummf hDrKa2ZoW4XLBFvWZ5pfapUP/p8KTF8w6Z2QYrfjDEVXQiqmxw3EAfovvIKBI+iM c6FR7rAE728mhQ+D9IqUpnlCf25nf8MI9rB+igWDoCP3lnm4JKMoHrx1qZ1Fz7xW jYpkDYMVFLRs0XbdXDks8Q7/0RNCNy3EOvlfrX9NlvnJNK1yQ485GOf1+6iuaZ2k eDoVA8NB+AXlFh0xRIMoJDY1MvuPx31CLVpa+RyzDPIFk++7hPua2e9dCns6FDEv qsqd7oz5rICe/krccHvf6C9scL6XjguIk2yWHb0isvMPrJ034NNYzk1FTKS5FKQj uKG7Rbs4onRauXxUZXtKGk6JpIniguMSZtXcfKNhEmRPBg7eQLZg9nfJvhBDy/oE 7KlQcVxsfOFhCWUL7JdWv1+1CiYjNUSHIPSR7Mt4872l1EVlVjR1Wqtnb3F2IQ13 5lbjVj5/LCXsRRfEGH2kZliWgrIhUXSvPp4faBwTCcrqC2tGD0E= =47CY -----END PGP SIGNATURE----- --V7A7CwTefsmwfcComJam59A8SrEWRhz7j--