From owner-freebsd-standards@FreeBSD.ORG  Mon Jun 21 08:57:34 2010
Return-Path: <owner-freebsd-standards@FreeBSD.ORG>
Delivered-To: standards@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 1DA6E106566C
	for <standards@freebsd.org>; Mon, 21 Jun 2010 08:57:34 +0000 (UTC)
	(envelope-from kostikbel@gmail.com)
Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200])
	by mx1.freebsd.org (Postfix) with ESMTP id AFE368FC0C
	for <standards@freebsd.org>; Mon, 21 Jun 2010 08:57:33 +0000 (UTC)
Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua
	[10.1.1.148])
	by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id o5L8GZA0004707
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Mon, 21 Jun 2010 11:16:35 +0300 (EEST)
	(envelope-from kostikbel@gmail.com)
Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1])
	by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id
	o5L8GZ58093396; Mon, 21 Jun 2010 11:16:35 +0300 (EEST)
	(envelope-from kostikbel@gmail.com)
Received: (from kostik@localhost)
	by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id o5L8GZ6F093395; 
	Mon, 21 Jun 2010 11:16:35 +0300 (EEST)
	(envelope-from kostikbel@gmail.com)
X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to
	kostikbel@gmail.com using -f
Date: Mon, 21 Jun 2010 11:16:35 +0300
From: Kostik Belousov <kostikbel@gmail.com>
To: Andrew Thompson <thompsa@freebsd.org>
Message-ID: <20100621081635.GB13238@deviant.kiev.zoral.com.ua>
References: <AANLkTilHaP5K-NpRDG41yZimK9bJbO4nPlSF6Egqt5Rm@mail.gmail.com>
	<AANLkTin3x9nmXx0B8SNozhMnUoZypvk4AL_95ovupatC@mail.gmail.com>
	<AANLkTinTwG3zsShWO2qVNISEYKp4h7WEy0SKCoIYMIPK@mail.gmail.com>
	<AANLkTikTeevkOUexFwStijcXa3TlQnuHrV9lkYApoXw_@mail.gmail.com>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="O1+DDjaLRatPxzPT"
Content-Disposition: inline
In-Reply-To: <AANLkTikTeevkOUexFwStijcXa3TlQnuHrV9lkYApoXw_@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua
X-Virus-Status: Clean
X-Spam-Status: No, score=-2.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_50,
	DNS_FROM_OPENWHOIS autolearn=no version=3.2.5
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on
	skuns.kiev.zoral.com.ua
Cc: Garrett Cooper <yanefbsd@gmail.com>, standards@freebsd.org,
	FreeBSD-Hackers <freebsd-hackers@freebsd.org>
Subject: Re: Are POSIX mqueues supposed to be functional on FreeBSD?
X-BeenThere: freebsd-standards@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Standards compliance <freebsd-standards.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-standards>, 
	<mailto:freebsd-standards-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-standards>
List-Post: <mailto:freebsd-standards@freebsd.org>
List-Help: <mailto:freebsd-standards-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-standards>, 
	<mailto:freebsd-standards-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Jun 2010 08:57:34 -0000


--O1+DDjaLRatPxzPT
Content-Type: text/plain; charset=koi8-r
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Jun 21, 2010 at 11:41:58AM +1200, Andrew Thompson wrote:
> On 21 June 2010 10:11, Garrett Cooper <yanefbsd@gmail.com> wrote:
> > On Sun, Jun 20, 2010 at 3:06 PM, Stathis Kamperis <ekamperi@gmail.com> =
wrote:
> >> 2010/6/21 Garrett Cooper <yanefbsd@gmail.com>:
> >>> =9A =9AErr... I ran an mqueue test and it popped up with ENOSYS. Which
> >>> makes me wonder, are POSIX mqueues implemented 100% on FreeBSD? I
> >>> looked into sys/kern/uip_mqueue.c and it _appears_ functional, but I
> >>
> >> Hi,
> >>
> >> did you first load the respective kernel module (mqueuefs or something
> >> like that) ?
> >
> > Duh... should have checked that first I suppose: no, it isn't loaded.
> > However, it doesn't appear to compile with my copy of src:
> >
> > # make -C /sys/modules/mqueue/ all install
> > Warning: Object directory not changed from original /usr/src/sys/module=
s/mqueue
> > cc -O2 -pipe -fno-strict-aliasing -pipe -O2 -march=3Dnocona -Werror
> > -D_KERNEL -DKLD_MODULE -nostdinc =9A -I. -I@ -I@/contrib/altq
> > -finline-limit=3D8000 --param inline-unit-growth=3D100 --param
> > large-function-growth=3D1000 -fno-common =9A-fno-omit-frame-pointer
> > -mcmodel=3Dkernel -mno-red-zone =9A-mfpmath=3D387 -mno-sse -mno-sse2
> > -mno-sse3 -mno-mmx -mno-3dnow =9A-msoft-float
> > -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector
> > -std=3Diso9899:1999 -fstack-protector -Wall -Wredundant-decls
> > -Wnested-externs -Wstrict-prototypes =9A-Wmissing-prototypes
> > -Wpointer-arith -Winline -Wcast-qual =9A-Wundef -Wno-pointer-sign
> > -fformat-extensions -c
> > /usr/src/sys/modules/mqueue/../../kern/uipc_mqueue.c
> > /usr/src/sys/modules/mqueue/../../kern/uipc_mqueue.c:48:24: error:
> > opt_compat.h: No such file or directory
> > *** Error code 1
> >
> > Stop in /usr/src/sys/modules/mqueue.
> > # find /usr/src/ -name opt_compat.h
> >
> > So I'll need to hunt down what's going on with the missing header.
>=20
> opt_* headers are auto-generated by the kernel config. Just add
> opt_compat.h to sys/modules/mqueue/Makefile right after opt_posix.h
Apparently, missed opt_compat.h in module Makefile is my fault.
Would you, please, commit the fix ?

--O1+DDjaLRatPxzPT
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

iEYEARECAAYFAkwfH+MACgkQC3+MBN1Mb4i5NQCfXzcCWpncbiHbPgSCXBVgr40Y
g04AoJycCE73SjE8Yes8vWNcKWUj7Ldy
=UeRi
-----END PGP SIGNATURE-----

--O1+DDjaLRatPxzPT--