<div dir="ltr"><div><span style="font-family:arial,sans-serif;font-size:13px">Could you post the offending lines in the assembly file?</span></div><div><span style="font-family:arial,sans-serif;font-size:13px">  helper_fns.s: Assembler messages:</span><br>
</div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"></blockquote><span style="font-family:arial,sans-serif;font-size:13px">  helper_fns.s:851: Error: number of operands mismatch for `mov'</span><br><span style="font-family:arial,sans-serif;font-size:13px">  helper_fns.s:859: Error: number of operands mismatch for `mov'</span><div>
<font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif"><br></font><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div></div></div><div class="gmail_extra"><br clear="all">
<div><div dir="ltr">--Junchao Zhang</div></div>
<br><br><div class="gmail_quote">On Sat, Nov 23, 2013 at 11:31 PM, Lou Picciano <span dir="ltr"><<a href="mailto:loupicciano@comcast.net" target="_blank">loupicciano@comcast.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Junchao,<br>
<br>
Tests you propose - on our 32-bit attempt - are below. I hope something is useful!:<br>
<div class="im"><br>
----- Original Message -----<br>
From: "Junchao Zhang" <<a href="mailto:jczhang@mcs.anl.gov">jczhang@mcs.anl.gov</a>><br>
To: <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
</div><div class="im">Sent: Saturday, November 23, 2013 10:02:04 PM<br>
Subject: Re: [mpich-discuss] Assembler messages at build ?<br>
<br>
</div><div class="im">Hi, Lou,<br>
It seems you met a compiler bug which shows up at the assemble stage.<br>
</div>Let's look at what it is. Try make V=1 src/mpi/coll/helper_fns.lo ...<br>
<div class="im"><br>
Copy the command which gcc used to compile helper_fns.c , Then add extra flags " -v -save-temps" to the command. You should find the error happens at which line of the helper_fns.s file. Let's see what you will find.<br>

Thanks.<br>
<br>
--Junchao Zhang<br>
<br>
</div>>>> ---------------<br>
<br>
$ gcc -v -save-temps -DHAVE_CONFIG_H -I. -I./src/include  -I./src/include -I./src/mpi/datatype -I./src/mpi/spawn -Isrc/util/logging/common -I./src/util/wrappers -I./src/util/wrappers -I./src/binding/cxx -I/datapool/home/drlou/Downloads/mpich-3.0.4/src/binding/f77 -Isrc/binding/f90 -I./src/mpid/ch3/include -I./src/mpid/ch3/include  -I./src/mpid/ch3/channels/nemesis/include -I./src/mpid/ch3/channels/nemesis/include -I./src/mpid/ch3/channels/nemesis/utils/monitor<br>

 -I./src/mpid/common/datatype -I./src/mpid/common/datatype -I./src/mpid/common/sched   -I./src/mpid/common/thread   -I./src/pmi/simple  -I/datapool/home/drlou/Downloads/mpich-3.0.4/src/mpl/include -I/datapool/home/drlou/Downloads/mpich-3.0.4/src/mpl/include -I/datapool/home/drlou/Downloads/mpich-3.0.4/src/openpa/src -I/datapool/home/drlou/Downloads/mpich-3.0.4/src/openpa/src -I/datapool/home/drlou/Downloads/mpich-3.0.4/src/mpi/romio/include  -m3epbase.Tpo -c -o src/mpi/coll/helper_fns.lo src/mpi/coll/helper_fns.c<br>

<br>
Using built-in specs.<br>
COLLECT_GCC=gcc<br>
Target: i386-pc-solaris2.11<br>
Configured with: /data/jenkins/jobs/oi-userland/workspace/components/gcc47/gcc-4.7.3/configure CC=/usr/gcc/4.7/bin/gcc CXX=/usr/gcc/4.7/bin/g++ CFLAGS='-g -O2' CXXFLAGS=' ' LDFLAGS=-m32 PKG_CONFIG_PATH=/usr/lib/pkgconfig --prefix=/usr/gcc/4.7 --mandir=/usr/gcc/4.7/share/man --bindir=/usr/gcc/4.7/bin --libdir=/usr/gcc/4.7/lib --sbindir=/usr/gcc/4.7/sbin --sbindir=/usr/gcc/4.7/bin --libdir=/usr/gcc/4.7/lib --libexecdir=/usr/gcc/4.7/lib --host i386-pc-solaris2.11 --build i386-pc-solaris2.11 --target i386-pc-solaris2.11 --with-boot-ldflags=-R/usr/gcc/4.7/lib --enable-plugins --enable-objc-gc --enable-languages=c,c++,fortran,lto,objc --enable-ld=no --with-as=/usr/bin/gas --with-gnu-as --with-build-time-tools=/usr/gnu/i386-pc-solaris2.11/bin --disable-libitm LDFLAGS=-R/usr/gcc/4.7/lib<br>

