[LLVMdev] "dropping arch" messages while building compiler-rt

Csaba Raduly rcsaba at gmail.com
Wed Feb 19 01:46:59 PST 2014


Building LLVM+clang+compiler-rt+ various other stuff on Ubuntu 12.04
displays the following messages:

make[4]: Entering directory
`/home/......./workspace/LLVM/build/tools/clang/runtime/compiler-rt'
warning: clang_darwin.mk: dropping arch 'i386' from lib 'eprintf' (ld
does not support it)
warning: clang_darwin.mk: dropping arch 'i386' from lib '10.4' (ld
does not support it)
warning: clang_darwin.mk: dropping arch 'x86_64' from lib '10.4' (ld
does not support it)
warning: clang_darwin.mk: dropping arch 'i386' from lib 'ios' (ld does
not support it)
warning: clang_darwin.mk: dropping arch 'x86_64' from lib 'ios' (ld
does not support it)
warning: clang_darwin.mk: dropping arch 'x86_64h' from lib 'ios' (ld
does not support it)
warning: clang_darwin.mk: dropping arch 'armv7' from lib 'ios' (ld
does not support it)
warning: clang_darwin.mk: dropping arch 'i386' from lib 'osx' (ld does
not support it)
warning: clang_darwin.mk: dropping arch 'x86_64' from lib 'osx' (ld
does not support it)
warning: clang_darwin.mk: dropping arch 'x86_64h' from lib 'osx' (ld
does not support it)
warning: clang_darwin.mk: dropping arch 'armv7' from lib 'cc_kext' (ld
does not support it)
warning: clang_darwin.mk: dropping arch 'i386' from lib 'cc_kext' (ld
does not support it)
warning: clang_darwin.mk: dropping arch 'x86_64' from lib 'cc_kext'
(ld does not support it)
warning: clang_darwin.mk: dropping arch 'x86_64h' from lib 'cc_kext'
(ld does not support it)
warning: clang_darwin.mk: dropping arch 'x86_64' from lib
'cc_kext_ios5' (ld does not support it)
warning: clang_darwin.mk: dropping arch 'x86_64h' from lib
'cc_kext_ios5' (ld does not support it)
warning: clang_darwin.mk: dropping arch 'armv7' from lib
'cc_kext_ios5' (ld does not support it)
warning: clang_darwin.mk: dropping arch 'i386' from lib 'profile_osx'
(ld does not support it)
warning: clang_darwin.mk: dropping arch 'x86_64' from lib
'profile_osx' (ld does not support it)
warning: clang_darwin.mk: dropping arch 'x86_64h' from lib
'profile_osx' (ld does not support it)
warning: clang_darwin.mk: dropping arch 'i386' from lib 'profile_ios'
(ld does not support it)
warning: clang_darwin.mk: dropping arch 'x86_64' from lib
'profile_ios' (ld does not support it)
warning: clang_darwin.mk: dropping arch 'x86_64h' from lib
'profile_ios' (ld does not support it)
warning: clang_darwin.mk: dropping arch 'armv7' from lib 'profile_ios'
(ld does not support it)
warning: clang_darwin.mk: dropping arch 'i386' from lib
'asan_osx_dynamic' (ld does not support it)
warning: clang_darwin.mk: dropping arch 'x86_64' from lib
'asan_osx_dynamic' (ld does not support it)
warning: clang_darwin.mk: dropping arch 'x86_64h' from lib
'asan_osx_dynamic' (ld does not support it)
warning: clang_darwin.mk: dropping arch 'i386' from lib 'ubsan_osx'
(ld does not support it)
warning: clang_darwin.mk: dropping arch 'x86_64' from lib 'ubsan_osx'
(ld does not support it)
warning: clang_darwin.mk: dropping arch 'x86_64h' from lib 'ubsan_osx'
(ld does not support it)

Am I going to see these messages during every build from now on?
They are slightly confusing (whaddya mean ld does not support x86_64,
it's the native arch of the machine).

Csaba
-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds



More information about the llvm-dev mailing list