8000 build failure for macOS with Go 1.23.9 / Go 1.24.3 · Issue #313 · ebitengine/purego · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
build failure for macOS with Go 1.23.9 / Go 1.24.3 #313
Closed
@hajimehoshi

Description

@hajimehoshi

PureGo Version

v0.8.2

Operating System

  • Windows
  • macOS
  • Linux
  • FreeBSD
  • NetBSD
  • Android
  • iOS

Go Version (go version)

go version go1.23.9 darwin/arm64

What steps will reproduce the problem?

Try to build this program as GOARCH=amd64:

package main

import (
	_ "github.com/ebitengine/purego"
)

func main() {
}
% GOOS=darwin GOARCH=amd64 go1.23.9 build .
# github.com/ebitengine/purego/examples/test
link: duplicated definition of symbol dlopen, from github.com/ebitengine/purego and github.com/ebitengine/purego

What is the expected result?

The build succeeds

What happens instead?

The build fails

Anything else you feel useful to add?

See also golang/go#73617

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0