From: Anthony Liguori <anthony@codemonkey.ws>
To: "C.W. Betts" <computers57@hotmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Mac: your linker does not support --whole-archive or -z
Date: Tue, 19 May 2009 14:59:40 -0500 [thread overview]
Message-ID: <4A130FAC.3050705@codemonkey.ws> (raw)
In-Reply-To: <BAY110-DAV13554CBDACDB62E29DD947B95B0@phx.gbl>
[-- Attachment #1: Type: text/plain, Size: 367 bytes --]
C.W. Betts wrote:
> I recently got my git tree up and running again, but I encountered
> this error when trying to configure it:
> Error: your linker does not support --whole-archive or -z.
> Please report to qemu-devel@nongnu.org
>
> I'm running Mac OS X 10.5.7
Does this patch help? Make sure to do configure and a full build.
Regards,
Anthony Liguori
>
>
>
[-- Attachment #2: mac-osx.patch --]
[-- Type: text/x-patch, Size: 705 bytes --]
diff --git a/configure b/configure
index 4111e7c..533fa35 100755
--- a/configure
+++ b/configure
@@ -1708,6 +1708,11 @@ elif check_linker_flags -z,allextract -z,defaultextract ; then
# Solaris ld
echo "ARLIBS_BEGIN=-Wl,-z,allextract" >> $config_mak
echo "ARLIBS_END=-Wl,-z,defaultextract" >> $config_mak
+elif check_linker_flags -all_load ; then
+ echo "ARLIBS_BEGIN=-all_load" >> $config_mak
+ # This is technically obsolete but it seems like it would be necessary
+# echo "ARLIBS_END=-noall_load" >> $config_mak
+ echo "ARLIBS_END=" >> $config_mak
else
echo "Error: your linker does not support --whole-archive or -z."
echo "Please report to qemu-devel@nongnu.org"
next prev parent reply other threads:[~2009-05-19 19:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <2CBFEC2D-0EB6-4363-AD57-B2338C3EC814@hotmail.com>
2009-05-19 18:22 ` [Qemu-devel] Mac: your linker does not support --whole-archive or -z C.W. Betts
2009-05-19 18:40 ` Anthony Liguori
2009-05-19 19:31 ` Andreas Färber
2009-05-19 19:59 ` Anthony Liguori [this message]
[not found] ` <7887E782-7732-4B9C-81AC-227B3CBED716@hotmail.com>
2009-05-20 4:11 ` C.W. Betts
2009-05-20 13:18 ` Anthony Liguori
2009-05-27 9:50 ` Alexander Graf
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=4A130FAC.3050705@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=computers57@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).