qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Jonathan Kalbfeld" <jonathan.kalbfeld@gmail.com>
To: Blue Swirl <blueswir1@hotmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Compile errors on Solaris for qemu 0.8.2
Date: Tue, 25 Jul 2006 05:02:21 -0700	[thread overview]
Message-ID: <db7b3ca90607250502iedc5e8fx1b17532b54768acc@mail.gmail.com> (raw)
In-Reply-To: <BAY104-F35C8691229B874896E10DEFF650@phx.gbl>

I went ahead and made Leo's change and it built.  Also, I bit the
bullet and used the blastwave compiler.  However, I still get
segfaults trying to run sparc-test on qemu-system-sparc from my
sparc/solaris box.  Is this a known issue?  Also happens with mips.



On 7/24/06, Blue Swirl <blueswir1@hotmail.com> wrote:
> >I ran into this myself yesterday.  I couldn't figure out a definitive
> >answer, because I am no expert on the SPARC architecture, but it appears
> >that at least on an UltraSparc IIi machine from a few years ago, the
> >"sparc V9" instructions are supported.  However, the gcc by default
> >doesn't define __sparc_v9__ on that architecture.  There are some -m
> >flags that can be passed to gcc (like multisparc, etc.), but I'm not
> >sure for what host machines they are appropriate exactly.  Perhaps the
> >SPARC experts on the list can comment more, but in the meantime, the
> >following simple (but likely incorrect) patch worked fine for me:
>
> Well, at least my gcc defines __sparc_v9__ if cpu is either v9, ultrasparc
> or ultrasparc3:
> %{mcpu=v9:-D__sparc_v9__} %{mcpu=ultrasparc:-D__sparc_v9__}
> %{mcpu=ultrasparc3:-D__sparc_v9__}
>
> This is from /usr/lib/gcc-lib/sparc-linux/3.3.5/specs. What does your
> compiler define, as you still can compile the RDTICK instruction in the
> #ifdef section? RDTICK is not available on V8 (Sparc32) architecture, only
> on V9.
>
> _________________________________________________________________
> FREE pop-up blocking with the new MSN Toolbar - get it now!
> http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
>
>


-- 
--
Jonathan Kalbfeld
+1 323 620 6682

      reply	other threads:[~2006-07-25 12:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-24 13:23 [Qemu-devel] Compile errors on Solaris for qemu 0.8.2 Jonathan Kalbfeld
2006-07-24 13:37 ` Leonardo E. Reiter
2006-07-24 15:28   ` Jonathan Kalbfeld
2006-07-24 16:35   ` Blue Swirl
2006-07-25 12:02     ` Jonathan Kalbfeld [this message]

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=db7b3ca90607250502iedc5e8fx1b17532b54768acc@mail.gmail.com \
    --to=jonathan.kalbfeld@gmail.com \
    --cc=blueswir1@hotmail.com \
    --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).