Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fail on mac osx for Git code #3142

Closed
amuxtux opened this issue Aug 8, 2012 · 5 comments
Closed

Build fail on mac osx for Git code #3142

amuxtux opened this issue Aug 8, 2012 · 5 comments
Milestone

Comments

@amuxtux
Copy link

amuxtux commented Aug 8, 2012

i try building from http://dl.rust-lang.org/dist/rust-0.3.tar.gz build is successful.
but on on latest git code base, build is failing on my iMac with 10.6.8. OS version.

make is giving following error

llvm[5]: ======= Finished Linking Release+Asserts Executable diagtool (without symbols)
llvm[5]: Compiling ClangCheck.cpp for Release+Asserts build
llvm[5]: Linking Release+Asserts executable clang-check (without symbols)
llvm[5]: ======= Finished Linking Release+Asserts Executable clang-check (without symbols)
llvm[5]: Compiling ClangASTDump.cpp for Release+Asserts build
/var/folders/Mn/MniahSSdEPyqP93Uh9LBhk+++TI/-Tmp-//cceo1Sie.s:unknown:Non-global symbol: __ZZN5clang7tooling24newFrontendActionFactoryIN12_GLOBAL__N_120SelectiveDumpVisitorEEEPNS0_21FrontendActionFactoryEPT_EN28FrontendActionFactoryAdapter22ConsumerFactoryAdaptor17CreateASTConsumerERNS_16CompilerInstanceEN4llvm9StringRefE.eh can't be a weak_definition
/var/folders/Mn/MniahSSdEPyqP93Uh9LBhk+++TI/-Tmp-//cceo1Sie.s:unknown:Non-global symbol: __ZZN5clang7tooling24newFrontendActionFactoryIN12_GLOBAL__N_120SelectiveDumpVisitorEEEPNS0_21FrontendActionFactoryEPT_EN28FrontendActionFactoryAdapter6createEv.eh can't be a weak_definition
make[5]: *** [/Users/WCL/rustGitHub/rust/llvm/x86_64-apple-darwin/tools/clang/tools/clang-ast-dump/Release+Asserts/ClangASTDump.o] Error 1
make[4]: *** [all] Error 1
make[3]: *** [all] Error 1
make[2]: *** [clang/.makeall] Error 2
make[1]: *** [all] Error 1
make: *** [/Users/WCL/rustGitHub/rust/llvm/x86_64-apple-darwin/Release+Asserts/bin/llvm-config] Error 2

@fsouza
Copy link
Contributor

fsouza commented Aug 8, 2012

It works on Mac OS 10.8 (Mountain Lion).

@amuxtux
Copy link
Author

amuxtux commented Aug 8, 2012

@fsouza thanks for reply.

after build break I did make again , this time it worked.
I will check on mountain lion if it builds smoothly and then close the issue.

@amuxtux amuxtux closed this as completed Aug 8, 2012
@erickt erickt reopened this Sep 28, 2012
@erickt
Copy link
Contributor

erickt commented Sep 28, 2012

I'm reopening this because it's still happening on OSX 10.6.8, and suggest we try to fix this before the 0.4 release since it could cause errors for new users.

@brson
Copy link
Contributor

brson commented Sep 28, 2012

ok it's on the 0.4 list

@brson
Copy link
Contributor

brson commented Oct 2, 2012

Fixed by erickt.

@brson brson closed this as completed Oct 2, 2012
bors pushed a commit to rust-lang-ci/rust that referenced this issue May 15, 2021
Do not remove path disambiugator inside macro
celinval added a commit to celinval/rust-dev that referenced this issue Jun 4, 2024
Related changes:
  - rust-lang#118310:
    Add `Ord::cmp` for primitives as a `BinOp` in MIR
  - rust-lang#120131:
    Add support to `Pat` pattern type
  - rust-lang#122935:
    Rename CastKind::PointerWithExposedProvenance
  - rust-lang#123097:
    Adapt to changes to local_def_path_hash_to_def_id

Resolves rust-lang#3130, rust-lang#3142
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants