From owner-freebsd-toolchain@freebsd.org Sun Feb 10 19:13:21 2019 Return-Path: Delivered-To: freebsd-toolchain@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 1998214D741F for ; Sun, 10 Feb 2019 19:13:21 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic310-14.consmr.mail.bf2.yahoo.com (sonic310-14.consmr.mail.bf2.yahoo.com [74.6.135.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 00D268C972 for ; Sun, 10 Feb 2019 19:13:19 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: QlPbCKkVM1l9enXIKnQFh6pk_Gurp7xEmHD5YBDrHj5HyDrziNdeLGY5Smkouh4 yWk8FYEuweS8zcHE4x1bTQeY_0c_3Gz_xPrw8SlZcDsE1Ze42L9NrTPFC9XtOnp4RlyzOQktl0sx TbdHLdI0jhV5a6Ry.lSmpgjHO.LLH2pF93nH9b2lOE.QRdbX32CkL53mRSzQ7MA4i47bm5WvLc_6 YMxctl2uOjZi0pJQ42o_Fq_gN2Jm_SYS_okDroATRhq2qPCvx_RixQMGxh4ZyQWkuZnjKv_8izOW YTrOeB2ElDeCwJwgBreK3m7m_63iW2EXwYd1Bw4IbAptn4bBx1ZG2kPqIxXgPolvHCOcpet.oS1p MEvs2W7_mu8I8dz7gvZq1HVjUWANXMC3Zn5RuDbnzJyUL6WY4RU5Gfn1j8edFlvsLMzHK1SAPewZ 4OR.Qu7WNNAjZDsrjvS68ANtOxOt1yFivTpqzDVlAS432ifcTEMB1jtIujR2CDpXpB6o4nApaKOm PKQ.BGt20FdsXjVIGh9qwJK_JGowGVA70wmggDFYmRsWnoCfDSoJ9sQJ.dVLxXFWaC88GBKdfEUU lY7Y1RUx7zh16Hpz8d3nNah0NnBdnMiIEYJb78Crg.hBgFXky4DhU3BSqS51S6eg9S2oIhymRxj5 IiKrfSXE6D0wwC6UPIPesuZeNYR42DQU1DIdFp2nVs75JtjOp.g30DjM4ndt1sTgB4uAYIJ_J4j7 vQzx6auitPgxhj9AKQ4CdwKbistvgkA0BdQF4.ETbEElJtQCSf78f8kREiSm39.oWlWayE_qSaHs s5MenLt3.ONLU9QzQjQeJRGov4U5GFmyfOO2ryKP9QUCdHB7emmNuVlaI.CZnE1hGSPDoG3y5p4J ds358PyofauItNYxMCqHgZgFle9Tppjw8lXeKFMmQsL0FmG6ZGsfYNS3XPuD44lz9GLBSTeKqau3 kPElA__eeVY0fqNrsBQq8Ys_n4DXNmeY4ypfD_d37W66jyhz03LMrssm2x1TET0CvQZKWBXWCs7b ouxp4L5sSvmpF2CcMcgP6T7LhVt3OEr0T.ObrBsbYOmuRO0lGixwZAVErBtYT1aTa3fjinLPsEYh vpUdDAiQhS0e.pqctxmd2FMU- Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.bf2.yahoo.com with HTTP; Sun, 10 Feb 2019 19:13:12 +0000 Received: from c-67-170-167-181.hsd1.or.comcast.net (EHLO [192.168.1.113]) ([67.170.167.181]) by smtp413.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 4bbc5a3e182d1ba1d5be010873b2b604; Sun, 10 Feb 2019 19:13:11 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: clang broken on current? From: Mark Millard In-Reply-To: <20190210184656.GD35569@troutmask.apl.washington.edu> Date: Sun, 10 Feb 2019 11:13:09 -0800 Cc: Dimitry Andric , freebsd-toolchain@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <59881520-AB59-49C3-810F-C0676C3B037C@yahoo.com> References: <20190210050003.GA31811@troutmask.apl.washington.edu> <20190210184656.GD35569@troutmask.apl.washington.edu> To: Steve Kargl X-Mailer: Apple Mail (2.3445.102.3) X-Rspamd-Queue-Id: 00D268C972 X-Spamd-Bar: +++ X-Spamd-Result: default: False [3.92 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[yahoo.com:+]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:26101, ipnet:74.6.128.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; SUBJECT_ENDS_SPACES(0.50)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(0.97)[0.974,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; NEURAL_SPAM_MEDIUM(0.23)[0.234,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.41)[0.412,0]; RCVD_IN_DNSWL_NONE(0.00)[124.135.6.74.list.dnswl.org : 127.0.5.0]; IP_SCORE(1.31)[ip: (4.16), ipnet: 74.6.128.0/21(1.37), asn: 26101(1.10), country: US(-0.07)] X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2019 19:13:21 -0000 On 2019-Feb-10, at 10:46, Steve Kargl wrote: >=20 > On Sun, Feb 10, 2019 at 12:03:55PM +0100, Dimitry Andric wrote: >> On 10 Feb 2019, at 06:00, Steve Kargl wrote: >>=20 >> How did you arrive at the conclusion that this has anything to do = with >> the specific compiler? =46rom these errors, I think it is more = likely >> something in Qt5 that is erroneously convinced that those = qt_memfillXY >> functions exist. Or they get referenced, but not compiled at all, = for >> some reason. >>=20 >=20 > If I have "CFLAGS+=3D -march=3Di686 -mmmx -msse" in /etc/make.conf > qt5-gui builds without issue. If I add -msse2 to CFLAGS, then > the build dies. >=20 > So, either clang is miscompiling qt5-gui with -mmse2 or the > qt5-gui port is being too smart for its own good. That lead to an old memory of getting results like ((armv6 time frame I think, before the armv7 addition to FreeBSD): image/qimage.cpp:(.text+0x1e14): undefined reference to = `qt_memfill32(unsigned int*, unsigned int, int)' image/qimage.cpp:(.text+0x1f34): undefined reference to = `qt_memfill32(unsigned int*, unsigned int, int)' where it turned out that arm NEON was not supported by various parts of qt5. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216816 There is some more explicit error message text in the closed duplicate: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217278 qt5-webkit produced an error message: alpha2/Source/JavaScriptCore/assembler/MacroAssemblerARM.h:33: = /wrkdirs/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha2/Source/Java= ScriptCore/assembler/ARMAssembler.h:1132:2: error: "The cacheFlush = support is missing on this platform." #error "The cacheFlush support is missing on this platform." ^ 1 error generated. Eventually patch(s) enabled arm NEON support and the problem disappeared. This suggests that that things missing in your context were simply never built, due to qt5 not having the the matching optimized code for the mode --or at least no building it. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)