Skip to content

Build: configure --disable-optimize-llvm #4901

Closed
@pnkfelix

Description

@pnkfelix

I am on OS X, 10.7.5, Xcode 4.6.

My original goal was to configure a Rust build with "maximal debugability"; so I ran this:

% git log -1 --oneline
19dfec2 auto merge of #4852 : Caseus/rust/issue-4836, r=brson
% mkdir objdir-dbg; cd objdir-dbg
% ../configure --enable-debug --disable-optimize{,-cxx,-llvm}

The configure finished, but then when I ran make, I got an error that said something about llvm-config

After seeing that, I guessed that llvm is the problem, so maybe the llvm-related flag I fed to configure is not supported with those other options.

So then I just tried this:

% ../configure --disable-optimize-llvm

It has the same error; this error:

...
 llvm[3]: ======= Finished Linking Release+Asserts Unit test VMCore (without symbols)
llvm[1]: ***** Completed Release+Asserts Build
touch: /Users/pnkfelix/Dev/Rust/rust/objdir-dbg/llvm/x86_64-apple-darwin/Debug+Asserts/bin/llvm-config: No such file or directory
make: *** [/Users/pnkfelix/Dev/Rust/rust/objdir-dbg/llvm/x86_64-apple-darwin/Debug+Asserts/bin/llvm-config] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    O-macosOperating system: macOS

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions