Skip to content

Lightstep includes and gold#1884

Merged
mattklein123 merged 2 commits intoenvoyproxy:masterfrom
jmillikin-stripe:lightstep-includes-and-gold
Oct 17, 2017
Merged

Lightstep includes and gold#1884
mattklein123 merged 2 commits intoenvoyproxy:masterfrom
jmillikin-stripe:lightstep-includes-and-gold

Conversation

@jmillikin-stripe
Copy link
Copy Markdown
Contributor

Use only lightstep headers installed to its prefix.

This is another attempt to prevent build failures when using non-sandbox
mode. Instead of trying to find things under src/c++11/ second, we just
drop that entire directory from the search path.

Try to use gold for linking when using G++ in ASAN mode.

This fixes /usr/bin/ld: unrecognized option '--push-state' errors
caused when older versions of G++ use gold-specific options to GNU LD.

This is another attempt to prevent build failures when using non-sandbox
mode. Instead of trying to find things under `src/c++11/` second, we just
drop that entire directory from the search path.

Signed-off-by: John Millikin <jmillikin@stripe.com>
@jmillikin-stripe jmillikin-stripe force-pushed the lightstep-includes-and-gold branch from f5479c9 to b1e02c8 Compare October 17, 2017 21:24
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can you describe the versions involved? We can't bump CI to a newer version and set that as the floor?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@mattklein123 reported errors with /usr/bin/g++-5, and the linked StackOverflow post indicates it affects some unknown version range in (5.x, 6.x).

Upgrading CI GCC to v7 would probably fix this but I don't want to start doing wild stuff until the build is more settled.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

OK, please just add to comment. Thanks.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I guess this kind of hackery is worth it for the globs, but this goes back to my original rationale for preferring a repository_rule for the full build over genrule; you can know all the final headers and glob them in place.

This comment is really non-actionable, but I think as we move more stuff to be genrule based, we should look to see what happens with this.

This fixes `/usr/bin/ld: unrecognized option '--push-state'` errors
caused when older versions of G++ use gold-specific options to GNU LD.

Signed-off-by: John Millikin <jmillikin@stripe.com>
@jmillikin-stripe jmillikin-stripe force-pushed the lightstep-includes-and-gold branch from b1e02c8 to 1409d5e Compare October 17, 2017 21:57
@mattklein123 mattklein123 merged commit 9ae4fff into envoyproxy:master Oct 17, 2017
rshriram pushed a commit to rshriram/envoy that referenced this pull request Oct 30, 2018
* Reduce log level for jwt filter (envoyproxy#1866)

* Update_Dependencies (envoyproxy#1873)

* Correctly clean up headers used for payload from JWT authentication (envoyproxy#1879)

* Correctly clean up headers used for payload from JWT authentication

* Clang

* Update_Dependencies (envoyproxy#1883)

* destination.principal derivation fix (envoyproxy#1884)

* fix attribute extraction

Signed-off-by: Kuat Yessenov <kuat@google.com>

* seed mock

Signed-off-by: Kuat Yessenov <kuat@google.com>

* merge 1.0 to master

* Update API SHA (envoyproxy#1891)

* add needed dependencies for circle ci
jpsim pushed a commit that referenced this pull request Nov 28, 2022
Description: pulls in #18625

Signed-off-by: Mike Schore <mike.schore@gmail.com>
Signed-off-by: JP Simard <jp@jpsim.com>
jpsim pushed a commit that referenced this pull request Nov 29, 2022
Description: pulls in #18625

Signed-off-by: Mike Schore <mike.schore@gmail.com>
Signed-off-by: JP Simard <jp@jpsim.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