From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42021) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdZ8E-0002sT-85 for qemu-devel@nongnu.org; Thu, 12 Jul 2018 06:47:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fdZ8A-0003C4-8g for qemu-devel@nongnu.org; Thu, 12 Jul 2018 06:47:30 -0400 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]:37389) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fdZ8A-0003AI-0x for qemu-devel@nongnu.org; Thu, 12 Jul 2018 06:47:26 -0400 Received: by mail-ed1-x52d.google.com with SMTP id v22-v6so21522977edq.4 for ; Thu, 12 Jul 2018 03:47:25 -0700 (PDT) References: <20180711043417.24097-1-f4bug@amsat.org> <20180711043417.24097-2-f4bug@amsat.org> From: Alex =?utf-8?Q?Benn=C3=A9e?= In-reply-to: <20180711043417.24097-2-f4bug@amsat.org> Date: Thu, 12 Jul 2018 11:47:23 +0100 Message-ID: <87o9fcd938.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [RFC PATCH for-3.1 1/2] docker: Fix TriCore binutils build List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Philippe =?utf-8?Q?Mathieu-Daud=C3=A9?= Cc: Bastian Koppelmann , Fam Zheng , qemu-devel@nongnu.org, David Brenken , Florian Artmeier , Georg Hofstetter Philippe Mathieu-Daud=C3=A9 writes: > - Use recent 'missing' from libtool, > - Fix 'ylwrap' permissions > > Signed-off-by: Philippe Mathieu-Daud=C3=A9 > --- > 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=C3=A9 > > +# Install common build utilities > +RUN apt-get update && \ > + DEBIAN_FRONTEND=3Dnoninteractive apt-get install -yy eatmydata && \ > + DEBIAN_FRONTEND=3Dnoninteractive 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 Erm what is this trying to do? > + > 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=3D-w ./configure --prefix=3D/usr --disable-nls --target=3Dtri= core && \ > - make && make install && \ > + make all install && \ > rm -rf /usr/src/binutils > > # Specify the cross prefix for this image (see tests/docker/common.rc) -- Alex Benn=C3=A9e