public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug go/105315] New: go build fail on ppc: has no member named 'gregs'; did you mean 'regs'?
@ 2022-04-20  1:42 guojiufu at gcc dot gnu.org
  2022-04-20  1:44 ` [Bug go/105315] " guojiufu at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: guojiufu at gcc dot gnu.org @ 2022-04-20  1:42 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 105315
           Summary: go build fail on ppc: has no member named 'gregs'; did
                    you mean 'regs'?
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: go
          Assignee: ian at airs dot com
          Reporter: guojiufu at gcc dot gnu.org
                CC: cmang at google dot com
  Target Milestone: ---

On P8 BE machine, I encounter a build failure.

libgo/runtime/go-signal.c:236:59: error: 'union uc_regs_ptr' has no member
named 'gregs'; did you mean 'regs'?
  236 |         ret.sigpc = ((ucontext_t*)(context))->uc_mcontext.gregs[32];


The machine is:
Architecture:          ppc64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Big Endian
Model name:            POWER8 (architected), altivec supported

reproduce command:
$GCC_SRC/configure --enable-languages=c,c++,go --with-cpu=native
--with-long-double-128 --prefix=~/install/gcc-mainline-base
make -j 30


It may be the commit "r12-8168 af27d545dc6132dcd67d1ee854372ea9cfd2a225" which
cause this issue.

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

end of thread, other threads:[~2022-04-21  9:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-20  1:42 [Bug go/105315] New: go build fail on ppc: has no member named 'gregs'; did you mean 'regs'? guojiufu at gcc dot gnu.org
2022-04-20  1:44 ` [Bug go/105315] " guojiufu at gcc dot gnu.org
2022-04-21  0:49 ` cvs-commit at gcc dot gnu.org
2022-04-21  0:50 ` ian at airs dot com
2022-04-21  9:16 ` guojiufu at gcc dot gnu.org

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).