git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: yan ke <yanke131415@gmail.com>
To: git@vger.kernel.org
Subject: Re: build error on mac os 10.14.1
Date: Wed, 7 Nov 2018 20:18:32 +0800	[thread overview]
Message-ID: <CAJosSJ75G8-ThqCG4ky5LXAQ0a41iRQweYwdx0st+bM4Zf78GQ@mail.gmail.com> (raw)
In-Reply-To: <CAJosSJ4eKJfa4s+3LcP3Q5qatcg3aFjh9H=Q9bETnkROu06+KQ@mail.gmail.com>

Solved, It is because the macOS SDK headers loss in 10.14.1.  Need
install command line tool 10.1 and install the header package in
/Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg

So  I think the git make configure need check the SDK header to get
the correct reason of build fail
yan ke <yanke131415@gmail.com> 于2018年11月6日周二 下午5:07写道:
>
> Hello
>
>     when build on mac os 10.14.1 with the master branch, I got the
> error as blew, so what is wrong?
>
> ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64
> ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64
> ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64
> ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64
> ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64
> ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64
> clangclang: error: linker command failed with exit code 1 (use -v to
> see invocation)
> : error: linker command failed with exit code 1 (use -v to see invocation)
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> clangmake: *** [Makefile:2369: git-shell] Error 1
> make: *** Waiting for unfinished jobs....
> make: *** [Makefile:2369: git-sh-i18n--envsubst] Error 1
> : error: linker command failed with exit code 1 (use -v to see invocation)
> clang: make: *** [Makefile:2369: git-credential-cache--daemon] Error 1
> error: linker command failed with exit code 1 (use -v to see invocation)
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> make: *** [Makefile:2369: git-credential-cache] Error 1
> make: *** [Makefile:2369: git-credential-store] Error 1
> make: *** [Makefile:2383: git-remote-testsvn] Error 1
> ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> make: *** [Makefile:2393: git-remote-http] Error 1
> ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64
> ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64
> ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64
> ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> make: *** [Makefile:2369: git-http-backend] Error 1
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> make: *** [Makefile:2372: git-imap-send] Error 1
> make: *** [Makefile:2379: git-http-push] Error 1
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> make: *** [Makefile:2376: git-http-fetch] Error 1
> make: *** [Makefile:2369: git-daemon] Error 1
> ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> make: *** [Makefile:2369: git-fast-import] Error 1
> ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> make: *** [Makefile:2046: git] Error 1

      reply	other threads:[~2018-11-07 12:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-06  9:07 build error on mac os 10.14.1 yan ke
2018-11-07 12:18 ` yan ke [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

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJosSJ75G8-ThqCG4ky5LXAQ0a41iRQweYwdx0st+bM4Zf78GQ@mail.gmail.com \
    --to=yanke131415@gmail.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.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).