From owner-svn-ports-all@freebsd.org Tue Nov 12 15:16:29 2019 Return-Path: Delivered-To: svn-ports-all@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 1248A1B0682; Tue, 12 Nov 2019 15:16:29 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47CBCw6nrTz4fXv; Tue, 12 Nov 2019 15:16:28 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-qt1-f172.google.com (mail-qt1-f172.google.com [209.85.160.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id BFD119E5C; Tue, 12 Nov 2019 15:16:28 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-qt1-f172.google.com with SMTP id t20so20091017qtn.9; Tue, 12 Nov 2019 07:16:28 -0800 (PST) X-Gm-Message-State: APjAAAVU6E215wGCdQCAJNKGXp+ymDDxK1cB2Pt6p5q/FSNn1l8i1yTj etWK3BVUtU3fMczWy+AqQY44ukD5VCNMMQT/Lfg= X-Google-Smtp-Source: APXvYqwerQdxn9ZPxxi9JE10mcUHMmUPDLLH+ligxE7WGoy871zLN5j9ug4VkkJRyZVyj4MeOruGf8hzuYnY73TozCI= X-Received: by 2002:ac8:1984:: with SMTP id u4mr23188506qtj.60.1573571788152; Tue, 12 Nov 2019 07:16:28 -0800 (PST) MIME-Version: 1.0 References: <201905081624.x48GOguo036722@repo.freebsd.org> In-Reply-To: From: Kyle Evans Date: Tue, 12 Nov 2019 09:16:16 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: svn commit: r501032 - head/emulators/qemu-sbruno To: Jan Beich Cc: Antoine Brodin , svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers Content-Type: text/plain; charset="UTF-8" X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Nov 2019 15:16:29 -0000 On Wed, May 8, 2019 at 3:02 PM Jan Beich wrote: > > Antoine Brodin writes: > > > On Wed, May 8, 2019 at 6:36 PM Jan Beich wrote: > > > >> > >> Jan Beich writes: > >> > >> > Antoine Brodin writes: > >> > > >> >> Author: antoine > >> >> Date: Wed May 8 16:24:42 2019 > >> >> New Revision: 501032 > >> >> URL: https://svnweb.freebsd.org/changeset/ports/501032 > >> >> > >> >> Log: > >> >> Unbreak qemu-user-static at runtime > >> > > >> > Why? Wasn't r500819 enough? It was even confirmed in > >> > https://github.com/seanbruno/qemu-bsd-user/issues/74#issuecomment-490337655 > >> > >> Also, I've just checked /latest package for -CURRENT: > >> - qemu-aarch64-static works fine > >> - qemu-arm-static works fine > > > > With version 2.11.50.g20190318_1, I had crashes with: > > How did you upgrade to 2.11.50.g20190318_1? Built manually, built > via poudriere or fetched /latest package from pkg.freebsd.org? > If you mean the package cluster *itself* then it uses qemu-user-static > from a build before e.g., > > http://beefy12.nyi.freebsd.org/data/head-amd64-default/p500844_s347134/.data.json > ended on 2019-05-08 02:39:29 UTC > http://beefy8.nyi.freebsd.org/data/head-armv6-default/p500844_s347134/.data.json > started on 2019-05-05 01:07:43 UTC > > As 2.11.50.g20190318_1 wasn't available at the time 2.11.50.g20190318 was used > which resulted in head-armv6 failing at the initialization. Nothing was built. > > > - qemu-mips-static > > - qemu-arm-static > > - qemu-mips64-static > > > > Changing SSP_CFLAGS fixed at least qemu-mips64-static. > > qemu-mips64-static works fine here without overriding SSP_CFLAGS in > emulators/qemu-user-static. > > Did you rebuild both glib20 *then* qemu-user-static after r500819? > qemu-user-static uses *static* libraries, so it has to be rebuilt each > time one of its BUILD_DEPENDS changes. > > During my testing SSP_CFLAGS in emulators/qemu-user-static had no effect > unlike in devel/glib20. Hi, I did some digging, and both of these commits ultimately just paper over the actual problem -- we end up hitting SSP failures more consistently in our qemu-rebase-3.1 branch even with these applied. It turns out you've just reduced the surface area that's affected, and the source of the bug is discussed in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241905 -- once we get that hammered out, we can/should revert both of these. This is mostly just an FYI to help explain the differences in behavior, since nothing can be done at this time from a ports' perspective. Thanks, Kyle Evans