Giter Site home page Giter Site logo

Comments (27)

rozgo avatar rozgo commented on June 16, 2024 50

With brew, make sure you have llvm 4 installed

$ brew info llvm  
llvm: stable 4.0.0 (bottled), HEAD [keg-only]

And let cmake know where to find cmake files for llvm:

export LLVM_DIR=/usr/local/Cellar/llvm/4.0.0_1/lib/cmake

Similar path to llvm/4.0/lib/cmake should exist for macports or installation from source.

from eos.

bernadinm avatar bernadinm commented on June 16, 2024 27

I just did one recently. Here is the command I've used and got it up and running:

export LLVM_DIR=/usr/local/Cellar/llvm\@4/4.0.1/lib/cmake

from eos.

LucasMLK avatar LucasMLK commented on June 16, 2024 2

use eosio_build.sh in my macos also has llvm cmake issue, my macso version is :

reymondtudeMacBook-Pro:eos reymondtu$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.13.4
BuildVersion: 17E199

fix this issue , use this export:

export LLVM_DIR=/usr/local/Cellar/llvm@4/4.0.1/lib/cmake

from eos.

deju avatar deju commented on June 16, 2024 2

In Mac

brew install llvm@4

then export llvm path in .bash_profile

echo 'export PATH="/usr/local/opt/llvm@4/bin:$PATH"' >> ~/.bash_profile
source .bash_profile

It works for me.

from eos.

sirkbitt avatar sirkbitt commented on June 16, 2024 1

It doesn't work for me. This issue is driving me crazy, because I can't "force" to find the path instead it is correct.
Please help me, thanks.

from eos.

agustinkassis avatar agustinkassis commented on June 16, 2024

Perfectly solved. Thanks

from eos.

tricaricom avatar tricaricom commented on June 16, 2024

I have tried export LLVM_DIR=/usr/local/Cellar/llvm@4/4.0.1/lib/cmake and I still get this error

from eos.

pacificcode avatar pacificcode commented on June 16, 2024

@reymondtu @tricaricom Can you please run the eosio_build.sh script and paste the entire output of the script here? I can help you out then. Thanks.

from eos.

tricaricom avatar tricaricom commented on June 16, 2024

THIS IS THE CMakeOutput.log:

The system is: Darwin - 17.5.0 - x86_64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /usr/bin/clang
Build flags:
Id flags:

The output was:
0

Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"

The C compiler identification is AppleClang, found in "/Users/bill/Documents/Projects/eos/build/CMakeFiles/3.11.1/CompilerIdC/a.out"

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: /usr/bin/clang++
Build flags:
Id flags:

The output was:
0

Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"

The CXX compiler identification is AppleClang, found in "/Users/bill/Documents/Projects/eos/build/CMakeFiles/3.11.1/CompilerIdCXX/a.out"

Determining if the C compiler works passed with the following output:
Change Dir: /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_90eb7/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_90eb7.dir/build.make CMakeFiles/cmTC_90eb7.dir/build
Building C object CMakeFiles/cmTC_90eb7.dir/testCCompiler.c.o
/usr/bin/clang -o CMakeFiles/cmTC_90eb7.dir/testCCompiler.c.o -c /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_90eb7
/usr/local/Cellar/cmake/3.11.1/bin/cmake -E cmake_link_script CMakeFiles/cmTC_90eb7.dir/link.txt --verbose=1
/usr/bin/clang -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_90eb7.dir/testCCompiler.c.o -o cmTC_90eb7

