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 f
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 now
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 f
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
> th
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 unle
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,
fro
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:
/usr/ports/lang/gcc9/work/gcc-9-20190217/libgo/go/runtime/os_freebsd.
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&action=edit
Patch to fix undefined types in sysinfo.go and runtime_sysinfo.go
This patch resolves many of the undefines
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 referr
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&action=edit
FreeBSD/X86_64 GCC8 build log
GccGo doesn't build on FreeBSD X86 either. It has similar issues to those I
g
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
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&action=edit
Requested generated file
I cannot find a definition for 'cmsghdr' in any header file. The only
reference I s
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
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
/usr/ports/lang/gcc7/work/gcc-
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?
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/
-B/usr/local/powe
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 the
: 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"
18 matches
Mail list logo