Re: [Qemu-devel] [PATCH v5 0/8] target/mips: Support R5900 GCC programs in user mode

2018-09-29 Thread Fredrik Noring
Hi Philippe, > We could manage to build a docker mips-r5900 cross-compiler image, such: > https://lists.gnu.org/archive/html/qemu-devel/2018-06/msg06908.html > > But we'll need your patches. The attached patches for GAS and GCC are provisional and intended to enable and simplify the use of a

Re: [Qemu-devel] [PATCH v5 0/8] target/mips: Support R5900 GCC programs in user mode

2018-09-28 Thread Philippe Mathieu-Daudé
On Wed, Sep 19, 2018 at 8:14 PM Fredrik Noring wrote: ... > The Toshiba TX System RISC TX79 Core Architecture manual describes the > R5900 processor: > > http://www.lukasz.dk/files/tx79architecture.pdf I'd like to mirror this DS (and few others) here:

Re: [Qemu-devel] [PATCH v5 0/8] target/mips: Support R5900 GCC programs in user mode

2018-09-24 Thread Fredrik Noring
Hi Philippe, > > That would be programs not compiled by GCC, as explained in the first > > sentence of the body text. The subject line is very brief by necessity > > since it is limited to 72 or so characters. It was an attempt to qualify > > the subject line "initial support for MIPS R5900",

Re: [Qemu-devel] [PATCH v5 0/8] target/mips: Support R5900 GCC programs in user mode

2018-09-23 Thread Philippe Mathieu-Daudé
On 9/23/18 8:38 PM, Fredrik Noring wrote: > Hi Aleksandar, > > Thank your for your review comments. Please find clarifications and > questions below: > >>> Subject: [PATCH v5 0/8] target/mips: Support R5900 GCC programs in user mode >> >> The expression "GCC programs" will raise many eyebrows.

Re: [Qemu-devel] [PATCH v5 0/8] target/mips: Support R5900 GCC programs in user mode

2018-09-23 Thread Maciej W. Rozycki
On Sun, 23 Sep 2018, Fredrik Noring wrote: > > Patch 4 will break bisect on clang builds. The reason for this is that > > clang treats unused functions as errors. Therefore, patch 4 must be merged > > with some of subsequent patches that contain first invocation of the > > function currently

Re: [Qemu-devel] [PATCH v5 0/8] target/mips: Support R5900 GCC programs in user mode

2018-09-23 Thread Fredrik Noring
Hi Aleksandar, Thank your for your review comments. Please find clarifications and questions below: > > Subject: [PATCH v5 0/8] target/mips: Support R5900 GCC programs in user mode > > The expression "GCC programs" will raise many eyebrows. What R5900 > programs are not "GCC programs"? That

Re: [Qemu-devel] [PATCH v5 0/8] target/mips: Support R5900 GCC programs in user mode

2018-09-20 Thread Aleksandar Markovic
> From: Fredrik Noring > Sent: Wednesday, September 19, 2018 7:48 PM Fredrik, first of all, many thanks for your efforts. There is a visible progress in the way you create, organize, and present the changes you devised. However, I will be mainly expressing criticism in this mail, but this

[Qemu-devel] [PATCH v5 0/8] target/mips: Support R5900 GCC programs in user mode

2018-09-19 Thread Fredrik Noring
The primary purpose of this change is to support programs compiled by GCC for the R5900 target and thereby run R5900 Linux distributions, for example Gentoo. In particular, this avoids issues with cross compilation. This change has been tested with Gentoo compiled for R5900, including native