Skip to content

Darwin: Figure out how to make crypto/x509 happy #3592

Open
@dgryski

Description

@dgryski
tinygo:ld.lld: error: undefined symbol: _crypto/x509/internal/macos.syscall
>>> referenced by corefoundation.go:77 (/Users/dgryski/go/src/go.googlesource.com/go/src/crypto/x509/internal/macos/corefoundation.go:77)
>>>               /Users/dgryski/Library/Caches/tinygo/thinlto/llvmcache-AD51E514D852B8C17CCBECA235FCF08F2E037423:(symbol _crypto/x509/internal/macos.StringToCFString+0x35)

tinygo:ld.lld: error: undefined symbol: _internal/abi.FuncPCABI0
>>> referenced by corefoundation.go:77 (/Users/dgryski/go/src/go.googlesource.com/go/src/crypto/x509/internal/macos/corefoundation.go:77)
>>>               /Users/dgryski/Library/Caches/tinygo/thinlto/llvmcache-AD51E514D852B8C17CCBECA235FCF08F2E037423:(symbol _crypto/x509/internal/macos.StringToCFString+0x19)

tinygo:ld.lld: error: undefined symbol: _crypto/x509/internal/macos.x509_CFStringCreateWithBytes_trampoline
>>> referenced by /<unknown>
>>>               /Users/dgryski/Library/Caches/tinygo/thinlto/llvmcache-AD51E514D852B8C17CCBECA235FCF08F2E037423:(symbol _crypto/x509/internal/macos$pack.6+0x8)
failed to run tool: ld.lld
error: failed to link /var/folders/5b/_hr1d1fd3qn4t9vtfx5p61wm0000gp/T/tinygo2564788547/main: exit status 1

Making testing stuff tricky.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions