Skip to content

cdata interface with bazel + gazelle requires patches to build #327

@notfilippo

Description

@notfilippo

Describe the bug, including details regarding any error messages, version, and platform.

After the recent upgrades to v18.1 I have noticed some issues in my bazel + gazelle build system, which I think are related:

I'm getting

Undefined symbols for architecture arm64:
  "_ArrowArrayIsReleased", referenced from:
      __cgo_a6f56f66f2c3_Cfunc_ArrowArrayIsReleased in 000049.o
  "_ArrowArrayMarkReleased", referenced from:
      __cgo_a6f56f66f2c3_Cfunc_ArrowArrayMarkReleased in 000051.o
  "_ArrowArrayMove", referenced from:
      __cgo_a6f56f66f2c3_Cfunc_ArrowArrayMove in 000049.o
  "_ArrowArrayRelease", referenced from:
      __cgo_a6f56f66f2c3_Cfunc_ArrowArrayRelease in 000049.o
  "_ArrowArrayStreamMove", referenced from:
      __cgo_a6f56f66f2c3_Cfunc_ArrowArrayStreamMove in 000049.o
  "_ArrowArrayStreamRelease", referenced from:
      __cgo_a6f56f66f2c3_Cfunc_ArrowArrayStreamRelease in 000049.o
  "_ArrowSchemaIsReleased", referenced from:
      __cgo_a6f56f66f2c3_Cfunc_ArrowSchemaIsReleased in 000052.o
  "_ArrowSchemaMarkReleased", referenced from:
      __cgo_a6f56f66f2c3_Cfunc_ArrowSchemaMarkReleased in 000052.o
  "_ArrowSchemaRelease", referenced from:
      __cgo_a6f56f66f2c3_Cfunc_ArrowSchemaRelease in 000049.o
ld: symbol(s) not found for architecture arm64

Which I presume is due to the removal of the static qualifier in the function defined helpers.h.

Would it be acceptable to introduce a helpers.c with the function definitions?

Component(s)

Other

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions