[syslog-ng] Solaris 10 UDP overflows, message drops

Mishou Michael Michael.Mishou at csirc.irs.gov
Mon May 2 18:33:48 CEST 2011


All,

Sure enough, as Bazsi had suggested, the stopping point appears to be
ivykis compilation on Solaris 10.  I have a full suite of gcc tools
(including automake, autoheader, autoconf, flex, gcc, etc.) installed on
this machine from Sunfreeware.com.  The configure proceeds without any
errors.  When I try to get it to compile, I get the following error:

make[7]: Entering directory
`/root/syslog_tools/syslog-ng-3.3.0alpha2+20110426/lib/ivykis/modules'
/bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I..  -D_GNU_SOURCE -I../lib/include -I../lib/include -I../lib
-I../modules/include -fPIC -O3 -m32 -Wall -fPIC -O3 -m32 -D_REENTRANT
-D_POSIX_C_SOURCE=199506L -D_POSIX_PTHREAD_SEMANTICS -D_XPG4_2 -MT
iv_event.lo -MD -MP -MF .deps/iv_event.Tpo -c -o iv_event.lo iv_event.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE
-I../lib/include -I../lib/include -I../lib -I../modules/include -fPIC
-O3 -m32 -Wall -fPIC -O3 -m32 -D_REENTRANT -D_POSIX_C_SOURCE=199506L
-D_POSIX_PTHREAD_SEMANTICS -D_XPG4_2 -MT iv_event.lo -MD -MP -MF
.deps/iv_event.Tpo -c iv_event.c  -fPIC -DPIC -o iv_event.o
iv_event.c: In function `iv_event_run_pending_events':
iv_event.c:62: error: unrecognizable insn:
(insn 306 305 307 11 (set (reg/f:SI 192)
        (high:SI (const:SI (plus:SI (symbol_ref:SI ("__tls") [flags
0x12] <var_decl 7f6c6980 __tls>)
                    (const_int 104 [0x68]))))) -1 (nil)
    (nil))
iv_event.c:62: internal compiler error: in extract_insn, at recog.c:2083

I'm not even sure how to begin troubleshooting this, Google and Bing
yield nothing obvious either.  Ivykis must be fairly new, there's not
much in their indexes concerning it at all for that matter.  Have you
guys seen this when compiling with that snapshot that Gergely prepared?
Any hints for me?

The configure (which works):

./configure --enable-pcre --disable-ipv6 --enable-dynamic-linking
--enable-sun-streams --disable-mongodb

The configure report:

syslog-ng Open Source Edition 3.3.0alpha2 configured
 Compiler options:
  compiler                    : gcc -std=gnu99
  compiler options            : -fPIC -O3 -m32 -Wall -fPIC -O3 -m32
-D_REENTRANT -D_PTHREADS -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include   -I/usr/local/include/eventlog
-I/usr/local/include      -I$(top_srcdir)/lib/ivykis/lib/include
-I$(top_builddir)/lib/ivykis/lib/include
-I$(top_srcdir)/lib/ivykis/modules/include -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
  linker flags                :  -lpthread
  prefix                      : /usr/local
  linking mode                : dynamic
  __thread keyword            : yes
 Submodules:
  ivykis                      : internal
  libmongo-client             : internal
 Features:
  Debug symbols               : no
  GCC profiling               : no
  Memtrace                    : no
  IPV6 support                : no
  spoof-source support        : no
  tcp-wrapper support         : no
  Linux capability support    : no
  PCRE support                : yes
  Env wrapper support         : no
 Modules:
  Default module list         :
affile,afprog,afsocket,afuser,basicfuncs,csvparser,dbparser,syslogformat
  Sun STREAMS support (module): yes
  SSL support (module)        : no
  SQL support (module)        : no
  PACCT module (EXPERIMENTAL) : no
  MongoDB destination (module): no

The various vars I've had to set to get things working (had to add
/usr/ccs/bin to get ar in path, had to add -fPIC to fix a TLS error,
stuck on current error).

# echo $CFLAGS
-fPIC -O3 -m32
# echo $PATH # all the GNU tools are in /usr/local
/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/usr/ucb:/usr/ccs/bin 

Thanks for any help anyone can give (ongoing!).  I'm also waiting on a
4.0 PE eval download to get allowed.  Hopefully I can give some updated
performance numbers in light of that getting installed soon (with the
write() and time() fixes Bazsi alluded to earlier).

--Mike Mishou

-----Original Message-----
From: syslog-ng-bounces at lists.balabit.hu
[mailto:syslog-ng-bounces at lists.balabit.hu] On Behalf Of Mishou Michael
Sent: Monday, May 02, 2011 9:26 AM
To: Syslog-ng users' and developers' mailing list
Subject: Re: [syslog-ng] Solaris 10 UDP overflows, message drops

Gergely,

Got it, trying to compile now.  Was having issues with the
configure/compilation of ivykis with the alpha2 release.  Will update
everyone soon, was out end of last week unplanned.

Thank you!

--Mike

-----Original Message-----
From: syslog-ng-bounces at lists.balabit.hu
[mailto:syslog-ng-bounces at lists.balabit.hu] On Behalf Of Gergely Nagy
Sent: Friday, April 29, 2011 9:48 AM
To: Syslog-ng users' and developers' mailing list
Subject: Re: [syslog-ng] Solaris 10 UDP overflows, message drops

Gergely Nagy <algernon at balabit.hu> writes:

> Zeek Anow <zeekstern at gmail.com> writes:
>
>> Thanks. Will do.
>> What is git:))
>
> A version control system :]
>
> Come to think of it, it's probably easier for everyone if I prepare a
> tarball from Bazsi's latest version, with bells & whistles included.

http://static.madhouse-project.org/tmp/syslog-ng-3.3.0alpha2+20110426.ta
r.gz

sha1sum: 5d2bb56c9168e0e3eb95ee4342bd0171f6c24c5b
md5sum: d52ab242544366e5c6454a00e89b3ce6

Snapshot was taken from the state as of the 26th of april (the last
change in the repository). Hopefully this'll be easier to compile than
3.3.0alpha2, a bunch of fixes went in that should help in this area.

(Apologies for not putting this on a .balabit.hu domain, that needs more
administration than I was prepared to do for this task)

-- 
|8]
________________________________________________________________________
______
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation:
http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.campin.net/syslog-ng/faq.html

________________________________________________________________________
______
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation:
http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.campin.net/syslog-ng/faq.html



More information about the syslog-ng mailing list