Opened 16 years ago
Closed 15 years ago
#18959 closed defect (worksforme)
openmpi 1.3.1 build error
Reported by: | mf2k (Frank Schima) | Owned by: | mww@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | Cc: | raphael@…, lvcargnini@… | |
Port: | openmpi |
Description
I see the following build error with openmpi 1.3.1:
Running Mac OS X 10.5.6 Intel. Xcode 3.1.2.
Building with the g95 variant works though.
$ sudo port install openmpi ---> Fetching openmpi ---> Verifying checksum(s) for openmpi ---> Extracting openmpi ---> Configuring openmpi ---> Building openmpi Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_openmpi/work/build" && make all " returned error 2 Command output: /bin/sh ../../../../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -DNDEBUG -O2 -finline-functions -fno-strict-aliasing -fvisibility=hidden -module -avoid-version -export-dynamic -L/opt/local/lib -o mca_routed_linear.la -rpath /opt/local/lib/openmpi routed_linear.lo routed_linear_component.lo -lutil libtool: link: ar cru .libs/mca_routed_linear.a routed_linear.o routed_linear_component.o libtool: link: ranlib .libs/mca_routed_linear.a libtool: link: ( cd ".libs" && rm -f "mca_routed_linear.la" && ln -s "../mca_routed_linear.la" "mca_routed_linear.la" ) Making all in tools/orte-checkpoint make[2]: Nothing to be done for `all'. Making all in tools/orte-clean depbase=`echo orte-clean.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_openmpi/work/openmpi-1.3.1/orte/tools/orte-clean -I../../../opal/include -I../../../orte/include -I../../../ompi/include -I../../../opal/mca/paffinity/linux/plpa/src/libplpa -I/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_openmpi/work/openmpi-1.3.1 -I../../.. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_openmpi/work/openmpi-1.3.1/opal/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_openmpi/work/openmpi-1.3.1/orte/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_openmpi/work/openmpi-1.3.1/ompi/include -I/opt/local/include -D_REENTRANT -DNDEBUG -O2 -finline-functions -fno-strict-aliasing -fvisibility=hidden -MT orte-clean.o -MD -MP -MF $depbase.Tpo -c -o orte-clean.o /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_openmpi/work/openmpi-1.3.1/orte/tools/orte-clean/orte-clean.c &&\ mv -f $depbase.Tpo $depbase.Po /bin/sh ../../../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -DNDEBUG -O2 -finline-functions -fno-strict-aliasing -fvisibility=hidden -export-dynamic -L/opt/local/lib -o orte-clean orte-clean.o ../../../orte/libopen-rte.la -lutil libtool: link: /usr/bin/gcc-4.0 -DNDEBUG -O2 -finline-functions -fno-strict-aliasing -fvisibility=hidden -o orte-clean orte-clean.o -L/opt/local/lib ../../../orte/.libs/libopen-rte.a /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_openmpi/work/build/opal/.libs/libopen-pal.a -lutil Creating orte-clean.1 man page... Making all in tools/orte-iof depbase=`echo orte-iof.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_openmpi/work/openmpi-1.3.1/orte/tools/orte-iof -I../../../opal/include -I../../../orte/include -I../../../ompi/include -I../../../opal/mca/paffinity/linux/plpa/src/libplpa -I/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_openmpi/work/openmpi-1.3.1 -I../../.. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_openmpi/work/openmpi-1.3.1/opal/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_openmpi/work/openmpi-1.3.1/orte/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_openmpi/work/openmpi-1.3.1/ompi/include -I/opt/local/include -D_REENTRANT -DNDEBUG -O2 -finline-functions -fno-strict-aliasing -fvisibility=hidden -MT orte-iof.o -MD -MP -MF $depbase.Tpo -c -o orte-iof.o /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_openmpi/work/openmpi-1.3.1/orte/tools/orte-iof/orte-iof.c &&\ mv -f $depbase.Tpo $depbase.Po /bin/sh ../../../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -DNDEBUG -O2 -finline-functions -fno-strict-aliasing -fvisibility=hidden -export-dynamic -L/opt/local/lib -o orte-iof orte-iof.o ../../../orte/libopen-rte.la -lutil libtool: link: /usr/bin/gcc-4.0 -DNDEBUG -O2 -finline-functions -fno-strict-aliasing -fvisibility=hidden -o orte-iof orte-iof.o -L/opt/local/lib ../../../orte/.libs/libopen-rte.a /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_openmpi/work/build/opal/.libs/libopen-pal.a -lutil Undefined symbols: "_orte_iof", referenced from: _orte_iof$non_lazy_ptr in orte-iof.o "_orte_routed", referenced from: _orte_routed$non_lazy_ptr in libopen-rte.a(hnp_contact.o) _orte_routed$non_lazy_ptr in libopen-rte.a(rml_base_contact.o) ld: symbol(s) not found collect2: ld returned 1 exit status make[2]: *** [orte-iof] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 Error: Status 1 encountered during processing.
Change History (6)
comment:1 Changed 16 years ago by raphael@…
Cc: | raphael@… added |
---|
comment:2 Changed 16 years ago by mf2k (Frank Schima)
It looks like this problem is still happening with version 1.3.2.
comment:3 Changed 16 years ago by mf2k (Frank Schima)
Cc: | lvcargnini@… added |
---|
Cc'ing reporter of duplicate #19422.
comment:5 Changed 16 years ago by lvcargnini@…
Probelm related.
Why it do not use MacPort Compiler even using gcc_select ?
/bin/sh ../../../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -DNDEBUG -O2 -finline-functions -fno-strict-aliasing -fvisibility=hidden -export-dynamic -L/opt/local/lib -o orte-iof orte-iof.o ../../../orte/libopen-rte.la -lutil libtool: link: /usr/bin/gcc-4.0 -DNDEBUG -O2 -finline-functions -fno-strict-aliasing -fvisibility=hidden -o orte-iof orte-iof.o -L/opt/local/lib ../../../orte/.libs/libopen-rte.a /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_openmpi/work/build/opal/.libs/libopen-pal.a -lutil Undefined symbols:
"_orte_iof", referenced from:
_orte_iof$non_lazy_ptr in orte-iof.o
"_orte_routed", referenced from:
_orte_routed$non_lazy_ptr in libopen-rte.a(hnp_contact.o) _orte_routed$non_lazy_ptr in libopen-rte.a(rml_base_contact.o)
ld: symbol(s) not found collect2: ld returned 1 exit status make[2]: * [orte-iof] Error 1 make[1]: * [all-recursive] Error 1 make: * [all-recursive] Error 1
comment:6 Changed 15 years ago by mf2k (Frank Schima)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
This is no longer a problem for me with version 1.4.1. At least on Snow Leopard.
Cc Me!