Thread model: posix<br>
gcc version 4.7.3 (GCC)<br>
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-D' 'HAVE_CONFIG_H' '-I' '.' '-I' './src/include' '-I' './src/include' '-I' './src/mpi/datatype' '-I' './src/mpi/spawn' '-I' 'src/util/logging/common' '-I' './src/util/wrappers' '-I' './src/util/wrappers' '-I' './src/binding/cxx' '-I' '/datapool/home/drlou/Downloads/mpich-3.0.4/src/binding/f77' '-I' 'src/binding/f90' '-I' './src/mpid/ch3/include' '-I' './src/mpid/ch3/include' '-I' './src/mpid/ch3/channels/nemesis/include' '-I' './src/mpid/ch3/channels/nemesis/include' '-I' './src/mpid/ch3/channels/nemesis/utils/monitor' '-I' './src/mpid/common/datatype' '-I' './src/mpid/common/datatype' '-I' './src/mpid/common/sched' '-I' './src/mpid/common/thread' '-I' './src/pmi/simple' '-I' '/datapool/home/drlou/Downloads/mpich-3.0.4/src/mpl/include' '-I' '/datapool/home/drlou/Downloads/mpich-3.0.4/src/mpl/include' '-I' '/datapool/home/drlou/Downloads/mpich-3.0.4/src/openpa/src' '-I' '/datapool/home/drlou/Downloads/mpich-3.0.4/src/openpa/src' '-I' '/<br>

 datapool/home/drlou/Downloads/mpich-3.0.4/src/mpi/romio/include' '-m32' '-O2' '-MT' 'src/mpi/coll/helper_fns.lo' '-MD' '-MP' '-MF' '.Tpo' '-c' '-o' 'src/mpi/coll/helper_fns.lo' '-mtune=generic' '-march=pentium4'<br>

 /usr/gcc/4.7/lib/gcc/i386-pc-solaris2.11/4.7.3/cc1 -E -quiet -v -I . -I ./src/include -I ./src/include -I ./src/mpi/datatype -I ./src/mpi/spawn -I src/util/logging/common -I ./src/util/wrappers -I ./src/util/wrappers -I ./src/binding/cxx -I /datapool/home/drlou/Downloads/mpich-3.0.4/src/binding/f77 -I src/binding/f90 -I ./src/mpid/ch3/include -I ./src/mpid/ch3/include -I ./src/mpid/ch3/channels/nemesis/include -I ./src/mpid/ch3/channels/nemesis/include -I ./src/mpid/ch3/channels/nemesis/utils/monitor -I ./src/mpid/common/datatype -I ./src/mpid/common/datatype -I ./src/mpid/common/sched -I ./src/mpid/common/thread -I ./src/pmi/simple -I /datapool/home/drlou/Downloads/mpich-3.0.4/src/mpl/include -I /datapool/home/drlou/Downloads/mpich-3.0.4/src/mpl/include -I /datapool/home/drlou/Downloads/mpich-3.0.4/src/openpa/src -I /datapool/home/drlou/Downloads/mpich-3.0.4/src/openpa/src -I /datapool/home/drlou/Downloads/mpich-3.0.4/src/mpi/romio/include -MD src/mpi/coll/helper_fns.d -MF<br>

 .Tpo -MP -MT src/mpi/coll/helper_fns.lo -D HAVE_CONFIG_H src/mpi/coll/helper_fns.c -m32 -mtune=generic -march=pentium4 -O2 -fpch-preprocess -o helper_fns.i<br>
