From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS6939 64.71.128.0/18 X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00, MSGID_FROM_MTA_HEADER shortcircuit=no autolearn=unavailable version=3.3.2 Path: news.gmane.org!not-for-mail From: Edho Arief Newsgroups: gmane.comp.lang.ruby.kgio.general Subject: There's no TCP_NOPUSH in Solaris 10 Date: Sun, 18 Mar 2012 19:45:46 +0700 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1332074794 29012 80.91.229.3 (18 Mar 2012 12:46:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 18 Mar 2012 12:46:34 +0000 (UTC) To: kgio@librelist.org Original-X-From: kgio@librelist.org Sun Mar 18 13:46:32 2012 Return-path: Envelope-to: gclrkg-kgio@m.gmane.org In-Reply-To: List-Archive: List-Help: List-Id: List-Post: List-Subscribe: List-Unsubscribe: Precedence: list Original-Sender: kgio@librelist.org Xref: news.gmane.org gmane.comp.lang.ruby.kgio.general:102 Archived-At: Received: from zedshaw.xen.prgmr.com ([64.71.167.205]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S9FVF-0004yQ-Ha for gclrkg-kgio@m.gmane.org; Sun, 18 Mar 2012 13:46:29 +0100 Received: from zedshaw.xen.prgmr.com (localhost [IPv6:::1]) by zedshaw.xen.prgmr.com (Postfix) with ESMTP id 20D3F21D4D0 for ; Sun, 18 Mar 2012 12:52:37 +0000 (UTC) The definition of kgio_autopush_read and kgio_autopush_write (in read_write.c) never happened in Solaris 10: it's not linux and there's no TCP_NOPUSH anywhere in its system header. It caused error when running unicorn (and of course the test): ld.so.1: ruby: fatal: relocation error: file /home/edho/app/ruby19/lib/ruby/gems/1.9.1/gems/kgio-2.7.3/lib/kgio_ext.so: symbol kgio_autopush_read: referenced symbol not found ld.so.1: ruby: fatal: relocation error: file /home/edho/app/ruby19/lib/ruby/gems/1.9.1/gems/kgio-2.7.3/lib/kgio_ext.so: symbol kgio_autopush_write: referenced symbol not found Forcing definition of them enables unicorn to work (at least seems to be working) but fails test (tried both Linux and BSD version): 1) Failure: test_wait_writable_ruby_default(TestUnixServerReadClientWrite) [/home/edho/git/kgio/test/lib_read_write.rb:289]: Exception raised: . (it took long time so I stopped it)