From owner-freebsd-ports@FreeBSD.ORG Thu Sep 23 12:49:08 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8112F106566B for ; Thu, 23 Sep 2010 12:49:08 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from forward5.mail.yandex.net (forward5.mail.yandex.net [77.88.46.21]) by mx1.freebsd.org (Postfix) with ESMTP id 2C6F18FC0A for ; Thu, 23 Sep 2010 12:49:08 +0000 (UTC) Received: from web49.yandex.ru (web49.yandex.ru [77.88.47.155]) by forward5.mail.yandex.net (Yandex) with ESMTP id 8FE7614D0AC8; Thu, 23 Sep 2010 16:49:06 +0400 (MSD) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1285246146; bh=7e+T7AgrMVw18L3GrYVY0cNWr/M2rcAgXdP15Y55bQg=; h=From:To:Cc:In-Reply-To:References:Subject:MIME-Version:Message-Id: Date:Content-Transfer-Encoding:Content-Type; b=C62K5Lmc/QUiqQE7opbEY5uaqr7F06NbtjWN1shnnzH/gIkAU5YXthRwfSmumuRCd lLYEJUmRc1Q6UDOwYmZHzi7gU82nfxE+8jJcO7qa6gkcWyEQf+8w+Im7x/SuigFGm6 EOpoiuc9rbtXkoADw7H2N9AcQvl9gCVXIyiK7a4A= Received: from localhost (localhost.localdomain [127.0.0.1]) by web49.yandex.ru (Yandex) with ESMTP id 873B4459C77; Thu, 23 Sep 2010 16:49:06 +0400 (MSD) X-Yandex-Spam: 0 X-Yandex-Front: web49.yandex.ru X-Yandex-TimeMark: 1285246146 Received: from ip-86-110-186-102.spark-rostov.ru (ip-86-110-186-102.spark-rostov.ru [86.110.186.102]) by mail.yandex.ru with HTTP; Thu, 23 Sep 2010 16:49:05 +0400 From: Ruslan Mahmatkhanov To: Karl Pielorz In-Reply-To: <498B06B4701B41C283B7A5BF@HexaDeca64.dmpriest.net.uk> References: <4C9A44A3.5000502@yandex.ru> <498B06B4701B41C283B7A5BF@HexaDeca64.dmpriest.net.uk> MIME-Version: 1.0 Message-Id: <65031285246145@web49.yandex.ru> Date: Thu, 23 Sep 2010 16:49:05 +0400 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=koi8-r Cc: freebsd-ports@freebsd.org Subject: Re: 'mbuffer' broken for network support / pipes under 7.2-R / 8.1-R? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Sep 2010 12:49:08 -0000 23.09.10, 16:43, "Karl Pielorz" : > --On 22 September 2010 22:02 +0400 Ruslan Mahmatkhanov wrote: 22.09.2010 18:06, Karl Pielorz пишет: Please use patch attached. It updates mbuffer to latest version that has many 64-bit related fixes. Tell if it's now ok for you. -- Regards, RuslanHi,The patch/updated version seems to work fine - there's a couple of compile time warnings, and when you run it using 'network' I/O you still get:"mbuffer: warning: unable to set socket buffer size: No buffer space available"But it does appear to work - network mode works, and when using another transport (such as 'nc' or 'ssh') as part of a pipe chain, it does correctly terminate when the send is finished.Thanks!-Karl_______________________________________________freebsd-ports@freebsd.org mailing listhttp://lists.freebsd.org/mailman/listinfo/freebsd-portsTo unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" Hi Karl, sorry about webmail formatting. Try to add this line into port's Makefile, and then reinstall mbuffer: CFLAGS+=-m64 See if your 'network i/o' test case now passes. -- Regards, Ruslan