qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Maciej W. Rozycki" <macro@codesourcery.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: Leon Alrae <leon.alrae@imgtec.com>,
	QEMU Developers <qemu-devel@nongnu.org>,
	Aurelien Jarno <aurelien@aurel32.net>
Subject: Re: [Qemu-devel] [PATCH 1/3] target-mips: Add n32/n64 configuration files
Date: Thu, 11 Dec 2014 14:52:54 +0000	[thread overview]
Message-ID: <alpine.DEB.1.10.1412111156010.19155@tp.orcam.me.uk> (raw)
In-Reply-To: <CAFEAcA9iWJo_xvH6W5qvouh1Q1uX42DiXGr+0HQy2TWf-KHc4w@mail.gmail.com>

On Thu, 11 Dec 2014, Peter Maydell wrote:

> >> >  Except that apart from coming to an agreement someone has to make it
> >> > happen yet. ;)
> >>
> >> Ah, but I'm happy with the current state of the codebase...
> >
> >  Ack.
> 
> To clarify, that was a slightly tongue-in-cheek response, but I
> do actually feel strongly enough that we shouldn't create new
> wrong executables that I'd rather we left the bugs here unaddressed
> than try to fix them with a lot of new softmmu executables.

 Sure, I have to clear the confusion I created here though.

 I have realised I ran all the earlier system emulation mode Linux testing 
with both o32 (ELF32) and n64 (ELF64) kernel images and just a single pair 
of QEMU executables for different endiannesses each.  So the ELF loader 
already supports all ELF executables.  So it's only the GDB stub's 
register width that has issues, as addressed here.

 Apologies for the wrong statements then, I misremembered things.

> >> Er, I'm not sure what you mean there. Trying a softmmu config for
> >> mipsn32 or mipsn32el fails gracefully already:
> >>
> >> manooth$ (cd build/mips && ../../configure --target-list=mipsn32-softmmu)
> >>
> >> ERROR: Unknown target name 'mipsn32-softmmu'
> >
> >  It looks like the issue I had in mind has been fixed in a generic way
> > then since I last checked.  Previously a build error happened sometime
> > along the process.  Apologies for not double-checking with current trunk.
> > I'll send updates.
> 
> Yes, we fixed configure to sanity check user target-list arguments
> some time last year. Note that the list of valid targets is driven
> by looking at what files exist in default-configs/, so you'll want
> to delete any stale or local files you have there from previous
> versions of this patchset.

 That's what I figured out before sending v2.  It looks to me like the 
cleanest way to handle it, you don't duplicate validity information in 
`configure'.

 Thanks for your review and hints, much appreciated.

  Maciej

  reply	other threads:[~2014-12-11 14:53 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-10 18:53 [Qemu-devel] [PATCH 0/3] MIPS: GDB register width fix / ABI configuration rework Maciej W. Rozycki
2014-12-10 18:53 ` [Qemu-devel] [PATCH 1/3] target-mips: Add n32/n64 configuration files Maciej W. Rozycki
2014-12-10 19:41   ` Peter Maydell
2014-12-10 20:29     ` Maciej W. Rozycki
2014-12-10 21:30       ` Peter Maydell
2014-12-10 22:14         ` Maciej W. Rozycki
2014-12-10 22:54           ` Peter Maydell
2014-12-10 23:25             ` Maciej W. Rozycki
2014-12-11  9:41               ` Peter Maydell
2014-12-11 14:52                 ` Maciej W. Rozycki [this message]
2014-12-10 18:53 ` [Qemu-devel] [PATCH 2/3] target-mips: Rework ABIs to allow all required configurations Maciej W. Rozycki
2014-12-10 18:54 ` [Qemu-devel] [PATCH 3/3] target-mips: Set GDB register widths correctly Maciej W. Rozycki
2014-12-11  0:21 ` [Qemu-devel] [PATCH v2 1/2] target-mips: Rework ABIs to allow all required configurations Maciej W. Rozycki
2014-12-12 18:27   ` [Qemu-devel] [PATCH v3 " Maciej W. Rozycki
2015-02-09 11:30   ` [Qemu-devel] [PATCH v2 " Leon Alrae
2015-02-09 14:09     ` Maciej W. Rozycki
2015-02-09 14:36       ` Peter Maydell
2015-02-11 13:28         ` Maciej W. Rozycki
2014-12-11  0:22 ` [Qemu-devel] [PATCH v2 2/2] target-mips: Set GDB register widths correctly Maciej W. Rozycki

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=alpine.DEB.1.10.1412111156010.19155@tp.orcam.me.uk \
    --to=macro@codesourcery.com \
    --cc=aurelien@aurel32.net \
    --cc=leon.alrae@imgtec.com \
    --cc=peter.maydell@linaro.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).