Detecting C compiler ABI info compiled with the following output:
Change Dir: /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_55046/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_55046.dir/build.make CMakeFiles/cmTC_55046.dir/build
Building C object CMakeFiles/cmTC_55046.dir/CMakeCCompilerABI.c.o
/usr/bin/clang -o CMakeFiles/cmTC_55046.dir/CMakeCCompilerABI.c.o -c /usr/local/Cellar/cmake/3.11.1/share/cmake/Modules/CMakeCCompilerABI.c
Linking C executable cmTC_55046
/usr/local/Cellar/cmake/3.11.1/bin/cmake -E cmake_link_script CMakeFiles/cmTC_55046.dir/link.txt --verbose=1
/usr/bin/clang -Wl,-search_paths_first -Wl,-headerpad_max_install_names -v -Wl,-v CMakeFiles/cmTC_55046.dir/CMakeCCompilerABI.c.o -o cmTC_55046
Apple LLVM version 9.1.0 (clang-902.0.39.1)
Target: x86_64-apple-darwin17.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -lto_library /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libLTO.dylib -dynamic -arch x86_64 -macosx_version_min 10.13.0 -o cmTC_55046 -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_55046.dir/CMakeCCompilerABI.c.o -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/lib/darwin/libclang_rt.osx.a
@(#)PROGRAM:ld PROJECT:ld64-351.8
configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em (tvOS)
Library search paths:
/usr/lib
/usr/local/lib
Framework search paths:
/Library/Frameworks/
/System/Library/Frameworks/

Parsed C implicit link information from above output:
link line regex: [^( |.[/])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/]+-)?ld|collect2)[^/\]*( |$)]
ignore line: [Change Dir: /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp]
ignore line: []
ignore line: [Run Build Command:"/usr/bin/make" "cmTC_55046/fast"]
ignore line: [/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_55046.dir/build.make CMakeFiles/cmTC_55046.dir/build]
ignore line: [Building C object CMakeFiles/cmTC_55046.dir/CMakeCCompilerABI.c.o]
ignore line: [/usr/bin/clang -o CMakeFiles/cmTC_55046.dir/CMakeCCompilerABI.c.o -c /usr/local/Cellar/cmake/3.11.1/share/cmake/Modules/CMakeCCompilerABI.c]
ignore line: [Linking C executable cmTC_55046]
ignore line: [/usr/local/Cellar/cmake/3.11.1/bin/cmake -E cmake_link_script CMakeFiles/cmTC_55046.dir/link.txt --verbose=1]
ignore line: [/usr/bin/clang -Wl,-search_paths_first -Wl,-headerpad_max_install_names -v -Wl,-v CMakeFiles/cmTC_55046.dir/CMakeCCompilerABI.c.o -o cmTC_55046 ]
ignore line: [Apple LLVM version 9.1.0 (clang-902.0.39.1)]
ignore line: [Target: x86_64-apple-darwin17.5.0]
ignore line: [Thread model: posix]
ignore line: [InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin]
link line: [ "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -lto_library /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libLTO.dylib -dynamic -arch x86_64 -macosx_version_min 10.13.0 -o cmTC_55046 -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_55046.dir/CMakeCCompilerABI.c.o -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/lib/darwin/libclang_rt.osx.a]
arg [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld] ==> ignore
arg [-demangle] ==> ignore
arg [-lto_library] ==> ignore, skip following value
arg [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libLTO.dylib] ==> skip value of -lto_library
arg [-dynamic] ==> ignore
arg [-arch] ==> ignore
arg [x86_64] ==> ignore
arg [-macosx_version_min] ==> ignore
arg [10.13.0] ==> ignore
arg [-o] ==> ignore
arg [cmTC_55046] ==> ignore
arg [-search_paths_first] ==> ignore
arg [-headerpad_max_install_names] ==> ignore
arg [-v] ==> ignore
arg [CMakeFiles/cmTC_55046.dir/CMakeCCompilerABI.c.o] ==> ignore
arg [-lSystem] ==> lib [System]
arg [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/lib/darwin/libclang_rt.osx.a] ==> lib [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/lib/darwin/libclang_rt.osx.a]
Library search paths: [;/usr/lib;/usr/local/lib]
Framework search paths: [;/Library/Frameworks/;/System/Library/Frameworks/]
remove lib [System]
remove lib [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/lib/darwin/libclang_rt.osx.a]
collapse library dir [/usr/lib] ==> [/usr/lib]
collapse library dir [/usr/local/lib] ==> [/usr/local/lib]
collapse framework dir [/Library/Frameworks/] ==> [/Library/Frameworks]
collapse framework dir [/System/Library/Frameworks/] ==> [/System/Library/Frameworks]
implicit libs: []
implicit dirs: [/usr/lib;/usr/local/lib]
implicit fwks: [/Library/Frameworks;/System/Library/Frameworks]

Detecting C [-std=c11] compiler features compiled with the following output:
Change Dir: /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_99014/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_99014.dir/build.make CMakeFiles/cmTC_99014.dir/build
Building C object CMakeFiles/cmTC_99014.dir/feature_tests.c.o
/usr/bin/clang -std=c11 -o CMakeFiles/cmTC_99014.dir/feature_tests.c.o -c /Users/bill/Documents/Projects/eos/build/CMakeFiles/feature_tests.c
Linking C executable cmTC_99014
/usr/local/Cellar/cmake/3.11.1/bin/cmake -E cmake_link_script CMakeFiles/cmTC_99014.dir/link.txt --verbose=1
/usr/bin/clang -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_99014.dir/feature_tests.c.o -o cmTC_99014

Feature record: C_FEATURE:1c_function_prototypes
Feature record: C_FEATURE:1c_restrict
Feature record: C_FEATURE:1c_static_assert
Feature record: C_FEATURE:1c_variadic_macros

Detecting C [-std=c99] compiler features compiled with the following output:
Change Dir: /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_7122a/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_7122a.dir/build.make CMakeFiles/cmTC_7122a.dir/build
Building C object CMakeFiles/cmTC_7122a.dir/feature_tests.c.o
/usr/bin/clang -std=c99 -o CMakeFiles/cmTC_7122a.dir/feature_tests.c.o -c /Users/bill/Documents/Projects/eos/build/CMakeFiles/feature_tests.c
Linking C executable cmTC_7122a
/usr/local/Cellar/cmake/3.11.1/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7122a.dir/link.txt --verbose=1
/usr/bin/clang -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_7122a.dir/feature_tests.c.o -o cmTC_7122a

Feature record: C_FEATURE:1c_function_prototypes
Feature record: C_FEATURE:1c_restrict
Feature record: C_FEATURE:0c_static_assert
Feature record: C_FEATURE:1c_variadic_macros

Detecting C [-std=c90] compiler features compiled with the following output:
Change Dir: /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_77037/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_77037.dir/build.make CMakeFiles/cmTC_77037.dir/build
Building C object CMakeFiles/cmTC_77037.dir/feature_tests.c.o
/usr/bin/clang -std=c90 -o CMakeFiles/cmTC_77037.dir/feature_tests.c.o -c /Users/bill/Documents/Projects/eos/build/CMakeFiles/feature_tests.c
Linking C executable cmTC_77037
/usr/local/Cellar/cmake/3.11.1/bin/cmake -E cmake_link_script CMakeFiles/cmTC_77037.dir/link.txt --verbose=1
/usr/bin/clang -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_77037.dir/feature_tests.c.o -o cmTC_77037

Feature record: C_FEATURE:1c_function_prototypes
Feature record: C_FEATURE:0c_restrict
Feature record: C_FEATURE:0c_static_assert
Feature record: C_FEATURE:0c_variadic_macros

Determining if the CXX compiler works passed with the following output:
Change Dir: /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_c90ed/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_c90ed.dir/build.make CMakeFiles/cmTC_c90ed.dir/build
Building CXX object CMakeFiles/cmTC_c90ed.dir/testCXXCompiler.cxx.o
/usr/bin/clang++ -o CMakeFiles/cmTC_c90ed.dir/testCXXCompiler.cxx.o -c /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTC_c90ed
/usr/local/Cellar/cmake/3.11.1/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c90ed.dir/link.txt --verbose=1
/usr/bin/clang++ -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_c90ed.dir/testCXXCompiler.cxx.o -o cmTC_c90ed

Detecting CXX compiler ABI info compiled with the following output:
Change Dir: /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_aa8f3/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_aa8f3.dir/build.make CMakeFiles/cmTC_aa8f3.dir/build
Building CXX object CMakeFiles/cmTC_aa8f3.dir/CMakeCXXCompilerABI.cpp.o
/usr/bin/clang++ -o CMakeFiles/cmTC_aa8f3.dir/CMakeCXXCompilerABI.cpp.o -c /usr/local/Cellar/cmake/3.11.1/share/cmake/Modules/CMakeCXXCompilerABI.cpp
Linking CXX executable cmTC_aa8f3
/usr/local/Cellar/cmake/3.11.1/bin/cmake -E cmake_link_script CMakeFiles/cmTC_aa8f3.dir/link.txt --verbose=1
/usr/bin/clang++ -Wl,-search_paths_first -Wl,-headerpad_max_install_names -v -Wl,-v CMakeFiles/cmTC_aa8f3.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_aa8f3
Apple LLVM version 9.1.0 (clang-902.0.39.1)
Target: x86_64-apple-darwin17.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -lto_library /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libLTO.dylib -dynamic -arch x86_64 -macosx_version_min 10.13.0 -o cmTC_aa8f3 -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_aa8f3.dir/CMakeCXXCompilerABI.cpp.o -lc++ -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/lib/darwin/libclang_rt.osx.a
@(#)PROGRAM:ld PROJECT:ld64-351.8
configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em (tvOS)
Library search paths:
/usr/lib
/usr/local/lib
Framework search paths:
/Library/Frameworks/
/System/Library/Frameworks/

Parsed CXX implicit link information from above output:
link line regex: [^( |.[/])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/]+-)?ld|collect2)[^/\]*( |$)]
ignore line: [Change Dir: /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp]
ignore line: []
ignore line: [Run Build Command:"/usr/bin/make" "cmTC_aa8f3/fast"]
ignore line: [/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_aa8f3.dir/build.make CMakeFiles/cmTC_aa8f3.dir/build]
ignore line: [Building CXX object CMakeFiles/cmTC_aa8f3.dir/CMakeCXXCompilerABI.cpp.o]
ignore line: [/usr/bin/clang++ -o CMakeFiles/cmTC_aa8f3.dir/CMakeCXXCompilerABI.cpp.o -c /usr/local/Cellar/cmake/3.11.1/share/cmake/Modules/CMakeCXXCompilerABI.cpp]
ignore line: [Linking CXX executable cmTC_aa8f3]
ignore line: [/usr/local/Cellar/cmake/3.11.1/bin/cmake -E cmake_link_script CMakeFiles/cmTC_aa8f3.dir/link.txt --verbose=1]
ignore line: [/usr/bin/clang++ -Wl,-search_paths_first -Wl,-headerpad_max_install_names -v -Wl,-v CMakeFiles/cmTC_aa8f3.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_aa8f3 ]
ignore line: [Apple LLVM version 9.1.0 (clang-902.0.39.1)]
ignore line: [Target: x86_64-apple-darwin17.5.0]
ignore line: [Thread model: posix]
ignore line: [InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin]
link line: [ "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -lto_library /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libLTO.dylib -dynamic -arch x86_64 -macosx_version_min 10.13.0 -o cmTC_aa8f3 -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_aa8f3.dir/CMakeCXXCompilerABI.cpp.o -lc++ -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/lib/darwin/libclang_rt.osx.a]
arg [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld] ==> ignore
arg [-demangle] ==> ignore
arg [-lto_library] ==> ignore, skip following value
arg [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libLTO.dylib] ==> skip value of -lto_library
arg [-dynamic] ==> ignore
arg [-arch] ==> ignore
arg [x86_64] ==> ignore
arg [-macosx_version_min] ==> ignore
arg [10.13.0] ==> ignore
arg [-o] ==> ignore
arg [cmTC_aa8f3] ==> ignore
arg [-search_paths_first] ==> ignore
arg [-headerpad_max_install_names] ==> ignore
arg [-v] ==> ignore
arg [CMakeFiles/cmTC_aa8f3.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
arg [-lc++] ==> lib [c++]
arg [-lSystem] ==> lib [System]
arg [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/lib/darwin/libclang_rt.osx.a] ==> lib [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/lib/darwin/libclang_rt.osx.a]
Library search paths: [;/usr/lib;/usr/local/lib]
Framework search paths: [;/Library/Frameworks/;/System/Library/Frameworks/]
remove lib [System]
remove lib [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/lib/darwin/libclang_rt.osx.a]
collapse library dir [/usr/lib] ==> [/usr/lib]
collapse library dir [/usr/local/lib] ==> [/usr/local/lib]
collapse framework dir [/Library/Frameworks/] ==> [/Library/Frameworks]
collapse framework dir [/System/Library/Frameworks/] ==> [/System/Library/Frameworks]
implicit libs: [c++]
implicit dirs: [/usr/lib;/usr/local/lib]
implicit fwks: [/Library/Frameworks;/System/Library/Frameworks]

Detecting CXX [-std=c++1z] compiler features compiled with the following output:
Change Dir: /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_1324c/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_1324c.dir/build.make CMakeFiles/cmTC_1324c.dir/build
Building CXX object CMakeFiles/cmTC_1324c.dir/feature_tests.cxx.o
/usr/bin/clang++ -std=c++1z -o CMakeFiles/cmTC_1324c.dir/feature_tests.cxx.o -c /Users/bill/Documents/Projects/eos/build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_1324c
/usr/local/Cellar/cmake/3.11.1/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1324c.dir/link.txt --verbose=1
/usr/bin/clang++ -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_1324c.dir/feature_tests.cxx.o -o cmTC_1324c

Feature record: CXX_FEATURE:1cxx_aggregate_default_initializers
Feature record: CXX_FEATURE:1cxx_alias_templates
Feature record: CXX_FEATURE:1cxx_alignas
Feature record: CXX_FEATURE:1cxx_alignof
Feature record: CXX_FEATURE:1cxx_attributes
Feature record: CXX_FEATURE:1cxx_attribute_deprecated
Feature record: CXX_FEATURE:1cxx_auto_type
Feature record: CXX_FEATURE:1cxx_binary_literals
Feature record: CXX_FEATURE:1cxx_constexpr
Feature record: CXX_FEATURE:1cxx_contextual_conversions
Feature record: CXX_FEATURE:1cxx_decltype
Feature record: CXX_FEATURE:1cxx_decltype_auto
Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types
Feature record: CXX_FEATURE:1cxx_default_function_template_args
Feature record: CXX_FEATURE:1cxx_defaulted_functions
Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
Feature record: CXX_FEATURE:1cxx_delegating_constructors
Feature record: CXX_FEATURE:1cxx_deleted_functions
Feature record: CXX_FEATURE:1cxx_digit_separators
Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
Feature record: CXX_FEATURE:1cxx_explicit_conversions
Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
Feature record: CXX_FEATURE:1cxx_extern_templates
Feature record: CXX_FEATURE:1cxx_final
Feature record: CXX_FEATURE:1cxx_func_identifier
Feature record: CXX_FEATURE:1cxx_generalized_initializers
Feature record: CXX_FEATURE:1cxx_generic_lambdas
Feature record: CXX_FEATURE:1cxx_inheriting_constructors
Feature record: CXX_FEATURE:1cxx_inline_namespaces
Feature record: CXX_FEATURE:1cxx_lambdas
Feature record: CXX_FEATURE:1cxx_lambda_init_captures
Feature record: CXX_FEATURE:1cxx_local_type_template_args
Feature record: CXX_FEATURE:1cxx_long_long_type
Feature record: CXX_FEATURE:1cxx_noexcept
Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
Feature record: CXX_FEATURE:1cxx_nullptr
Feature record: CXX_FEATURE:1cxx_override
Feature record: CXX_FEATURE:1cxx_range_for
Feature record: CXX_FEATURE:1cxx_raw_string_literals
Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
Feature record: CXX_FEATURE:1cxx_relaxed_constexpr
Feature record: CXX_FEATURE:1cxx_return_type_deduction
Feature record: CXX_FEATURE:1cxx_right_angle_brackets
Feature record: CXX_FEATURE:1cxx_rvalue_references
Feature record: CXX_FEATURE:1cxx_sizeof_member
Feature record: CXX_FEATURE:1cxx_static_assert
Feature record: CXX_FEATURE:1cxx_strong_enums
Feature record: CXX_FEATURE:1cxx_template_template_parameters
Feature record: CXX_FEATURE:1cxx_thread_local
Feature record: CXX_FEATURE:1cxx_trailing_return_types
Feature record: CXX_FEATURE:1cxx_unicode_literals
Feature record: CXX_FEATURE:1cxx_uniform_initialization
Feature record: CXX_FEATURE:1cxx_unrestricted_unions
Feature record: CXX_FEATURE:1cxx_user_literals
Feature record: CXX_FEATURE:1cxx_variable_templates
Feature record: CXX_FEATURE:1cxx_variadic_macros
Feature record: CXX_FEATURE:1cxx_variadic_templates

Detecting CXX [-std=c++14] compiler features compiled with the following output:
Change Dir: /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_2e9f9/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_2e9f9.dir/build.make CMakeFiles/cmTC_2e9f9.dir/build
Building CXX object CMakeFiles/cmTC_2e9f9.dir/feature_tests.cxx.o
/usr/bin/clang++ -std=c++14 -o CMakeFiles/cmTC_2e9f9.dir/feature_tests.cxx.o -c /Users/bill/Documents/Projects/eos/build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_2e9f9
/usr/local/Cellar/cmake/3.11.1/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2e9f9.dir/link.txt --verbose=1
/usr/bin/clang++ -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_2e9f9.dir/feature_tests.cxx.o -o cmTC_2e9f9

Feature record: CXX_FEATURE:1cxx_aggregate_default_initializers
Feature record: CXX_FEATURE:1cxx_alias_templates
Feature record: CXX_FEATURE:1cxx_alignas
Feature record: CXX_FEATURE:1cxx_alignof
Feature record: CXX_FEATURE:1cxx_attributes
Feature record: CXX_FEATURE:1cxx_attribute_deprecated
Feature record: CXX_FEATURE:1cxx_auto_type
Feature record: CXX_FEATURE:1cxx_binary_literals
Feature record: CXX_FEATURE:1cxx_constexpr
Feature record: CXX_FEATURE:1cxx_contextual_conversions
Feature record: CXX_FEATURE:1cxx_decltype
Feature record: CXX_FEATURE:1cxx_decltype_auto
Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types
Feature record: CXX_FEATURE:1cxx_default_function_template_args
Feature record: CXX_FEATURE:1cxx_defaulted_functions
Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
Feature record: CXX_FEATURE:1cxx_delegating_constructors
Feature record: CXX_FEATURE:1cxx_deleted_functions
Feature record: CXX_FEATURE:1cxx_digit_separators
Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
Feature record: CXX_FEATURE:1cxx_explicit_conversions
Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
Feature record: CXX_FEATURE:1cxx_extern_templates
Feature record: CXX_FEATURE:1cxx_final
Feature record: CXX_FEATURE:1cxx_func_identifier
Feature record: CXX_FEATURE:1cxx_generalized_initializers
Feature record: CXX_FEATURE:1cxx_generic_lambdas
Feature record: CXX_FEATURE:1cxx_inheriting_constructors
Feature record: CXX_FEATURE:1cxx_inline_namespaces
Feature record: CXX_FEATURE:1cxx_lambdas
Feature record: CXX_FEATURE:1cxx_lambda_init_captures
Feature record: CXX_FEATURE:1cxx_local_type_template_args
Feature record: CXX_FEATURE:1cxx_long_long_type
Feature record: CXX_FEATURE:1cxx_noexcept
Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
Feature record: CXX_FEATURE:1cxx_nullptr
Feature record: CXX_FEATURE:1cxx_override
Feature record: CXX_FEATURE:1cxx_range_for
Feature record: CXX_FEATURE:1cxx_raw_string_literals
Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
Feature record: CXX_FEATURE:1cxx_relaxed_constexpr
Feature record: CXX_FEATURE:1cxx_return_type_deduction
Feature record: CXX_FEATURE:1cxx_right_angle_brackets
Feature record: CXX_FEATURE:1cxx_rvalue_references
Feature record: CXX_FEATURE:1cxx_sizeof_member
Feature record: CXX_FEATURE:1cxx_static_assert
Feature record: CXX_FEATURE:1cxx_strong_enums
Feature record: CXX_FEATURE:1cxx_template_template_parameters
Feature record: CXX_FEATURE:1cxx_thread_local
Feature record: CXX_FEATURE:1cxx_trailing_return_types
Feature record: CXX_FEATURE:1cxx_unicode_literals
Feature record: CXX_FEATURE:1cxx_uniform_initialization
Feature record: CXX_FEATURE:1cxx_unrestricted_unions
Feature record: CXX_FEATURE:1cxx_user_literals
Feature record: CXX_FEATURE:1cxx_variable_templates
Feature record: CXX_FEATURE:1cxx_variadic_macros
Feature record: CXX_FEATURE:1cxx_variadic_templates

Detecting CXX [-std=c++11] compiler features compiled with the following output:
Change Dir: /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_c2556/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_c2556.dir/build.make CMakeFiles/cmTC_c2556.dir/build
Building CXX object CMakeFiles/cmTC_c2556.dir/feature_tests.cxx.o
/usr/bin/clang++ -std=c++11 -o CMakeFiles/cmTC_c2556.dir/feature_tests.cxx.o -c /Users/bill/Documents/Projects/eos/build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_c2556
/usr/local/Cellar/cmake/3.11.1/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c2556.dir/link.txt --verbose=1
/usr/bin/clang++ -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_c2556.dir/feature_tests.cxx.o -o cmTC_c2556

Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers
Feature record: CXX_FEATURE:1cxx_alias_templates
Feature record: CXX_FEATURE:1cxx_alignas
Feature record: CXX_FEATURE:1cxx_alignof
Feature record: CXX_FEATURE:1cxx_attributes
Feature record: CXX_FEATURE:0cxx_attribute_deprecated
Feature record: CXX_FEATURE:1cxx_auto_type
Feature record: CXX_FEATURE:0cxx_binary_literals
Feature record: CXX_FEATURE:1cxx_constexpr
Feature record: CXX_FEATURE:0cxx_contextual_conversions
Feature record: CXX_FEATURE:1cxx_decltype
Feature record: CXX_FEATURE:0cxx_decltype_auto
Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types
Feature record: CXX_FEATURE:1cxx_default_function_template_args
Feature record: CXX_FEATURE:1cxx_defaulted_functions
Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
Feature record: CXX_FEATURE:1cxx_delegating_constructors
Feature record: CXX_FEATURE:1cxx_deleted_functions
Feature record: CXX_FEATURE:0cxx_digit_separators
Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
Feature record: CXX_FEATURE:1cxx_explicit_conversions
Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
Feature record: CXX_FEATURE:1cxx_extern_templates
Feature record: CXX_FEATURE:1cxx_final
Feature record: CXX_FEATURE:1cxx_func_identifier
Feature record: CXX_FEATURE:1cxx_generalized_initializers
Feature record: CXX_FEATURE:0cxx_generic_lambdas
Feature record: CXX_FEATURE:1cxx_inheriting_constructors
Feature record: CXX_FEATURE:1cxx_inline_namespaces
Feature record: CXX_FEATURE:1cxx_lambdas
Feature record: CXX_FEATURE:0cxx_lambda_init_captures
Feature record: CXX_FEATURE:1cxx_local_type_template_args
Feature record: CXX_FEATURE:1cxx_long_long_type
Feature record: CXX_FEATURE:1cxx_noexcept
Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
Feature record: CXX_FEATURE:1cxx_nullptr
Feature record: CXX_FEATURE:1cxx_override
Feature record: CXX_FEATURE:1cxx_range_for
Feature record: CXX_FEATURE:1cxx_raw_string_literals
Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
Feature record: CXX_FEATURE:0cxx_relaxed_constexpr
Feature record: CXX_FEATURE:0cxx_return_type_deduction
Feature record: CXX_FEATURE:1cxx_right_angle_brackets
Feature record: CXX_FEATURE:1cxx_rvalue_references
Feature record: CXX_FEATURE:1cxx_sizeof_member
Feature record: CXX_FEATURE:1cxx_static_assert
Feature record: CXX_FEATURE:1cxx_strong_enums
Feature record: CXX_FEATURE:1cxx_template_template_parameters
Feature record: CXX_FEATURE:1cxx_thread_local
Feature record: CXX_FEATURE:1cxx_trailing_return_types
Feature record: CXX_FEATURE:1cxx_unicode_literals
Feature record: CXX_FEATURE:1cxx_uniform_initialization
Feature record: CXX_FEATURE:1cxx_unrestricted_unions
Feature record: CXX_FEATURE:1cxx_user_literals
Feature record: CXX_FEATURE:0cxx_variable_templates
Feature record: CXX_FEATURE:1cxx_variadic_macros
Feature record: CXX_FEATURE:1cxx_variadic_templates

Detecting CXX [-std=c++98] compiler features compiled with the following output:
Change Dir: /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_8e50d/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_8e50d.dir/build.make CMakeFiles/cmTC_8e50d.dir/build
Building CXX object CMakeFiles/cmTC_8e50d.dir/feature_tests.cxx.o
/usr/bin/clang++ -std=c++98 -o CMakeFiles/cmTC_8e50d.dir/feature_tests.cxx.o -c /Users/bill/Documents/Projects/eos/build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_8e50d
/usr/local/Cellar/cmake/3.11.1/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8e50d.dir/link.txt --verbose=1
/usr/bin/clang++ -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_8e50d.dir/feature_tests.cxx.o -o cmTC_8e50d

Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers
Feature record: CXX_FEATURE:0cxx_alias_templates
Feature record: CXX_FEATURE:0cxx_alignas
Feature record: CXX_FEATURE:0cxx_alignof
Feature record: CXX_FEATURE:0cxx_attributes
Feature record: CXX_FEATURE:0cxx_attribute_deprecated
Feature record: CXX_FEATURE:0cxx_auto_type
Feature record: CXX_FEATURE:0cxx_binary_literals
Feature record: CXX_FEATURE:0cxx_constexpr
Feature record: CXX_FEATURE:0cxx_contextual_conversions
Feature record: CXX_FEATURE:0cxx_decltype
Feature record: CXX_FEATURE:0cxx_decltype_auto
Feature record: CXX_FEATURE:0cxx_decltype_incomplete_return_types
Feature record: CXX_FEATURE:0cxx_default_function_template_args
Feature record: CXX_FEATURE:0cxx_defaulted_functions
Feature record: CXX_FEATURE:0cxx_defaulted_move_initializers
Feature record: CXX_FEATURE:0cxx_delegating_constructors
Feature record: CXX_FEATURE:0cxx_deleted_functions
Feature record: CXX_FEATURE:0cxx_digit_separators
Feature record: CXX_FEATURE:0cxx_enum_forward_declarations
Feature record: CXX_FEATURE:0cxx_explicit_conversions
Feature record: CXX_FEATURE:0cxx_extended_friend_declarations
Feature record: CXX_FEATURE:0cxx_extern_templates
Feature record: CXX_FEATURE:0cxx_final
Feature record: CXX_FEATURE:0cxx_func_identifier
Feature record: CXX_FEATURE:0cxx_generalized_initializers
Feature record: CXX_FEATURE:0cxx_generic_lambdas
Feature record: CXX_FEATURE:0cxx_inheriting_constructors
Feature record: CXX_FEATURE:0cxx_inline_namespaces
Feature record: CXX_FEATURE:0cxx_lambdas
Feature record: CXX_FEATURE:0cxx_lambda_init_captures
Feature record: CXX_FEATURE:0cxx_local_type_template_args
Feature record: CXX_FEATURE:0cxx_long_long_type
Feature record: CXX_FEATURE:0cxx_noexcept
Feature record: CXX_FEATURE:0cxx_nonstatic_member_init
Feature record: CXX_FEATURE:0cxx_nullptr
Feature record: CXX_FEATURE:0cxx_override
Feature record: CXX_FEATURE:0cxx_range_for
Feature record: CXX_FEATURE:0cxx_raw_string_literals
Feature record: CXX_FEATURE:0cxx_reference_qualified_functions
Feature record: CXX_FEATURE:0cxx_relaxed_constexpr
Feature record: CXX_FEATURE:0cxx_return_type_deduction
Feature record: CXX_FEATURE:0cxx_right_angle_brackets
Feature record: CXX_FEATURE:0cxx_rvalue_references
Feature record: CXX_FEATURE:0cxx_sizeof_member
Feature record: CXX_FEATURE:0cxx_static_assert
Feature record: CXX_FEATURE:0cxx_strong_enums
Feature record: CXX_FEATURE:1cxx_template_template_parameters
Feature record: CXX_FEATURE:0cxx_thread_local
Feature record: CXX_FEATURE:0cxx_trailing_return_types
Feature record: CXX_FEATURE:0cxx_unicode_literals
Feature record: CXX_FEATURE:0cxx_uniform_initialization
Feature record: CXX_FEATURE:0cxx_unrestricted_unions
Feature record: CXX_FEATURE:0cxx_user_literals
Feature record: CXX_FEATURE:0cxx_variable_templates
Feature record: CXX_FEATURE:0cxx_variadic_macros
Feature record: CXX_FEATURE:0cxx_variadic_templates

Determining if the include file pthread.h exists passed with the following output:
Change Dir: /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_c8da9/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_c8da9.dir/build.make CMakeFiles/cmTC_c8da9.dir/build
Building C object CMakeFiles/cmTC_c8da9.dir/CheckIncludeFile.c.o
/usr/bin/clang -o CMakeFiles/cmTC_c8da9.dir/CheckIncludeFile.c.o -c /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_c8da9
/usr/local/Cellar/cmake/3.11.1/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c8da9.dir/link.txt --verbose=1
/usr/bin/clang -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_c8da9.dir/CheckIncludeFile.c.o -o cmTC_c8da9

Determining if the pthread_create exist passed with the following output:
Change Dir: /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_8e5ba/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_8e5ba.dir/build.make CMakeFiles/cmTC_8e5ba.dir/build
Building C object CMakeFiles/cmTC_8e5ba.dir/CheckSymbolExists.c.o
/usr/bin/clang -o CMakeFiles/cmTC_8e5ba.dir/CheckSymbolExists.c.o -c /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_8e5ba
/usr/local/Cellar/cmake/3.11.1/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8e5ba.dir/link.txt --verbose=1
/usr/bin/clang -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_8e5ba.dir/CheckSymbolExists.c.o -o cmTC_8e5ba

File /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <pthread.h>

int main(int argc, char** argv)
{
(void)argv;
#ifndef pthread_create
return ((int*)(&pthread_create))[argc];
#else
(void)argc;
return 0;
#endif
}

Determining if the BZ2_bzCompressInit exist passed with the following output:
Change Dir: /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_da9c0/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_da9c0.dir/build.make CMakeFiles/cmTC_da9c0.dir/build
Building C object CMakeFiles/cmTC_da9c0.dir/CheckSymbolExists.c.o
/usr/bin/clang -o CMakeFiles/cmTC_da9c0.dir/CheckSymbolExists.c.o -c /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_da9c0
/usr/local/Cellar/cmake/3.11.1/bin/cmake -E cmake_link_script CMakeFiles/cmTC_da9c0.dir/link.txt --verbose=1
/usr/bin/clang -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_da9c0.dir/CheckSymbolExists.c.o -o cmTC_da9c0 /usr/lib/libbz2.dylib

File /Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <bzlib.h>

int main(int argc, char** argv)
{
(void)argv;
#ifndef BZ2_bzCompressInit
return ((int*)(&BZ2_bzCompressInit))[argc];
#else
(void)argc;
return 0;
#endif
}

from eos.

tricaricom avatar tricaricom commented on June 16, 2024

THIS IS THE CONSOLE OUTPUT:

MacBookPro:eos bill$ sudo ./eosio_build.sh

Beginning build version: 1.2
Thu Apr 26 22:26:08 UTC 2018
User: root
git head id: 4a2746e04991c371844690b54b1aa81ba1c950e3
Current branch: * master

ARCHITECTURE: Darwin

OS name: Darwin
OS Version: 10.13.4
CPU speed: 240.00Ghz
CPU cores: 2
Physical Memory: 16 Gbytes
Disk space total: 465G
Disk space available: 72G

Checking XCode installation
XCode installation found.

Checking Ruby installation
Ruby installation found.

Checking Home Brew installation
Home Brew installation found.

Checking dependencies.
Checking automake ... 		 automake found
Checking Libtool ... 		 Libtool found
Checking OpenSSL ... 		 OpenSSL found
Checking llvm ... 		 llvm found
Checking wget ... 		 wget found
Checking CMake ... 		 CMake found
Checking GMP ... 		 GMP found
Checking gettext ... 		 gettext found
Checking MongoDB ... 		 MongoDB found
Checking Doxygen ... 		 Doxygen found
Checking Graphviz ... 		 Graphviz found
Checking LCOV ... 		 LCOV found
Checking Python3 ... 		 python3 NOT found.

No required Home Brew dependencies to install.

Checking boost library installation.
Boost 1.66.0 found at /usr/local.

Checking MongoDB C++ driver installation.
Mongo C++ driver found at /usr/local/lib/libmongocxx-static.a.

Checking secp256k1-zkp installation.
secp256k1 found at /usr/local/lib/

Checking LLVM with WASM support.
WASM found at /usr/local/wasm/bin/

ALL dependencies sucessfully found or installed . Installing EOS.IO

-- Using custom FindBoost.cmake
-- Boost version: 1.66.0
-- Found the following Boost libraries:
-- thread
-- date_time
-- filesystem
-- system
-- program_options
-- signals
-- serialization
-- chrono
-- unit_test_framework
-- context
-- locale
-- iostreams
-- Configuring Eos on OS X
-- binaryen building with -std=c++11
-- binaryen building for platform x86-64
-- binaryen building with -Wall
-- binaryen building with -Werror
-- binaryen building with -Wextra
-- binaryen building with -Wno-unused-parameter
-- binaryen building with -fno-omit-frame-pointer
-- binaryen building with -fPIC
-- binaryen building with -O2
-- binaryen building with -UNDEBUG
-- Using WASM clang => /usr/local/wasm/bin/clang
-- Using WASM llc => /usr/local/wasm/bin/llc
-- Using WASM llvm-link => /usr/local/wasm/bin/llvm-link
-- Found Secp256k1: /usr/local/lib/libsecp256k1.a
-- Configuring fc to build on Unix/Apple
-- zlib found
-- bzip2 found
-- Configuring SoftFloat
-- Using custom FindBoost.cmake
-- Boost version: 1.66.0
-- Found the following Boost libraries:
-- thread
-- date_time
-- filesystem
-- system
-- chrono
-- unit_test_framework
-- locale
-- Configuring ChainBase on OS X
CMake Error at libraries/wasm-jit/Source/Runtime/CMakeLists.txt:26 (find_package):
Could not find a package configuration file provided by "LLVM" (requested
version 4.0) with any of the following names:

LLVMConfig.cmake
llvm-config.cmake

Add the installation prefix of "LLVM" to CMAKE_PREFIX_PATH or set
"LLVM_DIR" to a directory containing one of the above files. If "LLVM"
provides a separate development package or SDK, be sure it has been
installed.

-- Configuring incomplete, errors occurred!
See also "/Users/bill/Documents/Projects/eos/build/CMakeFiles/CMakeOutput.log".

>>>>>>>>>>>>>>>>>>>> CMAKE building EOSIO has exited with the above error.

from eos.

pacificcode avatar pacificcode commented on June 16, 2024

@tricaricom this looks like a path/symlink issue. Can you run the following commands and paste the result here?
which clang
which llvm-config
llvm-config --has-rtti --version
find /usr -name LLVMConfig.cmake -print 2>/dev/null

from eos.

tricaricom avatar tricaricom commented on June 16, 2024

yeah...probably. I deleted the /usr/local/wasm folder and re-ran the build script. Now it seems to be building EOSIO.

My guess is that when I first attempted this, I ran brew install llvm and it pulled down version 6.x and that got linked. Then I ran brew install llvm@4 but it never linked.

from eos.

pacificcode avatar pacificcode commented on June 16, 2024

@tricaricom that would do it. So you should be good to go. Let us know if you run into any more issues.
Thanks.

from eos.

tricaricom avatar tricaricom commented on June 16, 2024

OK...it tried to build for like 45 mins then ended up in the same place.

which clang:
/usr/bin/clang

which llvm-config:

What now?

from eos.

pacificcode avatar pacificcode commented on June 16, 2024

/usr/bin/clang = apples clang and won't work for EOS.IO
run:
brew remove llvm@4
./eosio_build.sh <-- this will install llvm@4 and force brew to properly symlink

If you still have issues run the following 4 commands again and send me the output along with the full output of the eosio_build.sh script.

which clang
which llvm-config
llvm-config --has-rtti --version
find /usr -name LLVMConfig.cmake -print 2>/dev/null

from eos.

tricaricom avatar tricaricom commented on June 16, 2024

Will this break my XCode clang?

from eos.

pacificcode avatar pacificcode commented on June 16, 2024

@tricaricom No, home-brew will install to /usr/local/Cellar then symlink into the /usr/local directories.

from eos.

tricaricom avatar tricaricom commented on June 16, 2024

Undefined symbols for architecture x86_64:
"_libintl_bindtextdomain", referenced from:
bindtextdomain(char const*, char const*) in main.cpp.o
"_libintl_gettext", referenced from:
gettext(char const*) in main.cpp.o
gettext(char const*) in help_text.cpp.o
"_libintl_setlocale", referenced from:
_main in main.cpp.o
"_libintl_textdomain", referenced from:
textdomain(char const*) in main.cpp.o
ld: symbol(s) not found for architecture x86_64
clang-4.0: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [programs/cleos/cleos] Error 1
make[1]: *** [programs/cleos/CMakeFiles/cleos.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 98%] Building CXX object tests/CMakeFiles/chain_test.dir/tests/database_tests.cpp.o
[ 98%] Building CXX object tests/CMakeFiles/chain_test.dir/tests/misc_tests.cpp.o
[ 98%] Building CXX object tests/CMakeFiles/chain_test.dir/wasm_tests/currency_tests.cpp.o
[ 98%] Building CXX object tests/CMakeFiles/chain_test.dir/wasm_tests/dice_tests.cpp.o
[ 98%] Building CXX object tests/CMakeFiles/chain_test.dir/wasm_tests/eosio.system_tests.cpp.o
[ 98%] Building CXX object tests/CMakeFiles/chain_test.dir/wasm_tests/eosio.token_tests.cpp.o
[ 98%] Building CXX object tests/CMakeFiles/chain_test.dir/wasm_tests/exchange_tests.cpp.o
[ 98%] Building CXX object tests/CMakeFiles/chain_test.dir/wasm_tests/identity_tests.cpp.o
[ 98%] Building CXX object tests/CMakeFiles/chain_test.dir/wasm_tests/multi_index_tests.cpp.o
[ 98%] Building CXX object tests/CMakeFiles/chain_test.dir/wasm_tests/multisig_tests.cpp.o
[100%] Building CXX object tests/CMakeFiles/chain_test.dir/wasm_tests/payloadless_tests.cpp.o
[100%] Building CXX object tests/CMakeFiles/chain_test.dir/wasm_tests/tic_tac_toe_tests.cpp.o
[100%] Building CXX object tests/CMakeFiles/chain_test.dir/wasm_tests/wasm_tests.cpp.o
[100%] Building CXX object tests/CMakeFiles/chain_test.dir/tests/message_buffer_tests.cpp.o
[100%] Building CXX object tests/CMakeFiles/chain_test.dir/tests/special_accounts_tests.cpp.o
[100%] Building CXX object tests/CMakeFiles/chain_test.dir/tests/wallet_tests.cpp.o
[100%] Building CXX object tests/CMakeFiles/chain_test.dir/library_tests/chain/resource_limits_test.cpp.o
[100%] Building CXX object tests/CMakeFiles/chain_test.dir/common/main.cpp.o
[100%] Linking CXX executable chain_test
[100%] Built target chain_test
make: *** [all] Error 2

>>>>>>>>>>>>>>>>>>>> MAKE building EOSIO has exited with the above error.

from eos.

pacificcode avatar pacificcode commented on June 16, 2024

@tricaricom looks like your getting closer. It also looks like your brew installation of gettext is not properly symlinked (maybe from a previous install).
run this command:
find /usr -name libintl* -print 2>/dev/null

result should be this:
/usr/local/include/libintl.h
/usr/local/lib/libintl.dylib
/usr/local/lib/libintl.8.dylib
/usr/local/lib/libintl.a
/usr/local/Cellar/gettext/0.19.8.1/include/libintl.h
/usr/local/Cellar/gettext/0.19.8.1/lib/libintl.dylib
/usr/local/Cellar/gettext/0.19.8.1/lib/libintl.8.dylib
/usr/local/Cellar/gettext/0.19.8.1/lib/libintl.a
/usr/local/Cellar/gettext/0.19.8.1/share/gettext/intl/libintl.rc

If your output is not the same as above run this:
brew unlink gettext&& brew link --force gettext

Then update your repo:
git pull --recursive
git submodule update --init --recursive
./eosio_build.sh

from eos.

tricaricom avatar tricaricom commented on June 16, 2024

The output was not the same (it was less):

MacBookPro:eos bill$ sudo find /usr -name libintl* -print 2>/dev/null
Password:
/usr/local/Cellar/gettext/0.19.8.1/include/libintl.h
/usr/local/Cellar/gettext/0.19.8.1/lib/libintl.dylib
/usr/local/Cellar/gettext/0.19.8.1/lib/libintl.8.dylib
/usr/local/Cellar/gettext/0.19.8.1/lib/libintl.a
/usr/local/Cellar/gettext/0.19.8.1/share/gettext/intl/libintl.rc
MacBookPro:eos bill$ brew unlink gettext&& brew link --force gettext
Unlinking /usr/local/Cellar/gettext/0.19.8.1... 0 symlinks removed
Linking /usr/local/Cellar/gettext/0.19.8.1... 185 symlinks created

If you need to have this software first in your PATH instead consider running:
echo 'export PATH="/usr/local/opt/gettext/bin:$PATH"' >> ~/.bash_profile

So I ran:

MacBookPro:eos bill$ git pull --recursive
error: unknown option `recursive'

from eos.

tricaricom avatar tricaricom commented on June 16, 2024

i ran:

git pull --recurse-submodules
git submodule update --init --recursive
./eosio_build.sh

and it gives me a lot "permission denied" errors.
I changed it to:

sudo ./eosio_build.sh

Now it is building...

from eos.

tricaricom avatar tricaricom commented on June 16, 2024

Ok it built successfully!

Thanks for your help @pacificcode

from eos.

pacificcode avatar pacificcode commented on June 16, 2024

@tricaricom We don't recommend compiling EOS.IO as root. Do keep us informed if you run into any further issues.

from eos.

eosbet-io avatar eosbet-io commented on June 16, 2024

Thank you so much for this! Helped me and worked amazingly :)

from eos.

tpmccallum avatar tpmccallum commented on June 16, 2024

Thank you @deju
You solution worked for me on macOS High Sierra (10.13.6)
I previously had llvm version 6.x.x and needed version 4 for the ./eosio_build.sh to run successfully.

from eos.

tpmccallum avatar tpmccallum commented on June 16, 2024

If anyone is interested, this is what I ran to install EOS mainnet on macOS
https://gist.github.com/tpmccallum/45eb7d34a5406508419fa7e676909006

from eos.

hernanarber avatar hernanarber commented on June 16, 2024

@bernadinm 's Answer is the One that Helped me Once I Installed llvm 4:
#43 (comment)

from eos.

Related Issues (20)

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.