darwin user i386 no such directory

Bug #726962 reported by Marshall Midden
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QEMU
Fix Released
Undecided
Unassigned

Bug Description

qemu-0.14.0/darwin-user/i386: No such file or directory

I tried the current sources and the "stable".

I am running mac os x 10.5.8 -- 64 bit on macbook pro. fusion works, virtualbox works, Q did on i386, but not 64 bit.

I had "fink" installed, and changed /sw to be after /usr/local/bin so that I could put up the latest gmake to get around fink's problems. It won't compile with gcc42, so I am using XCode 4.0.1.

What am I doing wrong? What did I miss?

commit 417131fb9ad3f6dd7177a338cc5f143dec4d75f0
Author: Stefan Weil <email address hidden>
Date: Fri Feb 25 16:30:20 2011 -0600

Revision history for this message
Karl-Michael Schindler (karl-michael-schindler) wrote :
Download full text (3.6 KiB)

same with 0.14.1 with Mac OS X 10.6.7.
target ppc-darwin-user has the same problem:

  CC ppc-darwin-user/main.o
cc1: warning: /Users/michael/Downloads/qemu-0.14.1/darwin-user/ppc: No such file or directory
In file included from /Users/michael/Downloads/qemu-0.14.1/target-ppc/cpu.h:855,
                 from /Users/michael/Downloads/qemu-0.14.1/darwin-user/qemu.h:7,
                 from /Users/michael/Downloads/qemu-0.14.1/darwin-user/main.c:30:
../cpu-all.h:622:24: error: qemu-types.h: No such file or directory
In file included from /Users/michael/Downloads/qemu-0.14.1/target-ppc/cpu.h:855,
                 from /Users/michael/Downloads/qemu-0.14.1/darwin-user/qemu.h:7,
                 from /Users/michael/Downloads/qemu-0.14.1/darwin-user/main.c:30:
../cpu-all.h:756: error: expected declaration specifiers or ‘...’ before ‘abi_ulong’
../cpu-all.h:757: error: expected declaration specifiers or ‘...’ before ‘abi_ulong’
In file included from /Users/michael/Downloads/qemu-0.14.1/darwin-user/qemu.h:9,
                 from /Users/michael/Downloads/qemu-0.14.1/darwin-user/main.c:30:
../thunk.h: In function ‘thunk_type_size’:
../thunk.h:104: error: ‘TARGET_ABI_BITS’ undeclared (first use in this function)
../thunk.h:104: error: (Each undeclared identifier is reported only once
../thunk.h:104: error: for each function it appears in.)
../thunk.h: In function ‘thunk_type_align’:
../thunk.h:141: error: ‘TARGET_ABI_BITS’ undeclared (first use in this function)
In file included from /Users/michael/Downloads/qemu-0.14.1/darwin-user/main.c:30:
/Users/michael/Downloads/qemu-0.14.1/darwin-user/qemu.h: At top level:
/Users/michael/Downloads/qemu-0.14.1/darwin-user/qemu.h:100: warning: ‘struct sigaltstack’ declared inside parameter list
/Users/michael/Downloads/qemu-0.14.1/darwin-user/qemu.h:100: warning: its scope is only this definition or declaration, which is probably not what you want
/Users/michael/Downloads/qemu-0.14.1/darwin-user/qemu.h:109: warning: redundant redeclaration of ‘init_paths’
../qemu-common.h:172: warning: previous declaration of ‘init_paths’ was here
/Users/michael/Downloads/qemu-0.14.1/darwin-user/qemu.h:110: warning: redundant redeclaration of ‘path’
../qemu-common.h:173: warning: previous declaration of ‘path’ was here
/Users/michael/Downloads/qemu-0.14.1/darwin-user/main.c:74: warning: no previous prototype for ‘cpu_get_pic_interrupt’
/Users/michael/Downloads/qemu-0.14.1/darwin-user/main.c: In function ‘cpu_loop’:
/Users/michael/Downloads/qemu-0.14.1/darwin-user/main.c:164: warning: cast to pointer from integer of different size
/Users/michael/Downloads/qemu-0.14.1/darwin-user/main.c:173: warning: cast to pointer from integer of different size
/Users/michael/Downloads/qemu-0.14.1/darwin-user/main.c:184: warning: cast to pointer from integer of different size
/Users/michael/Downloads/qemu-0.14.1/darwin-user/main.c:280: warning: cast to pointer from integer of different size
/Users/michael/Downloads/qemu-0.14.1/darwin-user/main.c:288: warning: cast to pointer from integer of different size
/Users/michael/Downloads/qemu-0.14.1/darwin-user/main.c:300: warning: cast to pointer from integer of different size
/Users/michael/Downloads/q...

