[Bug go/103972] New: Building Go Frontend Failure on FreeBSD Powerpc64

2022-01-10 Thread clhamilto at gmail dot com via Gcc-bugs
: P3 Component: go Assignee: ian at airs dot com Reporter: clhamilto at gmail dot com CC: cmang at google dot com Target Milestone: --- Attempting to build Go frontend and got the below error. The function is found in "runtime/os_freebsd.go"

[Bug go/86535] FreeBSD/PowerPC64 - Building Go Frontend support for gcc 7.3.0 fails

2020-08-08 Thread clhamilto at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86535 --- Comment #34 from Curtis Hamilton --- Do you know if anyone has actively worked on the BSD code recently? I'm abandoning my effort go get this working on freebsd. I'm not a really a programmer and this is beyond my meager abilities. So

[Bug go/86535] FreeBSD/PowerPC64 - Building Go Frontend support for gcc 7.3.0 fails

2020-08-07 Thread clhamilto at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86535 --- Comment #32 from Curtis Hamilton --- (In reply to Ian Lance Taylor from comment #31) > > runtime: len(sigtable)=33 _NSIG=32 > > fatal error: bad sigtable len > > This error means that the sigtable generated by mksigtab.sh does not match >

[Bug go/86535] FreeBSD/PowerPC64 - Building Go Frontend support for gcc 7.3.0 fails

2020-08-07 Thread clhamilto at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86535 --- Comment #30 from Curtis Hamilton --- Ian, I've made progress with building the frontend but I have an issue with implementing Syscall9 needed by libgo/go/os/wait_wait6.go. I tried adding the file "syscall_freebsd_ppc64.go" containing the

[Bug go/86535] FreeBSD/PowerPC64 - Building Go Frontend support for gcc 7.3.0 fails

2020-08-07 Thread clhamilto at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86535 --- Comment #28 from Curtis Hamilton --- (In reply to Ian Lance Taylor from comment #27) > What is the complete contents of your new file? You showed just a > declaration; is there a function body there as well? That's what I was missing. I

[Bug go/86535] FreeBSD/PowerPC64 - Building Go Frontend support for gcc 7.3.0 fails

2020-08-07 Thread clhamilto at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86535 --- Comment #26 from Curtis Hamilton --- Ian, I've made progress with building the frontend but I have an issue with implementing Syscall9 needed by libgo/go/os/wait_wait6.go. I tried adding the file "syscall_freebsd_ppc64.go" containing the

[Bug go/86535] FreeBSD/PowerPC64 - Building Go Frontend support for gcc 7.3.0 fails

2019-08-09 Thread clhamilto at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86535 --- Comment #24 from Curtis Hamilton --- Okay, I modified the code and got pass that issue. But have run into another issue that has me stumped. I'm getting the below error:

[Bug go/86535] FreeBSD/PowerPC64 - Building Go Frontend support for gcc 7.3.0 fails

2019-08-07 Thread clhamilto at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86535 --- Comment #22 from Curtis Hamilton --- I've made progress in getting the go frontend to build, but have run into the following error: In file included from /usr/ports/lang/gcc7/work/gcc-7.4.0/libgo/runtime/runtime.h:113:0,

[Bug go/86535] FreeBSD/PowerPC64 - Building Go Frontend support for gcc 7.3.0 fails

2019-06-21 Thread clhamilto at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86535 --- Comment #21 from Curtis Hamilton --- Created attachment 46510 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46510=edit FreeBSD/X86_64 GCC8 build log GccGo doesn't build on FreeBSD X86 either. It has similar issues to those I got on

[Bug go/86535] FreeBSD/PowerPC64 - Building Go Frontend support for gcc 7.3.0 fails

2019-05-26 Thread clhamilto at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86535 --- Comment #20 from Curtis Hamilton --- (In reply to Ian Lance Taylor from comment #19) > People build the gofrontend all the time on GNU/Linux systems. I don't know > if anyone has successful built it on a FreeBSD system. My bad! I was

[Bug go/86535] FreeBSD/PowerPC64 - Building Go Frontend support for gcc 7.3.0 fails

2019-05-26 Thread clhamilto at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86535 --- Comment #18 from Curtis Hamilton --- Created attachment 46412 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46412=edit Patch to fix undefined types in sysinfo.go and runtime_sysinfo.go This patch resolves many of the undefines with

[Bug go/86535] FreeBSD/PowerPC64 - Building Go Frontend support for gcc 7.3.0 fails

2018-07-20 Thread clhamilto at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86535 --- Comment #12 from Curtis Hamilton --- I wanted to see if the errors were version specific, so I attempted a build on FreeBSD 10.2 and the results were the same. So I manually edited the "runtime_sysinfo.go", as best as I could to get past

[Bug go/86535] FreeBSD/PowerPC64 - Building Go Frontend support for gcc 7.3.0 fails

2018-07-18 Thread clhamilto at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86535 --- Comment #10 from Curtis Hamilton --- Is it -fgo-dump-spec or -fdump-go-spec? Below is an extract of my build log: checking for hypotf... /usr/ports/lang/gcc7/work/.build/./gcc/xgcc -B/usr/ports/lang/gcc7/work/.build/./gcc/

[Bug go/86535] FreeBSD/PowerPC64 - Building Go Frontend support for gcc 7.3.0 fails

2018-07-18 Thread clhamilto at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86535 --- Comment #8 from Curtis Hamilton --- Based on you last comment, I attempted a build using FreeBSD 11.2 RC1 on the same hardware (PowerMac G5 Quad) and got the same results. Are you using native hardware or emulation?

[Bug go/86535] FreeBSD/PowerPC64 - Building Go Frontend support for gcc 7.3.0 fails

2018-07-17 Thread clhamilto at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86535 --- Comment #6 from Curtis Hamilton --- Adding before solves the issue with "cmsghdr" but not the other entries. /usr/local/bin/gmkdir -p .; files=`echo /usr/ports/lang/gcc7/work/gcc-7.3.0/libgo/go/runtime/alg.go

[Bug go/86535] FreeBSD/PowerPC64 - Building Go Frontend support for gcc 7.3.0 fails

2018-07-17 Thread clhamilto at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86535 --- Comment #4 from Curtis Hamilton --- Here's the definition in sys/socket.h: /* * Header for ancillary data objects in msg_control buffer. * Used for additional information with/about a datagram * not expressible by flags. The format is a

[Bug go/86535] FreeBSD/PowerPC64 - Building Go Frontend support for gcc 7.3.0 fails

2018-07-16 Thread clhamilto at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86535 --- Comment #2 from Curtis Hamilton --- Created attachment 44402 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44402=edit Requested generated file I cannot find a definition for 'cmsghdr' in any header file. The only reference I see in

[Bug go/86535] New: FreeBSD/PowerPC64 - Building Go Frontend support for gcc 7.3.0 fails

2018-07-16 Thread clhamilto at gmail dot com
Priority: P3 Component: go Assignee: ian at airs dot com Reporter: clhamilto at gmail dot com CC: cmang at google dot com Target Milestone: --- While attempting to build GCC with GO frontend. It seems there are problems in the generated