{"action":"created","issue":{"url":"https://api.github.com/repos/open-mpi/ompi/issues/922","labels_url":"https://api.github.com/repos/open-mpi/ompi/issues/922/labels{/name}","comments_url":"https://api.github.com/repos/open-mpi/ompi/issues/922/comments","events_url":"https://api.github.com/repos/open-mpi/ompi/issues/922/events","html_url":"https://github.com/open-mpi/ompi/issues/922","id":107676116,"number":922,"title":"The v1.10.0 release package can't build on Power8 LE","user":{"login":"Zhiming-Wang","id":13884247,"avatar_url":"https://avatars.githubusercontent.com/u/13884247?v=3","gravatar_id":"","url":"https://api.github.com/users/Zhiming-Wang","html_url":"https://github.com/Zhiming-Wang","followers_url":"https://api.github.com/users/Zhiming-Wang/followers","following_url":"https://api.github.com/users/Zhiming-Wang/following{/other_user}","gists_url":"https://api.github.com/users/Zhiming-Wang/gists{/gist_id}","starred_url":"https://api.github.com/users/Zhiming-Wang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zhiming-Wang/subscriptions","organizations_url":"https://api.github.com/users/Zhiming-Wang/orgs","repos_url":"https://api.github.com/users/Zhiming-Wang/repos","events_url":"https://api.github.com/users/Zhiming-Wang/events{/privacy}","received_events_url":"https://api.github.com/users/Zhiming-Wang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-22T09:28:05Z","updated_at":"2015-09-22T12:26:33Z","closed_at":null,"body":"bot:milestone:v1.10.0\r\nbot:label:bug\r\nbot:assign: @jsquyres\r\n\r\nI downloaded the v1.10.0 release package from http://www.open-mpi.org/software/ompi/v1.10/downloads/openmpi-1.10.0.tar.gz and built it by xlc.\r\nThe building was failed on RHEL 7.1 Power8 LE.\r\nThe steps:\r\n$ ./configure --prefix=/home/wangzm/ompi-110rel-xlc-opt-p8le ... && make all install\r\n...\r\nmake[2]: Entering directory /tmp/tmp-dir/openmpi-1.10.0/ompi/mpi/fortran/use-mpi-ignore-tkr' FCLD libmpi_usempi_ignore_tkr.la /lib64/librt.so: could not read symbols: File in wrong format make[2]: *** [libmpi_usempi_ignore_tkr.la] Error 1 make[2]: Leaving directory/tmp/tmp-dir/openmpi-1.10.0/ompi/mpi/fortran/use-mpi-ignore-tkr'\r\nmake[1]: *** [all-recursive] Error 1\r\nmake[1]: Leaving directory `/tmp/tmp-dir/openmpi-1.10.0/ompi'\r\nmake: *** [all-recursive] Error 1\r\n$ cd /tmp/tmp-dir/openmpi-1.10.0/ompi/mpi/fortran/use-mpi-ignore-tkr\r\n$ make -n\r\necho \" FCLD \" libmpi_usempi_ignore_tkr.la;/bin/sh ../../../../libtool --silent --tag=FC --mode=link xlf -I../../../../ompi/include -I../../../../ompi/include -I../../../.. -I../../../.. -q64 -qarch=pwr8 -qtune=pwr8 -O3 -qxflag=nseq -version-info 6:0:0 -o libmpi_usempi_ignore_tkr.la -rpath /usr/local/lib mpi-ignore-tkr.lo mpi-ignore-tkr-sizeof.lo -lrt -lutil\r\n$ /bin/sh -x ../../../../libtool --silent --tag=FC --mode=link xlf -I../../../../ompi/include -I../../../../ompi/include -I../../../.. -I../../../.. -q64 -qarch=pwr8 -qtune=pwr8 -O3 -qxflag=nseq -version-info 6:0:0 -o libmpi_usempi_ignore_tkr.la -rpath /usr/local/lib mpi-ignore-tkr.lo mpi-ignore-tkr-sizeof.lo -lrt -lutil\r\n...\r\n++ cmd='/usr/bin/ld -m elf64ppc -shared .libs/mpi-ignore-tkr.o .libs/mpi-ignore-tkr-sizeof.o -lrt -lutil -soname libmpi_usempi_ignore_tkr.so.6 -o .libs/libmpi_usempi_ignore_tkr.so.6.0.0'\r\n\r\n    :\r\n    false\r\n    eval '/usr/bin/ld -m elf64ppc -shared .libs/mpi-ignore-tkr.o .libs/mpi-ignore-tkr-sizeof.o -lrt -lutil -soname libmpi_usempi_ignore_tkr.so.6 -o .libs/libmpi_usempi_ignore_tkr.so.6.0.0' ++ /usr/bin/ld -m elf64ppc -shared .libs/mpi-ignore-tkr.o .libs/mpi-ignore-tkr-sizeof.o -lrt -lutil -soname libmpi_usempi_ignore_tkr.so.6 -o .libs/libmpi_usempi_ignore_tkr.so.6.0.0 /lib64/librt.so: could not read symbols: File in wrong format\r\n    lt_exit=1\r\n    test link = relink\r\n    exit 1\r\n\r\nAs shown above, the \"elf64ppc\" option was used for \"/usr/bin/ld\". At Power8 LE, the \"elf64lppc\" should be used. I reran \"./autogen.pl\" at Power8 LE, the building was passed.\r\nI don't know how was \"configure\" file generated at release package. I think the Power BE and LE are not distinguished somewhere, so the \"elf64ppc\" option for Power BE is misapplied on Power LE platform.\r\n"},"comment":{"url":"https://api.github.com/repos/open-mpi/ompi/issues/comments/142272622","html_url":"https://github.com/open-mpi/ompi/issues/922#issuecomment-142272622","issue_url":"https://api.github.com/repos/open-mpi/ompi/issues/922","id":142272622,"user":{"login":"nysal","id":8509287,"avatar_url":"https://avatars.githubusercontent.com/u/8509287?v=3","gravatar_id":"","url":"https://api.github.com/users/nysal","html_url":"https://github.com/nysal","followers_url":"https://api.github.com/users/nysal/followers","following_url":"https://api.github.com/users/nysal/following{/other_user}","gists_url":"https://api.github.com/users/nysal/gists{/gist_id}","starred_url":"https://api.github.com/users/nysal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nysal/subscriptions","organizations_url":"https://api.github.com/users/nysal/orgs","repos_url":"https://api.github.com/users/nysal/repos","events_url":"https://api.github.com/users/nysal/events{/privacy}","received_events_url":"https://api.github.com/users/nysal/received_events","type":"User","site_admin":false},"created_at":"2015-09-22T12:26:33Z","updated_at":"2015-09-22T12:26:33Z","body":"@ggouaillardet The patch is for libtool < 2.4.3 (thats when the patch landed in libtool). I have really tested it on 2.4.2 only though. "}}