PR 118286 points out that some libgo tests are starting to fail
because they use test certificates that expired on January 1. This
libgo patch is a backport of https://go.dev/cl/640237 in the main
repo. It uses the existing config.Time field to avoid these test
failures. Bootstrapped and ran Go t
This libgo patch changes runtime/runtime.h to use the C99
header file rather than defining a bool type and true/false constants
itself. C99 was a long time ago and in case this file is always
compiled by the newly built GCC. This should fix GCC PR 114875.
Bootstrapped on x86_64-pc-linux-gnu. Co
This libgo patch bumps the version number for the GCC 14 release.
This is for GCC PR 113668. Bootstrapped and ran Go testsuite on
x86_64-pc-linux-gnu. Committed to mainline.
Ian
7b0597eba6b29387b56b8d6a4b38f3586e6b49a5
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE
index ec7e2ab1
This libgo patch generates better error messages then the Go GOARCH
and GOOS values can't be determined from the target. This indicates
that the target is not supported. This is for GCC PR 113530.
Bootstrapped and ran Go testsuite on x86_64-pc-linux-gnu. Committed
to mainline.
Ian
cfc6d9ae8143c
This libgo patch adds a missing type conversion. The gofrontend
incorrectly accepted code that was missing a type conversion. The
test case for this is bug518.go in https://go.dev/cl/536537. Future
CLs in this series will detect the type error. Bootstrapped and ran
Go testsuite on x86_64-pc-lin
This libgo patch changes the go tool to permit the AR environment
variable to include options. This mirrors the way it already handles
the CC environment variable.
This ports https://go.dev/cl/526275 to the gofrontend repo.
This is needed for gccgo testing because the top-level GCC Makefile
now
On Tue, Jun 20, 2023 at 3:37 PM Ian Lance Taylor wrote:
> On Tue, Jun 20, 2023 at 11:35 AM Andreas Schwab
> wrote:
> >
> > On Jun 20 2023, Ian Lance Taylor via Gcc-patches wrote:
> >
> > > This libgo patches changes the runtime pacakge to use a C function to
> call mmap.
> > >
> > > The final ar
On Jun 20 2023, Ian Lance Taylor wrote:
> OK, but I think that it does have something to do with big-endian.
> The bug was that on some 32-bit systems it was passing a 64-bit value
> to a function that expected a 32-bit value. The problem didn't show
> up on 32-bit x86 because it is little-endian
On Tue, Jun 20, 2023 at 11:35 AM Andreas Schwab wrote:
>
> On Jun 20 2023, Ian Lance Taylor via Gcc-patches wrote:
>
> > This libgo patches changes the runtime pacakge to use a C function to call
> > mmap.
> >
> > The final argument to mmap, of type off_t, varies. In
> > https://go.dev/cl/445375
On Jun 20 2023, Ian Lance Taylor via Gcc-patches wrote:
> This libgo patches changes the runtime pacakge to use a C function to call
> mmap.
>
> The final argument to mmap, of type off_t, varies. In
> https://go.dev/cl/445375
> (https://gcc.gnu.org/pipermail/gcc-patches/2022-October/604158.html)
This libgo patches changes the runtime pacakge to use a C function to call mmap.
The final argument to mmap, of type off_t, varies. In
https://go.dev/cl/445375
(https://gcc.gnu.org/pipermail/gcc-patches/2022-October/604158.html)
we changed it to always use the C off_t type, but that broke 32-bit
b
In https://go.dev/cl/384695
(https://gcc.gnu.org/pipermail/gcc-patches/2022-February/590289.html)
I simplified the code that built lists of benchmarks, examples, and
fuzz tests, and managed to break it. This patch corrects the code to
once again make the benchmarks available, and to run the example
As of https://go.dev/cl/476695 the package golang.org/x/sys/unix
expects a syscall.prlimit function to exist. This libgo patch adds
that function. This is for https://go.dev/issue/46279 and
https://go.dev/issue/59712. Since this is a small patch and is needed
to compile the widely used x/sys/uni
This libgo patch removes a test ordering dependency in the mime
package. This is a backport of https://go.dev/cl/421442 from the
upstream repo. This fixes https://go.dev/issue/51648. Bootstrapped
and ran mime tests on x86_64-pc-linux-gnu. Committed to mainline.
Ian
f22c12d7361d22d47cce73d342ed
This libgo patch bumps the major version. The current version is the
same as for GCC 12, but there have been minor changes like new type
descriptors that make it impossible to run Go programs built with GCC
12 with the current GCC. This fixes https://gcc.gnu.org/PR108057.
Bootstrapped on x86_64-p
This libgo patch by Funan Zeng synchronizes the handling of empty
struct fields between the Go frontend and the libgo FFI code. In the
compiler the logic for allocating one byte for the last field of a
struct is:
1. the last field has zero size
2. the struct itself does not have zero size
3. the l
This libgo patch changes the cgo command to use runtime/cgo.Incomplete
instead of //go:notinheap, and to define the new type in the
runtime/cgo package. This ports https://go.dev/cl/421879 to libgo.
This is a quick port to update libgo to work with the version of cgo
in gc mainline. A more comple
On Tue, Jun 28, 2022 at 10:20 AM Ian Lance Taylor wrote:
>
> This libgo patch makes runtime.Version return a meaningful string.
> This also means that "go version" will print something useful, e.g.,
>
> go version go1.18 gccgo (GCC) 12.0.1 20220216 (experimental) linux/amd64
>
> This fixes https:/
On Tue, Sep 6, 2022 at 6:40 PM Ian Lance Taylor wrote:
>
> This libgo patch ignores the __morestack function in runtime.Callers.
> We were ignoring all functions starting with "__morestack_", but not
> the function "__morestack" itself. Without this change, some tests
> such as recover.go started
This libgo patch ignores the __morestack function in runtime.Callers.
We were ignoring all functions starting with "__morestack_", but not
the function "__morestack" itself. Without this change, some tests
such as recover.go started failing recently, though I'm not sure
exactly what changed. Boot
On Thu, Jul 21, 2022 at 4:53 AM Martin Liška wrote:
>
> On 7/21/22 12:19, Richard Biener via Gcc-patches wrote:
> > On Wed, Jul 13, 2022 at 6:03 PM Ian Lance Taylor via Gcc-patches
> > wrote:
> >>
> >> This libgo patch stops including when building
> >> gen-sysinfo.go. Removing this doesn't cha
On 7/21/22 12:19, Richard Biener via Gcc-patches wrote:
> On Wed, Jul 13, 2022 at 6:03 PM Ian Lance Taylor via Gcc-patches
> wrote:
>>
>> This libgo patch stops including when building
>> gen-sysinfo.go. Removing this doesn't change anything at least with
>> glibc 2.33. The include was added in
On Wed, Jul 13, 2022 at 6:03 PM Ian Lance Taylor via Gcc-patches
wrote:
>
> This libgo patch stops including when building
> gen-sysinfo.go. Removing this doesn't change anything at least with
> glibc 2.33. The include was added in https://go.dev/cl/6100049 but
> it's not clear why. This shoul
This libgo patch stops including when building
gen-sysinfo.go. Removing this doesn't change anything at least with
glibc 2.33. The include was added in https://go.dev/cl/6100049 but
it's not clear why. This should fix GCC PR 106266. Bootstrapped and
ran Go testsuite on x86_64-pc-linux-gnu. Co
This libgo patch makes runtime.Version return a meaningful string.
This also means that "go version" will print something useful, e.g.,
go version go1.18 gccgo (GCC) 12.0.1 20220216 (experimental) linux/amd64
This fixes https://go.dev/issue/51850.
Bootstrapped and ran Go testsuite on x86_64-pc-l
This Go formatter is starting to format documentation comments in some
cases. As a step toward that in libgo, this patch adds blank lines
after //sys comments in the syscall package where needed, and then
runs the new formatter on the syscall package files. This is the
libgo version of https://go
This libgo patch skips the _FILE struct in mkruntimeinc.sh. We don't
need it, and it breaks uclibc. This should fix GCC PR 101246.
Bootstrapped and ran Go testsuite on x86_64-pc-linux-gnu. Committed
to mainline.
Ian
59a20b189dcbda8d929503ae1b1f864535a27584
diff --git a/gcc/go/gofrontend/MERGE b
This patch by Clément Chigot moves golang.org/x/sync/semaphore from
the libgo packages to the gotools packages, since it is only used by
gofmt. Bootstrapped and ran Go testsuite on x86_64-pc-linux-gnu.
Committed to mainline.
Ian
e71079517f16fee6759bad2be14f574c3548743e
diff --git a/gcc/go/gofron
This patch by Clément Chigot fixes the build of libgo on AIX, which
was broken in the update to the Go 1.18 release. Bootstrapped and ran
Go testsuite on x86_64-unknown-linux-gnu. Committed to mainline.
Ian
98a7a7b5275b226932f503cc1dcc21fd9a9f8476
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/go
I committed this libgo patch to update the README.gcc file.
Ian
0f16f4ad82cb47bc444688822cc142d80192c284
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE
index 7455d01c179..424bbebfeed 100644
--- a/gcc/go/gofrontend/MERGE
+++ b/gcc/go/gofrontend/MERGE
@@ -1,4 +1,4 @@
-aee8eddbfc3ef1b
I committed ths libgo patch to make -Werror optional. This patch is
already in the GCC sources, where it was erroneously applied before
the upstream patch. This is the upstream patch.
Ian
diff --git a/libgo/configure.ac b/libgo/configure.ac
index 3cadc6d20..7e2b98ba6 100644
--- a/libgo/configure
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/sysca
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: N
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
This libgo patch based on patches by Svante Signell updates the hurd
support in libgo. This is for GCC PR 104290. Bootstrapped and ran Go
testsuite on x86_64-pc-linux-gnu. Committed to mainline.
Ian
fa59861178df32a1f1271be6f763b71d2bb5ecab
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofronten
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
This libgo patch, from Svante Signell, adds a hurd build tag for
setReadMsgCloseOnExec. This fixes GCC PRs 103573 and 104290.
Bootstrapped and ran Go testsuite on x86_64-pc-linux-gnu (which
doesn't test much). Committed to mainline.
Ian
8ec374f329b72e640bffe3abf8c082f9a287adb3
diff --git a/gcc/g
> I've committed this patch to fix these problems. Bootstrapped and ran
> Go testsuite on x86_64-pc-linux-gnu and x86_64-solaris.
Fine by me, thanks for the quick turnaround!
--
Eric Botcazou
On Tue, Feb 15, 2022 at 1:19 AM Eric Botcazou wrote:
>
> > I've committed a change to update libgo to the Go1.18beta2 release.
>
> This apparently broke the build on SPARC/Solaris 11.3:
I've committed this patch to fix these problems. Bootstrapped and ran
Go testsuite on x86_64-pc-linux-gnu and
Thanks, I'm working on it. I'm having some trouble with the Solaris
machines I have access to.
Ian
On Tue, Feb 15, 2022, 1:20 AM Eric Botcazou via Gcc-patches <
gcc-patches@gcc.gnu.org> wrote:
> > I've committed a change to update libgo to the Go1.18beta2 release.
>
> This apparently broke the
> I've committed a change to update libgo to the Go1.18beta2 release.
This apparently broke the build on SPARC/Solaris 11.3:
/homes/botcazou/gcc-head/src/libgo/go/runtime/mem_gccgo.go:32:26: error:
reference to undefined name 'open'
32 | mmapFD = open(&devZero[0], 0 /* O_RDONL
I've committed a change to update libgo to the Go1.18beta2 release.
Bootstrapped and tested on x86_64-pc-linux-gnu. As usual with these
release updates, the change is too large for this e-mail. Please see
the git history or https://go.dev/cl/384695 for the exact changes.
Ian
gotools/:
* Makefi
This libgo patch builds panic32.go on amd64p32 (that is, x86 x32
mode). This fixes GCC PR 104149. Bootstrapped and ran Go testsuite
on x86_64-pc-linux-gnu, and H.J. tested the patch on x32 (thanks!).
Committed to mainline.
Ian
4f614712c908ca00fdb83057420e0023c9171477
diff --git a/gcc/go/gofronte
On Fri, Nov 19, 2021 at 3:47 AM Bernhard Reutner-Fischer via
Gcc-patches wrote:
>
> On Fri, 28 Oct 2016 10:55:18 -0700
> Ian Lance Taylor wrote:
>
> > This patch to libgo redirects the output of a grep command in
> > mkrsysinfo.sh to /dev/null. The output otherwise appears in the
>
> grep -q exi
On Fri, 28 Oct 2016 10:55:18 -0700
Ian Lance Taylor wrote:
> This patch to libgo redirects the output of a grep command in
> mkrsysinfo.sh to /dev/null. The output otherwise appears in the
grep -q exists since at least SUSv2, fwiw.
thanks,
> middle of a build log, where it is harmless but conf
This patch changes libto to set runtime.GOROOT value at build time.
In Go 1.17 the gc toolchain changed to set runtime.GOROOT in cmd/link
(previously it was runtime/internal/sys.GOROOT). This patch does the
same in libgo. Bootstrapped and ran Go testsuite on
x86_64-pc-linux-gnu. Committed to mai
This patch updates libgo to the go1.17.1 release. Bootstrapped and
ran Go testsuite on x86_64-pc-linux-gnu. Committed to mainline.
Ian
1d62d26192bf7c2f303d993f9a2963a0fd5b475a
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE
index f4816816500..e2abd5fc4b7 100644
--- a/gcc/go/gofron
On Fri, Sep 3, 2021 at 2:00 AM Matthias Klose wrote:
>
> On 8/31/21 3:24 PM, H.J. Lu via Gcc-patches wrote:
> > On Thu, Aug 12, 2021 at 8:24 PM Ian Lance Taylor via Gcc-patches
> > wrote:
> >>
> >> This patch updates libgo from the Go1.16.5 release to the Go 1.17rc2
> >> release. As usual with t
This libgo patch uses hash32 rather than hash64 for amd32p32 (x32
mode) and mips64p32 and mips64p32le (the n32 ABI). This should fix PR
102102. Bootstrapped and ran Go testsuite on x86_64-pc-linux-gnu.
Committed to mainline.
Ian
3e86f786c08a5ae8b3153352a1295ab7fe6a4b51
diff --git a/gcc/go/gofron
This patch updates libgo to the final Go 1.17 release. (I'm aware of
a couple of bug reports building libgo, I haven't had time to get to
them yet.) Bootstrapped and ran Go testsuite on x86_64-pc-linux-gnu.
Committed to mainline.
Ian
patch.txt
1d98014a8ae3c357071478d337f0169edec2ce0c
diff --git
On 8/31/21 3:24 PM, H.J. Lu via Gcc-patches wrote:
> On Thu, Aug 12, 2021 at 8:24 PM Ian Lance Taylor via Gcc-patches
> wrote:
>>
>> This patch updates libgo from the Go1.16.5 release to the Go 1.17rc2
>> release. As usual with these version updates, the patch itself is too
>> large to attach to
On Thu, Aug 12, 2021 at 8:24 PM Ian Lance Taylor via Gcc-patches
wrote:
>
> This patch updates libgo from the Go1.16.5 release to the Go 1.17rc2
> release. As usual with these version updates, the patch itself is too
> large to attach to this e-mail message. I've attached the changes to
> files
On Fri, Aug 13, 2021 at 2:08 PM Rainer Orth
wrote:
>
> unfortunately, things are considerably worse: syscall.lo fails to build
> and go1 even ICEs:
>
> /vol/gcc/src/hg/master/local/libgo/go/syscall/libcall_posix_utimesnano.go:13:1:
> error: redefinition of ‘UtimesNano’
>13 | func UtimesNano(
Hi Ian,
> Sorry about that. I've committed this patch.
thanks.
unfortunately, things are considerably worse: syscall.lo fails to build
and go1 even ICEs:
/vol/gcc/src/hg/master/local/libgo/go/syscall/libcall_posix_utimesnano.go:13:1:
error: redefinition of ‘UtimesNano’
13 | func UtimesNano
On Fri, Aug 13, 2021 at 5:43 AM Rainer Orth
wrote:
>
> Hi Ian,
>
> > This patch updates libgo from the Go1.16.5 release to the Go 1.17rc2
> > release. As usual with these version updates, the patch itself is too
> > large to attach to this e-mail message. I've attached the changes to
> > files
Hi Ian,
> This patch updates libgo from the Go1.16.5 release to the Go 1.17rc2
> release. As usual with these version updates, the patch itself is too
> large to attach to this e-mail message. I've attached the changes to
> files that are specific to gccgo. Bootstraped and ran Go testsuite on
>
This patch updates libgo from the Go1.16.5 release to the Go 1.17rc2
release. As usual with these version updates, the patch itself is too
large to attach to this e-mail message. I've attached the changes to
files that are specific to gccgo. Bootstraped and ran Go testsuite on
x86_64-pc-linux-gn
This patch updates libgo to the Go 1.16.5 release. Bootstrapped and
tested on x86_64-pc-linux-gnu. Committed to tip and GCC 11 branch.
Ian
a7d86ad16c5afdbbbae5218c012e1bbf6966bf1d
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE
index 1f38c9110ba..f16fb9facc3 100644
--- a/gcc/go/go
This patch updates the libgo configure script to the current source
repo. This just fixes a couple of line numbers. Bootstrapped and ran
Go testsuite on x86_64-pc-linux-gnu.
Ian
commit c922c6539e63a775ee29751320d678f0a0a33d07
Author: Ian Lance Taylor
Date: Tue May 18 18:09:27 2021 -0700
I've committed a trivial patch to libgo to update two compression test
cases to match the main sources: the file
libgo/go/compress/bzip2/testdata/Mark.Twain-Tom.Sawyer.txt.bz2 is
removed, and the file
libgo/go/compress/bzip2/testdata/Isaac.Newton-Opticks.txt.bz2 is
updated. No patch appended here
This patch updates libgo to the Go1.16.3 release. Bootstrapped and
ran Go testsuite on x86_64-pc-linux-gnu. Committed to mainline.
Ian
dfbc12e031900c1f30bb94332823d39e5b241b40
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE
index a3eef239eca..efb7a772882 100644
--- a/gcc/go/gofron
This patch updates libgo to the Go 1.16.2 release. Bootstrapped and
ran Go testsuite on x86_64-pc-linux-gnu. Committed to mainline.
Ian
d5eae60451faeea9d87ae3815f7e4db0e6e182ed
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE
index e5756c6662c..c0bfa1ff78a 100644
--- a/gcc/go/gofro
This patch to libgo avoids using == for string equality in C code.
This is a backport of https://golang.org/cl/300993. This is for GCC
PR 99553. Bootstrapped and ran gotools testsuite on
x86_64-pc-linux-gnu. Committed to mainline.
Ian
eb7eb29c37b1326bd4c8af7e5c35439a5d4521d4
diff --git a/gcc/go
This libgo patch casts SIGSTKSZ to uintptr before comparing it to a
uintptr value. This fixes build failures with newer versions of glibc
in which SIGSTKSZ has changed such that the type is now long. The
build failure is a signed-unsigned comparison warning that turns into
an error due to -Werror
This libgo patch by Lynn Boger ensures 8 byte atomicity in memmove and
memset on ppc64.
Go requires that pointer moves are done 8 bytes at a time, so that the
concurrent garbage collector always sees an entire pointer value.
gccgo uses libc's memmove and memset which does not require that, and
the
This patch updates libgo to the final Go 1.16 release. Bootstrapped
and ran Go testsuite on x86_64-pc-linux-gnu. Committed to mainline.
Ian
c89b42d3b9d76dedb35e8478913ddf5367f3b5e6
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE
index eed9ce01905..217bdd55f1d 100644
--- a/gcc/go/g
In the update of libgo to the Go 1.16 beta and release candidate, I
forgot to update the Makefile to actually install new packages. This
patch does that. Bootstrapped and ran Go testsuite on
x86_64-pc-linux-gnu. Committed to mainline.
Ian
8e6839059d52c02acb52a4ba1ea6a5fcda88d16b
diff --git a/gc
This libgo patch by Clément Chigot directly sets getsystemcfg as
//extern in internal/cpu instead of trying to use the runtime as in Go
toolchain. Bootstrapped and ran Go testsuite on x86_64-pc-linux-gnu.
Committed to mainline.
Ian
7da2394fc591a3fb236190c8712f3960a4ee8e5f
diff --git a/gcc/go/gofr
This libgo patch by Svante Signell updates the hurd support. This
fixes GCC PR 98496. Bootstrapped and ran Go testsuite on
x86_64-pc-linux-gnu. Committed to mainline.
Ian
ab5bf5f728be354427a5b06784f34011fea555bc
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE
index cd95c3d0755..8
This libgo patch by Paul Murphy ensures that openat always uses the
variadic libc wrapper. On powerpc64le, not using the wrapper caused a
failure in TestUnshareUidGidMapping due to stack corruption which
resulted in a bogus execve syscall. This fixes GCC PR 98610.
Bootstrapped and ran Go testsuit
This libgo patch changes the syscall package to not define
sys_SETREUID and some friends. We don't use them anyhow, sice we
always call the C library functions which do the right thing. And
they aren't defined on all GNU/Linux variants. This fixes GCC PR
98510. Bootstrapped and ran Go testsuite
On Sat, Jan 2, 2021 at 6:14 AM Matthias Klose wrote:
>
> On 1/2/21 12:11 AM, Ian Lance Taylor wrote:
> > On Thu, Dec 31, 2020 at 7:40 AM Matthias Klose wrote:
> >>
> >> On 12/31/20 12:14 AM, Ian Lance Taylor via Gcc-patches wrote:
> >>> I've committed a patch to update libgo to the Go 1.16beta1 r
On 1/2/21 12:11 AM, Ian Lance Taylor wrote:
> On Thu, Dec 31, 2020 at 7:40 AM Matthias Klose wrote:
>>
>> On 12/31/20 12:14 AM, Ian Lance Taylor via Gcc-patches wrote:
>>> I've committed a patch to update libgo to the Go 1.16beta1 release.
>>>
>>> This patch does not include support for the new //
On Fri, Jan 1, 2021 at 3:15 PM Ian Lance Taylor via Gcc-patches
wrote:
>
> As far as I know all the build problems introduced by the update to
> Go1.16beta1 are now fixed.
>
> Please let me know if I missed anything.
>
You missed this one for x32:
diff --git a/libgo/go/internal/cpu/cpu_no_name.g
As far as I know all the build problems introduced by the update to
Go1.16beta1 are now fixed.
Please let me know if I missed anything.
Sorry for the difficulties, it's hard to test on so many systems.
Ian
On Fri, Jan 1, 2021 at 3:14 PM Ian Lance Taylor wrote:
>
> On Fri, Jan 1, 2021 at 1:32 A
On Fri, Jan 1, 2021 at 1:32 AM Andreas Schwab wrote:
>
> --- a/libgo/go/internal/cpu/cpu_gccgo.c
> +++ b/libgo/go/internal/cpu/cpu_gccgo.c
> @@ -200,3 +200,29 @@ struct queryResult kdsaQuery() {
> }
>
> #endif /* defined(__s390x__) */
> +
> +#ifdef __aarch64__
> +
> +uint64_t getisar0(void)
> +
On Thu, Dec 31, 2020 at 11:48 AM Rainer Orth
wrote:
>
> > I've committed a patch to update libgo to the Go 1.16beta1 release.
> >
> > This patch does not include support for the new //go:embed directive
> > that will be available in Go 1.16.1 (https://golang.org/issue/41191)
> > Support for that r
On Thu, Dec 31, 2020 at 7:40 AM Matthias Klose wrote:
>
> On 12/31/20 12:14 AM, Ian Lance Taylor via Gcc-patches wrote:
> > I've committed a patch to update libgo to the Go 1.16beta1 release.
> >
> > This patch does not include support for the new //go:embed directive
> > that will be available in
../../../../libgo/go/golang.org/x/sys/cpu/cpu.go:200:9: error: reference to
undefined name ‘initOptions’
200 | initOptions()
| ^
make[2]: *** [golang.org/x/sys/cpu.lo] Error 1
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 251
../../../libgo/go/internal/cpu/cpu_ppcx.go:13:5: error: redefinition of 'HWCap'
13 | var HWCap uint
| ^
../../../libgo/go/internal/cpu/cpu_ppc64x_linux.go:12:5: note: previous
definition of 'HWCap' was here
12 | var HWCap uint
| ^
../../../libgo/go/internal/cpu/cpu_ppcx.g
On 12/31/20 12:14 AM, Ian Lance Taylor via Gcc-patches wrote:
> I've committed a patch to update libgo to the Go 1.16beta1 release.
>
> This patch does not include support for the new //go:embed directive
> that will be available in Go 1.16.1 (https://golang.org/issue/41191)
> Support for that req
--- a/libgo/go/internal/cpu/cpu_gccgo.c
+++ b/libgo/go/internal/cpu/cpu_gccgo.c
@@ -200,3 +200,29 @@ struct queryResult kdsaQuery() {
}
#endif /* defined(__s390x__) */
+
+#ifdef __aarch64__
+
+uint64_t getisar0(void)
+ __asm__(GOSYM_PREFIX "internal_1cpu.getisar0")
+ __attribute__((no_split_
On aarch64:
/usr/aarch64-suse-linux/bin/ld: ../aarch64-suse-linux/libgo/.libs/libgo.so:
undefined reference to `internal_1cpu.getMIDR'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:831: test2json] Error 1
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint
Hi Ian,
> I've committed a patch to update libgo to the Go 1.16beta1 release.
>
> This patch does not include support for the new //go:embed directive
> that will be available in Go 1.16.1 (https://golang.org/issue/41191)
> Support for that requires compiler changes, which will come later.
>
> As
On 12/31/20 12:14 AM, Ian Lance Taylor via Gcc-patches wrote:
> I've committed a patch to update libgo to the Go 1.16beta1 release.
>
> This patch does not include support for the new //go:embed directive
> that will be available in Go 1.16.1 (https://golang.org/issue/41191)
> Support for that req
On Dez 31 2020, Andreas Schwab wrote:
> I'm getting this error in ia64:
>
> ../../../libgo/go/internal/cpu/cpu.go:123:9: error: reference to undefined
> name 'doinit'
> 123 | doinit()
> | ^
> make[4]: *** [internal/cpu.lo] Error 1
../../../libgo/go/golang.org/x/sys/cpu/cp
On 12/31/20 11:36 AM, Matthias Klose wrote:
> On 12/31/20 11:12 AM, Andreas Schwab wrote:
>> I'm getting this error in ia64:
>>
>> ../../../libgo/go/internal/cpu/cpu.go:123:9: error: reference to undefined
>> name 'doinit'
>> 123 | doinit()
>> | ^
>> make[4]: *** [internal/
On 12/31/20 11:12 AM, Andreas Schwab wrote:
> I'm getting this error in ia64:
>
> ../../../libgo/go/internal/cpu/cpu.go:123:9: error: reference to undefined
> name 'doinit'
> 123 | doinit()
> | ^
> make[4]: *** [internal/cpu.lo] Error 1
>
> Andreas.
>
also on x32, or wi
I'm getting this error in ia64:
../../../libgo/go/internal/cpu/cpu.go:123:9: error: reference to undefined name
'doinit'
123 | doinit()
| ^
make[4]: *** [internal/cpu.lo] Error 1
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69
I've committed a patch to update libgo to the Go 1.16beta1 release.
This patch does not include support for the new //go:embed directive
that will be available in Go 1.16.1 (https://golang.org/issue/41191)
Support for that requires compiler changes, which will come later.
As usual with these big
This libgo patch adds a success field to the sudog structure used to
manage select statements. This is a step toward enabling some
compiler changes as part of upgrading to the Go 1.16beta1 release.
Bootstrapped and ran Go testsuite on x86_64-pc-linux-gnu. Committed
to mainline.
Ian
3b2d8145a4c34
This patch to libgo omits the nil-channel cases from the order slices
used in the selectgo function. This is a simplification for future
work. This is being brought in here as part of updating to the Go
1.16beta1 release. Bootstrapped and ran Go testsuite on
x86_64-pc-linux-gnu. Committed to ma
This patch updates libgo to the Go 1.15.6 release. Bootstrapped and
ran Go testsuite on x86_64-pc-linux-gnu. Committed to mainline.
Ian
7a75590577dd3da6ab5091097cc9b80f02615360
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE
index 619f1c001f0..dc2682d95d1 100644
--- a/gcc/go/gofro
This libgo patch updates the type descriptor name in the fieldtrack C
support code. We were using the old name, but nothing noticed because
it is a weak reference that is permitted to be nil, so that it works
with code that does not use the field tracking library. Bootstrapped
and ran Go testsuit
This libgo patch changes the internal/cpu package to not define
CacheLinePadSize for mips64x. For libgo the definition always comes
from the generated file cpugen.go. This fixes GCC PR 98041.
Bootstrapped and ran Go testsuite on x86_64-pc-linux-gnu. Committed
to mainline.
Ian
eafb46ce90c23efd22
This libgo patch defines SO_RCVTIMEO on 32-bit GNU/Linux. It was not
being defined before because it is defined as a conditional expression
that is too complicated for -fdump-go-spec to handle. This fixes
https://golang.org/issue/42872. Bootstrapped and ran Go testsuite on
x86_64-pc-linux-gnu.
This patch updates libgo to the Go 1.15.5 release. Bootstrapped and
ran Go testsuite on x86_64-pc-linux-gnu. Committed to mainline.
Ian
6c458bbaaa54755de5b25e5a844186893b2b8568
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE
index 9545a598738..37374d55853 100644
--- a/gcc/go/gofro
This libgo patch updates the gofrontend mangling checks, in
preparation for changing the mangling scheme again.
This is a port of two patches in the master repository.
https://golang.org/cl/259298
cmd/cgo: split gofrontend mangling checks into cmd/internal/pkgpath
This is a step toward
This patch updates libgo to the 1.15.4 release. Bootstrapped and ran
Go testsuite on x86_64-pc-linux-gnu. Committed to mainline.
Ian
8815a8e97f8d0ee4066e737152c8198a80e9fe32
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE
index 149f20077e3..e62578fc781 100644
--- a/gcc/go/gofronte
This libgo patch by Nikhil Benesch adds support for NetBSD versioned
symbols. On NetBSD, for backwards compatibility, various libc symbols
are renamed to a symbol with a version suffix. For example, this is
the (abbreviated) definition of sigaction:
int sigaction(...) __asm__ ("__sigaction14"
1 - 100 of 1273 matches
Mail list logo