Problems building openmpi, 10.6.8, xcode 4

Tim Harder mail at tim-harder.de
Tue Jul 26 05:04:36 PDT 2011


Hey Ryan,

that seems to have done the job ..

I removed the
--with-xgrid
line from the openmpi portfile and added the line
configure.compiler gcc-4.2

compiled fine.

Thanks
Tim


On 7/26/11 11:10 AM, Ryan Schmidt wrote:
> On Jul 26, 2011, at 03:46, Tim Harder wrote:
>
>> I am trying to install openmpi via Macport 2.0 but am running into trouble while building.
>>
>> * from the main.log .. snip
>> :info:build make[9]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_openmpi/openmpi/work/build/ompi/contrib/vt/vt/extlib/otf/tools/otfprofile'
>> :info:build   CXX    otfprofile-otfprofile.o
>> :info:build   CXX    otfprofile-CSVParse.o
>> :info:build   CXX    otfprofile-DataStructure.o
>> :info:build   CXX    otfprofile-Handler.o
>> :info:build   CXX    otfprofile-Prodtex.o
>> :info:build   CXX    otfprofile-Summary.o
>> :info:build   CXXLD  otfprofile
>> :info:build Undefined symbols for architecture x86_64:
>> :info:build   "___builtin_expect", referenced from:
>> :info:build       _main.omp_fn.0 in otfprofile-otfprofile.o
>> :info:build ld: symbol(s) not found for architecture x86_64
>> :info:build collect2: ld returned 1 exit status
>> :info:build make[9]: *** [otfprofile] Error 1
>> * .. snap ..
>>
>>
>> I am using a 2011 MBP with SnowLeopard (10.6.8) and the latest XCode for Snow Leopard (4.0 I believe).
> Possibly the same llvm-gcc-4.2 issue Lion users see:
>
> https://trac.macports.org/ticket/30330
>
>
>


More information about the macports-users mailing list