[MacPorts] #25598: GNAT GPL 2010 now available, update portfile to use it?

MacPorts noreply at macports.org
Sat Mar 12 04:06:44 PST 2011


#25598: GNAT GPL 2010 now available, update portfile to use it?
-----------------------------+----------------------------------------------
 Reporter:  sjs@…            |       Owner:  krischik@…           
     Type:  update           |      Status:  assigned             
 Priority:  Normal           |   Milestone:                       
Component:  ports            |     Version:                       
 Keywords:                   |        Port:  gnat-gcc             
-----------------------------+----------------------------------------------

Comment(by jarimatti@…):

 Hi,

 Compiling using test.command and GCC 4.5.2 fails at:

 {{{
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang
 /gnat-gcc/work/build/./gcc/xgcc
 -B/opt/local/var/macports/sources/rsync.macports.org/release/ports/lang
 /gnat-gcc/work/build/./gcc/ -B/opt/local/x86_64-apple-darwin10/bin/
 -B/opt/local/x86_64-apple-darwin10/lib/ -isystem /opt/local/x86_64-apple-
 darwin10/include -isystem /opt/local/x86_64-apple-darwin10/sys-include
 -c -g -O2 -m32 -fPIC -pipe  -W -Wall -gnatpg -m32  a-direct.adb -o
 a-direct.o
 a-direct.adb:676:13: warning: types for unchecked conversion have
 different sizes
 make[8]: *** [a-direct.o] Error 1
 make[7]: *** [gnatlib] Error 2
 make[6]: *** [gnatlib-shared-darwin] Error 2
 make[5]: *** [gnatlib-shared] Error 2
 make[4]: *** [gnatlib-shared] Error 2
 make[3]: *** [multi-do] Error 1
 make[2]: *** [all] Error 2
 make[1]: *** [all-target-libada] Error 2
 make: *** [all] Error 2
 }}}

 The error report comes from a-direct.adb, procedure Fetch_Next_Entry.
 Reading the build output I see that ADAFLAGS and CFLAGS both contain
 "-m32", which could explain the error (I'm compiling on iMac i3, SL
 10.6.6). The error is in conversion between System.Address and access
 value, if I read it correctly.

 Any idea where to fix those '-m32' flags?

-- 
Ticket URL: <https://trac.macports.org/ticket/25598#comment:10>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list