From owner-freebsd-x11@freebsd.org Tue Aug 25 16:39:46 2020 Return-Path: Delivered-To: freebsd-x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8BC5E3B0C8E for ; Tue, 25 Aug 2020 16:39:46 +0000 (UTC) (envelope-from fbl@aoek.com) Received: from mail.yourbox.net (mail.yourbox.net [IPv6:2001:41d0:1:767d::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.yourbox.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BbZTY19JXz4fgM; Tue, 25 Aug 2020 16:39:44 +0000 (UTC) (envelope-from fbl@aoek.com) Received: from mail.yourbox.net (localhost [IPv6:0:0:0:0:0:0:0:1]) by mail.yourbox.net (8.16.1/8.16.1) with ESMTP id 07PGda0f060564; Tue, 25 Aug 2020 18:39:36 +0200 (CEST) (envelope-from fbl@aoek.com) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Tue, 25 Aug 2020 18:39:31 +0200 From: =?UTF-8?Q?Jos=C3=A9_P=C3=A9rez?= To: freebsd-x11@freebsd.org Cc: Jan Beich Subject: Re: lang/intel-compute-runtime 20.30.17454 build failure -> 20.32.17625 also fails In-Reply-To: References: <6a8c0078fe40caed71ec80555becc7ef@mail.yourbox.net> Message-ID: <47ba3fbd5c00eb28e2d981de2572b764@mail.yourbox.net> X-Sender: fbl@aoek.com User-Agent: Roundcube Webmail/1.2.0 X-Rspamd-Queue-Id: 4BbZTY19JXz4fgM X-Spamd-Bar: - X-Spamd-Result: default: False [-1.45 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; R_DKIM_ALLOW(-0.20)[aoek.com:s=mailbox]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; DKIM_TRACE(0.00)[aoek.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[aoek.com,reject]; NEURAL_HAM_SHORT(-0.22)[-0.220]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; R_MIXED_CHARSET(0.77)[subject]; ASN(0.00)[asn:16276, ipnet:2001:41d0::/32, country:FR]; MAILMAN_DEST(0.00)[freebsd-x11]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2020 16:39:46 -0000 Hi, I have two successfull builds now. One with 12.1-STABLE on AMD processor and a second one on a CURRENT kernel with a previously failing processor. I am to assume this was a bug fixed in CURRENT, so I won't investigate further. El 2020-08-24 16:52, Jan Beich escribió: > José Pérez via freebsd-x11 writes: > >> From the hardware angle: Can you show what features your CPU supports? > Pay attention to vendor (building on AMD what can only run on Intel > is not important) and features (pre-AVX2 generations are not > supported). AFAIK an AMD should be able to emit correct Intel code, even if it does not run it. In theory it should be possible to cross compile from, say, an ARM, no? CPUs and results: Fails on 12.1, not tested with 13: CPU: AMD Opteron(tm) Processor 4122 (2200.04-MHz K8-class CPU) Origin="AuthenticAMD" Id=0x100f80 Family=0x10 Model=0x8 Stepping=0 Features=0x178bfbff Features2=0x802009 AMD Features=0xee500800 AMD Features2=0x837ff SVM: NP,NRIP,NAsids=64 TSC: P-state invariant Fails on 12.1, builds with a 13 kernel and a 12.1 userland: CPU: AMD A6-5200 APU with Radeon(TM) HD Graphics (1996.29-MHz K8-class CPU) Origin="AuthenticAMD" Id=0x700f01 Family=0x16 Model=0x0 Stepping=1 Features=0x178bfbff Features2=0x3ed8220b AMD Features=0x2e500800 AMD Features2=0x154037ff Structured Extended Features=0x8 XSAVE Features=0x1 SVM: NP,NRIP,AFlush,DAssist,NAsids=8 TSC: P-state invariant, performance statistics Builds on 12.1, not tested on 13: CPU: AMD A4-1250 APU with Radeon(TM) HD Graphics (998.15-MHz K8-class CPU) Origin="AuthenticAMD" Id=0x700f01 Family=0x16 Model=0x0 Stepping=1 Features=0x178bfbff Features2=0x3ed8220b AMD Features=0x2e500800 AMD Features2=0x154037ff Structured Extended Features=0x8 XSAVE Features=0x1 SVM: (disabled in BIOS) NP,NRIP,AFlush,DAssist,NAsids=8 TSC: P-state invariant, performance statistics >> From the kernel angle: Can you try building on a -CURRENT kernel? > Either install just the kernel as non-default without rebuilding > world/packages or use bectl(8). Yes, see second CPU above. >> I have failing logs (same point) for: >> 20.25.17111 >> 20.29.17408 >> 20.30.17454 >> 20.32.17625 > > Did some of those built fine or you've skipped? All failed on CPU 1. Thank you for your suggestions. -- José Pérez