[Swift CI] Build Failure: 0. OSS - Swift Incremental RA - OS X (master) #7279


(Douglas Gregor) #1

Eh?

ncremental-RA-osx/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_mac.cc
clang-3.8: warning: argument unused during compilation: '-stdlib=libc++' [-Wunused-command-line-argument]
clang-3.8: warning: argument unused during compilation: '-mmacosx-version-min=10.9' [-Wunused-command-line-argument]
error: invalid value 'core2' in '-mthread-model core2'
clang (LLVM option parsing): Unknown command line argument '10.9.0'. Try: 'clang (LLVM option parsing) -help'
ninja: build stopped: subcommand failed.
FAILED: tools/clang/runtime/compiler-rt-stamps/compiler-rt-build

···

On Nov 18, 2016, at 4:05 PM, no-reply@swift.org wrote:

[FAILURE] oss-swift-incremental-RA-osx [#7279]

Build URL: https://ci.swift.org/job/oss-swift-incremental-RA-osx/7279/
Project: oss-swift-incremental-RA-osx
Date of build: Fri, 18 Nov 2016 16:03:40 -0800
Build duration: 1 min 39 sec

Changes

Commit 7c58b6ba2f3393a897159de01268199402749fd0 by dgregor:
Allow generic requirements that augment Self in Swift 3 compatibility

edit: test/decl/protocol/req/unsatisfiable.swift
edit: lib/Sema/TypeCheckGeneric.cpp
add: test/Compatibility/unsatisfiable_req.swift
edit: include/swift/AST/DiagnosticsSema.def

Commit f8c45dd9c7b75fcfdf2e8565b8808b3c48c444cf by dgregor:
Disable a compiler-crasher that is crashing inconsistently.

edit: validation-test/compiler_crashers/28504-anonymous-namespace-verifier-verifychecked-swift-type-llvm-smallptrset-swift-arc.swift


(Jordan Rose) #2

Everything was going so well this week…then compiler-rt decided to mess up my build czar record.

Kuba, it looks like things got even worse with your latest fix. https://ci.swift.org/job/oss-swift-incremental-RA-osx/7280/

Jordan

···

On Nov 18, 2016, at 16:13, Douglas Gregor via swift-dev <swift-dev@swift.org> wrote:

Eh?

ncremental-RA-osx/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_mac.cc
clang-3.8: warning: argument unused during compilation: '-stdlib=libc++' [-Wunused-command-line-argument]
clang-3.8: warning: argument unused during compilation: '-mmacosx-version-min=10.9' [-Wunused-command-line-argument]
error: invalid value 'core2' in '-mthread-model core2'
clang (LLVM option parsing): Unknown command line argument '10.9.0'. Try: 'clang (LLVM option parsing) -help'
ninja: build stopped: subcommand failed.
FAILED: tools/clang/runtime/compiler-rt-stamps/compiler-rt-build

On Nov 18, 2016, at 4:05 PM, no-reply@swift.org <mailto:no-reply@swift.org> wrote:

[FAILURE] oss-swift-incremental-RA-osx [#7279]

Build URL: https://ci.swift.org/job/oss-swift-incremental-RA-osx/7279/
Project: oss-swift-incremental-RA-osx
Date of build: Fri, 18 Nov 2016 16:03:40 -0800
Build duration: 1 min 39 sec

Changes

Commit 7c58b6ba2f3393a897159de01268199402749fd0 by dgregor:
Allow generic requirements that augment Self in Swift 3 compatibility

edit: test/decl/protocol/req/unsatisfiable.swift
edit: lib/Sema/TypeCheckGeneric.cpp
add: test/Compatibility/unsatisfiable_req.swift
edit: include/swift/AST/DiagnosticsSema.def

Commit f8c45dd9c7b75fcfdf2e8565b8808b3c48c444cf by dgregor:
Disable a compiler-crasher that is crashing inconsistently.

edit: validation-test/compiler_crashers/28504-anonymous-namespace-verifier-verifychecked-swift-type-llvm-smallptrset-swift-arc.swift

_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev


(Douglas Gregor) #3

Mishal and I believe this is a problem with Clang not getting rebuilt enough when diagnostics are added to Clang. A clean build seemed to fix the issue

···

Sent from my iPhone

On Nov 18, 2016, at 5:16 PM, Jordan Rose <jordan_rose@apple.com> wrote:

Everything was going so well this week…then compiler-rt decided to mess up my build czar record.

Kuba, it looks like things got even worse with your latest fix. https://ci.swift.org/job/oss-swift-incremental-RA-osx/7280/

Jordan

On Nov 18, 2016, at 16:13, Douglas Gregor via swift-dev <swift-dev@swift.org> wrote:

Eh?

ncremental-RA-osx/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_mac.cc
clang-3.8: warning: argument unused during compilation: '-stdlib=libc++' [-Wunused-command-line-argument]
clang-3.8: warning: argument unused during compilation: '-mmacosx-version-min=10.9' [-Wunused-command-line-argument]
error: invalid value 'core2' in '-mthread-model core2'
clang (LLVM option parsing): Unknown command line argument '10.9.0'. Try: 'clang (LLVM option parsing) -help'
ninja: build stopped: subcommand failed.
FAILED: tools/clang/runtime/compiler-rt-stamps/compiler-rt-build

On Nov 18, 2016, at 4:05 PM, no-reply@swift.org wrote:

[FAILURE] oss-swift-incremental-RA-osx [#7279]

Build URL: https://ci.swift.org/job/oss-swift-incremental-RA-osx/7279/
Project: oss-swift-incremental-RA-osx
Date of build: Fri, 18 Nov 2016 16:03:40 -0800
Build duration: 1 min 39 sec

Changes

Commit 7c58b6ba2f3393a897159de01268199402749fd0 by dgregor:
Allow generic requirements that augment Self in Swift 3 compatibility

edit: test/decl/protocol/req/unsatisfiable.swift
edit: lib/Sema/TypeCheckGeneric.cpp
add: test/Compatibility/unsatisfiable_req.swift
edit: include/swift/AST/DiagnosticsSema.def

Commit f8c45dd9c7b75fcfdf2e8565b8808b3c48c444cf by dgregor:
Disable a compiler-crasher that is crashing inconsistently.

edit: validation-test/compiler_crashers/28504-anonymous-namespace-verifier-verifychecked-swift-type-llvm-smallptrset-swift-arc.swift

_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev


(Kuba Mracek) #4

Sorry, Jordan :frowning:

I don't think the "-mthread-model core2" error is caused by me. Also, it seems that Swift is building compiler-rt in a different way than it's usually used in LLVM/Clang, which is why such errors are only triggered in Swift in not in the Clang buildbots. Do you know why is that? I'm noticed two differences:

1) compiler-rt is built with the just-built Clang, instead of the host compiler
2) compiler-rt is not built as a top-level project, but as a sub-build of Clang (via llvm/tools/clang/runtime/CMakeLists.txt)

If there's some issue that something is not rebuilt when it should be, that's also pretty bad...

Kuba

···

On 18 Nov 2016, at 17:16, Jordan Rose <jordan_rose@apple.com> wrote:

Everything was going so well this week…then compiler-rt decided to mess up my build czar record.

Kuba, it looks like things got even worse with your latest fix. https://ci.swift.org/job/oss-swift-incremental-RA-osx/7280/

Jordan

On Nov 18, 2016, at 16:13, Douglas Gregor via swift-dev <swift-dev@swift.org <mailto:swift-dev@swift.org>> wrote:

Eh?

ncremental-RA-osx/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_mac.cc
clang-3.8: warning: argument unused during compilation: '-stdlib=libc++' [-Wunused-command-line-argument]
clang-3.8: warning: argument unused during compilation: '-mmacosx-version-min=10.9' [-Wunused-command-line-argument]
error: invalid value 'core2' in '-mthread-model core2'
clang (LLVM option parsing): Unknown command line argument '10.9.0'. Try: 'clang (LLVM option parsing) -help'
ninja: build stopped: subcommand failed.
FAILED: tools/clang/runtime/compiler-rt-stamps/compiler-rt-build

On Nov 18, 2016, at 4:05 PM, no-reply@swift.org <mailto:no-reply@swift.org> wrote:

[FAILURE] oss-swift-incremental-RA-osx [#7279]

Build URL: https://ci.swift.org/job/oss-swift-incremental-RA-osx/7279/
Project: oss-swift-incremental-RA-osx
Date of build: Fri, 18 Nov 2016 16:03:40 -0800
Build duration: 1 min 39 sec

Changes

Commit 7c58b6ba2f3393a897159de01268199402749fd0 by dgregor:
Allow generic requirements that augment Self in Swift 3 compatibility

edit: test/decl/protocol/req/unsatisfiable.swift
edit: lib/Sema/TypeCheckGeneric.cpp
add: test/Compatibility/unsatisfiable_req.swift
edit: include/swift/AST/DiagnosticsSema.def

Commit f8c45dd9c7b75fcfdf2e8565b8808b3c48c444cf by dgregor:
Disable a compiler-crasher that is crashing inconsistently.

edit: validation-test/compiler_crashers/28504-anonymous-namespace-verifier-verifychecked-swift-type-llvm-smallptrset-swift-arc.swift

_______________________________________________
swift-dev mailing list
swift-dev@swift.org <mailto:swift-dev@swift.org>
https://lists.swift.org/mailman/listinfo/swift-dev