From: Jeff King <peff@peff.net>
To: Douglas Godfrey <douglas.godfrey@whamtech.com>
Cc: git@vger.kernel.org
Subject: Re: undefined symbols building GIT source from githu
Date: Fri, 8 Feb 2019 13:15:03 -0500 [thread overview]
Message-ID: <20190208181503.GC27673@sigill.intra.peff.net> (raw)
In-Reply-To: <1a9f02ca-3bc3-f00f-6923-1bbf050e84ca@whamtech.com>
On Fri, Feb 08, 2019 at 01:13:04AM -0500, Douglas Godfrey wrote:
> make
>
> ld: warning: in libgit.a, file was built for unsupported file format which is not the architecture being linked (x86_64)
> ld: warning: in xdiff/lib.a, file was built for unsupported file format which is not the architecture being linked (x86_64)
> Undefined symbols:
> "_strbuf_addstr_urlencode", referenced from:
> [...]
It sounds like there is a mismatch between your compiler/linker and
"ar". I had a vague recollection of this coming up before, and turned
this up in the archive:
https://public-inbox.org/git/CAH8yC8kV77h8cRA9Qo_1FYe9sv0zgsE7yKxaX+OtpRfj9+7wog@mail.gmail.com/
does setting AR/ARFLAGS as in that patch help (note that the original
complaint is that ARFLAGS is not respected, but that was since changed
in response to that thread).
-Peff
prev parent reply other threads:[~2019-02-08 18:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-08 6:13 undefined symbols building GIT source from githu Douglas Godfrey
2019-02-08 18:15 ` Jeff King [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=20190208181503.GC27673@sigill.intra.peff.net \
--to=peff@peff.net \
--cc=douglas.godfrey@whamtech.com \
--cc=git@vger.kernel.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).