public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/98493] New: [11 regression] bootstrap build fails in go part of build after r11-6371
@ 2021-01-01  1:50 seurer at gcc dot gnu.org
  2021-01-01 23:16 ` [Bug bootstrap/98493] " ian at airs dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: seurer at gcc dot gnu.org @ 2021-01-01  1:50 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98493

            Bug ID: 98493
           Summary: [11 regression] bootstrap build fails in go part of
                    build after r11-6371
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:cfcbb4227fb20191e04eb8d7766ae6202f526afd, r11-6371 

make[4]: Entering directory
'/home/gccbuild/build-gcc-trunk/powerpc64le-unknown-linux-gnu/libgo'
/bin/mkdir -p internal; files=`echo
/home/gccbuild/gcc_trunk_git/gcc/libgo/go/internal/cpu/cpu.go
/home/gccbuild/gcc_trunk_git/gcc/libgo/go/internal/cpu/cpu_no_name.go
/home/gccbuild/gcc_trunk_git/gcc/libgo/go/internal/cpu/cpu_ppc64x_linux.go
/home/gccbuild/gcc_trunk_git/gcc/libgo/go/internal/cpu/cpu_ppcx.go cpugen.go |
sed -e 's/[^ ]*\.gox//g' -e 's/[^ ]*\.dep//'`; /bin/sh ./libtool --tag GO
--mode=compile /home/gccbuild/build-gcc-trunk/./gcc/gccgo
-B/home/gccbuild/build-gcc-trunk/./gcc/
-B/opt/gcc-nightly/trunk/powerpc64le-unknown-linux-gnu/bin/
-B/opt/gcc-nightly/trunk/powerpc64le-unknown-linux-gnu/lib/ -isystem
/opt/gcc-nightly/trunk/powerpc64le-unknown-linux-gnu/include -isystem
/opt/gcc-nightly/trunk/powerpc64le-unknown-linux-gnu/sys-include   -fchecking=1
   -O2 -g -I . -c -fgo-pkgpath=`echo internal/cpu.lo | sed -e 's/.lo$//'`  -o
internal/cpu.lo $files
libtool: compile:  /home/gccbuild/build-gcc-trunk/./gcc/gccgo
-B/home/gccbuild/build-gcc-trunk/./gcc/
-B/opt/gcc-nightly/trunk/powerpc64le-unknown-linux-gnu/bin/
-B/opt/gcc-nightly/trunk/powerpc64le-unknown-linux-gnu/lib/ -isystem
/opt/gcc-nightly/trunk/powerpc64le-unknown-linux-gnu/include -isystem
/opt/gcc-nightly/trunk/powerpc64le-unknown-linux-gnu/sys-include -fchecking=1
-O2 -g -I . -c -fgo-pkgpath=internal/cpu
/home/gccbuild/gcc_trunk_git/gcc/libgo/go/internal/cpu/cpu.go
/home/gccbuild/gcc_trunk_git/gcc/libgo/go/internal/cpu/cpu_no_name.go
/home/gccbuild/gcc_trunk_git/gcc/libgo/go/internal/cpu/cpu_ppc64x_linux.go
/home/gccbuild/gcc_trunk_git/gcc/libgo/go/internal/cpu/cpu_ppcx.go cpugen.go 
-fPIC -o internal/.libs/cpu.o
/home/gccbuild/gcc_trunk_git/gcc/libgo/go/internal/cpu/cpu_ppcx.go:13:5: error:
redefinition of ‘HWCap’
   13 | var HWCap uint
      |     ^
/home/gccbuild/gcc_trunk_git/gcc/libgo/go/internal/cpu/cpu_ppc64x_linux.go:12:5:
note: previous definition of ‘HWCap’ was here
   12 | var HWCap uint
      |     ^
/home/gccbuild/gcc_trunk_git/gcc/libgo/go/internal/cpu/cpu_ppcx.go:14:5: error:
redefinition of ‘HWCap2’
   14 | var HWCap2 uint
      |     ^
/home/gccbuild/gcc_trunk_git/gcc/libgo/go/internal/cpu/cpu_ppc64x_linux.go:13:5:
note: previous definition of ‘HWCap2’ was here
   13 | var HWCap2 uint
      |     ^
make[4]: *** [Makefile:2962: internal/cpu.lo] Error 1


commit cfcbb4227fb20191e04eb8d7766ae6202f526afd (HEAD)
Author: Ian Lance Taylor <iant@golang.org>
Date:   Wed Dec 23 09:57:37 2020 -0800

    libgo: update to Go1.16beta1 release

    This does not yet include support for the //go:embed directive added
    in this release.

            * Makefile.am (check-runtime): Don't create check-runtime-dir.
            (mostlyclean-local): Don't remove check-runtime-dir.
            (check-go-tool, check-vet): Copy in go.mod and modules.txt.
            (check-cgo-test, check-carchive-test): Add go.mod file.
            * Makefile.in: Regenerate.

    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/280172

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/98493] [11 regression] bootstrap build fails in go part of build after r11-6371
  2021-01-01  1:50 [Bug bootstrap/98493] New: [11 regression] bootstrap build fails in go part of build after r11-6371 seurer at gcc dot gnu.org
@ 2021-01-01 23:16 ` ian at airs dot com
  2021-01-02 16:28 ` seurer at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: ian at airs dot com @ 2021-01-01 23:16 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98493

Ian Lance Taylor <ian at airs dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ian at airs dot com
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Ian Lance Taylor <ian at airs dot com> ---
This should be fixed now.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/98493] [11 regression] bootstrap build fails in go part of build after r11-6371
  2021-01-01  1:50 [Bug bootstrap/98493] New: [11 regression] bootstrap build fails in go part of build after r11-6371 seurer at gcc dot gnu.org
  2021-01-01 23:16 ` [Bug bootstrap/98493] " ian at airs dot com
