From owner-freebsd-ports@freebsd.org Thu May 23 18:20:27 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 EA4D815B1A04 for ; Thu, 23 May 2019 18:20:26 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic316-20.consmr.mail.ne1.yahoo.com (sonic316-20.consmr.mail.ne1.yahoo.com [66.163.187.146]) (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 5ECE380760 for ; Thu, 23 May 2019 18:20:26 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: KiIbYxEVM1mSqFjtf3cKOxa_LWwE5TQ_4AWSZNyqe3QtDpwGiWTnXO9GCI9aYdG 6L4TbVVs_oR0XjKaVmNt8tMhSND4nMIhExOllPuZHZgXI1IswFkXaewHgA0f1WC7zQfGtLrf645K agq.CRuTvWKGZ5lDdCWoZglGOkqs_W7DeTv4w47EDxrxpS8Gg2calqglA2rF89VpT6yJ1pvenjD0 fapko7.2y5C5niApFlcckGI4pKFDRu2lM2lZ2dQGKGNE1KP0dTwmP89M5nFsyJlLkzoSX_gVKquc e7Hk_IL7KVvwFEijM8KuqKr9zhhnGL3vgfron_DCoP1B0xzkVWdot.Z575W5LTz8ECnTNdQXCLxG l0cSBr7dSRpBCYDuLvJfE3cH5STjhqduVIl3ZsLzqlyDLLdBrRxSs6KLIVvuExyh9IrSMmbZ0TYA 9GtBF46q0v8h0aQStTXiHDp8e_RAok3410IQtS5JK816.Pipj9DIiHpkiY8YYtRKohiUoTTqTVv3 4U0cAh2VixKZma_fEhriRLsl8K.XtgdPs0NgV9lR_KO.gX92IlU1SWh.Nn.08AwRHtdp82Q304X7 Yc6O72MXDYiKvd1QUUbFRnSLRG8CKpRKTsY_chmeCVzQH4zY_tfM.cJqL8ZiQxA_Vn9PrJtxSdmH APbKXE68MxRHa63pD.GeP7Me7kdH_F9ocqq4s_.epfV4YYr7f6C.ONd7t_cziv0mfDUulGJlSAfm vlgC.Q0S9806odWqDcdrrPtJYewoNgFwibE7N6JuBiC6s67ijPmCEuuIhVj55kwmVEAEbwx8iiQq QDazVGzT9LGI4Qlz9MOVtIsmBZO_phtw9taAFP3vDJ4kQCjgzaivGhdGogfN2_tK2F5F41oKz8Ui FxSLLvG9VUZF_VgNT4WNXDWf6AdGIeZAdfi8STneQ_amBC.ckZIl2mj_hozZ7KGWFwiF16s86G0l VQ3ToYtZZPGS4sgagsa5yiLWIl_ML3VyO6vYqSHT2DrAMsUH7dj1IzpJJGfvtYwMK3JP8d6ckoTn YT81IZPcmwslqa4uZpmRt7g5a2VkhMG.WCJwPRE9yxt9IXxcSra.XM1nlYLbZS4lT2OVad9glpAn 4y7x7u0Wx7PHm9Es8eiv5.g.O2cOsz66NbdujFDcOpf59.lNN7rUm.kqUYUqV8NZmgY7rbH5Rjvo Ft0NCYzucvC9xK4kkfPuNOaADJMh5Thqr46eCwt72y1ddfpnSRcJOHCfyw8sU Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.ne1.yahoo.com with HTTP; Thu, 23 May 2019 18:20:19 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.103]) ([76.115.7.162]) by smtp409.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID fc44a3a83f4214323bee1aae2fa6c95d; Thu, 23 May 2019 18:20:15 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: powerpc64 graphics/mesa-dri build failure in poudriere, system clang's /usr/bin/cc got assert failure: "Target supports vector op, but scalar requires expansion?" Message-Id: Date: Thu, 23 May 2019 11:20:14 -0700 Cc: Jan Beich To: ports-list freebsd X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 5ECE380760 X-Spamd-Bar: ++ X-Spamd-Result: default: False [2.43 / 15.00]; RCVD_VIA_SMTP_AUTH(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]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; SUBJECT_HAS_QUESTION(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; NEURAL_SPAM_SHORT(0.60)[0.599,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(1.21)[ip: (3.56), ipnet: 66.163.184.0/21(1.40), asn: 36646(1.12), country: US(-0.06)]; NEURAL_SPAM_MEDIUM(0.83)[0.827,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.31)[0.314,0]; RCVD_IN_DNSWL_NONE(0.00)[146.187.163.66.list.dnswl.org : 127.0.5.0]; RWL_MAILSPIKE_POSSIBLE(0.00)[146.187.163.66.rep.mailspike.net : 127.0.0.17] 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: Thu, 23 May 2019 18:20:27 -0000 =46rom a poudriere bulk build in a powerpc64 context (old PowerMac) that was built with and uses system clang 8 and base/binutils instead of the gcc 4.2.1 toolchain. I got: [09:05:56] [04] [00:14:42] Saved graphics/mesa-dri | mesa-dri-18.3.2_2 = wrkdir to: = /usr/local/poudriere/data/wrkdirs/FBSDpowerpc64-default/default/mesa-dri-1= 8.3.2_2.tbz [09:05:57] [04] [00:14:43] Finished graphics/mesa-dri | = mesa-dri-18.3.2_2: Failed: build [09:05:59] [04] [00:14:45] Skipping x11-drivers/xf86-input-keyboard | = xf86-input-keyboard-1.9.0_3: Dependent port graphics/mesa-dri | = mesa-dri-18.3.2_2 failed [09:05:59] [04] [00:14:45] Skipping x11-drivers/xf86-input-mouse | = xf86-input-mouse-1.9.3_2: Dependent port graphics/mesa-dri | = mesa-dri-18.3.2_2 failed [09:05:59] [04] [00:14:45] Skipping x11-drivers/xf86-video-scfb | = xf86-video-scfb-0.0.4_7: Dependent port graphics/mesa-dri | = mesa-dri-18.3.2_2 failed [09:05:59] [04] [00:14:45] Skipping x11-drivers/xf86-video-vesa | = xf86-video-vesa-2.4.0_2: Dependent port graphics/mesa-dri | = mesa-dri-18.3.2_2 failed [09:05:59] [04] [00:14:45] Skipping x11/xorg-minimal | = xorg-minimal-7.5.2_2: Dependent port graphics/mesa-dri | = mesa-dri-18.3.2_2 failed [09:05:59] [04] [00:14:45] Skipping x11-servers/xorg-server | = xorg-server-1.18.4_11,1: Dependent port graphics/mesa-dri | = mesa-dri-18.3.2_2 failed I do have a backtrace: . . . Core was generated by `/usr/bin/cc -cc1 -triple = powerpc64-unknown-freebsd13.0 -emit-obj -disable-free -'. Program terminated with signal SIGABRT, Aborted. #0 .__sys_thr_kill () at thr_kill.S:3 3 RSYSCALL(thr_kill) (gdb) bt #0 .__sys_thr_kill () at thr_kill.S:3 #1 0x00000000133072d0 in __raise (s=3D330578472) at = /usr/src/lib/libc/gen/raise.c:52 #2 0x00000000132c7898 in abort () at = /usr/src/lib/libc/stdlib/abort.c:79 #3 0x00000000132f6c64 in __assert (func=3D, = file=3D, line=3D, failedexpr=3D) at /usr/src/lib/libc/gen/assert.c:51 #4 0x00000000130f7c18 in WidenVectorResult () at = /usr/src/contrib/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp:253= 1 #5 0x0000000012ad91f0 in run () at = /usr/src/contrib/llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp:281 #6 0x0000000012adfa5c in LegalizeTypes () at = /usr/src/contrib/llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp:1115 #7 0x000000001297ebb4 in CodeGenAndEmitDAG () at = /usr/src/contrib/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:776 #8 0x000000001297e114 in SelectBasicBlock () at = /usr/src/contrib/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:669 #9 0x000000001297cbc4 in SelectAllBasicBlocks () at = /usr/src/contrib/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1784 #10 0x0000000000000000 in ?? () (gdb) up 4 #4 0x00000000130f7c18 in WidenVectorResult () at = /usr/src/contrib/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp:253= 1 2531 assert(!TLI.isOperationLegalOrCustom(N->getOpcode(), = WideVecVT) && (gdb) list 2526 // libcalls on the undef elements. We are assuming that if = the scalar op 2527 // requires expanding, then the vector op needs expanding = too. 2528 EVT VT =3D N->getValueType(0); 2529 if (TLI.isOperationExpand(N->getOpcode(), = VT.getScalarType())) { 2530 EVT WideVecVT =3D = TLI.getTypeToTransformTo(*DAG.getContext(), VT); 2531 assert(!TLI.isOperationLegalOrCustom(N->getOpcode(), = WideVecVT) && 2532 "Target supports vector op, but scalar requires = expansion?"); 2533 Res =3D DAG.UnrollVectorOp(N, = WideVecVT.getVectorNumElements()); 2534 break; 2535 } Unfortunately poudiere bulk tar archives of failures do not catch the /tmp/* material from: cc: error: unable to execute command: Abort trap (core dumped) cc: error: clang frontend command failed due to signal (use -v to see = invocation) FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on = LLVM 8.0.0) Target: powerpc64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin cc: note: diagnostic msg: PLEASE submit a bug report to = https://bugs.freebsd.org/submit/ and include the crash backtrace, = preprocessed source, and associated run script. cc: note: diagnostic msg:=20 ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: cc: note: diagnostic msg: /tmp/nir_constant_expressions-b77016.c cc: note: diagnostic msg: /tmp/nir_constant_expressions-b77016.sh cc: note: diagnostic msg:=20 ******************** gmake[5]: *** [Makefile:2829: nir/nir_constant_expressions.lo] Error 1 gmake[5]: *** Waiting for unfinished jobs.... gmake[5]: Leaving directory = '/wrkdirs/usr/ports/graphics/mesa-dri/work/mesa-18.3.2/src/compiler' =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)