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

Bazel 4.0.0 does not work with XCode 11.3 #12905

Closed
jbms opened this issue Jan 26, 2021 · 4 comments
Closed

Bazel 4.0.0 does not work with XCode 11.3 #12905

jbms opened this issue Jan 26, 2021 · 4 comments

Comments

@jbms
Copy link

jbms commented Jan 26, 2021

This line here:

flag_groups = [flag_group(flags = ["-fdebug-compilation-dir", "."])],

introduced in this commit:

0cb8757

causes Bazel 4.0.0 to not work with XCode 11.3 because it does not support the -fdebug-compilation-dir flag:

clang --version
Apple clang version 11.0.0 (clang-1100.0.33.16)

clang: error: unknown argument: '-fdebug-compilation-dir'

That version of XCode is still in pretty common use.

@keith
Copy link
Member

keith commented Jan 26, 2021

#12882

arunkumar9t2 pushed a commit to arunkumar9t2/bazel that referenced this issue Feb 9, 2021
This reverts commit 0cb8757.

This flag isn't supported by Xcode 11.2, which is the newest available
version for macOS 10.14

bazelbuild#12354 (comment)

Fixes bazelbuild#12905

Closes bazelbuild#12882.

PiperOrigin-RevId: 355126529
@dyrone
Copy link

dyrone commented Feb 25, 2021

Found this problem too

@keith
Copy link
Member

keith commented Feb 25, 2021

FYI to workaround this now you can pass --features=-debug_prefix_map_pwd_is_dot

@dyrone
Copy link

dyrone commented Feb 25, 2021

FYI to workaround this now you can pass --features=-debug_prefix_map_pwd_is_dot

Thank you, it works as usual now

philwo pushed a commit that referenced this issue Mar 15, 2021
This reverts commit 0cb8757.

This flag isn't supported by Xcode 11.2, which is the newest available
version for macOS 10.14

#12354 (comment)

Fixes #12905

Closes #12882.

PiperOrigin-RevId: 355126529
philwo pushed a commit that referenced this issue Mar 15, 2021
This reverts commit 0cb8757.

This flag isn't supported by Xcode 11.2, which is the newest available
version for macOS 10.14

#12354 (comment)

Fixes #12905

Closes #12882.

PiperOrigin-RevId: 355126529
haberman added a commit to haberman/upb that referenced this issue Apr 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants