Re: [Qemu-devel] Problems compiling HEAD on Mac OS X 10.9.2

2014-06-10 Thread Paolo Bonzini
Il 10/06/2014 12:23, Rainer Müller ha scritto: You really can't just sort the words as their order is important, at least for some options such as "-arch" and its argument. From config-host.mak: LIBSSH2_LIBS=-L/opt/local/lib -lssh2 -Wl,-headerpad_max_install_names -arch x86_64 While we sho

Re: [Qemu-devel] Problems compiling HEAD on Mac OS X 10.9.2

2014-06-10 Thread Fam Zheng
On Tue, 06/10 12:23, Rainer Müller wrote: > On 2014-06-06 04:04, Fam Zheng wrote: > >> Ugh. This was supposed to be fixed by commit 6295b98d7b767c. > >> Fam, can you re-check your fix, please? > >> > > > > I don't understand that fix now, looks like it was moved onto a wrong list. > > > > Rainer,

Re: [Qemu-devel] Problems compiling HEAD on Mac OS X 10.9.2

2014-06-10 Thread Rainer Müller
On 2014-06-06 04:04, Fam Zheng wrote: >> Ugh. This was supposed to be fixed by commit 6295b98d7b767c. >> Fam, can you re-check your fix, please? >> > > I don't understand that fix now, looks like it was moved onto a wrong list. > > Rainer, does this below patch work for you? (we can't duplicate o

Re: [Qemu-devel] Problems compiling HEAD on Mac OS X 10.9.2

2014-06-05 Thread Fam Zheng
On Thu, 06/05 17:11, Peter Maydell wrote: > On 5 June 2014 14:38, Rainer Müller wrote: > > On 2014-03-14 13:29, Paolo Bonzini wrote: > >> Il 13/03/2014 19:48, Peter Maydell ha scritto: > >>> Yep, here we are: > >>> LIBSSH2_LIBS=-L/opt/local/lib -lssh2 -Wl,-headerpad_max_install_names > >>> -arch x

Re: [Qemu-devel] Problems compiling HEAD on Mac OS X 10.9.2

2014-06-05 Thread Peter Maydell
On 5 June 2014 14:38, Rainer Müller wrote: > On 2014-03-14 13:29, Paolo Bonzini wrote: >> Il 13/03/2014 19:48, Peter Maydell ha scritto: >>> Yep, here we are: >>> LIBSSH2_LIBS=-L/opt/local/lib -lssh2 -Wl,-headerpad_max_install_names >>> -arch x86_64 >>> CURL_LIBS=-L/opt/local/lib -lcurl >>> >>> ru

Re: [Qemu-devel] Problems compiling HEAD on Mac OS X 10.9.2

2014-06-05 Thread Rainer Müller
On 2014-03-14 13:29, Paolo Bonzini wrote: > Il 13/03/2014 19:48, Peter Maydell ha scritto: >> Yep, here we are: >> LIBSSH2_LIBS=-L/opt/local/lib -lssh2 -Wl,-headerpad_max_install_names >> -arch x86_64 >> CURL_LIBS=-L/opt/local/lib -lcurl >> >> rules.mak is incorrectly reordering the contents of >>

Re: [Qemu-devel] Problems compiling HEAD on Mac OS X 10.9.2

2014-03-14 Thread Paolo Bonzini
Il 13/03/2014 19:48, Peter Maydell ha scritto: Yep, here we are: LIBSSH2_LIBS=-L/opt/local/lib -lssh2 -Wl,-headerpad_max_install_names -arch x86_64 CURL_LIBS=-L/opt/local/lib -lcurl rules.mak is incorrectly reordering the contents of these and generating a non-working mess. Fam, is the $(sort

Re: [Qemu-devel] Problems compiling HEAD on Mac OS X 10.9.2

2014-03-13 Thread Christian Mahnke
Thanks Peter! That works for me. On Thu, Mar 13, 2014 at 7:48 PM, Peter Maydell wrote: > On 13 March 2014 18:42, Christian Mahnke wrote: > > On Thu, Mar 13, 2014 at 7:35 PM, Peter Maydell > > > wrote: > >> I have a feeling I know what may be happening here. > >> > >> -L/opt/local/lib > >> -W

Re: [Qemu-devel] Problems compiling HEAD on Mac OS X 10.9.2

2014-03-13 Thread Peter Maydell
On 13 March 2014 18:42, Christian Mahnke wrote: > On Thu, Mar 13, 2014 at 7:35 PM, Peter Maydell > wrote: >> I have a feeling I know what may be happening here. >> >> -L/opt/local/lib >> -Wl,-headerpad_max_install_names -arch -lcurl -lssh2 -lz x86_64 >> >> is I think the result of doing an alph

Re: [Qemu-devel] Problems compiling HEAD on Mac OS X 10.9.2

2014-03-13 Thread Christian Mahnke
Sorry about that, I will try to keep it in mind. I've attached the file. On Thu, Mar 13, 2014 at 7:35 PM, Peter Maydell wrote: > [put qemu-devel back on cc; I guess you accidentally dropped it] > > On 13 March 2014 18:22, Christian Mahnke wrote: > > Hi, > > the answers of two of your questions

Re: [Qemu-devel] Problems compiling HEAD on Mac OS X 10.9.2

2014-03-13 Thread Peter Maydell
[put qemu-devel back on cc; I guess you accidentally dropped it] On 13 March 2014 18:22, Christian Mahnke wrote: > Hi, > the answers of two of your questions, there is no space in the directory > name. > > I'm running configure like this: > ./configure --prefix=/opt/qemu-sparc --cc=gcc > --targe

Re: [Qemu-devel] Problems compiling HEAD on Mac OS X 10.9.2

2014-03-13 Thread Christian Mahnke
Hi Peter, it' probably a problem with the configure script, clang raised the same error: Call to configure: ./configure --prefix=/opt/qemu-sparc --cc=cc --target-list=sparc-softmmu,sparc64-softmmu V=1 gmake gives c++ -m64 -DOS_OBJECT_USE_OBJC=0 -arch x86_64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64

Re: [Qemu-devel] Problems compiling HEAD on Mac OS X 10.9.2

2014-03-13 Thread Peter Maydell
On 13 March 2014 17:45, Christian Mahnke wrote: > Hi list, > I'm trying to compile the the current HEAD of the Git repository on Mac OS X > 10.9.2 using apple-gcc42 from Mac Ports > > I've got the following error: > LINK qemu-nbd > i686-apple-darwin13-g++-apple-4.2.1: x86_64: No such file or di

[Qemu-devel] Problems compiling HEAD on Mac OS X 10.9.2

2014-03-13 Thread Christian Mahnke
Hi list, I'm trying to compile the the current HEAD of the Git repository on Mac OS X 10.9.2 using apple-gcc42 from Mac Ports I've got the following error: LINK qemu-nbd i686-apple-darwin13-g++-apple-4.2.1: x86_64: No such file or directory c++-apple-4.2: Invalid arch name : -lcurl To me it s