Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Sep 2006 10:48:02 +0200
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        Liste FreeBSD-amd64 <freebsd-amd64@FreeBSD.org>
Subject:   make: strange behaviour when building net/mpich2.
Message-ID:  <20060917084802.GA29881@graf.pompo.net>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060917084802.GA29881>