From: "Alex Bennée" <alex.bennee@linaro.org>
To: "Philippe Mathieu-Daudé" <f4bug@amsat.org>
Cc: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>,
Fam Zheng <famz@redhat.com>,
qemu-devel@nongnu.org, David Brenken <david.brenken@efs-auto.de>,
Florian Artmeier <florian.artmeier@efs-auto.de>,
Georg Hofstetter <georg.hofstetter@efs-auto.de>
Subject: Re: [Qemu-devel] [RFC PATCH for-3.1 1/2] docker: Fix TriCore binutils build
Date: Thu, 12 Jul 2018 11:47:23 +0100 [thread overview]
Message-ID: <87o9fcd938.fsf@linaro.org> (raw)
In-Reply-To: <20180711043417.24097-2-f4bug@amsat.org>
Philippe Mathieu-Daudé <f4bug@amsat.org> writes:
> - Use recent 'missing' from libtool,
> - Fix 'ylwrap' permissions
>
> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> ---
> 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é <f4bug@amsat.org>
>
> +# 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
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=-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)
--
Alex Bennée
next prev parent reply other threads:[~2018-07-12 10:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-11 4:34 [Qemu-devel] [RFC PATCH for-3.1 0/2] Shippable: build TriCore docker image Philippe Mathieu-Daudé
2018-07-11 4:34 ` [Qemu-devel] [RFC PATCH for-3.1 1/2] docker: Fix TriCore binutils build Philippe Mathieu-Daudé
2018-07-12 10:47 ` Alex Bennée [this message]
2018-07-11 4:34 ` [Qemu-devel] [RFC PATCH for-3.1 2/2] shippable: Build the TriCore docker image Philippe Mathieu-Daudé
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o9fcd938.fsf@linaro.org \
--to=alex.bennee@linaro.org \
--cc=david.brenken@efs-auto.de \
--cc=f4bug@amsat.org \
--cc=famz@redhat.com \
--cc=florian.artmeier@efs-auto.de \
--cc=georg.hofstetter@efs-auto.de \
--cc=kbastian@mail.uni-paderborn.de \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.