[MacPorts] #64169: go can't be built on macOS 10.6 i686
MacPorts
noreply at macports.org
Fri Feb 9 10:14:08 UTC 2024
#64169: go can't be built on macOS 10.6 i686
---------------------+-------------------------
Reporter: catap | Owner: ci42
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: snowleopard
Port: go |
---------------------+-------------------------
Comment (by barracuda156):
Replying to [comment:8 catap]:
Quite amazing how badly written the Go source is. Every version fails, but
differently.
1.14.15:
{{{
run:
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/go/pkg/tool/darwin_386/link
-extldflags=-Wl,-headerpad_max_install_names -L/opt/local/lib
-lMacportsLegacySupport -extld=/opt/local/bin/clang-mp-11 -o
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/go/pkg/tool/darwin_386/go_bootstrap
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-tool-
dist-929200349/cmd/go/_go_.a DONE
rm /opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-
tool-dist-929200349/cmd/go/_go_.a
Building Go toolchain2 using go_bootstrap and Go toolchain1.
run:
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/go/pkg/tool/darwin_386/go_bootstrap
install -gcflags=all=
-ldflags=all="-extldflags=-Wl,-headerpad_max_install_names
-L/opt/local/lib -lMacportsLegacySupport" -v -i cmd/asm cmd/cgo
cmd/compile cmd/link
go tool dist: FAILED:
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/go/pkg/tool/darwin_386/go_bootstrap
install -gcflags=all=
-ldflags=all="-extldflags=-Wl,-headerpad_max_install_names
-L/opt/local/lib -lMacportsLegacySupport" -v -i cmd/asm cmd/cgo
cmd/compile cmd/link: signal: segmentation fault
rm -r
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/go/pkg/bootstrap
rm -r
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/go/pkg/obj/go-
build
rm -rf /opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-
tool-dist-929200349
rm -r /opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-
tool-dist-929200349
Command failed: cd
"/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/go/src" &&
./make.bash -v=3
Exit code: 2
}}}
1.13.15:
{{{
Building Go toolchain2 using go_bootstrap and Go toolchain1.
run:
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/go/pkg/tool/darwin_386/go_bootstrap
install -gcflags=all=
-ldflags=all="-extldflags=-Wl,-headerpad_max_install_names
-L/opt/local/lib -lMacportsLegacySupport" -v -i cmd/asm cmd/cgo
cmd/compile cmd/link
fatal error: unexpected signal during runtime execution
fatal error: unexpected signal during runtime execution
[signal SIGBUS: bus error code=0x2 addr=0x0 pc=0x90860a22]
runtime stack:
runtime: unexpected return pc for runtime.sigpanic called from 0x90860a22
stack: frame={sp:0xb030aeb8, fp:0xb030aed0} stack=[0xb028b374,0xb030af74)
b030ae38: 04029f35 <runtime.dopanic_m+453> 040299b4 <runtime.throw+100>
b030aea4 00000000
b030ae48: 14d02000 01000001 00000011 04029d19
<runtime.startpanic_m+297>
b030ae58: 90860a22 00000000 00000002 0435ce1d
b030ae68: 0404e905 <runtime.fatalthrow.func1+69> 14d02000 040299b4
<runtime.throw+100> b030aea4
b030ae78: 00000001 b030aea4 040299b4 <runtime.throw+100> 14d02000
b030ae88: 04029b54 <runtime.fatalthrow+84> b030ae90 0404e8c0
<runtime.fatalthrow.func1+0> 14d02000
b030ae98: 040299b4 <runtime.throw+100> b030aea4 040299b4
<runtime.throw+100> b030aea8
b030aea8: 0404e850 <runtime.throw.func1+0> 04369783 0000002a 0403c781
<runtime.sigpanic+913>
b030aeb8: <04369783 0000002a 045d3018 00000052
b030aec8: 14d02000 !90860a22 >ff000000 ffffffff
b030aed8: ffffffff 9085534e 9085534e a006950c
b030aee8: b030af28 90855378 34d00080 00000000
b030aef8: 0000ff00 ff000000 672f6f67 6f772f6f
b030af08: 672f6b72 72732f6f 00000008 04092ef0
<syscall.libc_closedir_trampoline+0>
b030af18: 14c8f98c 14c8f98c 14d02000 0000069c
b030af28: b030af48 04052532 <runtime.syscall+34> 34d00080 00000000
b030af38: 00000000 14c01dc0 14c01d01 14a30088
b030af48: 14c3a900 04050e43 <runtime.asmcgocall+83>
runtime.throw(0x4369783, 0x2a)
/opt/local/lib/go/src/runtime/panic.go:774 +0x64
runtime: unexpected return pc for runtime.sigpanic called from 0x90860a22
stack: frame={sp:0xb030aeb8, fp:0xb030aed0} stack=[0xb028b374,0xb030af74)
b030ae38: 04029f35 <runtime.dopanic_m+453> 040299b4 <runtime.throw+100>
b030aea4 00000000
b030ae48: 14d02000 01000001 00000011 04029d19
<runtime.startpanic_m+297>
b030ae58: 90860a22 00000000 00000002 0435ce1d
b030ae68: 0404e905 <runtime.fatalthrow.func1+69> 14d02000 040299b4
<runtime.throw+100> b030aea4
b030ae78: 00000001 b030aea4 040299b4 <runtime.throw+100> 14d02000
b030ae88: 04029b54 <runtime.fatalthrow+84> b030ae90 0404e8c0
<runtime.fatalthrow.func1+0> 14d02000
b030ae98: 040299b4 <runtime.throw+100> b030aea4 040299b4
<runtime.throw+100> b030aea8
b030aea8: 0404e850 <runtime.throw.func1+0> 04369783 0000002a 0403c781
<runtime.sigpanic+913>
b030aeb8: <04369783 0000002a 045d3018 00000052
b030aec8: 14d02000 !90860a22 >ff000000 ffffffff
b030aed8: ffffffff 9085534e 9085534e a006950c
b030aee8: b030af28 90855378 34d00080 00000000
b030aef8: 0000ff00 ff000000 672f6f67 6f772f6f
b030af08: 672f6b72 72732f6f 00000008 04092ef0
<syscall.libc_closedir_trampoline+0>
b030af18: 14c8f98c 14c8f98c 14d02000 0000069c
b030af28: b030af48 04052532 <runtime.syscall+34> 34d00080 00000000
b030af38: 00000000 14c01dc0 14c01d01 14a30088
b030af48: 14c3a900 04050e43 <runtime.asmcgocall+83>
runtime.sigpanic()
/opt/local/lib/go/src/runtime/signal_unix.go:378 +0x391
goroutine 10 [syscall]:
syscall.syscall(0x4092ef0, 0x34d00080, 0x0, 0x0, 0x0, 0x0, 0x0)
/opt/local/lib/go/src/runtime/sys_darwin.go:63 +0x20 fp=0x14c8f98c
sp=0x14c8f97c pc=0x40437e0
syscall.closedir(0x34d00080, 0x43f8be0, 0x14cc6700)
/opt/local/lib/go/src/syscall/zsyscall_darwin_386.go:534 +0x41
fp=0x14c8f9ac sp=0x14c8f98c pc=0x4090ec1
os.(*dirInfo).close(...)
/opt/local/lib/go/src/os/dir_darwin.go:23
os.(*file).close(0x14c4c2c0, 0xffffffff, 0x4601a84)
/opt/local/lib/go/src/os/file_unix.go:241 +0x198 fp=0x14c8f9d4
sp=0x14c8f9ac pc=0x40afa28
os.(*File).Close(...)
/opt/local/lib/go/src/os/file_unix.go:233
io/ioutil.ReadDir(0x14c1e820, 0x4a, 0x14c0c520, 0x2, 0x2, 0x14c16480,
0x57)
/opt/local/lib/go/src/io/ioutil/ioutil.go:102 +0x156 fp=0x14c8fa1c
sp=0x14c8f9d4 pc=0x4119116
go/build.(*Context).readDir(0x45f0160, 0x14c1e820, 0x4a, 0x0, 0x14c16480,
0x57, 0xc, 0x14c0e680)
/opt/local/lib/go/src/go/build/build.go:182 +0x71 fp=0x14c8fa3c
sp=0x14c8fa1c pc=0x4142681
go/build.(*Context).Import(0x45f0160, 0xbfffeea0, 0x8, 0x14c14240, 0x3d,
0xc, 0xffffffff, 0x0, 0x4067f2c)
/opt/local/lib/go/src/go/build/build.go:770 +0x737 fp=0x14c8fdec
sp=0x14c8fa3c pc=0x4143cf7
cmd/go/internal/load.loadPackageData.func2(0x14ccaca0, 0x0)
/opt/local/lib/go/src/cmd/go/internal/load/pkg.go:666 +0x449
fp=0x14c8fe5c sp=0x14c8fdec pc=0x417c6a9
cmd/go/internal/par.(*Cache).Do(0x45efd30, 0x43053a0, 0x14c0e660,
0x14c32760, 0x4325f80, 0x14ccac80)
/opt/local/lib/go/src/cmd/go/internal/par/work.go:128 +0xbd
fp=0x14c8fe88 sp=0x14c8fe5c pc=0x416645d
cmd/go/internal/load.loadPackageData(0xbfffeea0, 0x8, 0x0, 0x0,
0x14c14240, 0x3d, 0x0, 0x0, 0x0, 0x0, ...)
/opt/local/lib/go/src/cmd/go/internal/load/pkg.go:640 +0x38e
fp=0x14c8ff98 sp=0x14c8fe88 pc=0x416d3ae
cmd/go/internal/load.(*preload).preloadMatches.func1(0x14c0e5f0,
0xbfffeea0, 0x8)
/opt/local/lib/go/src/cmd/go/internal/load/pkg.go:773 +0x68
fp=0x14c8ffe0 sp=0x14c8ff98 pc=0x417c848
runtime.goexit()
/opt/local/lib/go/src/runtime/asm_386.s:1325 +0x1 fp=0x14c8ffe4
sp=0x14c8ffe0 pc=0x4051261
created by cmd/go/internal/load.(*preload).preloadMatches
/opt/local/lib/go/src/cmd/go/internal/load/pkg.go:771 +0x54
goroutine 1 [runnable]:
os.(*File).readdir(0x14c0e648, 0xffffffff, 0x0, 0x0, 0x14c0e648, 0x0, 0x0)
/opt/local/lib/go/src/os/file_unix.go:378 +0x83
os.(*File).Readdir(...)
/opt/local/lib/go/src/os/dir.go:26
io/ioutil.ReadDir(0x14c1e5f0, 0x49, 0x14c0c4d0, 0x2, 0x2, 0x14c16420,
0x56)
/opt/local/lib/go/src/io/ioutil/ioutil.go:101 +0x183
go/build.(*Context).readDir(0x45f0160, 0x14c1e5f0, 0x49, 0x0, 0x14c16420,
0x56, 0xc, 0x14c0e640)
/opt/local/lib/go/src/go/build/build.go:182 +0x71
go/build.(*Context).Import(0x45f0160, 0xbfffee84, 0x7, 0x14c14240, 0x3d,
0xc, 0xffffffff, 0x0, 0x4067f2c)
/opt/local/lib/go/src/go/build/build.go:770 +0x737
cmd/go/internal/load.loadPackageData.func2(0x14ccac00, 0x0)
/opt/local/lib/go/src/cmd/go/internal/load/pkg.go:666 +0x449
cmd/go/internal/par.(*Cache).Do(0x45efd30, 0x43053a0, 0x14c0e618,
0x14c8eb24, 0x4325f80, 0x14ccabe0)
/opt/local/lib/go/src/cmd/go/internal/par/work.go:128 +0xbd
cmd/go/internal/load.loadPackageData(0xbfffee84, 0x7, 0x0, 0x0,
0x14c14240, 0x3d, 0x0, 0x0, 0x14c14400, 0x0, ...)
/opt/local/lib/go/src/cmd/go/internal/load/pkg.go:640 +0x38e
cmd/go/internal/load.loadImport(0x14c0e5f0, 0xbfffee84, 0x7, 0x14c14240,
0x3d, 0x0, 0x14c8ecd8, 0x0, 0x0, 0x0, ...)
/opt/local/lib/go/src/cmd/go/internal/load/pkg.go:482 +0x119
cmd/go/internal/load.PackagesAndErrors(0x14c10080, 0x4, 0x4, 0x0, 0x0,
0x0)
/opt/local/lib/go/src/cmd/go/internal/load/pkg.go:1982 +0x405
cmd/go/internal/load.PackagesForBuild(0x14c10080, 0x4, 0x4, 0x4311700,
0x0, 0x0)
/opt/local/lib/go/src/cmd/go/internal/load/pkg.go:2028 +0x42
cmd/go/internal/work.runInstall(0x45d7ee0, 0x14c10080, 0x4, 0x4)
/opt/local/lib/go/src/cmd/go/internal/work/build.go:483 +0x30
main.main()
/opt/local/lib/go/src/cmd/go/main.go:189 +0x6b2
goroutine 6 [syscall]:
os/signal.signal_recv(0x14c367c3)
/opt/local/lib/go/src/runtime/sigqueue.go:144 +0x118
os/signal.loop()
/opt/local/lib/go/src/os/signal/signal_unix.go:23 +0x14
created by os/signal.init.0
/opt/local/lib/go/src/os/signal/signal_unix.go:29 +0x31
goroutine 7 [runnable]:
cmd/go/internal/load.loadPackageData(0xbfffee84, 0x7, 0x0, 0x0,
0x14c14240, 0x3d, 0x0, 0x0, 0x0, 0x0, ...)
/opt/local/lib/go/src/cmd/go/internal/load/pkg.go:640 +0x2dc
cmd/go/internal/load.(*preload).preloadMatches.func1(0x14c0e5f0,
0xbfffee84, 0x7)
/opt/local/lib/go/src/cmd/go/internal/load/pkg.go:773 +0x68
created by cmd/go/internal/load.(*preload).preloadMatches
/opt/local/lib/go/src/cmd/go/internal/load/pkg.go:771 +0x54
goroutine 8 [syscall]:
syscall.syscall(0x4092ef0, 0x34c00120, 0x0, 0x0, 0x0, 0x0, 0x0)
/opt/local/lib/go/src/runtime/sys_darwin.go:63 +0x20 fp=0x14c8a98c
sp=0x14c8a97c pc=0x40437e0
syscall.closedir(0x34c00120, 0x43f8be0, 0x14d3a000)
/opt/local/lib/go/src/syscall/zsyscall_darwin_386.go:534 +0x41
fp=0x14c8a9ac sp=0x14c8a98c pc=0x4090ec1
os.(*dirInfo).close(...)
/opt/local/lib/go/src/os/dir_darwin.go:23
os.(*file).close(0x14d20000, 0xffffffff, 0x4601a84)
/opt/local/lib/go/src/os/file_unix.go:241 +0x198 fp=0x14c8a9d4
sp=0x14c8a9ac pc=0x40afa28
os.(*File).Close(...)
/opt/local/lib/go/src/os/file_unix.go:233
io/ioutil.ReadDir(0x14d04000, 0x49, 0x14d14040, 0x2, 0x2, 0x14d1a000,
0x56)
/opt/local/lib/go/src/io/ioutil/ioutil.go:102 +0x156 fp=0x14c8aa1c
sp=0x14c8a9d4 pc=0x4119116
go/build.(*Context).readDir(0x45f0160, 0x14d04000, 0x49, 0x0, 0x14d1a000,
0x56, 0xc, 0x14cde050)
/opt/local/lib/go/src/go/build/build.go:182 +0x71 fp=0x14c8aa3c
sp=0x14c8aa1c pc=0x4142681
go/build.(*Context).Import(0x45f0160, 0xbfffee8c, 0x7, 0x14c14240, 0x3d,
0xc, 0xffffffff, 0x0, 0x4067f2c)
/opt/local/lib/go/src/go/build/build.go:770 +0x737 fp=0x14c8adec
sp=0x14c8aa3c pc=0x4143cf7
cmd/go/internal/load.loadPackageData.func2(0x14ce0060, 0x0)
/opt/local/lib/go/src/cmd/go/internal/load/pkg.go:666 +0x449
fp=0x14c8ae5c sp=0x14c8adec pc=0x417c6a9
cmd/go/internal/par.(*Cache).Do(0x45efd30, 0x43053a0, 0x14cde020,
0x14c39760, 0x4325f80, 0x14ce0040)
/opt/local/lib/go/src/cmd/go/internal/par/work.go:128 +0xbd
fp=0x14c8ae88 sp=0x14c8ae5c pc=0x416645d
cmd/go/internal/load.loadPackageData(0xbfffee8c, 0x7, 0x0, 0x0,
0x14c14240, 0x3d, 0x0, 0x0, 0x0, 0x0, ...)
/opt/local/lib/go/src/cmd/go/internal/load/pkg.go:640 +0x38e
fp=0x14c8af98 sp=0x14c8ae88 pc=0x416d3ae
cmd/go/internal/load.(*preload).preloadMatches.func1(0x14c0e5f0,
0xbfffee8c, 0x7)
/opt/local/lib/go/src/cmd/go/internal/load/pkg.go:773 +0x68
fp=0x14c8afe0 sp=0x14c8af98 pc=0x417c848
created by cmd/go/internal/load.(*preload).preloadMatches
/opt/local/lib/go/src/cmd/go/internal/load/pkg.go:771 +0x54
goroutine 9 [runnable]:
os.(*File).readdirnames(0x14d00038, 0xffffffff, 0x0, 0x14d00038,
0x40af787, 0x14, 0x14d1c000)
/opt/local/lib/go/src/os/dir_darwin.go:46 +0x7d
os.(*File).Readdirnames(...)
/opt/local/lib/go/src/os/dir.go:48
os.(*File).readdir(0x14d00038, 0xffffffff, 0x0, 0x0, 0x14d00038, 0x0, 0x0)
/opt/local/lib/go/src/os/file_unix.go:377 +0x49
os.(*File).Readdir(...)
/opt/local/lib/go/src/os/dir.go:26
io/ioutil.ReadDir(0x14d1c000, 0x4d, 0x14d22040, 0x2, 0x2, 0x14d2c000,
0x5a)
/opt/local/lib/go/src/io/ioutil/ioutil.go:101 +0x183
go/build.(*Context).readDir(0x45f0160, 0x14d1c000, 0x4d, 0x0, 0x14d2c000,
0x5a, 0xc, 0x14d00030)
/opt/local/lib/go/src/go/build/build.go:182 +0x71
go/build.(*Context).Import(0x45f0160, 0xbfffee94, 0xb, 0x14c14240, 0x3d,
0xc, 0xffffffff, 0x0, 0x4067f2c)
/opt/local/lib/go/src/go/build/build.go:770 +0x737
cmd/go/internal/load.loadPackageData.func2(0x14cf6040, 0x0)
/opt/local/lib/go/src/cmd/go/internal/load/pkg.go:666 +0x449
cmd/go/internal/par.(*Cache).Do(0x45efd30, 0x43053a0, 0x14d00010,
0x14c39f60, 0x4325f80, 0x14cf6020)
/opt/local/lib/go/src/cmd/go/internal/par/work.go:128 +0xbd
cmd/go/internal/load.loadPackageData(0xbfffee94, 0xb, 0x0, 0x0,
0x14c14240, 0x3d, 0x0, 0x0, 0x0, 0x0, ...)
/opt/local/lib/go/src/cmd/go/internal/load/pkg.go:640 +0x38e
cmd/go/internal/load.(*preload).preloadMatches.func1(0x14c0e5f0,
0xbfffee94, 0xb)
/opt/local/lib/go/src/cmd/go/internal/load/pkg.go:773 +0x68
created by cmd/go/internal/load.(*preload).preloadMatches
/opt/local/lib/go/src/cmd/go/internal/load/pkg.go:771 +0x54
[signal SIGBUS: bus error code=0x2 addr=0x0 pc=0x90860a22]
runtime stack:
runtime: unexpected return pc for runtime.sigpanic called from 0x90860a22
stack: frame={sp:0xb0206eb8, fp:0xb0206ed0} stack=[0xb0187374,0xb0206f74)
b0206e38: 04029f35 <runtime.dopanic_m+453> 040299b4 <runtime.throw+100>
b0206ea4 00000000
b0206e48: 14c580e0 01000001 00000011 04029d19
<runtime.startpanic_m+297>
b0206e58: 90860a22 00000000 00000002 0435ce1d
b0206e68: 0404e905 <runtime.fatalthrow.func1+69> 14c580e0 040299b4
<runtime.throw+100> b0206ea4
b0206e78: 00000001 b0206ea4 040299b4 <runtime.throw+100> 14c580e0
b0206e88: 04029b54 <runtime.fatalthrow+84> b0206e90 0404e8c0
<runtime.fatalthrow.func1+0> 14c580e0
b0206e98: 040299b4 <runtime.throw+100> b0206ea4 040299b4
<runtime.throw+100> b0206ea8
b0206ea8: 0404e850 <runtime.throw.func1+0> 04369783 0000002a 0403c781
<runtime.sigpanic+913>
b0206eb8: <04369783 0000002a 34c00140 00000016
b0206ec8: 14c580e0 !90860a22 >34c000a0 00000000
b0206ed8: 00000000 9085534e 9085534e a006950c
b0206ee8: b0206f28 90855378 34c00120 00000000
b0206ef8: 04020795 <runtime.(*gcSweepBuf).push+469> 046bc040 046bc440
0000005f
b0206f08: 00000000 00000009 045f3460 00000001
b0206f18: 00000000 14c8a98c 14c580e0 0000069c
b0206f28: b0206f48 04052532 <runtime.syscall+34> 34c00120 00000000
b0206f38: 00000000 00000000 00000001 14a30070
b0206f48: 14c56000 04050e43 <runtime.asmcgocall+83>
runtime.throw(0x4369783, 0x2a)
/opt/local/lib/go/src/runtime/panic.go:774 +0x64
runtime: unexpected return pc for runtime.sigpanic called from 0x90860a22
stack: frame={sp:0xb0206eb8, fp:0xb0206ed0} stack=[0xb0187374,0xb0206f74)
b0206e38: 04029f35 <runtime.dopanic_m+453> 040299b4 <runtime.throw+100>
b0206ea4 00000000
b0206e48: 14c580e0 01000001 00000011 04029d19
<runtime.startpanic_m+297>
b0206e58: 90860a22 00000000 00000002 0435ce1d
b0206e68: 0404e905 <runtime.fatalthrow.func1+69> 14c580e0 040299b4
<runtime.throw+100> b0206ea4
b0206e78: 00000001 b0206ea4 040299b4 <runtime.throw+100> 14c580e0
b0206e88: 04029b54 <runtime.fatalthrow+84> b0206e90 0404e8c0
<runtime.fatalthrow.func1+0> 14c580e0
b0206e98: 040299b4 <runtime.throw+100> b0206ea4 040299b4
<runtime.throw+100> b0206ea8
b0206ea8: 0404e850 <runtime.throw.func1+0> 04369783 0000002a 0403c781
<runtime.sigpanic+913>
b0206eb8: <04369783 0000002a 34c00140 00000016
b0206ec8: 14c580e0 !90860a22 >34c000a0 00000000
b0206ed8: 00000000 9085534e 9085534e a006950c
b0206ee8: b0206f28 90855378 34c00120 00000000
b0206ef8: 04020795 <runtime.(*gcSweepBuf).push+469> 046bc040 046bc440
0000005f
b0206f08: 00000000 00000009 045f3460 00000001
b0206f18: 00000000 14c8a98c 14c580e0 0000069c
b0206f28: b0206f48 04052532 <runtime.syscall+34> 34c00120 00000000
b0206f38: 00000000 00000000 00000001 14a30070
b0206f48: 14c56000 04050e43 <runtime.asmcgocall+83>
runtime.sigpanic()
/opt/local/lib/go/src/runtime/signal_unix.go:378 +0x391
go tool dist: FAILED:
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/go/pkg/tool/darwin_386/go_bootstrap
install -gcflags=all=
-ldflags=all="-extldflags=-Wl,-headerpad_max_install_names
-L/opt/local/lib -lMacportsLegacySupport" -v -i cmd/asm cmd/cgo
cmd/compile cmd/link: exit status 2
rm -r
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/go/pkg/bootstrap
rm -r
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/go/pkg/obj/go-
build
rm -rf /opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-
tool-dist-241371318
rm -r /opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-
tool-dist-241371318
Command failed: cd
"/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/go/src" &&
./make.bash -v=3
Exit code: 2
}}}
1.12.16:
{{{
run:
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/go/pkg/tool/darwin_386/link
-o
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/go/pkg/tool/darwin_386/go_bootstrap
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-tool-
dist-025297113/cmd/go/_go_.a
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/go/pkg/tool/darwin_386/link:
running gcc failed: exit status 1
ld: warning: can't parse dwarf compilation unit info in
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-
link-425847376/go.o
Undefined symbols for architecture i386:
"___getdirentries64", referenced from:
syscall.libc___getdirentries64_trampoline in go.o
"_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 i386
collect2: ld returned 1 exit status
go tool dist: FAILED:
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/go/pkg/tool/darwin_386/link
-o
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/go/pkg/tool/darwin_386/go_bootstrap
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-tool-
dist-025297113/cmd/go/_go_.a: exit status 2
rm /opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-
tool-dist-025297113/cmd/go/_go_.a
rm -rf /opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-
tool-dist-025297113
rm -r /opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-
tool-dist-025297113
Building Go toolchain2 using go_bootstrap and Go toolchain1.
run:
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/go/pkg/tool/darwin_386/go_bootstrap
install -gcflags=all=
-ldflags=all="-extldflags=-Wl,-headerpad_max_install_names
-L/opt/local/lib -lMacportsLegacySupport" -v -i cmd/asm cmd/cgo
cmd/compile cmd/link
go tool dist: FAILED:
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/go/pkg/tool/darwin_386/go_bootstrap
install -gcflags=all=
-ldflags=all="-extldflags=-Wl,-headerpad_max_install_names
-L/opt/local/lib -lMacportsLegacySupport" -v -i cmd/asm cmd/cgo
cmd/compile cmd/link: fork/exec
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/go/pkg/tool/darwin_386/go_bootstrap:
no such file or directory
rm -rf /opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-
tool-dist-025297113
rm -r /opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-
tool-dist-025297113
Command failed: cd
"/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/go/src" &&
./make.bash -v=3
Exit code: 2
}}}
1.11.13:
```
cmd/go/internal/cfg
cmd/go/internal/str
cmd/go/internal/base
cmd/go/internal/cache
# crypto/x509
src/crypto/x509/root_cgo_darwin.go:29:48: error: use of undeclared
identifier 'kSecPolicyOid'
if (CFDictionaryGetValueIfPresent(properties, kSecPolicyOid,
(const void **)&value)) {
^
src/crypto/x509/root_cgo_darwin.go:30:26: error: use of undeclared
identifier 'kSecPolicyAppleSSL'; did you mean 'SecPolicyCreateSSL'?
isSSL = CFEqual(value, kSecPolicyAppleSSL);
^~~~~~~~~~~~~~~~~~
SecPolicyCreateSSL
/System/Library/Frameworks/Security.framework/Headers/SecPolicy.h:103:14:
note: 'SecPolicyCreateSSL' declared here
SecPolicyRef SecPolicyCreateSSL(Boolean server, CFStringRef hostname);
^
2 errors generated.
cmd/go/internal/modinfo
cmd/go/internal/search
cmd/go/internal/imports
cmd/go/internal/load
cmd/go/internal/dirhash
cmd/go/internal/par
cmd/go/internal/modfetch/codehost
# cmd/doc
ld: warning: can't parse dwarf compilation unit info in
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-
link-146115678/go.o
cmd/go/internal/semver
cmd/go/internal/work
cmd/go/internal/doc
cmd/go/internal/module
cmd/go/internal/help
# cmd/cover
ld: warning: can't parse dwarf compilation unit info in
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-
link-764240058/go.o
cmd/go/internal/cmdflag
cmd/go/internal/modfile
# cmd/dist
ld: warning: can't parse dwarf compilation unit info in
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-
link-381178976/go.o
cmd/go/internal/mvs
cmd/internal/test2json
cmd/go/internal/tool
cmd/go/internal/version
cmd/go/internal/txtar
cmd/gofmt
cmd/nm
# cmd/link
ld: warning: can't parse dwarf compilation unit info in
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-
link-131392393/go.o
cmd/objdump
# cmd/fix
ld: warning: can't parse dwarf compilation unit info in
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-
link-575936140/go.o
cmd/pack
cmd/vendor/github.com/google/pprof/internal/elfexec
cmd/vendor/github.com/google/pprof/profile
cmd/go/internal/run
cmd/vendor/github.com/ianlancetaylor/demangle
cmd/vendor/github.com/google/pprof/internal/measurement
cmd/vendor/github.com/google/pprof/internal/graph
# cmd/pack
ld: warning: can't parse dwarf compilation unit info in
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-
link-786448233/go.o
cmd/vendor/github.com/google/pprof/third_party/d3
cmd/vendor/github.com/google/pprof/third_party/d3flamegraph
cmd/vendor/github.com/google/pprof/third_party/svgpan
cmd/vendor/golang.org/x/sys/unix
cmd/test2json
# cmd/nm
ld: warning: can't parse dwarf compilation unit info in
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-
link-677127706/go.o
cmd/vendor/github.com/google/pprof/internal/proftest
# cmd/gofmt
ld: warning: can't parse dwarf compilation unit info in
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-
link-009452998/go.o
cmd/vendor/golang.org/x/sys/windows
cmd/vendor/golang.org/x/sys/windows/registry
cmd/vet/internal/cfg
cmd/vet/internal/whitelist
cmd/vet
# cmd/objdump
ld: warning: can't parse dwarf compilation unit info in
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-
link-153931868/go.o
cmd/vendor/golang.org/x/crypto/ssh/terminal
# cmd/test2json
ld: warning: can't parse dwarf compilation unit info in
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-
link-331898867/go.o
# cmd/vet
ld: warning: can't parse dwarf compilation unit info in
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-
link-075454208/go.o
go tool dist: FAILED:
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/go/pkg/tool/darwin_386/go_bootstrap
install -gcflags=all=
-ldflags=all="-extldflags=-Wl,-headerpad_max_install_names
-L/opt/local/lib -lMacportsLegacySupport" -v std cmd: exit status 2
rm -rf /opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-
tool-dist-030719066
rm -r /opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-
tool-dist-030719066
Command failed: cd
"/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/go/src" &&
./make.bash -v=3
Exit code: 2
```
1.11.5:
```
cmd/pack
cmd/go/internal/run
# crypto/x509
Undefined symbols for architecture i386:
"_SecItemExport", referenced from:
_FetchPEMRoots in _x002.o
"_SecCertificateCopyNormalizedSubjectContent", referenced from:
_FetchPEMRoots in _x002.o
"_SecCertificateCopyNormalizedIssuerContent", referenced from:
_FetchPEMRoots in _x002.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
# crypto/x509
src/crypto/x509/root_cgo_darwin.go:120:29: warning: implicit declaration
of function 'SecCertificateCopyNormalizedSubjectContent' is invalid in C99
[-Wimplicit-function-declaration]
src/crypto/x509/root_cgo_darwin.go:120:15: warning: incompatible integer
to pointer conversion initializing 'CFDataRef' (aka 'const struct __CFData
*') with an expression of type 'int' [-Wint-conversion]
src/crypto/x509/root_cgo_darwin.go:125:28: warning: implicit declaration
of function 'SecCertificateCopyNormalizedIssuerContent' is invalid in C99
[-Wimplicit-function-declaration]
src/crypto/x509/root_cgo_darwin.go:125:15: warning: incompatible integer
to pointer conversion initializing 'CFDataRef' (aka 'const struct __CFData
*') with an expression of type 'int' [-Wint-conversion]
src/crypto/x509/root_cgo_darwin.go:139:10: warning: implicit declaration
of function 'SecItemExport' is invalid in C99 [-Wimplicit-function-
declaration]
cmd/vendor/github.com/google/pprof/internal/elfexec
cmd/vendor/github.com/google/pprof/profile
# cmd/pack
ld: warning: can't parse dwarf compilation unit info in
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-
link-893014936/go.o
cmd/vendor/github.com/ianlancetaylor/demangle
cmd/vendor/github.com/google/pprof/third_party/d3
cmd/vendor/github.com/google/pprof/third_party/d3flamegraph
cmd/vendor/github.com/google/pprof/third_party/svgpan
cmd/vendor/golang.org/x/sys/unix
# cmd/gofmt
ld: warning: can't parse dwarf compilation unit info in
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-
link-741640627/go.o
cmd/test2json
# cmd/objdump
ld: warning: can't parse dwarf compilation unit info in
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-
link-169981049/go.o
cmd/vendor/github.com/google/pprof/internal/proftest
cmd/vendor/golang.org/x/sys/windows
cmd/vendor/golang.org/x/sys/windows/registry
cmd/vet/internal/cfg
# cmd/nm
ld: warning: can't parse dwarf compilation unit info in
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-
link-273886396/go.o
cmd/vet/internal/whitelist
cmd/vendor/golang.org/x/crypto/ssh/terminal
cmd/vet
cmd/vendor/github.com/google/pprof/internal/measurement
cmd/vendor/github.com/google/pprof/internal/graph
# cmd/test2json
ld: warning: can't parse dwarf compilation unit info in
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-
link-774408184/go.o
# cmd/vet
ld: warning: can't parse dwarf compilation unit info in
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-
link-392591662/go.o
go tool dist: FAILED:
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/go/pkg/tool/darwin_386/go_bootstrap
install -gcflags=all=
-ldflags=all="-extldflags=-Wl,-headerpad_max_install_names
-L/opt/local/lib -lMacportsLegacySupport" -v std cmd: exit status 2
rm -rf /opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-
tool-dist-140863265
rm -r /opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-
tool-dist-140863265
Command failed: cd
"/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/go/src" &&
./make.bash -v=3
Exit code: 2
```
1.10.7:
```
run:
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/go/pkg/tool/darwin_386/link
-o
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/go/pkg/tool/darwin_386/go_bootstrap
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-tool-
dist-078710914/cmd/go/_go_.a
warning: unable to find runtime/cgo.a
ld: warning: can't parse dwarf compilation unit info in
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-
link-085913922/go.o
run:
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/go/pkg/tool/darwin_386/link
-o
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/go/pkg/tool/darwin_386/go_bootstrap
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-tool-
dist-078710914/cmd/go/_go_.a DONE
rm /opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-
tool-dist-078710914/cmd/go/_go_.a
Building Go toolchain2 using go_bootstrap and Go toolchain1.
run:
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/go/pkg/tool/darwin_386/go_bootstrap
install -gcflags=all=
-ldflags=all="-extldflags=-Wl,-headerpad_max_install_names
-L/opt/local/lib -lMacportsLegacySupport" -v -i cmd/asm cmd/cgo
cmd/compile cmd/link
fatal error: runtime: bsdthread_register error
runtime stack:
runtime.throw(0x428d06f, 0x21)
/opt/local/lib/go/src/runtime/panic.go:616 +0x6b fp=0xbfffec5c
sp=0xbfffec50 pc=0x402768b
runtime.goenvs()
/opt/local/lib/go/src/runtime/os_darwin.go:129 +0x63 fp=0xbfffec70
sp=0xbfffec5c pc=0x40256f3
runtime.schedinit()
/opt/local/lib/go/src/runtime/proc.go:501 +0xaa fp=0xbfffeca0
sp=0xbfffec70 pc=0x4029b4a
runtime.rt0_go(0xbfffed40, 0x0, 0x8fe0001c, 0x0, 0x8fe00000, 0xbfffed6c,
0x0, 0x0, 0x0, 0x0, ...)
/opt/local/lib/go/src/runtime/asm_386.s:297 +0x224 fp=0xbfffeca4
sp=0xbfffeca0 pc=0x404ba54
go tool dist: FAILED:
/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/go/pkg/tool/darwin_386/go_bootstrap
install -gcflags=all=
-ldflags=all="-extldflags=-Wl,-headerpad_max_install_names
-L/opt/local/lib -lMacportsLegacySupport" -v -i cmd/asm cmd/cgo
cmd/compile cmd/link: exit status 2
rm -rf /opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-
tool-dist-078710914
rm -r /opt/local/var/macports/build/_opt_SLports_lang_go/go/work/.tmp/go-
tool-dist-078710914
Command failed: cd
"/opt/local/var/macports/build/_opt_SLports_lang_go/go/work/go/src" &&
./make.bash -v=3
Exit code: 2
```
--
Ticket URL: <https://trac.macports.org/ticket/64169#comment:14>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list