You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following issue occurs on nightly-2016-07-02 but not on nightly-2016-06-24, I suspect the regression was caused by #34055. Related: #29664.
Creating a universal library for all iOS targets and linking it in XCode produces the following warnings when targeting a simulator, but not when targeting the real device:
ld: warning: URGENT: building for iOS simulator, but linking in object file (/*/rusty/target/universal/debug/librusty.a(powidf2.c.o)) built for OSX. Note: This will be an error in the future.
ld: warning: object file (/*/rusty/target/universal/debug/librusty.a(powidf2.c.o)) was built for newer OSX version (10.7) than being linked (9.3)
ld: warning: URGENT: building for iOS simulator, but linking in object file (/*/rusty/target/universal/debug/librusty.a(powisf2.c.o)) built for OSX. Note: This will be an error in the future.
ld: warning: object file (/*/rusty/target/universal/debug/librusty.a(powisf2.c.o)) was built for newer OSX version (10.7) than being linked (9.3)
As I understand the situation:
these warnings are reported for two object files which were included in the universal library as part of compiler-rt
these warnings can be fixed by passing -mios-simulator-version-min=7.0 to the appropriate tools
this flags seems to be no longer passed around when building compiler-rt, however I believe that the standard library is still build with that flag because there would be more warnings / errors otherwise
searching PR's merged after nightly-2016-06-24 for compiler-rt makes Convert makefiles to build LLVM/compiler-rt with CMake #34055 look like the likeliest candidate to have caused this regression (sadly there are no nightlies available between the two, which makes narrowing it down further very inconvenient).
Originally reported at TimNN/cargo-lipo#3.
The following issue occurs on
nightly-2016-07-02but not onnightly-2016-06-24, I suspect the regression was caused by #34055. Related: #29664.Creating a universal library for all iOS targets and linking it in XCode produces the following warnings when targeting a simulator, but not when targeting the real device:
As I understand the situation:
compiler-rt-mios-simulator-version-min=7.0to the appropriate toolscompiler-rt, however I believe that the standard library is still build with that flag because there would be more warnings / errors otherwisenightly-2016-06-24forcompiler-rtmakes Convert makefiles to build LLVM/compiler-rt with CMake #34055 look like the likeliest candidate to have caused this regression (sadly there are no nightlies available between the two, which makes narrowing it down further very inconvenient).