qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Peter Maydell
Subject: Re: [Qemu-devel] Problems compiling HEAD on Mac OS X 10.9.2
Date: Thu, 13 Mar 2014 18:35:00 +0000

[put qemu-devel back on cc; I guess you accidentally dropped it]

On 13 March 2014 18:22, Christian Mahnke <address@hidden> 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
> --target-list=sparc-softmmu,sparc64-softmmu
>
> The offending output of V=1 gmake:
>
> c++ -m64 -DOS_OBJECT_USE_OBJC=0 -arch x86_64 -D_GNU_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes
> -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes
> -fno-strict-aliasing -fno-common  -Wendif-labels -Wmissing-include-dirs
> -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self
> -Wold-style-definition -fstack-protector-all -I/opt/local/include
> -I/opt/local/include/p11-kit-1 -I/opt/local/include
> -I/opt/local/include/libpng16  -I/opt/local/include/libusb-1.0
> -I/opt/local/include/pixman-1  -I/Users/cmahnke/fun/qemu/dtc/libfdt
> -I/Users/cmahnke/fun/qemu/tests -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
> -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
> -I/opt/local/include  -g  -m64 -framework CoreFoundation -framework IOKit
> -arch x86_64 -g  -o qemu-io aio-posix.o async.o block.o block/blkdebug.o
> block/blkverify.o block/bochs.o block/cloop.o block/cow.o block/curl.o
> block/dmg.o block/nbd-client.o block/nbd.o block/parallels.o block/qapi.o
> block/qcow.o block/qcow2-cache.o block/qcow2-cluster.o
> block/qcow2-refcount.o block/qcow2-snapshot.o block/qcow2.o
> block/qed-check.o block/qed-cluster.o block/qed-gencb.o block/qed-l2-cache.o
> block/qed-table.o block/qed.o block/raw-posix.o block/raw_bsd.o
> block/sheepdog.o block/snapshot.o block/ssh.o block/vdi.o
> block/vhdx-endian.o block/vhdx-log.o block/vhdx.o block/vmdk.o block/vpc.o
> block/vvfat.o blockjob.o coroutine-sigaltstack.o iohandler.o main-loop.o
> nbd.o qapi-types.o qapi-visit.o qemu-coroutine-io.o qemu-coroutine-lock.o
> qemu-coroutine-sleep.o qemu-coroutine.o qemu-io-cmds.o qemu-io.o
> qemu-timer.o thread-pool.o libqemuutil.a libqemustub.a  -L/opt/local/lib
> -Wl,-headerpad_max_install_names -arch -lcurl -lssh2 -lz x86_64
> -L/opt/local/lib -lgthread-2.0 -lglib-2.0 -lintl   -lz -lz
> i686-apple-darwin13-g++-apple-4.2.1: x86_64: No such file or directory
> c++-apple-4.2: Invalid arch name : -lcurl
> i686-apple-darwin13-g++-apple-4.2.1: x86_64: No such file or directory
> c++-apple-4.2: Invalid arch name : -lcurl

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 alphabetical sort on
the curl and ssh libraries, which is what rules.mak's
extract-libs = $(strip $(sort $(foreach o,$1,$($o-libs)) \
                  $(foreach o,$(call expand-objs,$1),$($o-libs))))

does. Can you send us your config-host.mak, please?

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]