Coder Social home page Coder Social logo

build-llvm's People

Contributors

springmeyer avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

build-llvm's Issues

Linking failing on OS X

Hitting:

FAILED: : && /Users/dane/.homebrew/Cellar/cmake/3.5.0/bin/cmake -E remove lib/clang/3.9.0/lib/darwin/libclang_rt.profile_osx.a && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar qc lib/clang/3.9.0/lib/darwin/libclang_rt.profile_osx.a  projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/GCDAProfiling.c.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfiling.c.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfilingValue.c.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfilingBuffer.c.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfilingFile.c.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfilingMerge.c.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfilingMergeFile.c.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfilingWriter.c.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfilingPlatformDarwin.c.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfilingPlatformLinux.c.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfilingPlatformOther.c.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfilingRuntime.cc.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfilingUtil.c.o && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib lib/clang/3.9.0/lib/darwin/libclang_rt.profile_osx.a && :
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: library member: lib/clang/3.9.0/lib/darwin/libclang_rt.profile_osx.a(InstrProfilingRuntime.cc.o) is not an object file (not allowed in a library with multiple architectures)
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: library member: lib/clang/3.9.0/lib/darwin/libclang_rt.profile_osx.a(InstrProfilingRuntime.cc.o) is not an object file (not allowed in a library with multiple architectures)
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: library member: lib/clang/3.9.0/lib/darwin/libclang_rt.profile_osx.a(InstrProfilingRuntime.cc.o) is not an object file (not allowed in a library with multiple architectures)
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar: internal ranlib command failed
[56/3732] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.osx.dir/asan_interceptors.cc.o
ninja: build stopped: subcommand failed.

From a clean rebuild:

[1270/3737] Linking CXX static library lib/clang/3.9.0/lib/darwin/libclang_rt.profile_osx.a
FAILED: : && /Users/dane/.homebrew/Cellar/cmake/3.5.0/bin/cmake -E remove lib/clang/3.9.0/lib/darwin/libclang_rt.profile_osx.a && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar qc lib/clang/3.9.0/lib/darwin/libclang_rt.profile_osx.a  projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/GCDAProfiling.c.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfiling.c.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfilingValue.c.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfilingBuffer.c.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfilingFile.c.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfilingMerge.c.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfilingMergeFile.c.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfilingWriter.c.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfilingPlatformDarwin.c.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfilingPlatformLinux.c.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfilingPlatformOther.c.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfilingRuntime.cc.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfilingUtil.c.o && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib lib/clang/3.9.0/lib/darwin/libclang_rt.profile_osx.a && :
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: library member: lib/clang/3.9.0/lib/darwin/libclang_rt.profile_osx.a(InstrProfilingRuntime.cc.o) is not an object file (not allowed in a library with multiple architectures)
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: library member: lib/clang/3.9.0/lib/darwin/libclang_rt.profile_osx.a(InstrProfilingRuntime.cc.o) is not an object file (not allowed in a library with multiple architectures)
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: library member: lib/clang/3.9.0/lib/darwin/libclang_rt.profile_osx.a(InstrProfilingRuntime.cc.o) is not an object file (not allowed in a library with multiple architectures)
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar: internal ranlib command failed
[1270/3737] Linking CXX executable bin/llvm-tblgen
ninja: build stopped: subcommand failed.

linux build issue

The OS X build is working, but linux is not working due to:

/home/travis/build/springmeyer/build-llvm/llvm/tools/lldb/source/Core/../../include/lldb/Host/Editline.h:48:10: fatal error: 
      'histedit.h' file not found
#include <histedit.h>
         ^
In file included from CommandInterpreter.cpp:53:
/home/travis/build/springmeyer/build-llvm/llvm/tools/lldb/source/Interpreter/../../include/lldb/Host/Editline.h:48:10: fatal error: 
      'histedit.h' file not found
#include <histedit.h>

https://travis-ci.org/springmeyer/build-llvm/builds/58762019#L5789

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.