-
Notifications
You must be signed in to change notification settings - Fork 659
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
Bundle librdkafka to support linux/arm64 builds #805
Comments
Hi @JimMale-tt - you will be pleased to know we have an internal user who needs really needs this, so you can expect a bundled linux/arm64 build in the not too distant future. However, it's not currently at the top of the priority queue. |
@JimMale-tt @mhowlett |
I am getting the same error on my M1 with |
I hesitate to link it if it's unrelated, but does purl rquest numero 845 work toward solving this? Thanks. |
The same problem when building with
Dockerfile:
|
@JimMale-tt @sagimedina1 |
Hi @PrasanthV454, do you have an idea when is this new next release going to be published? Thank you! |
Hi @ferranorriols, we are targeting for Jan 1st week, 2023. The version will be 2.0.0 |
That's great @PrasanthV454, thanks for letting me know. |
Is the plan to still release this early Jan? |
any updates at all on this? |
@elmoamedeo this was fixed in the 2.0.2 release |
When will this v 2.02 be published? I can see only v1.9.3-RC3 available on https://pkg.go.dev/github.com/confluentinc/[email protected]?tab=versions |
Description
Applications that uses
confluent-kafka-go
cannot be built onlinux/arm64
(akaaarch64
) with the bundledlibrdkafka
library.This includes:
linux/arm64
darwin/arm64
orlinux/arm64
hostlinux/arm64
targetThis is caused by the included
librdkafka
library not supporting Linux arm64 (neither glibc-based nor musl-based).Two other issues have previously been opened that mention ARM support: #591 and #565 .
This issue has been opened in relation to work I'm doing for my employer.
How to reproduce
main.go
Add a Makefile...
Makefile
Add a Dockerfile...
Dockerfile
Initialize go mod with
go mod init
, andgo mod vendor
.Attempt to build the example application in a regular, single-architecture docker container. This works!
When running
make multiarch
, we can see Docker attempting to build two versions of the container:One for
linux/arm64
, and one forlinux/amd64
. Thelinux/amd64
build completes successfully, but thelinux/arm64
build fails.This is because
ld
can't link the application againstlibrdkafka_glibc_linux.a
since it was bundled withconfluent-kafka-go
, and does not include a version for thelinux/arm64
build target.Potential Solutions
librdkafka
forarm64
themselvesconfluent-kafka-go
could include alinux/arm64
version oflibrdkafka
Checklist
Please provide the following information:
LibraryVersion()
): N/A, tested with 1.9.0ConfigMap{...}
N/A"debug": ".."
as necessary) N/AThe text was updated successfully, but these errors were encountered: