libgo patch committed: Update to Go1.18rc1 release

2022-02-18 Thread Ian Lance Taylor via Gcc-patches
This patch updates libgo to the Go1.18rc1 release.  Bootstrapped and
ran Go testsuite on x86_64-pc-linux-gnu.  Committed to mainline.

Ian


patch.txt.bz2
Description: application/bzip


Re: libgo patch committed: Update to Go1.18rc1 release

2022-02-20 Thread Rainer Orth
Hi Ian,

> This patch updates libgo to the Go1.18rc1 release.  Bootstrapped and
> ran Go testsuite on x86_64-pc-linux-gnu.  Committed to mainline.

this broke Solaris bootstrap:

ld: fatal: file runtime/internal/.libs/syscall.o: open failed: No such file or 
directory
collect2: error: ld returned 1 exit status

Creating a dummy syscall_solaris.go worked around that for now.

Rainer

-- 
-
Rainer Orth, Center for Biotechnology, Bielefeld University


Re: libgo patch committed: Update to Go1.18rc1 release

2022-02-21 Thread Ian Lance Taylor via Gcc-patches
On Sun, Feb 20, 2022 at 2:13 PM Rainer Orth  
wrote:
>
> > This patch updates libgo to the Go1.18rc1 release.  Bootstrapped and
> > ran Go testsuite on x86_64-pc-linux-gnu.  Committed to mainline.
>
> this broke Solaris bootstrap:
>
> ld: fatal: file runtime/internal/.libs/syscall.o: open failed: No such file 
> or directory
> collect2: error: ld returned 1 exit status
>
> Creating a dummy syscall_solaris.go worked around that for now.

Sorry about that.  I committed this patch which should fix the problem.

Ian
e185b127566139818309f8b0c89ee0ce3e42a8d1
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE
index 3c0380e8285..7455d01c179 100644
--- a/gcc/go/gofrontend/MERGE
+++ b/gcc/go/gofrontend/MERGE
@@ -1,4 +1,4 @@
-20e74f9ef8206fb02fd28ce3d6e0f01f6fb95dc9
+aee8eddbfc3ef1b03353a060e79e7d668fb229e2
 
 The first line of this file holds the git revision number of the last
 merge done from the gofrontend repository.
diff --git a/libgo/go/runtime/internal/syscall/syscall_other.go 
b/libgo/go/runtime/internal/syscall/syscall_other.go
new file mode 100644
index 000..c0945ceec09
--- /dev/null
+++ b/libgo/go/runtime/internal/syscall/syscall_other.go
@@ -0,0 +1,7 @@
+// Copyright 2022 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+//go:build !linux
+
+package syscall


Re: libgo patch committed: Update to Go1.18rc1 release

2022-02-22 Thread Rainer Orth
Hi Ian,

> On Sun, Feb 20, 2022 at 2:13 PM Rainer Orth  
> wrote:
>>
>> > This patch updates libgo to the Go1.18rc1 release.  Bootstrapped and
>> > ran Go testsuite on x86_64-pc-linux-gnu.  Committed to mainline.
>>
>> this broke Solaris bootstrap:
>>
>> ld: fatal: file runtime/internal/.libs/syscall.o: open failed: No such
>> file or directory
>> collect2: error: ld returned 1 exit status
>>
>> Creating a dummy syscall_solaris.go worked around that for now.
>
> Sorry about that.  I committed this patch which should fix the problem.

great, thanks.

Rainer

-- 
-
Rainer Orth, Center for Biotechnology, Bielefeld University