[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: patch8.diff updated Was: Re: GCC's -fsplit-stack disturbing Mach's
From: |
Svante Signell |
Subject: |
Re: patch8.diff updated Was: Re: GCC's -fsplit-stack disturbing Mach's vm_allocate |
Date: |
Fri, 16 May 2014 10:03:05 +0200 |
On Wed, 2014-05-07 at 10:18 +0200, Svante Signell wrote:
> On Tue, 2014-05-06 at 15:26 +0200, Samuel Thibault wrote:
Attached is an updated patch8.diff. Arch specific code to
src/libgo/mksysinfo.sh has been added, now other systems are not
affected by the patch except the SYS_FCNTL part.
For that part of the patch without it the build on GNU/Hurd fails. On
the other hand SYS_FCNTL is not defined for e.g. GNU/Linux either. This
is used in gcc-4.9-4.9.0/src/libgo/go/net/fd_unix.go:
func dupCloseOnExec(fd int) (newfd int, err error) {
if atomic.LoadInt32(&tryDupCloexec) == 1 && syscall.F_DUPFD_CLOEXEC!=0 {
r0, _, e1 := syscall.Syscall(syscall.SYS_FCNTL, uintptr(fd),
syscall.F_DUPFD_CLOEXEC, 0)
It is yet unknown how the build succeeds on Linux without the SYS_FCNTL
being defined? Maybe any the conditions above are not met.
patch8.diff
Description: Text Data
- Re: GCC's -fsplit-stack disturbing Mach's vm_allocate, (continued)
- Re: GCC's -fsplit-stack disturbing Mach's vm_allocate, Samuel Thibault, 2014/05/02
- Re: GCC's -fsplit-stack disturbing Mach's vm_allocate, Svante Signell, 2014/05/02
- Re: GCC's -fsplit-stack disturbing Mach's vm_allocate, Samuel Thibault, 2014/05/02
- Re: GCC's -fsplit-stack disturbing Mach's vm_allocate, Svante Signell, 2014/05/06
- Re: GCC's -fsplit-stack disturbing Mach's vm_allocate, Samuel Thibault, 2014/05/06
- Re: GCC's -fsplit-stack disturbing Mach's vm_allocate, Svante Signell, 2014/05/06
- Re: GCC's -fsplit-stack disturbing Mach's vm_allocate, Samuel Thibault, 2014/05/06
- Re: GCC's -fsplit-stack disturbing Mach's vm_allocate, Svante Signell, 2014/05/06
- Re: GCC's -fsplit-stack disturbing Mach's vm_allocate, Samuel Thibault, 2014/05/06
- patch1.diff updated + test results Was: Re: GCC's -fsplit-stack disturbing Mach's vm_allocate, Svante Signell, 2014/05/07
- Re: patch8.diff updated Was: Re: GCC's -fsplit-stack disturbing Mach's vm_allocate,
Svante Signell <=
- Re: patch8.diff updated Was: Re: GCC's -fsplit-stack disturbing Mach's vm_allocate, Ian Lance Taylor, 2014/05/16
- Re: patch8.diff updated Was: Re: GCC's -fsplit-stack disturbing Mach's vm_allocate, Svante Signell, 2014/05/16
- Re: patch8.diff updated Was: Re: GCC's -fsplit-stack disturbing Mach's vm_allocate, Samuel Thibault, 2014/05/20
- Re: patch8.diff updated Was: Re: GCC's -fsplit-stack disturbing Mach's vm_allocate, Svante Signell, 2014/05/21
- Re: patch8.diff updated Was: Re: GCC's -fsplit-stack disturbing Mach's vm_allocate, Samuel Thibault, 2014/05/21
- Re: patch8.diff updated Was: Re: GCC's -fsplit-stack disturbing Mach's vm_allocate, Ian Lance Taylor, 2014/05/21
- Re: GCC's -fsplit-stack disturbing Mach's vm_allocate, Ian Lance Taylor, 2014/05/06
- Re: GCC's -fsplit-stack disturbing Mach's vm_allocate, Samuel Thibault, 2014/05/02
Re: GCC's -fsplit-stack disturbing Mach's vm_allocate, Samuel Thibault, 2014/05/02
Re: GCC's -fsplit-stack disturbing Mach's vm_allocate, Samuel Thibault, 2014/05/02