kgio RubyGem user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
* There's no TCP_NOPUSH in Solaris 10
@ 2012-03-18 12:45 Edho Arief
  2012-03-19  9:29 ` Eric Wong
  2012-03-19  9:31 ` Eric Wong
  0 siblings, 2 replies; 13+ messages in thread
From: Edho Arief @ 2012-03-18 12:45 UTC (permalink / raw)
  To: kgio

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)


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2012-03-23 21:15 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-18 12:45 There's no TCP_NOPUSH in Solaris 10 Edho Arief
2012-03-19  9:29 ` 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

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).