Skip to content

Instantly share code, notes, and snippets.

@benesch
Created February 1, 2019 00:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benesch/fa1cd23494d0775d628723dc3db9b60a to your computer and use it in GitHub Desktop.
Save benesch/fa1cd23494d0775d628723dc3db9b60a to your computer and use it in GitHub Desktop.
../../../libgo/go/runtime/extern.go:186:1: warning: type of ‘runtime.Callers’ does not match original declaration [-Wlto-type-mismatch]
../../../libgo/runtime/go-callers.c:243:1: note: return value type mismatch
../../../libgo/runtime/go-callers.c:243:1: note: type ‘int’ should match type ‘int’
../../../libgo/go/runtime/pprof/pprof.go:80:9: warning: type of ‘runtime.Callers’ does not match original declaration [-Wlto-type-mismatch]
../../../libgo/runtime/go-callers.c:243:1: note: return value type mismatch
../../../libgo/runtime/go-callers.c:243:1: note: type ‘int’ should match type ‘long int’
../../../libgo/go/testing/allocs.go:8:9: warning: type of ‘runtime.Callers’ does not match original declaration [-Wlto-type-mismatch]
../../../libgo/runtime/go-callers.c:243:1: note: return value type mismatch
../../../libgo/runtime/go-callers.c:243:1: note: type ‘int’ should match type ‘long int’
../../../libgo/runtime/go-callers.c:243:1: note: ‘Callers’ was previously declared here
../../../libgo/runtime/go-callers.c:243:1: note: code may be misoptimized unless -fno-strict-aliasing is used
../../../libgo/runtime/go-unsafe-pointer.c:42:22: warning: type of ‘runtime_pointerequal_descriptor’ does not match original declaration [-Wlto-type-mismatch]
<built-in>: note: type ‘const struct functionDescriptor’ should match type ‘const struct FuncVal’
<built-in>: note: ‘runtime.pointerequal..f’ was previously declared here
../../../libgo/runtime/go-unsafe-pointer.c:40:22: warning: type of ‘runtime_pointerhash_descriptor’ does not match original declaration [-Wlto-type-mismatch]
<built-in>: note: type ‘const struct functionDescriptor’ should match type ‘const struct FuncVal’
<built-in>: note: ‘runtime.pointerhash..f’ was previously declared here
../../../libgo/runtime/runtime.h:406:6: warning: type of ‘runtime_newErrorCString’ does not match original declaration [-Wlto-type-mismatch]
../../../libgo/go/runtime/error.go:102:1: note: type mismatch in parameter 1
../../../libgo/go/runtime/error.go:102:1: note: ‘runtime.NewErrorCString’ was previously declared here
../../../libgo/go/runtime/error.go:102:1: note: code may be misoptimized unless -fno-strict-aliasing is used
../../../libgo/go/reflect/value.go:9:9: warning: type of ‘runtime.Caller’ does not match original declaration [-Wlto-type-mismatch]
../../../libgo/runtime/go-caller.c:200:1: note: type mismatch in parameter 1
../../../libgo/runtime/go-caller.c:200:1: note: type ‘int’ should match type ‘long int’
../../../libgo/go/runtime/extern.go:171:1: warning: type of ‘runtime.Caller’ does not match original declaration [-Wlto-type-mismatch]
../../../libgo/runtime/go-caller.c:200:1: note: type mismatch in parameter 1
../../../libgo/runtime/go-caller.c:200:1: note: type ‘int’ should match type ‘int’
../../../libgo/runtime/go-caller.c:200:1: note: ‘Caller’ was previously declared here
../../../libgo/runtime/go-caller.c:200:1: note: code may be misoptimized unless -fno-strict-aliasing is used
../../../libgo/go/os/dir_gccgo.go:11:9: warning: type of ‘syscall.Signal.syscall.WaitStatus’ does not match original declaration [-Wlto-type-mismatch]
../../../libgo/go/syscall/wait.c:79:1: note: return value type mismatch
../../../libgo/go/syscall/wait.c:79:1: note: type ‘int’ should match type ‘Signal’
../../../libgo/go/syscall/wait.c:79:1: note: ‘Signal’ was previously declared here
../../../libgo/go/syscall/wait.c:79:1: note: code may be misoptimized unless -fno-strict-aliasing is used
../../../libgo/go/os/dir_gccgo.go:11:9: warning: type of ‘syscall.StopSignal.syscall.WaitStatus’ does not match original declaration [-Wlto-type-mismatch]
../../../libgo/go/syscall/wait.c:90:1: note: return value type mismatch
../../../libgo/go/syscall/wait.c:90:1: note: type ‘int’ should match type ‘Signal’
../../../libgo/go/syscall/wait.c:90:1: note: ‘StopSignal’ was previously declared here
../../../libgo/go/syscall/wait.c:90:1: note: code may be misoptimized unless -fno-strict-aliasing is used
../../../libgo/go/os/dir_gccgo.go:11:9: warning: type of ‘syscall.TrapCause.syscall.WaitStatus’ does not match original declaration [-Wlto-type-mismatch]
../../../libgo/go/syscall/wait.c:101:1: note: return value type mismatch
../../../libgo/go/syscall/wait.c:101:1: note: type ‘int’ should match type ‘int’
../../../libgo/go/syscall/wait.c:101:1: note: ‘TrapCause’ was previously declared here
../../../libgo/go/syscall/wait.c:101:1: note: code may be misoptimized unless -fno-strict-aliasing is used
../../../libgo/go/os/dir_gccgo.go:11:9: warning: type of ‘syscall.ExitStatus.syscall.WaitStatus’ does not match original declaration [-Wlto-type-mismatch]
../../../libgo/go/syscall/wait.c:68:1: note: return value type mismatch
../../../libgo/go/syscall/wait.c:68:1: note: type ‘int’ should match type ‘int’
../../../libgo/go/syscall/wait.c:68:1: note: ‘ExitStatus’ was previously declared here
../../../libgo/go/syscall/wait.c:68:1: note: code may be misoptimized unless -fno-strict-aliasing is used
../../../libgo/go/internal/poll/fd_poll_runtime.go:24:1: warning: type of ‘poll.runtime_pollWait’ does not match original declaration [-Wlto-type-mismatch]
../../../libgo/go/runtime/netpoll.go:176:1: note: type mismatch in parameter 1
../../../libgo/go/runtime/netpoll.go:176:1: note: ‘runtime.poll_runtime_pollWait’ was previously declared here
../../../libgo/go/runtime/netpoll.go:176:1: note: code may be misoptimized unless -fno-strict-aliasing is used
../../../libgo/go/internal/poll/fd_poll_runtime.go:26:1: warning: type of ‘poll.runtime_pollReset’ does not match original declaration [-Wlto-type-mismatch]
../../../libgo/go/runtime/netpoll.go:162:1: note: type mismatch in parameter 1
../../../libgo/go/runtime/netpoll.go:162:1: note: ‘runtime.poll_runtime_pollReset’ was previously declared here
../../../libgo/go/runtime/netpoll.go:162:1: note: code may be misoptimized unless -fno-strict-aliasing is used
../../../libgo/go/internal/poll/fd_poll_runtime.go:27:1: warning: type of ‘poll.runtime_pollSetDeadline’ does not match original declaration [-Wlto-type-mismatch]
../../../libgo/go/runtime/netpoll.go:206:1: note: type mismatch in parameter 1
../../../libgo/go/runtime/netpoll.go:206:1: note: ‘runtime.poll_runtime_pollSetDeadline’ was previously declared here
../../../libgo/go/runtime/netpoll.go:206:1: note: code may be misoptimized unless -fno-strict-aliasing is used
../../../libgo/go/internal/poll/fd_poll_runtime.go:25:1: warning: type of ‘poll.runtime_pollWaitCanceled’ does not match original declaration [-Wlto-type-mismatch]
../../../libgo/go/runtime/netpoll.go:198:1: note: return value type mismatch
../../../libgo/go/runtime/netpoll.go:198:1: note: type ‘void’ should match type ‘long int’
../../../libgo/go/runtime/netpoll.go:198:1: note: ‘runtime.poll_runtime_pollWaitCanceled’ was previously declared here
../../../libgo/go/runtime/netpoll.go:198:1: note: code may be misoptimized unless -fno-strict-aliasing is used
../../../libgo/go/internal/poll/fd_poll_runtime.go:22:1: warning: type of ‘poll.runtime_pollOpen’ does not match original declaration [-Wlto-type-mismatch]
../../../libgo/go/runtime/netpoll.go:115:1: note: return value type mismatch
../../../libgo/go/runtime/netpoll.go:115:1: note: ‘runtime.poll_runtime_pollOpen’ was previously declared here
../../../libgo/go/runtime/netpoll.go:115:1: note: code may be misoptimized unless -fno-strict-aliasing is used
../../../libgo/go/internal/poll/fd_poll_runtime.go:23:1: warning: type of ‘poll.runtime_pollClose’ does not match original declaration [-Wlto-type-mismatch]
../../../libgo/go/runtime/netpoll.go:140:1: note: type mismatch in parameter 1
../../../libgo/go/runtime/netpoll.go:140:1: note: ‘runtime.poll_runtime_pollClose’ was previously declared here
../../../libgo/go/runtime/netpoll.go:140:1: note: code may be misoptimized unless -fno-strict-aliasing is used
../../../libgo/go/internal/poll/fd_poll_runtime.go:28:1: warning: type of ‘poll.runtime_pollUnblock’ does not match original declaration [-Wlto-type-mismatch]
../../../libgo/go/runtime/netpoll.go:291:1: note: type mismatch in parameter 1
../../../libgo/go/runtime/netpoll.go:291:1: note: ‘runtime.poll_runtime_pollUnblock’ was previously declared here
../../../libgo/go/runtime/netpoll.go:291:1: note: code may be misoptimized unless -fno-strict-aliasing is used
<built-in>: warning: type of ‘runtime.canrecover’ does not match original declaration [-Wlto-type-mismatch]
../../../libgo/go/runtime/panic.go:645:1: note: type mismatch in parameter 1
<built-in>: warning: type of ‘runtime.canrecover’ does not match original declaration [-Wlto-type-mismatch]
../../../libgo/go/runtime/panic.go:645:1: note: type mismatch in parameter 1
../../../libgo/go/runtime/panic.go:645:1: note: ‘runtime.canrecover’ was previously declared here
../../../libgo/go/runtime/panic.go:645:1: note: code may be misoptimized unless -fno-strict-aliasing is used
<built-in>: warning: type of ‘runtime.setdeferretaddr’ does not match original declaration [-Wlto-type-mismatch]
../../../libgo/go/runtime/panic.go:292:1: note: type mismatch in parameter 1
<built-in>: warning: type of ‘runtime.setdeferretaddr’ does not match original declaration [-Wlto-type-mismatch]
../../../libgo/go/runtime/panic.go:292:1: note: type mismatch in parameter 1
../../../libgo/go/runtime/panic.go:292:1: note: ‘runtime.setdeferretaddr’ was previously declared here
../../../libgo/go/runtime/panic.go:292:1: note: code may be misoptimized unless -fno-strict-aliasing is used
<built-in>: warning: type of ‘runtime.deferproc’ does not match original declaration [-Wlto-type-mismatch]
../../../libgo/go/runtime/panic.go:114:1: note: type mismatch in parameter 2
<built-in>: warning: type of ‘runtime.deferproc’ does not match original declaration [-Wlto-type-mismatch]
../../../libgo/go/runtime/panic.go:114:1: note: type mismatch in parameter 2
../../../libgo/go/runtime/panic.go:114:1: note: ‘runtime.deferproc’ was previously declared here
../../../libgo/go/runtime/panic.go:114:1: note: code may be misoptimized unless -fno-strict-aliasing is used
../../../libgo/runtime/stack.c:23:13: warning: type of ‘scanstackblock’ does not match original declaration [-Wlto-type-mismatch]
../../../libgo/go/runtime/mgcmark.go:1046:1: note: type mismatch in parameter 1
../../../libgo/go/runtime/mgcmark.go:1046:1: note: ‘runtime.scanstackblock’ was previously declared here
../../../libgo/go/runtime/mgcmark.go:1046:1: note: code may be misoptimized unless -fno-strict-aliasing is used
../../../libgo/go/runtime/stubs.go:288:1: warning: type of ‘syscall’ does not match original declaration [-Wlto-type-mismatch]
/usr/include/unistd.h:1059:17: note: return value type mismatch
1059 | extern long int syscall (long int __sysno, ...) __THROW;
| ^
/usr/include/unistd.h:1059:17: note: type ‘long int’ should match type ‘long unsigned int’
../../../libgo/go/syscall/syscall_unix.go:26:1: warning: type of ‘syscall’ does not match original declaration [-Wlto-type-mismatch]
/usr/include/unistd.h:1059:17: note: types have different parameter counts
1059 | extern long int syscall (long int __sysno, ...) __THROW;
| ^
/usr/include/unistd.h:1059:17: note: ‘syscall’ was previously declared here
../../../libgo/runtime/runtime.h:312:4: warning: type of ‘__go_go’ does not match original declaration [-Wlto-type-mismatch]
../../../libgo/go/runtime/proc.go:3133:1: note: type mismatch in parameter 1
<built-in>: warning: type of ‘__go_go’ does not match original declaration [-Wlto-type-mismatch]
../../../libgo/go/runtime/proc.go:3133:1: note: return value type mismatch
<built-in>: warning: type of ‘__go_go’ does not match original declaration [-Wlto-type-mismatch]
../../../libgo/go/runtime/proc.go:3133:1: note: return value type mismatch
../../../libgo/go/runtime/proc.go:3133:1: note: ‘runtime.newproc’ was previously declared here
../../../libgo/go/runtime/proc.go:3133:1: note: code may be misoptimized unless -fno-strict-aliasing is used
../../../libgo/runtime/runtime.h:457:13: warning: type of ‘runtime_main’ does not match original declaration [-Wlto-type-mismatch]
../../../libgo/go/runtime/proc.go:156:1: note: type mismatch in parameter 1
../../../libgo/go/runtime/proc.go:156:1: note: ‘runtime.main’ was previously declared here
<built-in>: warning: type of ‘runtime.gcWriteBarrier’ does not match original declaration [-Wlto-type-mismatch]
../../../libgo/go/runtime/mgc_gccgo.go:191:1: note: type mismatch in parameter 2
<built-in>: warning: type of ‘runtime.gcWriteBarrier’ does not match original declaration [-Wlto-type-mismatch]
../../../libgo/go/runtime/mgc_gccgo.go:191:1: note: type mismatch in parameter 2
../../../libgo/go/runtime/mgc_gccgo.go:191:1: note: ‘runtime.gcWriteBarrier’ was previously declared here
../../../libgo/go/runtime/mgc_gccgo.go:191:1: note: code may be misoptimized unless -fno-strict-aliasing is used
<built-in>: warning: type of ‘runtime.writeBarrier’ does not match original declaration [-Wlto-type-mismatch]
../../../libgo/go/runtime/mgc.go:244:5: note: ‘runtime.writeBarrier’ was previously declared here
../../../libgo/go/runtime/mgc.go:244:5: note: code may be misoptimized unless -fno-strict-aliasing is used
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment