From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23823 invoked by alias); 2 Sep 2011 06:40:49 -0000 Received: (qmail 23807 invoked by uid 22791); 2 Sep 2011 06:40:47 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_BJ,TW_JC X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 02 Sep 2011 06:40:33 +0000 From: "afb at users dot sourceforge.net" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/46986] Go is not supported on Darwin Date: Fri, 02 Sep 2011 06:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: afb at users dot sourceforge.net X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-09/txt/msg00098.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D46986 --- Comment #9 from Anders F Bj=C3=B6rklund 2011-09-02 06:40:28 UTC --- (In reply to comment #8) > > hello world tests OK on Snow Leopard, with patch >=20 > This patch fails on darwin11 when applied to gcc-4_6-branch... Seems like the patch worked (=3D didn't fail to apply), but that the build failed due to missing dependencies ? > f=3D`echo sort/sort.lo | sed -e 's/.lo$/.o/'`; missing-objcopy -j > __GNU_GO.__go_export $f sort.gox.tmp && mv -f sort.gox.tmp sort.gox > /bin/sh: missing-objcopy: command not found > make[4]: *** [sort.gox] Error 127 > make[4]: *** Waiting for unfinished jobs.... >=20 > It seems to required binutils to be installed (which we really want to av= oid). Yes, it requires OBJCOPY=3Dgobjcopy. Maybe this requirement should be replaced with some custom "gox-extract" tool ? Since the .go_export section name had to be changed, anyway: http://golang.org/doc/gccgo_install.html#Imports