[MacPorts] #34552: mysql55 - using builtin readline breaks building
Ryan Schmidt
ryandesign at macports.org
Wed May 23 17:54:36 PDT 2012
On May 23, 2012, at 19:39, Bradley Giesbrecht wrote:
> I see this in Bjarne's log file.
> ...
> :debug:main OS darwin/11.3.0 (Mac OS X 10.7) arch i386
> ...
> :info:build cd /macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql55/mysql55/work/mysql-5.5.24/storage/innobase && /usr/bin/clang -DHAVE_CONFIG_H -DUNIV_MUST_NOT_INLINE -DHAVE_IB_GCC_ATOMIC_BUILTINS=1 -DHAVE_IB_ATOMIC_PTHREAD_T_GCC=1 -DSIZEOF_PTHREAD_T=8 -pipe -O2 -arch x86_64 -O3 -DNDEBUG -DDBUG_OFF -arch x86_64 -I/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql55/mysql55/work/mysql-5.5.24/include -I/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql55/mysql55/work/mysql-5.5.24/storage/innobase/include -I/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql55/mysql55/work/mysql-5.5.24/storage/innobase/handler -I/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql55/mysql55/work/mysql-5.5.24/sql -I/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql55/mysql55/work/mysql-5.5.24/regex -I/macports/include -I/macports/include -o CMakeFiles/innobase.dir/dict/dict0load.c.o -c /macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql55/mysql55/work/mysql-5.5.24/storage/innobase/dict/dict0load.c
> ...
>
> Wouldn't this arch mismatch be a problem?
>
> If so, how do I fix it?
> This port uses the cmake PortGroup which I'm guessing is UsingTheRightCompiler.
> https://trac.macports.org/wiki/UsingTheRightCompiler
>
> I'll look for hardcoded -arch in the sources.
I don't see an arch mismatch? I see a computer running Lion (which always requires an x86_64 processor; the "arch i386" refers to the architecture of the kernel, which is irrelevant), and I see it compiling with "-arch x86_64" which is as it should be.
More information about the macports-dev
mailing list