-
Notifications
You must be signed in to change notification settings - Fork 4
link: duplicated definition of symbol callbackasm1 #15
Copy link
Copy link
Closed
Labels
area: assemblyPlatform-specific assembly (ABI)Platform-specific assembly (ABI)area: callbacksC-to-Go callback trampolinesC-to-Go callback trampolineseffort: 3Medium, ~1 dayMedium, ~1 dayfeature: interopLibrary ecosystem interop (purego, cgo)Library ecosystem interop (purego, cgo)priority: highImportant for next releaseImportant for next releasetype: bugSomething isn't workingSomething isn't working
Milestone
Metadata
Metadata
Assignees
Labels
area: assemblyPlatform-specific assembly (ABI)Platform-specific assembly (ABI)area: callbacksC-to-Go callback trampolinesC-to-Go callback trampolineseffort: 3Medium, ~1 dayMedium, ~1 dayfeature: interopLibrary ecosystem interop (purego, cgo)Library ecosystem interop (purego, cgo)priority: highImportant for next releaseImportant for next releasetype: bugSomething isn't workingSomething isn't working
Type
Fields
Give feedbackNo fields configured for issues without a type.
tldr: goffi conflicts with purego for now.
Environment
To reproduce
create an empty project:
and run/build:
likely reason
It appears that
goffiinternalises assembly code frompuregobut keeps the same global symbol names. There can be other duplicated symbols (maybe rename them togoffi_callbackasm1stuffs).CGO_ENABLED=1does not help. See issue.