Skip to content

Fix compilation on 32 bit#2134

Closed
costinm wants to merge 1 commit intoenvoyproxy:masterfrom
costinm:32bit-part2
Closed

Fix compilation on 32 bit#2134
costinm wants to merge 1 commit intoenvoyproxy:masterfrom
costinm:32bit-part2

Conversation

@costinm
Copy link
Copy Markdown
Contributor

@costinm costinm commented Nov 30, 2017

build: fix compilation on arm (pi) and 32 bit machines

Description:
The cross compiler for arm doesn't like the 64bit options, previous PR updated the other
settings.

Risk Level: Low

Testing:
Manual build/run on pi.

mattklein123
mattklein123 previously approved these changes Nov 30, 2017
@mattklein123
Copy link
Copy Markdown
Member

@costinm please fix DCO. Thank you!

Signed-off-by: Costin Manolache <costin@gmail.com>
@zuercher
Copy link
Copy Markdown
Member

zuercher commented Nov 30, 2017

Sorry I missed this the first time around (in #1795), but I think this is the same problem that we had on OS X. If uint64_t is typedef'd as long long unsigned, then tclap won't compile with 64-bit options. The workaround for OS X was to add -DHAVE_LONG_LONG to the compiler flags (see https://github.com/envoyproxy/envoy/blob/master/bazel/envoy_build_system.bzl#L27).

I'm curious if that would solve your compilation error as well (because maybe some day there will be a command line flag that really needs to be 64 bit).

@costinm
Copy link
Copy Markdown
Contributor Author

costinm commented Dec 3, 2017

Thanks a lot - the HAVE_LONG_LONG worked !
I guess reverting my previous change is not needed.

@costinm costinm closed this Dec 3, 2017
jpsim pushed a commit that referenced this pull request Nov 28, 2022
Description: This PR allows platform implementations of a generic (and potentially persistent) key-value store to be registered with the Engine. Internal components can look up these implementations by name. The internal implementation and wiring in this PR is platform agnostic, but this PR adds a public API for Java/Kotlin only, initially. iOS and other public APIs to follow in upcoming PRs.

Part of #2077.

Risk Level: Low
Testing: New Unit + Integration Coverage

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: This PR allows platform implementations of a generic (and potentially persistent) key-value store to be registered with the Engine. Internal components can look up these implementations by name. The internal implementation and wiring in this PR is platform agnostic, but this PR adds a public API for Java/Kotlin only, initially. iOS and other public APIs to follow in upcoming PRs.

Part of #2077.

Risk Level: Low
Testing: New Unit + Integration Coverage

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