Open jkrappa opened 5 months ago
Using the ubi9 image registry.access.redhat.com/ubi9/ubi
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'
I was able to reproduce it. But I need to dig deeper and keep you updated. But it will take some time.
Using the ubi9 image
registry.access.redhat.com/ubi9/ubi
Same error seen with default static linking and dynamic linking/bundled duckdb lib