Read more...

Revision history for this message
Andreas Färber (afaerber) wrote : Re: [Qemu-devel] [Bug 726962] Re: darwin user i386 no such directory

Am 27.05.2011 um 00:56 schrieb Karl-Michael Schindler:

> same with 0.14.1 with Mac OS X 10.6.7.
> target ppc-darwin-user has the same problem:
>
>
> CC ppc-darwin-user/main.o
> cc1: warning: /Users/michael/Downloads/qemu-0.14.1/darwin-user/ppc:
> No such file or directory
> In file included from /Users/michael/Downloads/qemu-0.14.1/target-
> ppc/cpu.h:855,
> from /Users/michael/Downloads/qemu-0.14.1/darwin-
> user/qemu.h:7,
> from /Users/michael/Downloads/qemu-0.14.1/darwin-
> user/main.c:30:
> ../cpu-all.h:622:24: error: qemu-types.h: No such file or directory

I do have a patch for this one and another, but there's many more
errors so I didn't bother to post it.

If you're willing to invest time on this, have a look at:

http://repo.or.cz/w/qemu/afaerber.git/shortlog/refs/heads/darwin-user

Don't bother with 0.14.1, it'll need to be rebased against git master.
If you have patches, please post to qemu-devel mailing list and cc me.

Thanks,
Andreas

Revision history for this message
Karl-Michael Schindler (karl-michael-schindler) wrote :

Am 28.05.2011 um 16:48 schrieb Andreas Färber:

> If you're willing to invest time on this, have a look at:
>
> http://repo.or.cz/w/qemu/afaerber.git/shortlog/refs/heads/darwin-user

interestinng link, but my actual interest was mipsel-linux, which is already covered, but

> Don't bother with 0.14.1, it'll need to be rebased against git master.

hm, fink is based on tarballs with fixed checksums. Usually, this means release tarballs.

> If you have patches, please post to qemu-devel mailing list and cc me.

ok.

> Thanks,
> Andreas

Michael Schindler

Revision history for this message
Andreas Färber (afaerber) wrote :

Am 28.05.2011 um 17:40 schrieb Karl-Michael Schindler:

> Am 28.05.2011 um 16:48 schrieb Andreas Färber:
>
>> If you're willing to invest time on this, have a look at:
>>
>> http://repo.or.cz/w/qemu/afaerber.git/shortlog/refs/heads/darwin-user
[...]
>> Don't bother with 0.14.1, it'll need to be rebased against git
>> master.
>
> hm, fink is based on tarballs with fixed checksums. Usually, this
> means
> release tarballs.

Maybe I was too brief: darwin-user is broken since at least 0.9.0 four
years ago, so there's no reason to believe that it'll be fixed in this
or some upcoming tarball just by filing a bug ticket.

If you do want to create patches to fix this, you'll need to use the
git version and its master branch.
Cf. http://wiki.qemu.org/Contribute/SubmitAPatch

Compilation works very well without Fink btw, we currently have zero
hard dependencies.

Andreas

Revision history for this message
Peter Maydell (pmaydell) wrote :

This is fixed, in that darwin-user was removed some time ago...

Changed in qemu:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.