-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.
Description
Originally reported at TimNN/cargo-lipo#3.
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
forcompiler-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).
Metadata
Metadata
Assignees
Labels
regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.