NetBSD Problem Report #23267

Received: (qmail 28320 invoked by uid 605); 25 Oct 2003 12:49:56 -0000
Message-Id: <20031025124948.943FE360E3@firefly.localdomain>
Date: Sat, 25 Oct 2003 21:49:48 +0900 (JST)
From: hira@po6.nsk.ne.jp
Sender: gnats-bugs-owner@NetBSD.org
To: gnats-bugs@gnats.netbsd.org
Subject: compile error in parallel/mpi-ch
X-Send-Pr-Version: 3.95

>Number:         23267
>Category:       pkg
>Synopsis:       compile error in parallel/mpi-ch
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    wennmach
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 25 12:50:00 +0000 2003
>Closed-Date:    Tue Dec 02 20:15:06 +0000 2003
>Last-Modified:  Sun Dec 07 16:37:01 +0000 2003
>Originator:     Kouichirou Hiratsuka
>Release:        NetBSD 1.6ZD
>Organization:
>Environment:
System: NetBSD firefly.localdomain 1.6ZD NetBSD 1.6ZD (FIREFLY) #250: Sat Oct 25 20:20:02 JST 2003 hiratuka@firefly.localdomain:/usr/src/sys/arch/i386/compile/FIREFLY i386
Architecture: i386
Machine: i386
>Description:
	Compile error happen in parallel/mpi-ch. But make is continued.
	Therefore, installation of this package becomes incomplete. This is
	part of error message.

/tmp/pkgsrc/parallel/mpi-ch/work/mpich-1.2.5/bin/mpicc  -c noncontig_coll2.c
/tmp/pkgsrc/parallel/mpi-ch/work/mpich-1.2.5/bin/mpicc  -o  noncontig_coll2 noncontig_coll2.o  -Wl,-R/usr/pkg/lib -L/usr/pkg/lib  -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib
/tmp/pkgsrc/parallel/mpi-ch/work/mpich-1.2.5/bin/mpif77  -o  fperf fperf.f  -Wl,-R/usr/pkg/lib -L/usr/pkg/lib  -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib
f77: -R/usr/pkg/lib: linker input file unused because linking not done
f77: -R/usr/X11R6/lib: linker input file unused because linking not done
/usr/lib/libg2c.so: warning: mktemp() possibly used unsafely, use mkstemp() or mkdtemp()
fperf.o: In function `MAIN__':
fperf.o(.text+0x2c5): undefined reference to `mpi_file_open__'
fperf.o(.text+0x2db): undefined reference to `mpi_file_seek__'
fperf.o(.text+0x311): undefined reference to `mpi_file_write__'
fperf.o(.text+0x33b): undefined reference to `mpi_file_close__'
fperf.o(.text+0x36e): undefined reference to `mpi_file_open__'
fperf.o(.text+0x384): undefined reference to `mpi_file_seek__'
fperf.o(.text+0x3ba): undefined reference to `mpi_file_read__'
fperf.o(.text+0x3e4): undefined reference to `mpi_file_close__'
fperf.o(.text+0x5eb): undefined reference to `mpi_file_open__'
fperf.o(.text+0x601): undefined reference to `mpi_file_seek__'
fperf.o(.text+0x637): undefined reference to `mpi_file_write__'
fperf.o(.text+0x641): undefined reference to `mpi_file_sync__'
fperf.o(.text+0x672): undefined reference to `mpi_file_close__'
fperf.o(.text+0x6a5): undefined reference to `mpi_file_open__'
fperf.o(.text+0x6bb): undefined reference to `mpi_file_seek__'
fperf.o(.text+0x6f1): undefined reference to `mpi_file_read__'
fperf.o(.text+0x70f): undefined reference to `mpi_file_close__'
*** Error code 1

Stop.
make: stopped in /tmp/pkgsrc/parallel/mpi-ch/work/mpich-1.2.5/romio/test
*** Error code 1

Stop.
make: stopped in /tmp/pkgsrc/parallel/mpi-ch/work/mpich-1.2.5/examples/test

