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

build: fix CMakeLists.txt for libbacktrace #3225

Merged
merged 1 commit into from
Mar 17, 2021

Conversation

sarandia
Copy link
Contributor

We need to pass the --host to libbacktrace in order for it to
cross-compile correctly


Enter [N/A] in the box, if an item is not applicable to your change.

Testing
Before we can approve your change; please submit the following in a comment:

  • [NA ] Example configuration file for the change
  • [NA] Debug log output from testing the change
  • [NA] Attached Valgrind output that shows no leaks or memory corruption was found

Documentation

  • Documentation required for this feature

Fluent Bit is licensed under Apache 2.0, by submitting this pull request I understand that this code will be released under the terms of that license.

@sarandia sarandia requested a review from fujimotos as a code owner March 15, 2021 16:43
@sarandia sarandia force-pushed the fixcrosscompile branch 3 times, most recently from 6b4f11e to 87cd397 Compare March 15, 2021 16:48
@sarandia
Copy link
Contributor Author

@niedbalski We discovered that we needed to do a bit more in the CMakeLists.txt and our new cmake file following #3152 . PTAL. Thanks!

We need to pass the --host to libbacktrace in order for it to
cross-compile correctly. Also, we need some additional environment
variables in cmake/linux-arm64.cmake to ensure the dependencies are
linked correctly during a Docker build.

Tested this locally and on a Kubernetes cluster.

Signed-off-by: Ziyuan Chen <[email protected]>
@niedbalski
Copy link
Collaborator

LGTM, @edsiper mind to review and +2

@edsiper edsiper merged commit 8161957 into fluent:master Mar 17, 2021
sarandia added a commit to sarandia/fluent-bit that referenced this pull request Mar 26, 2021
PR fluent#3210 didn't reflect our latest working copy because it was dropped
when rebasing on fluent#3225. Re-submitting this tested working Dockerfile for
Arm64v8.
@sarandia sarandia mentioned this pull request Mar 26, 2021
1 task
sarandia added a commit to sarandia/fluent-bit that referenced this pull request Mar 26, 2021
PR fluent#3210 didn't reflect our latest working copy because it was dropped
when rebasing on fluent#3225. Re-submitting this tested working Dockerfile for
Arm64v8.

Signed-off-by: Ziyuan Chen <[email protected]>
sarandia added a commit to sarandia/fluent-bit that referenced this pull request Mar 26, 2021
PR fluent#3210 didn't reflect our latest working copy because it was dropped
when rebasing on fluent#3225. Re-submitting this tested working Dockerfile for
Arm64v8.

Signed-off-by: Ziyuan Chen <[email protected]>
sarandia added a commit to sarandia/fluent-bit that referenced this pull request Mar 26, 2021
PR fluent#3210 didn't reflect our latest working copy because it was dropped
when rebasing on fluent#3225. Re-submitting this tested working Dockerfile for
Arm64v8.

Signed-off-by: Ziyuan Chen <[email protected]>
niedbalski pushed a commit that referenced this pull request Apr 6, 2021
PR #3210 didn't reflect our latest working copy because it was dropped
when rebasing on #3225. Re-submitting this tested working Dockerfile for
Arm64v8.

Signed-off-by: Ziyuan Chen <[email protected]>
DrewZhang13 pushed a commit to DrewZhang13/fluent-bit that referenced this pull request May 3, 2021
We need to pass the --host to libbacktrace in order for it to
cross-compile correctly. Also, we need some additional environment
variables in cmake/linux-arm64.cmake to ensure the dependencies are
linked correctly during a Docker build.

Tested this locally and on a Kubernetes cluster.

Signed-off-by: Ziyuan Chen <[email protected]>
DrewZhang13 pushed a commit to DrewZhang13/fluent-bit that referenced this pull request May 3, 2021
PR fluent#3210 didn't reflect our latest working copy because it was dropped
when rebasing on fluent#3225. Re-submitting this tested working Dockerfile for
Arm64v8.

Signed-off-by: Ziyuan Chen <[email protected]>
DrewZhang13 pushed a commit to DrewZhang13/fluent-bit that referenced this pull request May 3, 2021
We need to pass the --host to libbacktrace in order for it to
cross-compile correctly. Also, we need some additional environment
variables in cmake/linux-arm64.cmake to ensure the dependencies are
linked correctly during a Docker build.

Tested this locally and on a Kubernetes cluster.

Signed-off-by: Ziyuan Chen <[email protected]>
DrewZhang13 pushed a commit to DrewZhang13/fluent-bit that referenced this pull request May 3, 2021
PR fluent#3210 didn't reflect our latest working copy because it was dropped
when rebasing on fluent#3225. Re-submitting this tested working Dockerfile for
Arm64v8.

Signed-off-by: Ziyuan Chen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants