kgio RubyGem user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Edho Arief <edho@myconan.net>
To: kgio@librelist.org
Subject: There's no TCP_NOPUSH in Solaris 10
Date: Sun, 18 Mar 2012 19:45:46 +0700	[thread overview]
Message-ID: <CAAtReCnE4cWnAS9SeFp7p=v15MxuAwvV91o7pfpd=wbqD8c2sg@mail.gmail.com> (raw)
In-Reply-To: <CAAtReCnE4cWnAS9SeFp7p=v15MxuAwvV91o7pfpd=wbqD8c2sg@mail.gmail.com>

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:
<Interrupt>.

(it took long time so I stopped it)


       reply	other threads:[~2012-03-18 12:46 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-18 12:45 Edho Arief [this message]
2012-03-19  9:29 ` There's no TCP_NOPUSH in Solaris 10 Eric Wong
2012-03-19  9:31 ` Eric Wong
2012-03-19  9:35   ` Edho Arief
2012-03-19  9:52     ` Eric Wong
2012-03-19 10:10       ` Edho Arief
2012-03-19 20:09         ` Eric Wong
2012-03-20 10:53           ` Edho Arief
2012-03-21 20:15             ` Eric Wong
2012-03-22  1:48               ` Edho Arief
2012-03-22  8:38                 ` Eric Wong
2012-03-22 15:00                   ` Edho Arief
2012-03-23 21:15                     ` Eric Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://yhbt.net/kgio/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAAtReCnE4cWnAS9SeFp7p=v15MxuAwvV91o7pfpd=wbqD8c2sg@mail.gmail.com' \
    --to=edho@myconan.net \
    --cc=kgio@librelist.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhbt.net/kgio.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).