Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 644758 - sys-libs/compiler-rt-5.0.1 on macOS 10.13 tries to build against multiple sysroots, fails for iOS
Summary: sys-libs/compiler-rt-5.0.1 on macOS 10.13 tries to build against multiple sys...
Status: UNCONFIRMED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-16 13:51 UTC by Stuart Shelton
Modified: 2018-01-16 13:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stuart Shelton 2018-01-16 13:51:21 UTC
-- Compiler-RT supported architectures: 
-- Performing Test COMPILER_RT_HAS_STD_C11_FLAG
-- Performing Test COMPILER_RT_HAS_STD_C11_FLAG - Success
-- Performing Test COMPILER_RT_HAS_VISIBILITY_HIDDEN_FLAG
-- Performing Test COMPILER_RT_HAS_VISIBILITY_HIDDEN_FLAG - Success
-- Performing Test COMPILER_RT_HAS_OMIT_FRAME_POINTER_FLAG
-- Performing Test COMPILER_RT_HAS_OMIT_FRAME_POINTER_FLAG - Success
-- Performing Test COMPILER_RT_HAS_FREESTANDING_FLAG
-- Performing Test COMPILER_RT_HAS_FREESTANDING_FLAG - Success
-- Performing Test COMPILER_RT_HAS_XRAY_COMPILER_FLAG
-- Performing Test COMPILER_RT_HAS_XRAY_COMPILER_FLAG - Failed
-- Performing Test COMPILER_RT_HAS_ATOMIC_KEYWORD
-- Performing Test COMPILER_RT_HAS_ATOMIC_KEYWORD - Success
-- OSX supported arches: i386;x86_64;x86_64h
-- OSX 10.4 supported builtin arches: i386;x86_64
-- ios Simulator supported builtin arches: i386;x86_64
-- ios supported builtin arches: armv7;armv7s;armv7k;arm64
-- Builtin supported architectures: i386;x86_64;x86_64h;armv7;armv7k;armv7s;arm64
-- <<< Gentoo configuration >>>
Build type      RelWithDebInfo
Install path    /opt/gentoo/usr
Compiler flags:
C               -march=haswell -fcolor-diagnostics -O3 -pipe -fno-builtin -Wno-implicit-function-declaration -mmacosx-version-min=10.12 -Wall -Wno-unused-parameter
C++             -march=haswell -fcolor-diagnostics -O3 -pipe -fno-builtin -Wno-implicit-function-declaration -mmacosx-version-min=10.12 -Wall -std=c++11 -Wno-unused-parameter
Linker flags:
Executable      -Wl,-dead_strip_dylibs -L/opt/gentoo/usr/lib -L/usr/lib -nodefaultlibs -lc
Module          -Wl,-dead_strip_dylibs -L/opt/gentoo/usr/lib -L/usr/lib -nodefaultlibs -lc
Shared          -Wl,-dead_strip_dylibs -L/opt/gentoo/usr/lib -L/usr/lib -nodefaultlibs -lc

-- Configuring done
-- Generating done
-- Build files have been written to: /Volumes/Scratch/tmp/portage/sys-libs/compiler-rt-5.0.1/work/compiler-rt-5.0.1_build
>>> Source configured.
>>> Compiling source in /Volumes/Scratch/tmp/portage/sys-libs/compiler-rt-5.0.1/work/compiler-rt-5.0.1.src ...
>>> Working in BUILD_DIR: "/Volumes/Scratch/tmp/portage/sys-libs/compiler-rt-5.0.1/work/compiler-rt-5.0.1_build"
<...>
[167/3916] /opt/gentoo/usr/lib/llvm/5/bin/x86_64-apple-darwin17-clang -DKERNEL_USE   -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk -miphoneos-version-min=6.0 -fPIC -O3 -fvisibility=hidden -DVISIBILITY_HIDDEN -Wall -fomit-frame-pointer -arch armv7k -mkernel -o lib/builtins/CMakeFiles/clang_rt.cc_kext_armv7k_ios.dir/arm/divmodsi4.S.o -c /Volumes/Scratch/tmp/portage/sys-libs/compiler-rt-5.0.1/work/compiler-rt-5.0.1.src/lib/builtins/arm/divmodsi4.S
FAILED: lib/builtins/CMakeFiles/clang_rt.cc_kext_armv7k_ios.dir/arm/divmodsi4.S.o 
/opt/gentoo/usr/lib/llvm/5/bin/x86_64-apple-darwin17-clang -DKERNEL_USE   -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk -miphoneos-version-min=6.0 -fPIC -O3 -fvisibility=hidden -DVISIBILITY_HIDDEN -Wall -fomit-frame-pointer -arch armv7k -mkernel -o lib/builtins/CMakeFiles/clang_rt.cc_kext_armv7k_ios.dir/arm/divmodsi4.S.o -c /Volumes/Scratch/tmp/portage/sys-libs/compiler-rt-5.0.1/work/compiler-rt-5.0.1.src/lib/builtins/arm/divmodsi4.S
clang-5.0: warning: optimization flag '-fomit-frame-pointer' is not supported for target 'armv7k' [-Wignored-optimization-argument]
clang (LLVM option parsing): Unknown command line argument '-arm-add-build-attributes'.  Try: 'clang (LLVM option parsing) -help'
clang (LLVM option parsing): Did you mean '-force-attribute'?
<...>
[173/3916] /opt/gentoo/usr/lib/llvm/5/bin/x86_64-apple-darwin17-clang -DKERNEL_USE   -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk -miphoneos-version-min=6.0 -fPIC -O3 -fvisibility=hidden -DVISIBILITY_HIDDEN -Wall -fomit-frame-pointer -arch armv7k -mkernel -o lib/builtins/CMakeFiles/clang_rt.cc_kext_armv7k_ios.dir/arm/clzdi2.S.o -c /Volumes/Scratch/tmp/portage/sys-libs/compiler-rt-5.0.1/work/compiler-rt-5.0.1.src/lib/builtins/arm/clzdi2.S
FAILED: lib/builtins/CMakeFiles/clang_rt.cc_kext_armv7k_ios.dir/arm/clzdi2.S.o 
/opt/gentoo/usr/lib/llvm/5/bin/x86_64-apple-darwin17-clang -DKERNEL_USE   -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk -miphoneos-version-min=6.0 -fPIC -O3 -fvisibility=hidden -DVISIBILITY_HIDDEN -Wall -fomit-frame-pointer -arch armv7k -mkernel -o lib/builtins/CMakeFiles/clang_rt.cc_kext_armv7k_ios.dir/arm/clzdi2.S.o -c /Volumes/Scratch/tmp/portage/sys-libs/compiler-rt-5.0.1/work/compiler-rt-5.0.1.src/lib/builtins/arm/clzdi2.S
clang-5.0: warning: optimization flag '-fomit-frame-pointer' is not supported for target 'armv7k' [-Wignored-optimization-argument]
clang (LLVM option parsing): Unknown command line argument '-arm-add-build-attributes'.  Try: 'clang (LLVM option parsing) -help'
clang (LLVM option parsing): Did you mean '-force-attribute'?
ninja: build stopped: subcommand failed.