@ 2021-01-02 16:28 ` seurer at gcc dot gnu.org
  2021-01-05 10:54 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: seurer at gcc dot gnu.org @ 2021-01-02 16:28 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98493

seurer at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
         Resolution|FIXED                       |---
             Status|RESOLVED                    |REOPENED
   Last reconfirmed|                            |2021-01-02

--- Comment #2 from seurer at gcc dot gnu.org ---
I am still seeing build errors:

libtool: compile:  /home/seurer/gcc/git/build/gcc-test/./gcc/gccgo
-B/home/seurer/gcc/git/build/gcc-test/./gcc/
-B/home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/bin/
-B/home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/lib/
-isystem
/home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/include
-isystem
/home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/sys-include
-O2 -g -I . -c -fgo-pkgpath=internal/cpu
/home/seurer/gcc/git/gcc-test/libgo/go/internal/cpu/cpu.go
/home/seurer/gcc/git/gcc-test/libgo/go/internal/cpu/cpu_no_name.go
/home/seurer/gcc/git/gcc-test/libgo/go/internal/cpu/cpu_ppc64x_linux.go
cpugen.go  -fPIC -o internal/.libs/cpu.o
/home/seurer/gcc/git/gcc-test/libgo/go/internal/cpu/cpu.go:123:9: error:
reference to undefined name 'doinit'
  123 |         doinit()
      |         ^
/home/seurer/gcc/git/gcc-test/libgo/go/internal/cpu/cpu_ppc64x_linux.go:26:26:
error: reference to undefined name 'isSet'
   26 |         PPC64.IsPOWER9 = isSet(HWCap2, hwcap2_ARCH_3_00)
      |                          ^
/home/seurer/gcc/git/gcc-test/libgo/go/internal/cpu/cpu_ppc64x_linux.go:27:25:
error: reference to undefined name 'isSet'
   27 |         PPC64.HasDARN = isSet(HWCap2, hwcap2_DARN)
      |                         ^
/home/seurer/gcc/git/gcc-test/libgo/go/internal/cpu/cpu_ppc64x_linux.go:28:24:
error: reference to undefined name 'isSet'
   28 |         PPC64.HasSCV = isSet(HWCap2, hwcap2_SCV)
      |                        ^
make[4]: *** [internal/cpu.lo] Error 1

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/98493] [11 regression] bootstrap build fails in go part of build after r11-6371
  2021-01-01  1:50 [Bug bootstrap/98493] New: [11 regression] bootstrap build fails in go part of build after r11-6371 seurer at gcc dot gnu.org
  2021-01-01 23:16 ` [Bug bootstrap/98493] " ian at airs dot com
  2021-01-02 16:28 ` seurer at gcc dot gnu.org
@ 2021-01-05 10:54 ` rguenth at gcc dot gnu.org
  2021-01-05 21:49 ` cvs-commit at gcc dot gnu.org
  2021-01-05 21:59 ` ian at airs dot com
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-01-05 10:54 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98493

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |11.0

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/98493] [11 regression] bootstrap build fails in go part of build after r11-6371
  2021-01-01  1:50 [Bug bootstrap/98493] New: [11 regression] bootstrap build fails in go part of build after r11-6371 seurer at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2021-01-05 10:54 ` rguenth at gcc dot gnu.org
@ 2021-01-05 21:49 ` cvs-commit at gcc dot gnu.org
  2021-01-05 21:59 ` ian at airs dot com
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-01-05 21:49 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98493

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Ian Lance Taylor <ian@gcc.gnu.org>:

https://gcc.gnu.org/g:a9f76d03bbc791cb55e4e0658f23efd0103ea9b0

commit r11-6488-ga9f76d03bbc791cb55e4e0658f23efd0103ea9b0
Author: Ian Lance Taylor <iant@golang.org>
Date:   Mon Jan 4 12:43:25 2021 -0800

    internal/cpu: more build fixes for Go1.16beta1 release

    Some files were missing from the libgo copy of internal/cpu, because they
    used to only declare CacheLinePadSize which libgo gets from goarch.sh.
    Now they also declare doinit, so copy them over.  Adjust cpu_other.go.

    Fix the amd64p32 build by adding a build constraint to cpu_no_name.go.

    Fixes PR go/98493

    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/281472

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/98493] [11 regression] bootstrap build fails in go part of build after r11-6371
  2021-01-01  1:50 [Bug bootstrap/98493] New: [11 regression] bootstrap build fails in go part of build after r11-6371 seurer at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2021-01-05 21:49 ` cvs-commit at gcc dot gnu.org
@ 2021-01-05 21:59 ` ian at airs dot com
  4 siblings, 0 replies; 6+ messages in thread
From: ian at airs dot com @ 2021-01-05 21:59 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98493

Ian Lance Taylor <ian at airs dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|REOPENED                    |RESOLVED

--- Comment #4 from Ian Lance Taylor <ian at airs dot com> ---
Should be fixed (this time for sure).

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-01-05 21:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-01  1:50 [Bug bootstrap/98493] New: [11 regression] bootstrap build fails in go part of build after r11-6371 seurer at gcc dot gnu.org
2021-01-01 23:16 ` [Bug bootstrap/98493] " ian at airs dot com
2021-01-02 16:28 ` seurer at gcc dot gnu.org
2021-01-05 10:54 ` rguenth at gcc dot gnu.org
2021-01-05 21:49 ` cvs-commit at gcc dot gnu.org
2021-01-05 21:59 ` ian at airs dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).