[MacPorts] #17903: exo: universal compilation failure... missing mmintrin.h
MacPorts
noreply at macports.org
Tue Jan 6 12:23:20 PST 2009
#17903: exo: universal compilation failure... missing mmintrin.h
-----------------------------------+----------------------------------------
Reporter: jeremyhu@… | Owner: afb@…
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.7.0
Keywords: compilation universal | Port: exo
-----------------------------------+----------------------------------------
builds fine -universal
{{{
/usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I..
-DDATADIR=\"/opt/local/share\" -DEXO_COMPILATION -DG_LOG_DOMAIN=\"exo\"
-DLIBEXECDIR=\"/opt/local/libexec\" -DLIBEXO_VERSION_API=\"0.3\"
-DPACKAGE_LOCALE_DIR=\"/opt/local/share/locale\" -I/opt/local/include
-isysroot /Developer/SDKs/MacOSX10.5.Internal.sdk
-I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include
-I/opt/local/include/atk-1.0 -I/opt/local/include/cairo
-I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0
-I/opt/local/lib/glib-2.0/include -I/opt/local/include
-I/opt/local/include/pixman-1 -I/opt/local/include/freetype2
-I/opt/local/include/libpng12 -I/opt/local/include/xfce4
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/local/include -O2 -isysroot /Developer/SDKs/MacOSX10.5.Internal.sdk
-arch ppc -arch i386 -mmacosx-version-min=10.5 -DNDEBUG
-DG_DISABLE_CAST_CHECKS -c exo-gdk-pixbuf-extensions.c -fno-common -DPIC
-o .libs/libexo_0_3_la-exo-gdk-pixbuf-extensions.o
exo-gdk-pixbuf-extensions.c:47:22: error: mmintrin.h: No such file or
directory
lipo: can't figure out the architecture type of: /var/tmp//ccwBinHS.out
make[3]: *** [libexo_0_3_la-exo-gdk-pixbuf-extensions.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
}}}
The problem is that mmintrin.h is available for i386 but not ppc:
{{{
~ $ /usr/bin/gcc-4.0 -c -O2 -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch
i386 -mmacosx-version-min=10.5 -I/opt/local/include -isysroot
/Developer/SDKs/MacOSX10.5.sdk conftest.c
~ $ /usr/bin/gcc-4.0 -c -O2 -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch
ppc -mmacosx-version-min=10.5 -I/opt/local/include -isysroot
/Developer/SDKs/MacOSX10.5.sdk conftest.c
conftest.c:63:22: error: mmintrin.h: No such file or directory
}}}
It looks like this port will need some split build / lipo magic like in
cairo...
--
Ticket URL: <http://trac.macports.org/ticket/17903>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list