From owner-freebsd-amd64@FreeBSD.ORG Sun Sep 17 08:49:38 2006 Return-Path: X-Original-To: freebsd-amd64@FreeBSD.org Delivered-To: freebsd-amd64@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2430716A492 for ; Sun, 17 Sep 2006 08:49:38 +0000 (UTC) (envelope-from thierry@pompo.net) Received: from graf.pompo.net (graf.pompo.net [81.56.186.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A01643D58 for ; Sun, 17 Sep 2006 08:49:37 +0000 (GMT) (envelope-from thierry@pompo.net) Received: by graf.pompo.net (Postfix, from userid 1001) id 4561B1144C; Sun, 17 Sep 2006 10:48:02 +0200 (CEST) Date: Sun, 17 Sep 2006 10:48:02 +0200 From: Thierry Thomas To: Liste FreeBSD-amd64 Message-ID: <20060917084802.GA29881@graf.pompo.net> Mail-Followup-To: Liste FreeBSD-amd64 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i X-Operating-System: FreeBSD 6.1-STABLE i386 Organization: Kabbale Eros X-Face: (hRbQnK~Pt7$ct`!fupO(`y_WL4^-Iwn4@ly-.,[4xC4xc; y=\ipKMNm<1J>lv@PP~7Z<.t KjAnXLs: X-PGP: 0xC71405A2 Cc: Subject: make: strange behaviour when building net/mpich2. X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Sep 2006 08:49:38 -0000 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.