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-986] Building swift-llvm fails when using build-script to cross compile due to multiple -isysroot arguments being in CFLAGS #43598

Closed
swift-ci opened this issue Mar 19, 2016 · 2 comments

Comments

@swift-ci
Copy link
Collaborator

@swift-ci swift-ci commented Mar 19, 2016

Previous ID SR-986
Radar None
Original Reporter ahyattdev (JIRA User)
Type Bug
Status Closed
Resolution Done
Environment

Mac OS X 10.11.3 x86_64

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

md5: dac935f9361815f3632d928d9eb42586

Issue Description:

Building swift-llvm fails when using build-script to cross compile because build-script wrongly gives duplicate -isysroot arguments.

The full arguments that are given to clang by build-script while building LLVM are here: https://gist.github.com/ahyattdev/8ecc5d3808b9ee543a60

The command I use to build the compiler, using the latest sources from GitHub

utils/build-script -R -i -- --cross-compile-tools-deployment-targets "iphoneos-arm64 iphoneos-armv7 iphoneos-armv7s" --user-config-args="-DLLVM_ENABLE_BACKTRACES=Off"

This error occurs after the phase of building llvm for the host machine, and occurs during the cross compilation phase.

@swift-ci
Copy link
Collaborator Author

@swift-ci swift-ci commented Mar 19, 2016

@swift-ci
Copy link
Collaborator Author

@swift-ci swift-ci commented Mar 22, 2016

Comment by Andrew Hyatt (JIRA)

Fixed by

79b7c96#diff-65b44eb6cb88af2161d8e1176231aad0

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant