[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#182367: marked as done (libc6-dev: inconsistency of sys/sem.h and linux/sem.h)



Your message dated Sun, 09 Mar 2003 16:51:34 +0900
with message-id <80smtx6kqh.wl@oris.opensource.jp>
and subject line Bug#182367: libc6-dev: inconsistency of sys/sem.h and linux/sem.h
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 24 Feb 2003 22:56:42 +0000
>From o.medek@sh.cvut.cz Mon Feb 24 16:56:42 2003
Return-path: <o.medek@sh.cvut.cz>
Received: from service.sh.cvut.cz [147.32.127.214] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18nRWb-0003Cv-00; Mon, 24 Feb 2003 16:56:41 -0600
Received: from spampd.localdomain (localhost [127.0.0.1])
	by service.sh.cvut.cz (Postfix) with ESMTP
	id 3B8041B807D; Mon, 24 Feb 2003 23:56:40 +0100 (CET)
Received: from klokan.sh.cvut.cz (kralik.sh.cvut.cz [147.32.127.212])
	by service.sh.cvut.cz (Postfix) with ESMTP
	id A36BC1B80FA; Mon, 24 Feb 2003 23:56:39 +0100 (CET)
Received: from medon.sh.cvut.cz (medon.sh.cvut.cz [147.32.118.22])
	by klokan.sh.cvut.cz (Postfix) with ESMTP
	id 39719F34D8; Mon, 24 Feb 2003 23:56:39 +0100 (CET)
From: MeDon <o.medek@sh.cvut.cz>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libc6-dev: inconsistency of sys/sem.h and linux/sem.h
X-Mailer: reportbug 1.50
Date: Mon, 24 Feb 2003 23:56:38 +0100
Message-Id: <20030224225639.39719F34D8@klokan.sh.cvut.cz>
X-Scanned-By: AMaViS at Silicon Hill
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-0.2 required=4.0
	tests=HAS_PACKAGE,SPAM_PHRASE_00_01
	version=2.44
X-Spam-Level: 

Package: libc6-dev
Version: 2.2.5-11.2
Severity: normal

Hi,
the inconsistency of sys/sem.h with linux/sem.h (kernel 2.4.18 compiled from 
distribution sources) causes several programs (MPICH with -comm=shared, 
semtool from "LINUX Programmer's Guide" not to work.

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux medon 2.4.18 #1 Mon Jan 6 19:23:02 CET 2003 i686
Locale: LANG=C, LC_CTYPE=cs_CZ

Versions of packages libc6-dev depends on:
ii  libc6                         2.2.5-11.2 GNU C Library: Shared libraries an


---------------------------------------
Received: (at 182367-done) by bugs.debian.org; 9 Mar 2003 07:51:37 +0000
>From gotom@debian.or.jp Sun Mar 09 01:51:36 2003
Return-path: <gotom@debian.or.jp>
Received: from oris.opensource.jp (oris.opensource.gr.jp) [218.44.239.73] (postfix)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18rvaq-00041t-00; Sun, 09 Mar 2003 01:51:36 -0600
Received: from oris.opensource.jp (oris.opensource.jp [218.44.239.73])
	by oris.opensource.gr.jp (Postfix) with ESMTP
	id F2B6BC33C6; Sun,  9 Mar 2003 16:51:34 +0900 (JST)
Date: Sun, 09 Mar 2003 16:51:34 +0900
Message-ID: <80smtx6kqh.wl@oris.opensource.jp>
From: GOTO Masanori <gotom@debian.or.jp>
To: Daniel Jacobowitz <dan@debian.org>, 182367-done@bugs.debian.org
Cc: MeDon <O.Medek@sh.cvut.cz>
Subject: Re: Bug#182367: libc6-dev: inconsistency of sys/sem.h and linux/sem.h
In-Reply-To: <20030225173728.GA11009@nevyn.them.org>
References: <20030224225639.39719F34D8@klokan.sh.cvut.cz>
	<20030224231755.GA27975@nevyn.them.org>
	<3E5B3F93.4070509@sh.cvut.cz>
	<20030225133521.GA7443@nevyn.them.org>
	<3E5BA7E6.2050304@sh.cvut.cz>
	<20030225173728.GA11009@nevyn.them.org>
User-Agent: Wanderlust/2.9.9 (Unchained Melody) SEMI/1.14.3 (Ushinoya)
 FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/21.2
 (i386-debian-linux-gnu) MULE/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya")
Content-Type: text/plain; charset=US-ASCII
Delivered-To: 182367-done@bugs.debian.org
X-Spam-Status: No, hits=-1.8 required=4.0
	tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_02_03,
	      USER_AGENT
	version=2.44
X-Spam-Level: 

At Tue, 25 Feb 2003 12:37:28 -0500,
Daniel Jacobowitz wrote:
> 
> On Tue, Feb 25, 2003 at 06:29:10PM +0100, MeDon wrote:
> > Daniel Jacobowitz wrote:
> > >On Tue, Feb 25, 2003 at 11:04:03AM +0100, MeDon wrote:
> > >
> > >>Hi,
> > >>yes it's on i386 architecture. Both program I mentioned use <sys/sem.h>. 
> > >>I don't know much about it, sorry. I'm sending you a semtool.c and 
> > >>semstat.c from "LINUX Programmer's Guide". More on MPICH problem could 
> > >>be seen on http://www-unix.mcs.anl.gov/mpi/mpich/buglist-tbl.html.
> > >>
> > >>Regards
> > >>      Ondrej Medek
> > >
> > >
> > >They don't even compile; and I know that it's not a bug that
> > ><sys/sem.h> doesn't provide union semun - it's a bizarre quirk of the
> > >standards.
> > >
> > >
> > 
> > I think you're right. Red Hat 7.2. uses exactly the same header files. 
> > But what do you think about the sentence (MPICH) "One user found that 
> > the include file /usr/include/linux/sem.h (used by the kernel) and 
> > /usr/include/sys/sem.h and /usr/include/sys/ipc.h were not consistent, 
> > causing programs using semaphores to fail. If you have this problem, you 
> > need to correct your installation of Linux."
> 
> They are different interfaces, they aren't necessarily the same.  One
> is the glibc interface and the other is the syscall interface.

Yes, right.  I close this bug because it's not bug.

Regards,
-- gotom



Reply to: