Displaying 20 results from an estimated 30 matches for "search_paths_first".
2017 Dec 14
2
[lld] Well lld support some advanced features like gnu linker in macOS?
...o just mail to here.
ld in macOS is legacy, lld a more modern linker. I have test,
`-fuse-ld=lld, -Wl,--as-needed `, but its output is:
/usr/local/bin/ld.lld: error: unknown argument: -dynamic
/usr/local/bin/ld.lld: error: unknown argument: -arch
/usr/local/bin/ld.lld: error: unknown argument: -search_paths_first
/usr/local/bin/ld.lld: error: unknown emulation: acosx_version_min
/usr/local/bin/ld.lld: error: unable to find library -lto_library
/usr/local/bin/ld.lld: error:
/usr/local/Cellar/llvm/5.0.0/lib/libLTO.dylib: invalid data encoding
Seems lld is working in progress. I hope lld will support some...
2020 Nov 05
1
How to use mainline clang/llvm with CMake
...vector.cpp
But unfortunately, the link stage fails:
/Users/user/workspace/github/clang_build/manual/llvm-project/_install/Toolchains/LLVM12.0.0git.xctoolchain/usr/bin/clang++ -g -v -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/seq_vector.dir/seq_vector.cpp.o -o seq_vector /Users/user/workspace/github/clang_build/manual/llvm-project/_install/Toolchains/LLVM12.0.0git.xctoolchain/usr/lib
Verbose link command:
"/usr/bin/ld" -demangle -lto_library /Users/user/workspace/gi...
2019 Apr 08
2
LLVM 8 + Mavericks?
...ke"
--build
/Users/mkl/Documents/Projects/CLionProjects/untitled/cmake-build-debug
--target untitled -- -j 2
Scanning dependencies of target untitled
[ 50%] Building CXX object CMakeFiles/untitled.dir/main.cpp.o
[100%] Linking CXX executable untitled
ld: warning: ignoring unknown argument: -search_paths_first
ld: warning: ignoring unknown argument: -headerpad_max_install_names
ld: warning: -sdk_version is required when emitting min version load
command. Setting sdk version to match provided min version
[100%] Built target untitled
although for OpenGL app this shows:
====================[ Build | Gea...
2017 Oct 14
3
darwin bootstrap failure
...sibility-inlines-hidden -Werror=date-time
-Werror=unguarded-availability-new -std=c++11 -Wall -W
-Wno-unused-parameter -Wwrite-strings -Wcast-qual
-Wmissing-field-initializers -pedantic -Wno-long-long
-Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor
-Wstring-conversion -O3 -Wl,-search_paths_first
-Wl,-headerpad_max_install_names -L/sw/lib -Wl,-dead_strip
CMakeFiles/obj.llvm-tblgen.dir/AsmMatcherEmitter.cpp.o
CMakeFiles/obj.llvm-tblgen.dir/AsmWriterEmitter.cpp.o
CMakeFiles/obj.llvm-tblgen.dir/AsmWriterInst.cpp.o
CMakeFiles/obj.llvm-tblgen.dir/Attributes.cpp.o
CMakeFiles/obj.llvm-tblgen.dir...
2017 Oct 14
2
darwin bootstrap failure
...sibility-inlines-hidden -Werror=date-time
-Werror=unguarded-availability-new -std=c++11 -Wall -W
-Wno-unused-parameter -Wwrite-strings -Wcast-qual
-Wmissing-field-initializers -pedantic -Wno-long-long
-Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor
-Wstring-conversion -O3 -Wl,-search_paths_first
-Wl,-headerpad_max_install_names -L/sw/lib -Wl,-dead_strip
CMakeFiles/obj.llvm-tblgen.dir/AsmMatcherEmitter.cpp.o
CMakeFiles/obj.llvm-tblgen.dir/AsmWriterEmitter.cpp.o
CMakeFiles/obj.llvm-tblgen.dir/AsmWriterInst.cpp.o
CMakeFiles/obj.llvm-tblgen.dir/Attributes.cpp.o
CMakeFiles/obj.llvm-tblgen.dir...
2012 Dec 19
2
[LLVMdev] LLVM 3.2 on Xcode
...F/Volumes/Shared/NewShared/llvm/3.2/xcode/projects/compiler-rt/lib/asan/tests/Debug -filelist /Volumes/Shared/NewShared/llvm/3.2/xcode/projects/compiler-rt/lib/asan/tests/LLVM.build/Debug/AsanTest.build/Objects-normal/x86_64/AsanTest.LinkFileList -mmacosx-version-min=10.8 -framework Foundation -Wl,-search_paths_first -Wl,-headerpad_max_install_names -lpthread /Volumes/Shared/NewShared/llvm/3.2/xcode/lib/Debug/libgtest.a /Volumes/Shared/NewShared/llvm/3.2/xcode/lib/Debug/libgtest_main.a /Volumes/Shared/NewShared/llvm/3.2/xcode/lib/Debug/libLLVMSupport.a /Volumes/Shared/NewShared/llvm/3.2/xcode/lib/clang/3.2/lib/...
2017 Oct 14
2
darwin bootstrap failure
...-time -Werror=unguarded-availability-new
>> -std=c++11 -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual
>> -Wmissing-field-initializers -pedantic -Wno-long-long
>> -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor
>> -Wstring-conversion -O3 -Wl,-search_paths_first
>> -Wl,-headerpad_max_install_names -L/sw/lib -Wl,-dead_strip
>> CMakeFiles/obj.llvm-tblgen.dir/AsmMatcherEmitter.cpp.o
>> CMakeFiles/obj.llvm-tblgen.dir/AsmWriterEmitter.cpp.o
>> CMakeFiles/obj.llvm-tblgen.dir/AsmWriterInst.cpp.o
>> CMakeFiles/obj.llvm-tblgen.dir/At...
2017 Oct 15
2
darwin bootstrap failure
...-time
>> -Werror=unguarded-availability-new -std=c++11 -Wall -W -Wno-unused-parameter
>> -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic
>> -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor
>> -Wdelete-non-virtual-dtor -Wstring-conversion -O3 -Wl,-search_paths_first
>> -Wl,-headerpad_max_install_names -L/sw/lib -Wl,-dead_strip
>> CMakeFiles/obj.llvm-tblgen.dir/AsmMatcherEmitter.cpp.o
>> CMakeFiles/obj.llvm-tblgen.dir/AsmWriterEmitter.cpp.o
>> CMakeFiles/obj.llvm-tblgen.dir/AsmWriterInst.cpp.o
>> CMakeFiles/obj.llvm-tblgen.dir/At...
2017 Oct 15
2
darwin bootstrap failure
...all -W
>> >> -Wno-unused-parameter
>> >> -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic
>> >> -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor
>> >> -Wdelete-non-virtual-dtor -Wstring-conversion -O3
>> >> -Wl,-search_paths_first
>> >> -Wl,-headerpad_max_install_names -L/sw/lib -Wl,-dead_strip
>> >> CMakeFiles/obj.llvm-tblgen.dir/AsmMatcherEmitter.cpp.o
>> >> CMakeFiles/obj.llvm-tblgen.dir/AsmWriterEmitter.cpp.o
>> >> CMakeFiles/obj.llvm-tblgen.dir/AsmWriterInst.cpp.o
>&g...
2017 Oct 14
2
darwin bootstrap failure
...lity-new
>>>> -std=c++11 -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual
>>>> -Wmissing-field-initializers -pedantic -Wno-long-long
>>>> -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor
>>>> -Wstring-conversion -O3 -Wl,-search_paths_first
>>>> -Wl,-headerpad_max_install_names -L/sw/lib -Wl,-dead_strip
>>>> CMakeFiles/obj.llvm-tblgen.dir/AsmMatcherEmitter.cpp.o
>>>> CMakeFiles/obj.llvm-tblgen.dir/AsmWriterEmitter.cpp.o
>>>> CMakeFiles/obj.llvm-tblgen.dir/AsmWriterInst.cpp.o
>>&g...
2017 Oct 15
2
darwin bootstrap failure
...-parameter
>> >> >> -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic
>> >> >> -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor
>> >> >> -Wdelete-non-virtual-dtor -Wstring-conversion -O3
>> >> >> -Wl,-search_paths_first
>> >> >> -Wl,-headerpad_max_install_names -L/sw/lib -Wl,-dead_strip
>> >> >> CMakeFiles/obj.llvm-tblgen.dir/AsmMatcherEmitter.cpp.o
>> >> >> CMakeFiles/obj.llvm-tblgen.dir/AsmWriterEmitter.cpp.o
>> >> >> CMakeFiles/obj.llvm-t...
2012 Dec 19
0
[LLVMdev] LLVM 3.2 on Xcode
...F/Volumes/Shared/NewShared/llvm/3.2/xcode/projects/compiler-rt/lib/asan/tests/Debug -filelist /Volumes/Shared/NewShared/llvm/3.2/xcode/projects/compiler-rt/lib/asan/tests/LLVM.build/Debug/AsanTest.build/Objects-normal/x86_64/AsanTest.LinkFileList -mmacosx-version-min=10.8 -framework Foundation -Wl,-search_paths_first -Wl,-headerpad_max_install_names -lpthread /Volumes/Shared/NewShared/llvm/3.2/xcode/lib/Debug/libgtest.a /Volumes/Shared/NewShared/llvm/3.2/xcode/lib/Debug/libgtest_main.a /Volumes/Shared/NewShared/llvm/3.2/xcode/lib/Debug/libLLVMSupport.a /Volumes/Shared/NewShared/llvm/3.2/xcode/lib/clang/3.2/lib/...
2017 Oct 14
2
darwin bootstrap failure
...;>>>>> -Wno-unused-parameter -Wwrite-strings -Wcast-qual
>>>>>> -Wmissing-field-initializers -pedantic -Wno-long-long
>>>>>> -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor
>>>>>> -Wstring-conversion -O3 -Wl,-search_paths_first
>>>>>> -Wl,-headerpad_max_install_names -L/sw/lib -Wl,-dead_strip
>>>>>> CMakeFiles/obj.llvm-tblgen.dir/AsmMatcherEmitter.cpp.o
>>>>>> CMakeFiles/obj.llvm-tblgen.dir/AsmWriterEmitter.cpp.o
>>>>>> CMakeFiles/obj.llvm-tblgen.di...
2012 Dec 21
2
[LLVMdev] LLVM 3.2 on Xcode
...d/NewShared/llvm/3.2/xcode/projects/compiler-rt/lib/asan/tests/Debug
> -filelist
> /Volumes/Shared/NewShared/llvm/3.2/xcode/projects/compiler-rt/lib/asan/tests/LLVM.build/Debug/AsanTest.build/Objects-normal/x86_64/AsanTest.LinkFileList
> -mmacosx-version-min=10.8 -framework Foundation -Wl,-search_paths_first
> -Wl,-headerpad_max_install_names -lpthread
> /Volumes/Shared/NewShared/llvm/3.2/xcode/lib/Debug/libgtest.a
> /Volumes/Shared/NewShared/llvm/3.2/xcode/lib/Debug/libgtest_main.a
> /Volumes/Shared/NewShared/llvm/3.2/xcode/lib/Debug/libLLVMSupport.a
> /Volumes/Shared/NewShared/llvm/3.2...
2016 May 24
2
Undefined symbols in llvm-objdump linkage on x86_64-apple-darwin15
...vm39-3.9.0-1/opt-bin/ccclang++ -fno-common
-fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter
-Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic
-Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor
-Wdelete-non-virtual-dtor -Werror=date-time -std=c++11 -O3
-Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/sw/lib
-Wl,-dead_strip CMakeFiles/llvm-objdump.dir/llvm-objdump.cpp.o
CMakeFiles/llvm-objdump.dir/COFFDump.cpp.o
CMakeFiles/llvm-objdump.dir/ELFDump.cpp.o
CMakeFiles/llvm-objdump.dir/MachODump.cpp.o -o ../../bin/llvm-objdump
../../lib/libLLVM.dylib -Wl,-rpath,...
2016 May 24
1
Undefined symbols in llvm-objdump linkage on x86_64-apple-darwin15
...vm39-3.9.0-1/opt-bin/ccclang++ -fno-common
-fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter
-Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic
-Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor
-Wdelete-non-virtual-dtor -Werror=date-time -std=c++11 -O3
-Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/sw/lib
-Wl,-dead_strip CMakeFiles/llvm-objdump.dir/llvm-objdump.cpp.o
CMakeFiles/llvm-objdump.dir/COFFDump.cpp.o
CMakeFiles/llvm-objdump.dir/ELFDump.cpp.o
CMakeFiles/llvm-objdump.dir/MachODump.cpp.o -o ../../bin/llvm-objdump
../../lib/libLLVMX86AsmPrinter.dyli...
2016 May 24
2
Undefined symbols in llvm-objdump linkage on x86_64-apple-darwin15
...>> -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter
>> -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic
>> -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor
>> -Wdelete-non-virtual-dtor -Werror=date-time -std=c++11 -O3
>> -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/sw/lib
>> -Wl,-dead_strip CMakeFiles/llvm-objdump.dir/llvm-objdump.cpp.o
>> CMakeFiles/llvm-objdump.dir/COFFDump.cpp.o
>> CMakeFiles/llvm-objdump.dir/ELFDump.cpp.o
>> CMakeFiles/llvm-objdump.dir/MachODump.cpp.o -o ../../bin/llvm-objdump...
2017 Oct 15
2
darwin bootstrap failure
...al -Wmissing-field-initializers
>> >> >> >> -pedantic
>> >> >> >> -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor
>> >> >> >> -Wdelete-non-virtual-dtor -Wstring-conversion -O3
>> >> >> >> -Wl,-search_paths_first
>> >> >> >> -Wl,-headerpad_max_install_names -L/sw/lib -Wl,-dead_strip
>> >> >> >> CMakeFiles/obj.llvm-tblgen.dir/AsmMatcherEmitter.cpp.o
>> >> >> >> CMakeFiles/obj.llvm-tblgen.dir/AsmWriterEmitter.cpp.o
>> >> >...
2013 Jul 24
6
[LLVMdev] Transitioning build to cmake
.../_Users_jeremy_src_macports_trunk_dports_lang_llvm-3.4/llvm-3.4/work/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTryCompileExec3905760613
/opt/local/bin/cmake -E cmake_link_script
CMakeFiles/cmTryCompileExec3905760613.dir/link.txt --verbose=1
/usr/bin/clang -Os -Wl,-search_paths_first -Wl,-headerpad_max_install_names
-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -arch i386
CMakeFiles/cmTryCompileExec3905760613.dir/testCCompiler.c.o -o
cmTryCompileExec3905760613
ld: warning: ignoring file
CMakeFiles/cmTryCompileExec3905760613.dir/testCCompiler.c.o, fil...