From owner-freebsd-ports@FreeBSD.ORG Wed Nov 11 17:59:52 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68A121065670; Wed, 11 Nov 2009 17:59:52 +0000 (UTC) (envelope-from freebsd-ports@coreland.ath.cx) Received: from birch.site5.com (birch.site5.com [174.132.116.226]) by mx1.freebsd.org (Postfix) with ESMTP id 413A58FC0C; Wed, 11 Nov 2009 17:59:52 +0000 (UTC) Received: from dsl78-143-202-207.in-addr.fast.co.uk ([78.143.202.207] helo=viper.internal.network) by birch.site5.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1N8HTz-0003Dv-AX; Wed, 11 Nov 2009 11:59:51 -0600 Received: by viper.internal.network (Postfix, from userid 11001) id E06C14AC51; Wed, 11 Nov 2009 17:59:47 +0000 (GMT) Date: Wed, 11 Nov 2009 17:59:47 +0000 From: freebsd-ports@coreland.ath.cx To: Daniel Eischen Message-ID: <20091111175947.GA89826@logik.internal.network> References: <20091107212936.GB85348@logik.internal.network> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - birch.site5.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - coreland.ath.cx X-Source: X-Source-Args: X-Source-Dir: Cc: ports@freebsd.org, freebsd-ports@coreland.ath.cx Subject: Re: Improving Ada support on FreeBSD and in the ports system X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Nov 2009 17:59:52 -0000 On 2009-11-08 00:06:16, Daniel Eischen wrote: >=20 > Patches for amd64 support are also welcome. I thought you were > going to do a port for GNAT-gpl amd64? 'Lo. I just tried to compile the vanilla GNAT-GPL 2009 sources today and came across the following error: /gnat/gpl-2009/src/GNAT/obj/./gcc/xgcc -B/gnat/gpl-2009/src/GNAT/obj/./gc= c/ -B/usr/local/x86_64-unknown-freebsd7.2/bin/ -B/usr/local/x86_64-unknow= n-freebsd7.2/lib/ -isystem /usr/local/x86_64-unknown-freebsd7.2/include -= isystem /usr/local/x86_64-unknown-freebsd7.2/sys-include -g -fkeep-inline= -functions -O2 -O2 -g -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wst= rict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./i= nclude -fPIC -pthread -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT= _NOT_NEEDED -I. -I. -I../.././gcc -I../../../src/libgcc -I../../../src/= libgcc/. -I../../../src/libgcc/../gcc -I../../../src/libgcc/../include -= DHAVE_CC_TLS -o unwind-dw2.o -MT unwind-dw2.o -MD -MP -MF unwind-dw2.dep = -fexceptions -c ../../../src/libgcc/../gcc/unwind-dw2.c -fvisibility=3Dhi= dden -DHIDE_EXPORTS In file included from ../../../src/libgcc/../gcc/unwind-dw2.c:338: ../../../src/libgcc/../gcc/config/i386/freebsd-unwind.h: In function =E2=80= =98x86_freebsd_fallback_frame_state=E2=80=99: ../../../src/libgcc/../gcc/config/i386/freebsd-unwind.h:78: error: =E2=80= =98struct sigcontext=E2=80=99 has no member named =E2=80=98sc_esp=E2=80=99 ../../../src/libgcc/../gcc/config/i386/freebsd-unwind.h:85: error: =E2=80= =98struct sigcontext=E2=80=99 has no member named =E2=80=98sc_eax=E2=80=99 ../../../src/libgcc/../gcc/config/i386/freebsd-unwind.h:87: error: =E2=80= =98struct sigcontext=E2=80=99 has no member named =E2=80=98sc_ebx=E2=80=99 ../../../src/libgcc/../gcc/config/i386/freebsd-unwind.h:89: error: =E2=80= =98struct sigcontext=E2=80=99 has no member named =E2=80=98sc_ecx=E2=80=99 ../../../src/libgcc/../gcc/config/i386/freebsd-unwind.h:91: error: =E2=80= =98struct sigcontext=E2=80=99 has no member named =E2=80=98sc_edx=E2=80=99 ../../../src/libgcc/../gcc/config/i386/freebsd-unwind.h:93: error: =E2=80= =98struct sigcontext=E2=80=99 has no member named =E2=80=98sc_esi=E2=80=99 ../../../src/libgcc/../gcc/config/i386/freebsd-unwind.h:95: error: =E2=80= =98struct sigcontext=E2=80=99 has no member named =E2=80=98sc_edi=E2=80=99 ../../../src/libgcc/../gcc/config/i386/freebsd-unwind.h:97: error: =E2=80= =98struct sigcontext=E2=80=99 has no member named =E2=80=98sc_ebp=E2=80=99 ../../../src/libgcc/../gcc/config/i386/freebsd-unwind.h:99: error: =E2=80= =98struct sigcontext=E2=80=99 has no member named =E2=80=98sc_eip=E2=80=99 gmake[3]: *** [unwind-dw2.o] Error 1 gmake[3]: Leaving directory `/gnat/gpl-2009/src/GNAT/obj/x86_64-unknown-f= reebsd7.2/libgcc' gmake[2]: *** [all-stage1-target-libgcc] Error 2 gmake[2]: Leaving directory `/gnat/gpl-2009/src/GNAT/obj' gmake[1]: *** [stage1-bubble] Error 2 gmake[1]: Leaving directory `/gnat/gpl-2009/src/GNAT/obj' gmake: *** [all] Error 2 The actual GNAT part of the compiler appeared to compile without issue, u= sing the compiler from the lang/gnat-gcc44 port. The above, however, seems to = be a problem with the GCC core. It looks very i386 to me... There doesn't appear to be any explicit support for FreeBSD amd64/x86_64 in those GCC sources as far as I can tell and not being very familiar wit= h the GCC codebase, I'm not sure how much work it'll be to add them. Any ideas? M