[Bug go/55969] New: libgo fails to build on darwin

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jan 14 14:00:00 GMT 2013


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
  ^



More information about the Gcc-bugs mailing list