Making in directory perftest
/tmp/pkgsrc/parallel/mpi-ch/work/mpich-1.2.5/bin/mpicc -DHAVE_CONFIG_H -I. -I/tmp/pkgsrc/parallel/mpi-ch/work/mpich-1.2.5/examples/perftest -I.    -O3 -O2 -DUSE_SOCKLEN_T -DHAVE_MPICHCONF_H -c mpptest.c

>How-To-Repeat:
	cd ${PKGSRCDIR}/parallel/mpi-ch
	make

>Fix:
	Sorry, I don't know.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed 
State-Changed-By: wennmach 
State-Changed-When: Tue Nov 25 14:21:40 UTC 2003 
State-Changed-Why:  
I'll take a look at this PR. 


Responsible-Changed-From-To: pkg-manager->wennmach 
Responsible-Changed-By: wennmach 
Responsible-Changed-When: Tue Nov 25 14:21:40 UTC 2003 
Responsible-Changed-Why:  
dito. 

From: Lex Wennmacher <wennmach@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/23267 CVS commit: pkgsrc/parallel/mpi-ch
Date: Tue,  2 Dec 2003 20:13:38 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	wennmach
 Date:		Tue Dec  2 20:13:38 UTC 2003

 Modified Files:
 	pkgsrc/parallel/mpi-ch: Makefile

 Log Message:
 Disable weak symbols for gcc>3*. While weak symbols do work on
 NetBSD-current, the way mpi-ch test for them and implements them
 (using the #pragma weak directive) is currently broken.

 Fixes PR pkg/23267 by Kouichirou Hiratsuka.


 To generate a diff of this commit:
 cvs rdiff -r1.23 -r1.24 pkgsrc/parallel/mpi-ch/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: analyzed->closed 
State-Changed-By: wennmach 
State-Changed-When: Tue Dec 2 20:14:33 UTC 2003 
State-Changed-Why:  
I committed a fix. 

From: "Alistair G. Crooks" <agc@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/23267 CVS commit: [pkgsrc-2003Q4] pkgsrc/parallel/mpi-ch
Date: Sun,  7 Dec 2003 16:36:49 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	agc
 Date:		Sun Dec  7 16:36:49 UTC 2003

 Modified Files:
 	pkgsrc/parallel/mpi-ch [pkgsrc-2003Q4]: Makefile distinfo
 	pkgsrc/parallel/mpi-ch/patches [pkgsrc-2003Q4]: patch-aa
 Added Files:
 	pkgsrc/parallel/mpi-ch/patches [pkgsrc-2003Q4]: patch-ax patch-ay

 Log Message:
 Pullup the following changes to the pkgsrc-2003Q4 branch, requested by
 Lex Wennmacher.

 	revision 1.24
 	date: 2003/12/02 20:13:38;  author: wennmach;  state: Exp;  lines: +15 -7
 	Disable weak symbols for gcc>3*. While weak symbols do work on
 	NetBSD-current, the way mpi-ch test for them and implements them
 	(using the #pragma weak directive) is currently broken.

 	Fixes PR pkg/23267 by Kouichirou Hiratsuka.
 	----------------------------
 	revision 1.23
 	date: 2003/11/27 17:02:25;  author: wennmach;  state: Exp;  lines: +2 -2
 	o fix syntax error in src/fortran/configure
 	o avoid removing non-existent files, resulting in "rm: usage:" errors
 	----------------------------
 	revision 1.22
 	date: 2003/11/26 12:42:12;  author: wennmach;  state: Exp;  lines: +2 -1

 	Correct the way the endianness is determined.
 	(How could this actually ever have worked ???)


 To generate a diff of this commit:
 cvs rdiff -r1.21 -r1.21.2.1 pkgsrc/parallel/mpi-ch/Makefile
 cvs rdiff -r1.3 -r1.3.2.1 pkgsrc/parallel/mpi-ch/distinfo
 cvs rdiff -r1.4 -r1.4.2.1 pkgsrc/parallel/mpi-ch/patches/patch-aa
 cvs rdiff -r0 -r1.2.2.1 pkgsrc/parallel/mpi-ch/patches/patch-ax
 cvs rdiff -r0 -r1.1.2.1 pkgsrc/parallel/mpi-ch/patches/patch-ay

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.