Improving Ada support on FreeBSD and in the ports system

Daniel Eischen deischen at freebsd.org
Wed Nov 11 20:07:39 UTC 2009


On Wed, 11 Nov 2009, freebsd-ports at coreland.ath.cx wrote:

> On 2009-11-11 14:48:35, Daniel Eischen wrote:
>>> /gnat/gpl-2009/src/GNAT/obj/./gcc/xgcc -B/gnat/gpl-2009/src/GNAT/obj/./gcc/ -B/usr/local/x86_64-unknown-freebsd7.2/bin/ -B/usr/local/x86_64-unknown-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 -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include   -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=hidden -DHIDE_EXPORTS
>>> In file included from ../../../src/libgcc/../gcc/unwind-dw2.c:338:
>>> ../../../src/libgcc/../gcc/config/i386/freebsd-unwind.h: In function ‘x86_freebsd_fallback_frame_state’:
>>
>> I guess I'm confused.  Why is it using config/i386 if it is
>> trying to build x86_64?  Check the port to see if it forces
>> target i386...
>
> Oh, this wasn't your port, this was just the vanilla source package
> taken from libre.adacore.com.
>
> The port has some extra complexity (downloading bootstrap
> binaries, etc) that I wanted to avoid until I knew it actually
> built without (much) modification.

Oh, I see.  Did you configure it with host=i386-unknown-freebsd
and target=amd64-unknown-freebsd (or is it x86_64?)?

It looks like libgcc might not have support for x86_64
FreeBSD??

-- 
DE


More information about the freebsd-ports mailing list