I didn't ./autogen.sh after my git update. Maybe that's the issue. Anyways, I'm doing that now and then following Dave's instructions. Jeff ----- Original Message -----
From: "David Goodell (dgoodell)" <[email protected]> To: "<[email protected]>" <[email protected]> Cc: "Jeff Hammond" <[email protected]> Sent: Thursday, August 1, 2013 8:57:44 AM Subject: Re: [mpich-devel] hwloc build failing on Mac with GCC
From the error message, this is the sort of thing that usually shows up when "-arch x86_64" and "-arch i386" flags get dropped or mismatched somewhere in configure. Sometimes it's an "-m32"/"-m64" issue instead.
----8<---- CCLD hydra_persist ld: warning: ignoring file /Users/jhammond/eclipse/MPICH2/git/build-gcc/src/pm/hydra/tools/topo/hwloc/hwloc/src/.libs/libhwloc_embedded.a, file was built for archive which is not the architecture being linked (x86_64): /Users/jhammond/eclipse/MPICH2/git/build-gcc/src/pm/hydra/tools/topo/hwloc/hwloc/src/.libs/libhwloc_embedded.a Undefined symbols for architecture x86_64: ----8<----
One source of such a mismatch for me in the past has been differing 32/64 defaults between my C compiler and my Fortran compiler, though that doesn't seem likely in this case because:
1) all of your compilers are from MacPorts and presumably should have the same default;
2) this is an hydra/hwloc build error, so Fortran probably isn't entering into this.
"make clean", rebuild with V=1, and check for compiler argument mismatch between the hwloc files and the hydra files.
-Dave
On Aug 1, 2013, at 8:28 AM, Wesley Bland <[email protected]> wrote:
I used the exact same setup without an issue. I'm not sure what's going on.
On August 1, 2013 at 8:22:03 AM, Wesley Bland ([email protected]) wrote:
10.7.4 is the OS version, not the kernel version. I'm building on my laptop on the same version as you without any issues. I've been using GCC as well, but I'll try your exact config to see if something different happens for me.
Wesley
On July 31, 2013 at 6:33:34 PM, Jeff Hammond ([email protected]) wrote:
How different is 11.4.2 from 10.7.4? Seems like a big diff in the OS dimension.
I'd really like to try to narrow this down because I'm currently blocked on this w.r.t. an app I'm trying to run.
Jeff
----- Original Message -----
From: "Ken Raffenetti" <[email protected]> To: [email protected] Sent: Wednesday, July 31, 2013 5:40:55 PM Subject: Re: [mpich-devel] hwloc build failing on Mac with GCC
I'll just note that building on our OSX 10.7.4 test environment doesn't show any issues in this configuration.
----- Original Message -----
From: "Jeff Hammond" <[email protected]> To: [email protected] Sent: Wednesday, July 31, 2013 4:00:59 PM Subject: Re: [mpich-devel] hwloc build failing on Mac with GCC
Yes, that's right. Sorry. It's attached.
Jeff
----- Original Message -----
From: "Ken Raffenetti" <[email protected]> To: [email protected] Sent: Wednesday, July 31, 2013 3:51:01 PM Subject: Re: [mpich-devel] hwloc build failing on Mac with GCC
Maybe I'm missing something, but I fail to find a problem in the attachment. Did you mean to attach a make log?
----- Original Message -----
From: "Jeff Hammond" <[email protected]> To: "MPICH" <[email protected]> Sent: Wednesday, July 31, 2013 2:43:55 PM Subject: [mpich-devel] hwloc build failing on Mac with GCC
Am I stupid or is something broken? This is the git head as of a few minutes ago.
Note that the essence of the problem is in the attachment. I will not repeat it here.
Thanks,
Jeff
Jeffs-MacBook-Pro:build-gcc jhammond$ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/opt/local/libexec/gcc/x86_64-apple-darwin11/4.8.1/lto-wrapper Target: x86_64-apple-darwin11 Configured with: ../gcc-4.8.1/configure --prefix=/opt/local --build=x86_64-apple-darwin11 --enable-languages=c,c++,objc,obj-c++,lto,fortran,java --libdir=/opt/local/lib/gcc48 --includedir=/opt/local/include/gcc48 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --datarootdir=/opt/local/share/gcc-4.8 --with-local-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-mp-4.8 --with-gxx-include-dir=/opt/local/include/gcc48/c++/ --with-gmp=/opt/local --with-mpfr=/opt/local --with-mpc=/opt/local --with-ppl=/opt/local --with-cloog=/opt/local --enable-cloog-backend=isl --disable-cloog-version-check --enable-stage1-checking --disable-multilib --enable-lto --enable-libstdcxx-time --with-as=/opt/local/bin/as --with-ld=/opt/local/bin/ld --with-ar=/opt/local/bin/ar --with-bugurl=https://trac.macports.org/newticket --with-pkgversion='MacPorts gcc48 4.8.1_1' Thread model: posix gcc version 4.8.1 (MacPorts gcc48 4.8.1_1) Jeffs-MacBook-Pro:build-gcc jhammond$ g++ -v Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/opt/local/libexec/gcc/x86_64-apple-darwin11/4.8.1/lto-wrapper Target: x86_64-apple-darwin11 Configured with: ../gcc-4.8.1/configure --prefix=/opt/local --build=x86_64-apple-darwin11 --enable-languages=c,c++,objc,obj-c++,lto,fortran,java --libdir=/opt/local/lib/gcc48 --includedir=/opt/local/include/gcc48 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --datarootdir=/opt/local/share/gcc-4.8 --with-local-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-mp-4.8 --with-gxx-include-dir=/opt/local/include/gcc48/c++/ --with-gmp=/opt/local --with-mpfr=/opt/local --with-mpc=/opt/local --with-ppl=/opt/local --with-cloog=/opt/local --enable-cloog-backend=isl --disable-cloog-version-check --enable-stage1-checking --disable-multilib --enable-lto --enable-libstdcxx-time --with-as=/opt/local/bin/as --with-ld=/opt/local/bin/ld --with-ar=/opt/local/bin/ar --with-bugurl=https://trac.macports.org/newticket --with-pkgversion='MacPorts gcc48 4.8.1_1' Thread model: posix gcc version 4.8.1 (MacPorts gcc48 4.8.1_1) Jeffs-MacBook-Pro:build-gcc jhammond$ gfortran -v Using built-in specs. COLLECT_GCC=gfortran COLLECT_LTO_WRAPPER=/opt/local/libexec/gcc/x86_64-apple-darwin11/4.8.1/lto-wrapper Target: x86_64-apple-darwin11 Configured with: ../gcc-4.8.1/configure --prefix=/opt/local --build=x86_64-apple-darwin11 --enable-languages=c,c++,objc,obj-c++,lto,fortran,java --libdir=/opt/local/lib/gcc48 --includedir=/opt/local/include/gcc48 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --datarootdir=/opt/local/share/gcc-4.8 --with-local-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-mp-4.8 --with-gxx-include-dir=/opt/local/include/gcc48/c++/ --with-gmp=/opt/local --with-mpfr=/opt/local --with-mpc=/opt/local --with-ppl=/opt/local --with-cloog=/opt/local --enable-cloog-backend=isl --disable-cloog-version-check --enable-stage1-checking --disable-multilib --enable-lto --enable-libstdcxx-time --with-as=/opt/local/bin/as --with-ld=/opt/local/bin/ld --with-ar=/opt/local/bin/ar --with-bugurl=https://trac.macports.org/newticket --with-pkgversion='MacPorts gcc48 4.8.1_1' Thread model: posix gcc version 4.8.1 (MacPorts gcc48 4.8.1_1) Jeffs-MacBook-Pro:build-gcc jhammond$ uname -a Darwin Jeffs-MacBook-Pro.local 11.4.2 Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64 x86_64
-- Jeff Hammond Argonne Leadership Computing Facility University of Chicago Computation Institute [email protected] / (630) 252-5381 http://www.linkedin.com/in/jeffhammond https://wiki.alcf.anl.gov/parts/index.php/User:Jhammond ALCF docs: http://www.alcf.anl.gov/user-guides
-- Jeff Hammond Argonne Leadership Computing Facility University of Chicago Computation Institute [email protected] / (630) 252-5381 http://www.linkedin.com/in/jeffhammond https://wiki.alcf.anl.gov/parts/index.php/User:Jhammond ALCF docs: http://www.alcf.anl.gov/user-guides
-- Jeff Hammond Argonne Leadership Computing Facility University of Chicago Computation Institute [email protected] / (630) 252-5381 http://www.linkedin.com/in/jeffhammond https://wiki.alcf.anl.gov/parts/index.php/User:Jhammond ALCF docs: http://www.alcf.anl.gov/user-guides
-- Jeff Hammond Argonne Leadership Computing Facility University of Chicago Computation Institute [email protected] / (630) 252-5381 http://www.linkedin.com/in/jeffhammond https://wiki.alcf.anl.gov/parts/index.php/User:Jhammond ALCF docs: http://www.alcf.anl.gov/user-guides