From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23126 invoked by alias); 14 Jan 2013 14:00:46 -0000 Received: (qmail 23062 invoked by uid 48); 14 Jan 2013 14:00:30 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/55969] New: libgo fails to build on darwin Date: Mon, 14 Jan 2013 14:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" 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: 2013-01/txt/msg01169.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55969 Bug #: 55969 Summary: libgo fails to build on darwin Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: go AssignedTo: ian@airs.com ReportedBy: rguenth@gcc.gnu.org Target: x86_64-darwin Created attachment 29160 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29160 preprocessed source I get /Users/richard/obj/./gcc/xgcc -B/Users/richard/obj/./gcc/ -B/usr/local/x86_64-apple-darwin12.2.0/bin/ -B/usr/local/x86_64-apple-darwin12.2.0/lib/ -isystem /usr/local/x86_64-apple-darwin12.2.0/include -isystem /usr/local/x86_64-apple-darwin12.2.0/sys-include -DHAVE_CONFIG_H -I. -I../../../src/trunk/libgo -I ../../../src/trunk/libgo/runtime -I../../../src/trunk/libgo/../libffi/include -I../libffi/include -pthread -fexceptions -fplan9-extensions -Wall -Wextra -Wwrite-strings -Wcast-qual -Werror -minline-all-stringops -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I ../../../src/trunk/libgo/../libgcc -I ../../../src/trunk/libgo/../libbacktrace -I ../../gcc/include -O2 -g -MT go-main.o -MD -MP -MF .deps/go-main.Tpo -c -o go-main.o `test -f 'runtime/go-main.c' || echo '../../../src/trunk/libgo/'`runtime/go-main.c -save-temps In file included from ../../../src/trunk/libgo/runtime/runtime.h:18:0, from ../../../src/trunk/libgo/runtime/go-main.c:17: /usr/include/ucontext.h:43:2: error: #error The deprecated ucontext routines require _XOPEN_SOURCE to be defined #error The deprecated ucontext routines require _XOPEN_SOURCE to be defined ^