Skip to content

macos: tweak boringssl build config for xcode 9#1785

Merged
mattklein123 merged 1 commit intoenvoyproxy:masterfrom
turbinelabs:xcode-9
Sep 30, 2017
Merged

macos: tweak boringssl build config for xcode 9#1785
mattklein123 merged 1 commit intoenvoyproxy:masterfrom
turbinelabs:xcode-9

Conversation

@zuercher
Copy link
Copy Markdown
Member

In Xcode 9.0, something related to pthreads and C++ STL has changed. Because boringssl explicitly defines _POSIX_C_SOURCE the definitions for mach_port_t and pthread_mach_thread_np are omitted when #include <mutex> and #include <ostream> are used, causing compile errors.

Specifically setting _DARWIN_C_SOURCE brings them back.

Signed-off-by: Stephan Zuercher stephan@turbinelabs.io

Signed-off-by: Stephan Zuercher <stephan@turbinelabs.io>
Copy link
Copy Markdown
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable to me. @jmillikin-stripe ?

@jmillikin-stripe
Copy link
Copy Markdown
Contributor

LGTM. I confirm this fixes the build on my machine.

@mattklein123 mattklein123 merged commit ac0cd14 into envoyproxy:master Sep 30, 2017
@zuercher zuercher deleted the xcode-9 branch October 2, 2017 17:23
costinm pushed a commit to costinm/envoy that referenced this pull request Oct 2, 2017
Signed-off-by: Stephan Zuercher <stephan@turbinelabs.io>
jpsim pushed a commit that referenced this pull request Nov 28, 2022
Remove last remnant associated with Issue [1558](envoyproxy/envoy-mobile#1558)

Description: Fully test capitalization with HTTP/1
Risk Level: None
Testing: testing only PR
Docs Changes: N/A
Release Notes: N/A
Signed-off-by: Charles Le Borgne <cleborgne@google.com>
Signed-off-by: JP Simard <jp@jpsim.com>
jpsim pushed a commit that referenced this pull request Nov 29, 2022
Remove last remnant associated with Issue [1558](envoyproxy/envoy-mobile#1558)

Description: Fully test capitalization with HTTP/1
Risk Level: None
Testing: testing only PR
Docs Changes: N/A
Release Notes: N/A
Signed-off-by: Charles Le Borgne <cleborgne@google.com>
Signed-off-by: JP Simard <jp@jpsim.com>
mathetake added a commit that referenced this pull request Mar 3, 2026
**Description**

This PR includes the release notes for v0.5 and the versioning of the
docs.

**Related Issues/PRs (if applicable)**
N/A

**Special notes for reviewers (if applicable)**

Please review the release notes provided for accuracy and missing key
information.

---------

Signed-off-by: Erica Hughberg <erica.sundberg.90@gmail.com>
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
Co-authored-by: Ignasi Barrera <nacx@apache.org>
Co-authored-by: Aaron Choo <achoo30@bloomberg.net>
Co-authored-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants