From patchwork Wed Jul 11 04:34:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 942308 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=amsat.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="rjVJQxNr"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41QR7c0ftqz9s0W for ; Wed, 11 Jul 2018 14:35:08 +1000 (AEST) Received: from localhost ([::1]:51594 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fd6qH-00059U-Ps for incoming@patchwork.ozlabs.org; Wed, 11 Jul 2018 00:35:05 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48113) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fd6ph-00057b-VF for qemu-devel@nongnu.org; Wed, 11 Jul 2018 00:34:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fd6ph-0005oJ-3O for qemu-devel@nongnu.org; Wed, 11 Jul 2018 00:34:29 -0400 Received: from mail-qt0-x241.google.com ([2607:f8b0:400d:c0d::241]:43668) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fd6pg-0005o9-Un for qemu-devel@nongnu.org; Wed, 11 Jul 2018 00:34:29 -0400 Received: by mail-qt0-x241.google.com with SMTP id f18-v6so20325436qtp.10 for ; Tue, 10 Jul 2018 21:34:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=j+xtUpitMF3/G6OzXhC8WmQhF3+i5eSXI3v4FNlbjBA=; b=rjVJQxNrd4wLzOUi9noKaMYusSLW5Ub6cqnO2t30grYQpyEOj5R7cWLO3tzzZu3eKo TpeN8GCTTNFH6HsoaQLw88mNUbIpWl+tCy/XCmAF8y/aEsYaNQWgNzmcqkmxtdhC1vGV EZQZEBLN0P7KtkMr4TUkrWd66augUwEV7Gmvlq6eSbZQpxy894YWo/3Pa9+Jkojwoak8 C1Kwp1j5NVSN/3ty7zmMRbFfpicmby3bHpvtzogWQhVoRUuIJLyXkp2PlwV0IUbUOm+v HkH2fJs6o+yqTImSsd4XZ61B6k5lvrHpc30Tzg1yrDn8M/7oP1SO3hj9K6om9JcsrVBw 5rbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=j+xtUpitMF3/G6OzXhC8WmQhF3+i5eSXI3v4FNlbjBA=; b=MvcrpY8bi/BPeWDJn8ZgxIcEze1GQ5XlOgLxkSsQ7Dv103PMK5zOHbDiJYmGpq0MPO hwAX8uPjmHeg5/BHTEuUt+Q7lSNYD15dGTBpMnAOfVLDGPhFfyXnO/8Vq55oPmPzjZIc +JL1XDvYgItWcqT0pPE3n8orgRUF0fbO5s9Vg4C2krl82dY5Yvk/RNTFSgglB2VuCqGs qtUeXbICMbLkTuBKFx47d2uUxzz4VWJzo2V2iIq9huGqPeijPategKn/XWtn+2ASP1/e GOK2vAkb0yV6wr4j4VByuAHuTGLKjzl/blwUOJyMuc+yv8NNKJJgdIlyUAQNwGwgXd3m U6OA== X-Gm-Message-State: APt69E2pYnGt10xHoIgGwDcceaOFkT3d+6x/IJn8h/eFKrsIM9sJHqLo B62iPKSlfTsvMI71qTIOlJI= X-Google-Smtp-Source: AAOMgpfK/N+LdCOtVTJ/n+Qz/DHLZL/AsvWTxpycaQmY0lKlRWcx/hRV9U+tJiU95bzgksRSP95cMw== X-Received: by 2002:a0c:9c88:: with SMTP id i8-v6mr24252143qvf.193.1531283668449; Tue, 10 Jul 2018 21:34:28 -0700 (PDT) Received: from x1.local ([138.117.48.222]) by smtp.gmail.com with ESMTPSA id 73-v6sm6804643qtc.5.2018.07.10.21.34.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Jul 2018 21:34:27 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: Bastian Koppelmann , =?utf-8?q?Alex_Be?= =?utf-8?b?bm7DqWU=?= , Fam Zheng Date: Wed, 11 Jul 2018 01:34:16 -0300 Message-Id: <20180711043417.24097-2-f4bug@amsat.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180711043417.24097-1-f4bug@amsat.org> References: <20180711043417.24097-1-f4bug@amsat.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::241 Subject: [Qemu-devel] [RFC PATCH for-3.1 1/2] docker: Fix TriCore binutils build 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: Florian Artmeier , David Brenken , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Georg Hofstetter , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" - Use recent 'missing' from libtool, - Fix 'ylwrap' permissions Signed-off-by: Philippe Mathieu-Daudé --- Shippable runs 'clang --version'. .../dockerfiles/debian-tricore-cross.docker | 23 ++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/tests/docker/dockerfiles/debian-tricore-cross.docker b/tests/docker/dockerfiles/debian-tricore-cross.docker index 898b8dd511..f833a6ca16 100644 --- a/tests/docker/dockerfiles/debian-tricore-cross.docker +++ b/tests/docker/dockerfiles/debian-tricore-cross.docker @@ -7,16 +7,33 @@ # # SPDX-License-Identifier: GPL-2.0-or-later # -FROM debian:9 +FROM debian:9-slim MAINTAINER Philippe Mathieu-Daudé +# Install common build utilities +RUN apt-get update && \ + DEBIAN_FRONTEND=noninteractive apt-get install -yy eatmydata && \ + DEBIAN_FRONTEND=noninteractive eatmydata \ + apt-get install -y --no-install-recommends \ + automake \ + bison \ + build-essential \ + ca-certificates \ + flex \ + git \ + libtool && \ + ln -s /usr/bin/cc /usr/bin/clang && \ + ln -s /usr/bin/gcc /usr/bin/tricore-gcc + RUN git clone --single-branch \ https://github.com/bkoppelmann/tricore-binutils.git \ /usr/src/binutils && \ - cd /usr/src/binutils && chmod +x missing && \ + cd /usr/src/binutils && \ + cp /usr/share/libtool/build-aux/missing . && \ + chmod +x ylwrap binutils/ylwrap && \ CFLAGS=-w ./configure --prefix=/usr --disable-nls --target=tricore && \ - make && make install && \ + make all install && \ rm -rf /usr/src/binutils # Specify the cross prefix for this image (see tests/docker/common.rc)