From owner-freebsd-ports@FreeBSD.ORG Thu Sep 23 15:49:42 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 2E8A91065674 for ; Thu, 23 Sep 2010 15:49:42 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from forward13.mail.yandex.net (forward13.mail.yandex.net [95.108.130.120]) by mx1.freebsd.org (Postfix) with ESMTP id D0A2A8FC21 for ; Thu, 23 Sep 2010 15:49:41 +0000 (UTC) Received: from smtp12.mail.yandex.net (smtp12.mail.yandex.net [95.108.131.191]) by forward13.mail.yandex.net (Yandex) with ESMTP id 17B801080EB7; Thu, 23 Sep 2010 19:49:40 +0400 (MSD) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1285256980; bh=o8SUqpexyYyVNNTDZwQ6hrO/a1r6KrQYyCpShaQ+5kk=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=koyk/IlaACz4iXNyQTJa6TtiOmxVJS3t9thVO77NIjStN9LHXTOkYEll8rNZ3bpvH pagdYnaeLxHaKxyvCiAwOwAGXN36PXYdslCFY1lfEfv1MdyCYQXmRr6lC1a7FF2uKT UMxXngMbToTRDhVjD/zdSWTup9CCaZFjz+UFsRns= Received: from smeshariki2.local (unknown [77.66.145.223]) by smtp12.mail.yandex.net (Yandex) with ESMTPSA id 9C84B13E8081; Thu, 23 Sep 2010 19:49:39 +0400 (MSD) Message-ID: <4C9B769E.2080603@yandex.ru> Date: Thu, 23 Sep 2010 19:47:42 +0400 From: Ruslan Mahmatkhanov User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; ru-RU; rv:1.9.2.9) Gecko/20100919 Thunderbird/3.1.4 MIME-Version: 1.0 To: Karl Pielorz References: <4C9A44A3.5000502@yandex.ru> <498B06B4701B41C283B7A5BF@HexaDeca64.dmpriest.net.uk> <65031285246145@web49.yandex.ru> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Yandex-TimeMark: 1285256980 X-Yandex-Spam: 1 X-Yandex-Front: smtp12.mail.yandex.net 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 15:49:42 -0000 23.09.2010 18:00, Karl Pielorz пишет: > > > --On 23 September 2010 16:49 +0400 Ruslan Mahmatkhanov > wrote: > >> Hi Karl, >> sorry about webmail formatting. > > Yeah, it certainly mangled the original mail when quoting it! > >> 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. > > Makes no difference - it *doesn't fail* for network I/O (it completes > fine) - it just dumps a single line to stderr at the start, which says: > > " > mbuffer: warning: unable to set socket buffer size: No buffer space > available > " > > Adding '-m64' didn't get rid of that, or any of the compile time > warnings... > > I can live with the warning (better than it not working at all! :) - > unless it might be doing something nasty (like messing up network > performance - though it seems to be getting close to wire speed for > transfers). > > -Karl Ok. So i've create this PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/150885 If anybody have a clue about warnings: on build time: mbuffer.c:64:3: warning: #warning sendfile is unable to send from buffers and on run time: warning: unable to set socket buffer size: No buffer space available please add to PR. -- Regards, Ruslan