ignoring nonexistent directory "/usr/gcc/4.7/lib/gcc/i386-pc-solaris2.11/4.7.3/include-fixed"<br>
ignoring nonexistent directory "/usr/gcc/4.7/lib/gcc/i386-pc-solaris2.11/4.7.3/../../../../i386-pc-solaris2.11/include"<br>
ignoring duplicate directory "./src/include"<br>
ignoring duplicate directory "./src/util/wrappers"<br>
ignoring duplicate directory "./src/mpid/ch3/include"<br>
ignoring duplicate directory "./src/mpid/ch3/channels/nemesis/include"<br>
ignoring duplicate directory "./src/mpid/common/datatype"<br>
ignoring duplicate directory "/datapool/home/drlou/Downloads/mpich-3.0.4/src/mpl/include"<br>
ignoring duplicate directory "/datapool/home/drlou/Downloads/mpich-3.0.4/src/openpa/src"<br>
#include "..." search starts here:<br>
#include <...> search starts here:<br>
 .<br>
 ./src/include<br>
 ./src/mpi/datatype<br>
 ./src/mpi/spawn<br>
 src/util/logging/common<br>
 ./src/util/wrappers<br>
 ./src/binding/cxx<br>
 /datapool/home/drlou/Downloads/mpich-3.0.4/src/binding/f77<br>
 src/binding/f90<br>
 ./src/mpid/ch3/include<br>
 ./src/mpid/ch3/channels/nemesis/include<br>
 ./src/mpid/ch3/channels/nemesis/utils/monitor<br>
 ./src/mpid/common/datatype<br>
 ./src/mpid/common/sched<br>
 ./src/mpid/common/thread<br>
 ./src/pmi/simple<br>
 /datapool/home/drlou/Downloads/mpich-3.0.4/src/mpl/include<br>
 /datapool/home/drlou/Downloads/mpich-3.0.4/src/openpa/src<br>
 /datapool/home/drlou/Downloads/mpich-3.0.4/src/mpi/romio/include<br>
 /usr/gcc/4.7/lib/gcc/i386-pc-solaris2.11/4.7.3/include<br>
 /usr/local/include<br>
 /usr/gcc/4.7/include<br>
 /usr/include<br>
End of search list.<br>
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-D' 'HAVE_CONFIG_H' '-I' '.' '-I' './src/include' '-I' './src/include' '-I' './src/mpi/datatype' '-I' './src/mpi/spawn' '-I' 'src/util/logging/common' '-I' './src/util/wrappers' '-I' './src/util/wrappers' '-I' './src/binding/cxx' '-I' '/datapool/home/drlou/Downloads/mpich-3.0.4/src/binding/f77' '-I' 'src/binding/f90' '-I' './src/mpid/ch3/include' '-I' './src/mpid/ch3/include' '-I' './src/mpid/ch3/channels/nemesis/include' '-I' './src/mpid/ch3/channels/nemesis/include' '-I' './src/mpid/ch3/channels/nemesis/utils/monitor' '-I' './src/mpid/common/datatype' '-I' './src/mpid/common/datatype' '-I' './src/mpid/common/sched' '-I' './src/mpid/common/thread' '-I' './src/pmi/simple' '-I' '/datapool/home/drlou/Downloads/mpich-3.0.4/src/mpl/include' '-I' '/datapool/home/drlou/Downloads/mpich-3.0.4/src/mpl/include' '-I' '/datapool/home/drlou/Downloads/mpich-3.0.4/src/openpa/src' '-I' '/datapool/home/drlou/Downloads/mpich-3.0.4/src/openpa/src' '-I' '/<br>

 datapool/home/drlou/Downloads/mpich-3.0.4/src/mpi/romio/include' '-m32' '-O2' '-MT' 'src/mpi/coll/helper_fns.lo' '-MD' '-MP' '-MF' '.Tpo' '-c' '-o' 'src/mpi/coll/helper_fns.lo' '-mtune=generic' '-march=pentium4'<br>

 /usr/gcc/4.7/lib/gcc/i386-pc-solaris2.11/4.7.3/cc1 -fpreprocessed helper_fns.i -quiet -dumpbase helper_fns.c -m32 -mtune=generic -march=pentium4 -auxbase-strip src/mpi/coll/helper_fns.lo -O2 -version -o helper_fns.s<br>

