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 failures on redhat linux #192

Open
jkrappa opened this issue Mar 25, 2024 · 1 comment
Open

Build failures on redhat linux #192

jkrappa opened this issue Mar 25, 2024 · 1 comment

Comments

@jkrappa
Copy link

jkrappa commented Mar 25, 2024

Using the ubi9 image registry.access.redhat.com/ubi9/ubi

Same error seen with default static linking and dynamic linking/bundled duckdb lib

go version go1.21.5 linux/amd64
CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -ldflags '-w' -o bin/duckdb-test_linux main.go
.
.
.
# runtime/cgo
gcc: error: unrecognized command-line option '-m64'
go version go1.21.5 linux/amd64
CGO_ENABLED=1 CGO_LDFLAGS="-L/opt/app-root/src/libduckdb-linux-amd64" GOOS=linux GOARCH=amd64 go build -tags=duckdb_use_lib -o bin/duckdb-test_linux main.go
.
.
.
# runtime/cgo
gcc: error: unrecognized command-line option '-m64'
@marcboeker
Copy link
Owner

I was able to reproduce it. But I need to dig deeper and keep you updated. But it will take some time.

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

No branches or pull requests

2 participants