From patchwork Fri Jun 29 20:52:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 140638 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp1298114ljj; Fri, 29 Jun 2018 13:55:24 -0700 (PDT) X-Google-Smtp-Source: AAOMgperYI1IGTVIBX6VTvZzptpwepd5R2WMqgpyrk5gLFKYZtcSA0oZPHLlxxwNhqOijl3BCa6U X-Received: by 2002:a37:bb43:: with SMTP id l64-v6mr14381126qkf.414.1530305724020; Fri, 29 Jun 2018 13:55:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530305724; cv=none; d=google.com; s=arc-20160816; b=dZPHY3tV/UTlBUcSoO7f+srFTbH7gmkVC9BhHE8kqzCwJJJFPZrakLh9zOtUor8ubx 2UAxKVwGJOb4Mlb9hc3jVLMt58fw/zLJC/PEn3YOVUovSdDU4+xqblzmjq9/sd7LeIzk woh21cnfYJxLjUs3dkOVA267g22bOxqhSK5vxGGFzL+GsQ50gPbx/vIgnL3hpXpM5kqY yQS6dDPOAe9KvhGCLRKZxjYodDfr+6vMy9rV0mGEYzaqpvEArNScts3Vuqy8as+pOn4W OK92BawOdqSMPqDUGIAK1uy+p0c37YPCCbkhk4KC8vXfXyShi0Iys/CzzcG9YbAumfgt b7jA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:message-id:date:to:from :dkim-signature:arc-authentication-results; bh=QoZhVD8pwTwT5aSuAI9J2VFWcPTYyeea2yQ8uJqmfmc=; b=0tAi7b0qRY3q/2AVesLmRmVU0kSs8W6osZPxevZMmiM27GKsp00M9VlPbVUi1BI/m/ bENSJehc1jvI5yjFPRtoyF0RiHzlqdmWZ6veReB3hXi6Q9DlLbAv95JUd9L+OoUELmoh In+g/EVMUWvv9+kDh2S/4qinFXCkBQwYxdm3I5s3fPr8l3K9zsBaWkPEDzO0n9dabdXZ TRRKNyILNgdN3HPSdBRVKhUVRbDqkFcrQNe+kAbiN2tmVuYpVty4jVSPyq/aNfV1uLV3 gQNa6E3wlNCATbI8ZktoVQYqELQ6VJl16dGj1GvR7AVHN+dQ//KVMKt88DUUo76eIQOS zcoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=eEZwDPWO; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id z34-v6si154491qvc.154.2018.06.29.13.55.23 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 29 Jun 2018 13:55:24 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=eEZwDPWO; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:44416 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fZ0QN-0000pt-G8 for patch@linaro.org; Fri, 29 Jun 2018 16:55:23 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56178) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fZ0Nk-00083l-If for qemu-devel@nongnu.org; Fri, 29 Jun 2018 16:52:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fZ0Ng-0006IS-6f for qemu-devel@nongnu.org; Fri, 29 Jun 2018 16:52:40 -0400 Received: from mail-wm0-x22e.google.com ([2a00:1450:400c:c09::22e]:51025) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fZ0Nf-0006Gq-W0 for qemu-devel@nongnu.org; Fri, 29 Jun 2018 16:52:36 -0400 Received: by mail-wm0-x22e.google.com with SMTP id v25-v6so2438434wmc.0 for ; Fri, 29 Jun 2018 13:52:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=QoZhVD8pwTwT5aSuAI9J2VFWcPTYyeea2yQ8uJqmfmc=; b=eEZwDPWOFjFoStRon+0NqqAeKMMM81X2/jn8vyhQD+Qyd9EscFsYE14lk9C0hEy3fy gwNy1Yd586q+4NQypGWfCXfMRy/j2hM6C1zJ/SlTdTa4oLXOdOVnsEpgEdKtlRDo92mt aGH9PEa4Oqi1Zqf5oSc3ge21aHupwc4mq7II0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=QoZhVD8pwTwT5aSuAI9J2VFWcPTYyeea2yQ8uJqmfmc=; b=dfkZUgK1tjPBGPpGQ7ujCY+yiqhlAkmtMZpJCryiIeH4mgoWc+9lIEvu0mdq+767H6 j4aNcB976wO1xYB1jmMHsbPC48XRtR3QhlYWW52AsCfS6SdUMOKRMWBHWnnbX2mwJP8s y1B+bSVDgyYgM3b+bzlX/yisX2Hag1rX8CCH/pbpJM6Mfko9UgW20y00jAdpDaVXla0Y ywboNxbFMNE50bBQl9xjk+MzW7Wu5J2WbsuJyzp7nP9G4QnqtKutDfg2B/8bdQZ7hDQR JxP90Zwyx9qUhBpbvKCG36RU8ewWfFwGCYs0fICoGqvxTxPqgP5//b9E8irpBhlGXxVT +uaA== X-Gm-Message-State: APt69E2GJdnZVvzPmwLTuL5C6RShGQ9bJaMvLys9PSryJCR5gm9UFDiE ElQmmmV8ijGW/I55GOr+AlpPPw== X-Received: by 2002:a1c:8312:: with SMTP id f18-v6mr2858430wmd.127.1530305554765; Fri, 29 Jun 2018 13:52:34 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id k7-v6sm7451436wrq.82.2018.06.29.13.52.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 29 Jun 2018 13:52:33 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id C39D63E00A7; Fri, 29 Jun 2018 21:52:32 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de Date: Fri, 29 Jun 2018 21:52:11 +0100 Message-Id: <20180629205232.27190-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::22e Subject: [Qemu-devel] [PATCH v2 00/21] Travis, Code Coverage and Cross Build updates X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: pbonzini@redhat.com, =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Hi, I've picked up some more of Philippe's fixes and in the process had another look at the problem of cross compiling powerpc. In the end the consensus seems to be a linux-user build was the best solution as there are still supported native powerpc toolchains in Jessie (until 2020). So I dusted off my old linux-user patches and tries to plumb them in a little better. Assuming you have ppc-linux-user in your target list and it's a --static you can just run: docker-test-build@debian-powerpc-user-cross TARGET_LIST=ppc-softmmu And it does the right thing. Once the debian-powerpc-user base image is created you can change your configuration and things will still work (until the debian-bootstrap recipe is changed and needs to be re-built). I've also included a fix for the mingw builds that failed when the default all targets TARGET_LIST got passed to the build. I'll put together a pull-request with everything that has been reviewed next week in time for patch bomb peter^H^H^H^H^H^H^H^H^H^H soft-freeze ;-) Alex Bennée (15): build-system: remove per-test GCOV reporting .gitignore: add .gcov files docker: add gcovr to travis image travis: add gcovr summary for GCOV build build-system: add clean-coverage target build-system: add coverage-report target linux-user: introduce preexit_cleanup linux-user: add gcov support to preexit_cleanup docker: filter out linux-user builds for mingw docker: add env parser to docker.py build step docker: drop QEMU build-dep from bootstrap docker: add special handling for FROM:debian-%-user targets docker: add special rule for deboostrapped images docker: add linux-user powered cross builder for QEMU .shippable.yml: add linux-user cross-build for ppc-softmmu Philippe Mathieu-Daudé (6): travis: do not waste time cloning unused submodules travis: test out-of-tree builds docker: ubuntu: Update the package list before installing new ones docker: ubuntu: Use SDL2 docker: Clean the MXE base image docker: Do not run tests in 'intermediate' images .gitignore | 1 + .shippable.yml | 8 +++ .travis.yml | 14 +++- Makefile | 24 +++++++ docs/devel/testing.rst | 21 ++++-- linux-user/Makefile.objs | 2 +- linux-user/exit.c | 35 +++++++++ linux-user/qemu.h | 8 +++ linux-user/syscall.c | 10 +-- scripts/coverage-summary.sh | 27 +++++++ tests/Makefile.include | 10 --- tests/docker/Makefile.include | 72 ++++++++++++++++--- tests/docker/docker.py | 14 +++- .../dockerfiles/debian-bootstrap.docker | 2 - .../debian-powerpc-user-cross.docker | 13 ++++ tests/docker/dockerfiles/debian8-mxe.docker | 2 +- tests/docker/dockerfiles/travis.docker | 2 +- tests/docker/dockerfiles/ubuntu.docker | 8 +-- 18 files changed, 228 insertions(+), 45 deletions(-) create mode 100644 linux-user/exit.c create mode 100755 scripts/coverage-summary.sh create mode 100644 tests/docker/dockerfiles/debian-powerpc-user-cross.docker -- 2.17.1