[MacPorts] #18877: glib2 2.18.3 fails to build on x86_64 (universal)

MacPorts noreply at macports.org
Tue Mar 17 05:43:40 PDT 2009


#18877: glib2 2.18.3 fails to build on x86_64 (universal)
--------------------------------------+-------------------------------------
 Reporter:  keinstein_junior@…        |       Owner:  macports-tickets@…                   
     Type:  defect                    |      Status:  new                                  
 Priority:  Normal                    |   Milestone:  Port Bugs                            
Component:  ports                     |     Version:  1.7.0                                
 Keywords:                            |        Port:  glib2                                
--------------------------------------+-------------------------------------
 glib2 failed to build on x86_64 as universal architecture. It gave some
 wired Assembler error due to some i386 preprocessor flag which is set in
 config.h.

 libtool: compile:  /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I..
 -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED
 -DGLIB_COMPILATION -DPCRE_STATIC -I/opt/local/include -isysroot
 /Developer/SDKs/MacOSX10.5.sdk -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT
 -O2 -funroll-loops -fstrict-aliasing -isysroot
 /Developer/SDKs/MacOSX10.5.sdk -arch x86_64 -mmacosx-version-min=10.5
 -Wall -c gatomic.c  -fno-common -DPIC -o .libs/gatomic.o
 /var/tmp//ccJOoJtG.s:53:Incorrect register `%rdx' used with `l' suffix

 A workaround is to add

 configure.post_args \
     --host=x86_64-apple-darwin9 --target=x86_64-apple-darwin9
 --build=x86_64-apple-darwin9

 to the portfile. Omitting the build option lead to syntax errors in
 libtool.

-- 
Ticket URL: <http://trac.macports.org/ticket/18877>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list