Opened 7 days ago

Last modified 7 days ago

#58592 assigned defect

go @1.12.5: Undefined symbols _fstatat64 _openat _unlinkat

Reported by: ryandesign (Ryan Schmidt) Owned by: ci42
Priority: Normal Milestone:
Component: ports Version:
Keywords: mavericks Cc:
Port: go

Description

go @1.12.5 installs but does not work on 10.9:

/opt/local/lib/go/pkg/tool/darwin_amd64/link: running /usr/bin/clang failed: exit status 1
Undefined symbols for architecture x86_64:
  "_fstatat64", referenced from:
      syscall.libc_fstatat64_trampoline in go.o
  "_openat", referenced from:
      syscall.libc_openat_trampoline in go.o
  "_unlinkat", referenced from:
      syscall.libc_unlinkat_trampoline in go.o
ld: symbol(s) not found for architecture x86_64

Change History (1)

comment:1 Changed 7 days ago by ryandesign (Ryan Schmidt)

Doesn't work on 10.8 either, with a different error:

fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0xb01dfacedebac1e pc=0x7fff8aa8b39f]

runtime stack:
runtime.throw(0x45f583f, 0x2a)
	/opt/local/lib/go/src/runtime/panic.go:617 +0x72
runtime.sigpanic()
	/opt/local/lib/go/src/runtime/signal_unix.go:374 +0x4a9

The port has an error message that prints when installed on 10.6 which says it requires 10.7 or later. This appears to be outdated. It would be great if older systems could still use go. If the latest version can be fixed, great, otherwise maybe old systems can be pinned to old versions of go.

Note: See TracTickets for help on using tickets.