[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 31/43] tests/tcg: enable building for MIPS
From: |
Fam Zheng |
Subject: |
Re: [Qemu-devel] [PATCH v2 31/43] tests/tcg: enable building for MIPS |
Date: |
Fri, 20 Apr 2018 11:08:28 +0800 |
User-agent: |
Mutt/1.9.2 (2017-12-15) |
On Thu, 04/19 23:57, Philippe Mathieu-Daudé wrote:
> On 04/19/2018 02:58 PM, Peter Maydell wrote:
> > On 19 April 2018 at 18:49, Alex Bennée <address@hidden> wrote:
> >> Philippe Mathieu-Daudé <address@hidden> writes:
> >>> On 04/19/2018 10:58 AM, Alex Bennée wrote:
> >>>> This doesn't add any additional tests but enables building the
> >>>> multiarch tests for MIPS using docker cross compilers. We don't have a
> >>>> cross compiler for mips64 big endian though.
> >>>
> >>> Oh we have one, using CFLAGS+=-EB
> >>>
> >>> we don't have cross libraries although.
> >>
> >> Yeah I thought the same with the ARM compilers (-mbig-endian) but it's
> >> the libraries that let us down. If, as you say, newlib gets this right I
> >> suspect we should use that to build the compilers not supported out of
> >> the box by Debian.
> >
> > I don't think we really want to get into the business of
> > building our own cross compilers if we can avoid it...it's harder
> > than it looks and we would be essentially reinventing the wheel.
>
> I totally agree.
>
> I'v been looking at existing maintained images we can use to
> cross-build, so we only have to pull (download) and image and use it,
> not wasting cpu time building it.
>
> However some images might be huge, full of things we don't need. But I
> prefer that rather than having to maintain cross toolchains.
>
> An example I like to use is the coreboot-sdk, designed to build
> i386/amd64 binaries, it fulfills our needs. But takes 2GB...
>
> $ docker pull coreboot/coreboot-sdk:1.47
> 1.47: Pulling from coreboot/coreboot-sdk
> 3d6aedfc3e47: Downloading [> ] 538.2kB/1.201GB
> d23c9a72f1e5: Waiting
>
> Another candidate is crossbuild, ~1GB
> $ docker pull multiarch/crossbuild
Makes sense to me. It is not insanely big. It might take some time to download
depending on the network but it's more likely a one-off thing compared to
building one from a handcraft dockerfile we make, which probably will involve
even more downloading time and disk usage.
Fam
- [Qemu-devel] [PATCH v2 34/43] tests/tcg: enable building for ppc64, (continued)
- [Qemu-devel] [PATCH v2 34/43] tests/tcg: enable building for ppc64, Alex Bennée, 2018/04/19
- [Qemu-devel] [PATCH v2 37/43] tests/Makefile.include: add (clean-)check-tcg targets, Alex Bennée, 2018/04/19
- [Qemu-devel] [PATCH v2 21/43] tests/tcg/i386: disable i386 version of test-i386-ssse, Alex Bennée, 2018/04/19
- [Qemu-devel] [PATCH v2 40/43] tests: add fp-test, a floating point test suite, Alex Bennée, 2018/04/19
- [Qemu-devel] [PATCH v2 29/43] tests/tcg/aarch64: userspace system register test, Alex Bennée, 2018/04/19
- [Qemu-devel] [PATCH v2 31/43] tests/tcg: enable building for MIPS, Alex Bennée, 2018/04/19
- Re: [Qemu-devel] [PATCH v2 31/43] tests/tcg: enable building for MIPS, Philippe Mathieu-Daudé, 2018/04/19
- Re: [Qemu-devel] [PATCH v2 31/43] tests/tcg: enable building for MIPS, Alex Bennée, 2018/04/19
- Re: [Qemu-devel] [PATCH v2 31/43] tests/tcg: enable building for MIPS, Peter Maydell, 2018/04/19
- Re: [Qemu-devel] [PATCH v2 31/43] tests/tcg: enable building for MIPS, Philippe Mathieu-Daudé, 2018/04/19
- Re: [Qemu-devel] [PATCH v2 31/43] tests/tcg: enable building for MIPS,
Fam Zheng <=
- Re: [Qemu-devel] [PATCH v2 31/43] tests/tcg: enable building for MIPS, Alex Bennée, 2018/04/20
- Re: [Qemu-devel] [PATCH v2 31/43] tests/tcg: enable building for MIPS, Alex Bennée, 2018/04/20
- Re: [Qemu-devel] [PATCH v2 31/43] tests/tcg: enable building for MIPS, Peter Maydell, 2018/04/20
- Re: [Qemu-devel] [PATCH v2 31/43] tests/tcg: enable building for MIPS, Alex Bennée, 2018/04/20
[Qemu-devel] [PATCH v2 23/43] tests/tcg/i386/test-i386: use modern vector_size attributes, Alex Bennée, 2018/04/19
[Qemu-devel] [PATCH v2 30/43] tests/tcg: move MIPS specific tests into subdir, Alex Bennée, 2018/04/19
[Qemu-devel] [PATCH v2 28/43] tests/tcg/aarch64: add fcvt test cases for AArch64, Alex Bennée, 2018/04/19
[Qemu-devel] [PATCH v2 36/43] Makefile.target: add (clean-)guest-tests targets, Alex Bennée, 2018/04/19
[Qemu-devel] [PATCH v2 38/43] osdep: disable glib-compat.h include with QEMU_NO_GLIB, Alex Bennée, 2018/04/19