Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-9473] Swift 5.0 'Driver' test failures on PowerPC64LE #51935

Open
swift-ci opened this issue Dec 11, 2018 · 5 comments
Open

[SR-9473] Swift 5.0 'Driver' test failures on PowerPC64LE #51935

swift-ci opened this issue Dec 11, 2018 · 5 comments
Labels
compiler The Swift compiler in itself ppc64le Architecture: 64-bit little-endian PowerPC test failure test suite Area: test suite

Comments

@swift-ci
Copy link
Collaborator

Previous ID SR-9473
Radar None
Original Reporter stamba (JIRA User)
Type Bug

Attachment: Download

Environment

PowerPC64LE(Little Endian) - Ubuntu 16.04.4 LTS

Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug, ppc64le
Assignee None
Priority Medium

md5: f3923a7e5b9ac23ab5b1c8a461abb548

Issue Description:

The following Driver test failures are seen when Swift 5.0 toolchain is built on PowerPC64LE.

Invoked the build-toolchain to run the tests as follows :-
utils/build-toolchain srtbundle --test

**Following are the Driver test failures:-

Swift(linux-powerpc64le) :: Driver/sanitizers.swift
Swift(linux-powerpc64le) :: Driver/fuzzer.swift

Are these tests valid for PowerPC64LE?

Attached are the error details of the failing tests.

DriverTestFailures.txt

@belkadan
Copy link
Contributor

These sound like they're the same as whatever SR-9474 is. Are the appropriate compiler-rt libraries getting built?

@swift-ci
Copy link
Collaborator Author

Comment by Sarvesh Tamba (JIRA)

@belkadan Do you mean these -

libclang_rt.asan-powerpc64le.a,

libclang_rt.tsan-powerpc64le.a,

libclang_rt.ubsan_minimal-powerpc64le.a,

libclang_rt.ubsan_standalone-powerpc64le.a?

I can see them under "build/buildbot_linux/llvm-linux-powerpc64le/lib/clang/7.0.0/lib/linux". I also tried including these in the failing test, no luck though.

However I cannot see them under "swift/test/Driver/Inputs/fake-resource-dir/lib/swift/clang/lib/linux/libclang_rt.tsan-x86_64.a" as for other platforms like libclang_rt.tsan-x86_64.a

Are we missing anything on PowerPC64LE?

@belkadan
Copy link
Contributor

Ah, yeah, it seems reasonable to add them there.

@swift-ci
Copy link
Collaborator Author

Comment by Sarvesh Tamba (JIRA)

@belkadan the test Driver/fuzzer.swift seems to be supported only for OSX and x86_64. I could find only libclang_rt.fuzzer_osx.a and libclang_rt.fuzzer-x86_64.a

Also the test is unsupported for Windows32

// UNSUPPORTED: win32

Can this be unsupported for PowerPC64LE as well?

@belkadan
Copy link
Contributor

That's up to you to decide, or whoever maintains the PowerPC64LE support going forward. It is an optional feature of the compiler, sure.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@AnthonyLatsis AnthonyLatsis added test suite Area: test suite test failure and removed bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. labels Nov 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler The Swift compiler in itself ppc64le Architecture: 64-bit little-endian PowerPC test failure test suite Area: test suite
Projects
None yet
Development

No branches or pull requests

3 participants