[MacPorts] #29107: qore: universal variant fails to build
MacPorts
noreply at macports.org
Thu Feb 23 11:09:07 PST 2012
#29107: qore: universal variant fails to build
-------------------------------------+--------------------------------------
Reporter: ryandesign@… | Owner: pvanek@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: universal | Port: qore
-------------------------------------+--------------------------------------
Changes (by pvanek@…):
* status: new => assigned
Comment:
I can reproduce it. At least.
David, can you test qore build withe these variables, please?
{{{
export CPATH='/opt/local/include'
export CFLAGS='-pipe -O2 -arch x86_64 -arch i386'
export CPPFLAGS='-I/opt/local/include'
export CXXFLAGS='-pipe -O2 -arch x86_64 -arch i386'
export LIBRARY_PATH='/opt/local/lib'
export F90FLAGS='-pipe -O2'
export LDFLAGS='-liconv -arch x86_64 -arch i386'
export OBJC='ccache /usr/bin/gcc-4.2'
export FCFLAGS='-pipe -O2'
export INSTALL='/usr/bin/install -c'
export OBJCFLAGS='-pipe -O2 -arch x86_64 -arch i386' FFLAGS='-pipe -O2'
export MACOSX_DEPLOYMENT_TARGET='10.6'
}}}
also I had to change configure.ac to build qpp (trunk)
{{{
Index: configure.ac
===================================================================
--- configure.ac (revision 4613)
+++ configure.ac (working copy)
@@ -312,7 +312,7 @@
fi
;;
*darwin*) if test "$GXX" = "yes"; then
- CXXFLAGS="$CXXFLAGS -m64"
+ xCXXFLAGS="$CXXFLAGS -m64"
fi
# set ARCH to x86_64 to be consistent with other intel
64-bit builds
if test "$host_cpu" = "i386"; then
}}}
I'll continue with this detective work tonight. It looks like
autotools/config script behaves differently in universal build. There are
many outputs like this one:
{{{
checking execinfo.h usability... no
checking execinfo.h presence... yes
configure: WARNING: execinfo.h: present but cannot be compiled
configure: WARNING: execinfo.h: check for missing prerequisite
headers?
configure: WARNING: execinfo.h: see the Autoconf documentation
configure: WARNING: execinfo.h: section "Present But Cannot Be
Compiled"
configure: WARNING: execinfo.h: proceeding with the compiler's result
configure: WARNING: ## ---------------------------------------------
##
configure: WARNING: ## Report this to David Nichols <david at qore.org>
##
configure: WARNING: ## ---------------------------------------------
##
checking for execinfo.h... no
}}}
--
Ticket URL: <https://trac.macports.org/ticket/29107#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list