atom feed1 message in org.freebsd.freebsd-amd64make: strange behaviour when building...
FromSent OnAttachments
Thierry ThomasSep 17, 2006 1:49 am 
Subject:make: strange behaviour when building net/mpich2.
From:Thierry Thomas (thie@FreeBSD.org)
Date:Sep 17, 2006 1:49:19 am
List:org.freebsd.freebsd-amd64

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?