From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 55D113870C0A; Fri, 7 Aug 2020 16:54:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 55D113870C0A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1596819285; bh=ZME+4WrGUZTjOKrN7qCCpRk0ryydMOqb8SBsWe+1RYU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=aV2/x6KjWO7doBrHBF4ORn8VZohlaCHGM8JO6FNyXroerhEZMhXJH/ir4Yui78qSz xfYLzCYGUUD8NTbaHa1bZh6GohFAoWXCloii0RCoU9UYqJz3M0GsWhMBhsxpPv3SmE ZX5GYmwbzcA97/ExEpOb7JwkwlKDZEClNBWBUqBc= From: "clhamilto at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/86535] FreeBSD/PowerPC64 - Building Go Frontend support for gcc 7.3.0 fails Date: Fri, 07 Aug 2020 16:54:45 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: clhamilto at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Aug 2020 16:54:45 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86535 --- 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 have it working, here's the complete conte= nts of the file. package syscall // We can't use the gc-syntax .s files for gccgo. On the plus side // much of the functionality can be written directly in Go. func Syscall9(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err Errno) { Entersyscall() r, r2, errno :=3D Syscall9(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9) Exitsyscall() return r, 0, Errno(errno) } func syscall9(uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr) (uintptr, uintptr, Errno) Also, there was an earlier error that I manually changed. Any idea on how = to fix the below: runtime_sysinfo.go:580:6: error: invalid recursive type 580 | type _thread _thread |=