GNU C (GCC) version 4.7.3 (i386-pc-solaris2.11)<br>
        compiled by GNU C version 4.7.3, GMP version 5.0.5, MPFR version 3.1.2, MPC version 1.0.1<br>
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072<br>
GNU C (GCC) version 4.7.3 (i386-pc-solaris2.11)<br>
        compiled by GNU C version 4.7.3, GMP version 5.0.5, MPFR version 3.1.2, MPC version 1.0.1<br>
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072<br>
Compiler executable checksum: c7fe0bd573806c06972d4854854faddb<br>
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-D' 'HAVE_CONFIG_H' '-I' '.' '-I' './src/include' '-I' './src/include' '-I' './src/mpi/datatype' '-I' './src/mpi/spawn' '-I' 'src/util/logging/common' '-I' './src/util/wrappers' '-I' './src/util/wrappers' '-I' './src/binding/cxx' '-I' '/datapool/home/drlou/Downloads/mpich-3.0.4/src/binding/f77' '-I' 'src/binding/f90' '-I' './src/mpid/ch3/include' '-I' './src/mpid/ch3/include' '-I' './src/mpid/ch3/channels/nemesis/include' '-I' './src/mpid/ch3/channels/nemesis/include' '-I' './src/mpid/ch3/channels/nemesis/utils/monitor' '-I' './src/mpid/common/datatype' '-I' './src/mpid/common/datatype' '-I' './src/mpid/common/sched' '-I' './src/mpid/common/thread' '-I' './src/pmi/simple' '-I' '/datapool/home/drlou/Downloads/mpich-3.0.4/src/mpl/include' '-I' '/datapool/home/drlou/Downloads/mpich-3.0.4/src/mpl/include' '-I' '/datapool/home/drlou/Downloads/mpich-3.0.4/src/openpa/src' '-I' '/datapool/home/drlou/Downloads/mpich-3.0.4/src/openpa/src' '-I' '/<br>

 datapool/home/drlou/Downloads/mpich-3.0.4/src/mpi/romio/include' '-m32' '-O2' '-MT' 'src/mpi/coll/helper_fns.lo' '-MD' '-MP' '-MF' '.Tpo' '-c' '-o' 'src/mpi/coll/helper_fns.lo' '-mtune=generic' '-march=pentium4'<br>

 /usr/bin/gas -v -I . -I ./src/include -I ./src/include -I ./src/mpi/datatype -I ./src/mpi/spawn -I src/util/logging/common -I ./src/util/wrappers -I ./src/util/wrappers -I ./src/binding/cxx -I /datapool/home/drlou/Downloads/mpich-3.0.4/src/binding/f77 -I src/binding/f90 -I ./src/mpid/ch3/include -I ./src/mpid/ch3/include -I ./src/mpid/ch3/channels/nemesis/include -I ./src/mpid/ch3/channels/nemesis/include -I ./src/mpid/ch3/channels/nemesis/utils/monitor -I ./src/mpid/common/datatype -I ./src/mpid/common/datatype -I ./src/mpid/common/sched -I ./src/mpid/common/thread -I ./src/pmi/simple -I /datapool/home/drlou/Downloads/mpich-3.0.4/src/mpl/include -I /datapool/home/drlou/Downloads/mpich-3.0.4/src/mpl/include -I /datapool/home/drlou/Downloads/mpich-3.0.4/src/openpa/src -I /datapool/home/drlou/Downloads/mpich-3.0.4/src/openpa/src -I /datapool/home/drlou/Downloads/mpich-3.0.4/src/mpi/romio/include -V -Qy -s --32 -o src/mpi/coll/helper_fns.lo helper_fns.s<br>

GNU assembler version 2.23.1 (i386-pc-solaris2.11) using BFD version (GNU Binutils) 2.23.1<br>
helper_fns.s: Assembler messages:<br>
helper_fns.s:851: Error: number of operands mismatch for `mov'<br>
helper_fns.s:859: Error: number of operands mismatch for `mov'<br>
<br>
>>> ---------------<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
On Sat, Nov 23, 2013 at 11:13 AM, Lou Picciano < <a href="mailto:loupicciano@comcast.net">loupicciano@comcast.net</a> > wrote:<br>
<br>
<br>
mpich Wizards,<br>
<br>
Trying our first build of mpich-3.0.4, and seeing Assembler messages at build time:<br>
(there are clearly a lot of config options to become familiar with; but, as a first pass):<br>
<br>
Configure is:<br>
./configure --prefix=/usr/local/mpi32 \<br>
CFLAGFS="-m32" FFLAGS="-m32" \<br>
| tee c.txt<br>
<br>
$ make<br>
...<br>
CC src/mpi/attr/attrutil.lo<br>
CC src/mpi/attr/dup_fn.lo<br>
CC src/mpi/coll/allred_group.lo<br>
CC src/mpi/coll/barrier_group.lo<br>
CC src/mpi/coll/helper_fns.lo<br>
/var/tmp//ccf4aaqC.s: Assembler messages:<br>
/var/tmp//ccf4aaqC.s:851: Error: number of operands mismatch for `mov'<br>
/var/tmp//ccf4aaqC.s:859: Error: number of operands mismatch for `mov'<br>
make[2]: *** [src/mpi/coll/helper_fns.lo] Error 1<br>
make[2]: Leaving directory `<build_path>/mpich-3.0.4'<br>
make[1]: *** [all-recursive] Error 1<br>
<br>
gcc 4.7.3<br>
Platform is i86 OpenIndiana (Illumos, Solaris-ish)<br>
<br>
Can anyone point me in the right direction?<br>
<br>
Lou<br>
_______________________________________________<br>
discuss mailing list <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
<br>
<br>
_______________________________________________<br>
discuss mailing list     <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
_______________________________________________<br>
discuss mailing list     <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
</div></div></blockquote></div><br></div>