make: strange behaviour when building net/mpich2.

Thierry Thomas thierry at FreeBSD.org
Sun Sep 17 01:49:38 PDT 2006


Hello,

I'm the maintainer of the port net/mpich2, and I have just committed the
following patch:

--- Makefile    6 Sep 2006 21:14:00 -0000       1.48
+++ Makefile    17 Sep 2006 08:40:21 -0000	1.49
@@ -194,6 +194,11 @@
 WITHOUT_JAVA=  yo      # No package for Java ATM
 .endif

+.if ${ARCH} == "amd64"
+# gmake should not be required, this is a work-around
+USE_GMAKE=     yes
+.endif
+
 PREFIX:=       ${PREFIX}/${PORTNAME}

 pre-configure:


The original problem has been reported to me by two users, Andrzej
Tobola and Jaroslaw Gruca: it was a linkage failure due to missing
symbols on amd64 / 7.0.

After investigations, I have noticed that with native make, compilation
stops at:

Making src/logging ....  make
/tmp/ports/mpich2/mpich2-1.0.4p1/src/mpe2/lib/libmpe_nompi.a
`/tmp/ports/mpich2/mpich2-1.0.4p1/src/mpe2/lib/libmpe_nompi.a' is up to
date.

On i386, or with gmake, libmpe_nompi.a is not considered "up to date",
and several objects are created in this subdirectory src/logging, and
then archived in the library. There is no configure issue, and the
generated Makefiles are normal.

Any idea?
-- 
Th. Thomas.


More information about the freebsd-amd64 mailing list