On 08/18/2017 03:22 PM, Thomas Deutschmann via rsyslog wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 2017-08-18 13:05, Andreas Wehrmann via rsyslog wrote:
Compiling 8.29.0 with the option "--enable-imptcp" breaks the
compilation process:

CC       imptcp_la-imptcp.lo imptcp.c: In function
'AcceptConnReq': imptcp.c:831:2: error: 'pThis' undeclared (first
use in this function) imptcp.c:831:2: note: each undeclared
identifier is reported only once for each function it appears in
make[2]: *** [imptcp_la-imptcp.lo] Error 1
Can you please show us a complete build.log and give us some details
about the embedded system?

The device is a custom made board based on a Coldfire V4e with 64 MB RAM and flash.
The toolchain comes from Codesourcery and uses gcc 4.5.2:
m68k-linux-gnu-gcc (Sourcery CodeBench Lite 2011.03-98) 4.5.2.
It runs a pretty old version of Linux 2.6.29.

The attached build log contains a build without the imptcp module enabled (my main priority right now is RELP/TCP output). I'd really like to fix the crash issue first, afterwards I might dig deeper into why imptcp is failing here.

However, instead of backing off for some time, it retries the
connection _immediately_, which fails almost immediately again
which in turn leads to an immediate retry and so it spins around
very quickly.
No, I think your observations are wrong. Each action which is failing
will be suspended and you can see in your logs that's the case for
your setup as well:

5839.353174748:main Q:Reg/w0  : iminternal.c: signaling new internal message 
via SIGTTOU: 'action 'action 0' suspended, next retry is Sun Aug 13 03:04:29 
2000 [v8.29.0 try http://www.rsyslog.com/e/2007 ]'
I am not sure but I have the feelings you are just running badly out
of memory which will cause the segmentation fault.


True, I noticed the message reschedule, but the console is filled with these messages:

5839.354769610:main Q:Reg/w0 : ../action.c: actionTryResume: action 0x800a4180 state: susp, next retry (if applicable): 966135869 [now 966135839] 5839.354994710:main Q:Reg/w0 : ../action.c: doTransaction: action 0, currIParam 1 5839.355200970:main Q:Reg/w0 : ../action.c: actionTryResume: action 0x800a4180 state: susp, next retry (if applicable): 966135869 [now 966135839] 5839.355398190:main Q:Reg/w0 : omrelp.c: omrelp: shutdownImmediate ptr now is 0x800a11e8 5839.355571450:main Q:Reg/w0 : ../action.c: doTransaction: action 0, processing msg -1, result -2123 5839.355778480:main Q:Reg/w0 : ../action.c: actionTryResume: action 0x800a4180 state: susp, next retry (if applicable): 966135869 [now 966135839] 5839.355962950:main Q:Reg/w0 : omrelp.c: omrelp: shutdownImmediate ptr now is 0x800a11e8 5839.356130840:main Q:Reg/w0 : ../action.c: doTransaction: action 0, processing msg -1, result -2123 5839.356323210:main Q:Reg/w0 : ../action.c: actionTryResume: action 0x800a4180 state: susp, next retry (if applicable): 966135869 [now 966135839]

What is happening here and why?
I don't think memory is an issue because when I disable omrelp (and only log locally) everything seems to work fine.
When rsyslogd starts up it consumes less than 2 MB of memory.

I've got the stupid feeling this might be a platform related issue...

Processing: rsyslog
=====================
Build path taken because: directory build, build key set, spec file newer than 
rpm,

rpmbuild --dbpath /home/work/rootfs//var/lib/rpm --target m68k --define 
'_unpackaged_files_terminate_build 0' --define '_target_cpu m68k' --define 
'__strip strip' --define '_topdir /home/work/rpm' --define '_prefix /usr' 
--define '_tmppath /home/work/tmp' --define '_rpmdir /home/work/rpm/RPMS'  
--define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define 
'_localstatedir /var' -bc --short-circuit  
/home/work/dist/lfs-5.1/rsyslog/rsyslog.spec
Building target platforms: m68k
Building for target m68k
Executing(%build): /bin/sh -e /home/work/tmp/rpm-tmp.85611
+ umask 022
+ cd /home/work/rpm/BUILD
+ cd rsyslog-8.29.0
+ ./configure --prefix=/usr --host=m68k-linux-gnu 
--build=x86_64-unknown-linux-gnu --enable-shared --disable-static --enable-klog 
--enable-inet --enable-debug-symbols --enable-relp --enable-imfile 
--disable-imptcp --disable-libgcrypt --disable-uuid
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for m68k-linux-gnu-strip... m68k-linux-gnu-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for m68k-linux-gnu-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... none needed
checking whether yytext is a pointer... no
checking for bison... bison -y
checking for m68k-linux-gnu-gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for gcc option to accept ISO C99... -std=gnu99
checking build system type... x86_64-unknown-linux-gnu
checking host system type... m68k-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc -std=gnu99... ld
checking if the linker (ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... 
/opt/freescale/usr/local/gcc-4.5.98-eglibc-2.11.98/m68k-linux/bin/m68k-linux-gnu-nm
 -B
checking the name lister 
(/opt/freescale/usr/local/gcc-4.5.98-eglibc-2.11.98/m68k-linux/bin/m68k-linux-gnu-nm
 -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-unknown-linux-gnu file names to 
m68k-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain 
format... func_convert_file_noop
checking for ld option to reload object files... -r
checking for m68k-linux-gnu-objdump... m68k-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for m68k-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for m68k-linux-gnu-ar... ar
checking for archiver @FILE support... @
checking for m68k-linux-gnu-strip... (cached) m68k-linux-gnu-strip
checking for m68k-linux-gnu-ranlib... m68k-linux-gnu-ranlib
checking command to parse 
/opt/freescale/usr/local/gcc-4.5.98-eglibc-2.11.98/m68k-linux/bin/m68k-linux-gnu-nm
 -B output from gcc -std=gnu99 object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for m68k-linux-gnu-mt... no
checking for mt... mt
configure: WARNING: using cross tools not prefixed with host triplet
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if gcc -std=gnu99 static flag -static works... yes
checking if gcc -std=gnu99 supports -c -o file.o... yes
checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the gcc -std=gnu99 linker (ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether C compiler accepts -Werror=unknown-warning-option... no
checking whether C compiler accepts -fno-strict-aliasing... yes
checking whether C compiler accepts -Wall... yes
checking whether C compiler accepts -Wextra... yes
checking whether C compiler accepts -Wundef... yes
checking whether C compiler accepts -Wnested-externs... yes
checking whether C compiler accepts -Wwrite-strings... yes
checking whether C compiler accepts -Wpointer-arith... yes
checking whether C compiler accepts -Wmissing-declarations... yes
checking whether C compiler accepts -Wmissing-prototypes... yes
checking whether C compiler accepts -Wstrict-prototypes... yes
checking whether C compiler accepts -Wredundant-decls... yes
checking whether C compiler accepts -Wno-unused-parameter... yes
checking whether C compiler accepts -Wno-missing-field-initializers... yes
checking whether C compiler accepts -Wdeclaration-after-statement... yes
checking whether C compiler accepts -Wformat=2... yes
checking whether C compiler accepts -Wold-style-definition... yes
checking whether C compiler accepts -Wcast-align... yes
checking whether C compiler accepts -Wformat-nonliteral... yes
checking whether C compiler accepts -Wformat-security... yes
checking whether C compiler accepts -Wsign-compare... yes
checking whether C compiler accepts -Wstrict-aliasing... yes
checking whether C compiler accepts -Wshadow... yes
checking whether C compiler accepts -Winline... yes
checking whether C compiler accepts -Wpacked... yes
checking whether C compiler accepts -Wmissing-format-attribute... yes
checking whether C compiler accepts -Wmissing-noreturn... yes
checking whether C compiler accepts -Winit-self... yes
checking whether C compiler accepts -Wredundant-decls... (cached) yes
checking whether C compiler accepts -Wmissing-include-dirs... yes
checking whether C compiler accepts -Wunused-but-set-variable... no
checking whether C compiler accepts -Warray-bounds... yes
checking whether C compiler accepts -Wimplicit-function-declaration... yes
checking whether C compiler accepts -Wreturn-type... yes
checking whether C compiler accepts -Wswitch-enum... yes
checking whether C compiler accepts -Wswitch-default... yes
checking whether C compiler accepts -Wno-error=unused-parameter... yes
checking whether C compiler accepts -Wno-error=missing-field-initializers... yes
checking whether C compiler accepts -Werror=unknown-warning-option... (cached) 
no
checking whether the linker accepts -Wl,--no-as-needed... yes
checking for m68k-linux-gnu-pkg-config... no
checking for pkg-config... /opt/freescale2010/ltib/usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBESTR... yes
checking for LIBFASTJSON... yes
HOST: m68k-unknown-linux-gnu
checking for library containing clock_gettime... -lrt
checking for library containing mq_getattr... none required
checking for library containing dlopen... -ldl
checking for sys/types.h... (cached) yes
checking for netinet/in.h... yes
checking for arpa/nameser.h... yes
checking for netdb.h... yes
checking for resolv.h... yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for arpa/inet.h... yes
checking for libgen.h... yes
checking for malloc.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for netdb.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/stat.h... (cached) yes
checking sys/inotify.h usability... yes
checking sys/inotify.h presence... yes
checking for sys/inotify.h... yes
checking for unistd.h... (cached) yes
checking utmp.h usability... yes
checking utmp.h presence... yes
checking for utmp.h... yes
checking utmpx.h usability... yes
checking utmpx.h presence... yes
checking for utmpx.h... yes
checking sys/epoll.h usability... yes
checking sys/epoll.h presence... yes
checking for sys/epoll.h... yes
checking sys/prctl.h usability... yes
checking sys/prctl.h presence... yes
checking for sys/prctl.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for mode_t... yes
checking for uid_t in sys/types.h... yes
checking for uint8_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working volatile... yes
checking for struct sockaddr.sa_len... no
checking for unistd.h... (cached) yes
checking for working chown... no
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... cross
configure: WARNING: result yes guessed because of cross compilation
checking for working vfork... (cached) yes
checking whether gcc -std=gnu99 needs -traditional... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking return type of signal handlers... void
checking whether lstat correctly handles trailing slash... no
checking whether stat accepts an empty string... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... yes
checking for vprintf... yes
checking for _doprnt... no
checking for flock... yes
checking for inotify_init... yes
checking for recvmmsg... yes
checking for basename... yes
checking for alarm... yes
checking for clock_gettime... no
checking for gethostbyname... yes
checking for gethostname... yes
checking for gettimeofday... yes
checking for localtime_r... yes
checking for memset... yes
checking for mkdir... yes
checking for regcomp... yes
checking for select... yes
checking for setsid... yes
checking for socket... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strndup... yes
checking for strnlen... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for uname... yes
checking for ttyname_r... yes
checking for getline... yes
checking for malloc_trim... yes
checking for prctl... yes
checking for epoll_create... yes
checking for epoll_create1... yes
checking for fdatasync... yes
checking for syscall... yes
checking for lseek64... yes
checking for setns... no
checking for off64_t... yes
checking for library containing getifaddrs... none required
checking whether SCM_CREDENTIALS is declared... yes
checking whether SO_TIMESTAMP is declared... yes
checking whether SYS_gettid is declared... yes
checking for struct sysinfo.uptime... yes
checking whether GLOB_NOMAGIC is declared... yes
checking for MAXHOSTNAMELEN... yes
checking for __builtin_expect()... yes
checking whether the compiler provides atomic builtins... no
checking whether the compiler provides atomic builtins for 64 bit data types... 
no
checking semaphore.h usability... yes
checking semaphore.h presence... yes
checking for semaphore.h... yes
checking sys/syscall.h usability... yes
checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for ZLIB... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... yes
checking for pthread_rwlockattr_setkind_np in -lpthread... yes
checking for pthread_setname_np in -lpthread... yes
checking for library containing pthread_setschedparam... none required
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking for library containing sched_get_priority_max... none required
checking for sched_get_priority_max... yes
configure: enable-debug in auto mode, enable-debug is set to no
checking maxminddb.h usability... no
checking maxminddb.h presence... no
checking for maxminddb.h... no
checking for RELP... yes
checking for LIBLOGGING_STDLOG... yes
checking for ip... yes
checking for valgrind... valgrind
configure: testbench will use valgrind
checking hdfs.h usability... no
checking hdfs.h presence... no
checking for hdfs.h... no
checking hadoop/hdfs.h usability... no
checking hadoop/hdfs.h presence... no
checking for hadoop/hdfs.h... no
configure: checking if required man pages already exist...
configure: Not running from git source
checking for rst2man... no
checking for rst2man.py... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating runtime/Makefile
config.status: creating compat/Makefile
config.status: creating grammar/Makefile
config.status: creating tools/Makefile
config.status: creating plugins/imudp/Makefile
config.status: creating plugins/imtcp/Makefile
config.status: creating plugins/im3195/Makefile
config.status: creating plugins/imgssapi/Makefile
config.status: creating plugins/imuxsock/Makefile
config.status: creating plugins/imjournal/Makefile
config.status: creating plugins/immark/Makefile
config.status: creating plugins/imklog/Makefile
config.status: creating plugins/omhdfs/Makefile
config.status: creating plugins/omkafka/Makefile
config.status: creating plugins/omprog/Makefile
config.status: creating plugins/mmexternal/Makefile
config.status: creating plugins/omstdout/Makefile
config.status: creating plugins/omjournal/Makefile
config.status: creating plugins/pmciscoios/Makefile
config.status: creating plugins/pmnull/Makefile
config.status: creating plugins/pmnormalize/Makefile
config.status: creating plugins/omruleset/Makefile
config.status: creating plugins/omuxsock/Makefile
config.status: creating plugins/imfile/Makefile
config.status: creating plugins/imsolaris/Makefile
config.status: creating plugins/imptcp/Makefile
config.status: creating plugins/impstats/Makefile
config.status: creating plugins/imrelp/Makefile
config.status: creating plugins/imdiag/Makefile
config.status: creating plugins/imkafka/Makefile
config.status: creating plugins/omtesting/Makefile
config.status: creating plugins/omgssapi/Makefile
config.status: creating plugins/ommysql/Makefile
config.status: creating plugins/ompgsql/Makefile
config.status: creating plugins/omrelp/Makefile
config.status: creating plugins/omlibdbi/Makefile
config.status: creating plugins/ommail/Makefile
config.status: creating plugins/omsnmp/Makefile
config.status: creating plugins/omudpspoof/Makefile
config.status: creating plugins/ommongodb/Makefile
config.status: creating plugins/mmnormalize/Makefile
config.status: creating plugins/mmjsonparse/Makefile
config.status: creating plugins/mmaudit/Makefile
config.status: creating plugins/mmanon/Makefile
config.status: creating plugins/mmrm1stspace/Makefile
config.status: creating plugins/mmutf8fix/Makefile
config.status: creating plugins/mmfields/Makefile
config.status: creating plugins/mmpstrucdata/Makefile
config.status: creating plugins/omelasticsearch/Makefile
config.status: creating plugins/mmsnmptrapd/Makefile
config.status: creating plugins/pmlastmsg/Makefile
config.status: creating plugins/mmdblookup/Makefile
config.status: creating contrib/pmsnare/Makefile
config.status: creating contrib/pmpanngfw/Makefile
config.status: creating contrib/pmaixforwardedfrom/Makefile
config.status: creating contrib/omhiredis/Makefile
config.status: creating contrib/omrabbitmq/Makefile
config.status: creating contrib/imkmsg/Makefile
config.status: creating contrib/mmgrok/Makefile
config.status: creating contrib/mmcount/Makefile
config.status: creating contrib/omzmq3/Makefile
config.status: creating contrib/omczmq/Makefile
config.status: creating contrib/imzmq3/Makefile
config.status: creating contrib/imczmq/Makefile
config.status: creating contrib/mmsequence/Makefile
config.status: creating contrib/mmrfc5424addhmac/Makefile
config.status: creating contrib/pmcisconames/Makefile
config.status: creating contrib/omhttpfs/Makefile
config.status: creating contrib/omamqp1/Makefile
config.status: creating contrib/omtcl/Makefile
config.status: creating tests/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
****************************************************
rsyslog will be compiled with the following settings:

    Large file support enabled:               yes
    Networking support enabled:               yes
    Regular expressions support enabled:      yes
    rsyslog runtime will be built:            yes
    rsyslogd will be built:                   yes
    have to generate man pages:               no
    Unlimited select() support enabled:       no
    uuid support enabled:                     no
    Log file signing support:                 no
    Log file signing support via KSI LS12:    no
    Log file encryption support:              no
    anonymization support enabled:            no
    mmrm1stspace module enabled:              no
    message counting support enabled:         no
    mmfields enabled:                         no
    liblogging-stdlog support enabled:        yes
    kafka static linking enabled:             no

---{ input plugins }---
    Klog functionality enabled:               yes (linux)
    /dev/kmsg functionality enabled:          no
    plain tcp input module enabled:           no
    imdiag enabled:                           no
    file input module enabled:                yes
    Solaris input module enabled:             no
    periodic statistics module enabled:       no
    imzmq3 input module enabled:              no
    imczmq input module enabled:              no
    imjournal input module enabled:           no
    imkafka module will be compiled:          no

---{ output plugins }---
    Mail support enabled:                     no
    omprog module will be compiled:           no
    omstdout module will be compiled:         no
    omjournal module will be compiled:        no
    omhdfs module will be compiled:           no
    omelasticsearch module will be compiled:  no
    omruleset module will be compiled:        no
    omudpspoof module will be compiled:       no
    omuxsock module will be compiled:         no
    omzmq3 module will be compiled:           no
    omczmq module will be compiled:           no
    omrabbitmq module will be compiled:       no
    omhttpfs module will be compiled:         no
    omamqp1 module will be compiled:          no
    omtcl module will be compiled:            no
    omkafka module will be compiled:          no

---{ parser modules }---
    pmlastmsg module will be compiled:        no
    pmcisconames module will be compiled:     no
    pmciscoios module will be compiled:       no
    pmnull module will be compiled:           no
    pmnormalize module will be compiled:      no
    pmaixforwardedfrom module w.be compiled:  no
    pmsnare module will be compiled:          no
    pmpanngfw module will be compiled:        no

---{ message modification modules }---
    mmnormalize module will be compiled:      no
    mmjsonparse module will be compiled:      no
    mmgrok module will be compiled:           no
    mmjaduit module will be compiled:         no
    mmsnmptrapd module will be compiled:      no
    mmutf8fix enabled:                        no
    mmrfc5424addhmac enabled:                 no
    mmpstrucdata enabled:                     no
    mmsequence enabled:                       no
    mmdblookup enabled:                       no

---{ database support }---
    MySql support enabled:                    no
    libdbi support enabled:                   no
    PostgreSQL support enabled:               no
    mongodb support enabled:                  no
    hiredis support enabled:                  no

---{ protocol support }---
    GnuTLS network stream driver enabled:     no
    GSSAPI Kerberos 5 support enabled:        no
    RELP support enabled:                     yes
    SNMP support enabled:                     no

---{ debugging support }---
    Testbench enabled:                        no
    Extended Testbench enabled:               no
    MySQL Tests enabled:                      no
    PostgreSQL Tests enabled:                 no
    Kafka Tests enabled:                      no
    Debug mode enabled:                       no
    Runtime Instrumentation enabled:          no
    (total) debugless mode enabled:           no
    Diagnostic tools enabled:                 no
    End-User tools enabled:                   no
    Enhanced memory checking enabled:         no
    Valgrind support settings enabled:        no

+ make
make  all-recursive
make[1]: Entering directory `/home/work/rpm/BUILD/rsyslog-8.29.0'
Making all in compat
make[2]: Entering directory `/home/work/rpm/BUILD/rsyslog-8.29.0/compat'
  CC       compat_la-getifaddrs.lo
  CC       compat_la-strndup.lo
  CC       compat_la-solaris_elf_fix.lo
  CCLD     compat.la
make[2]: Leaving directory `/home/work/rpm/BUILD/rsyslog-8.29.0/compat'
Making all in runtime
make[2]: Entering directory `/home/work/rpm/BUILD/rsyslog-8.29.0/runtime'
  CC       librsyslog_la-rsyslog.lo
  CC       librsyslog_la-dnscache.lo
  CC       librsyslog_la-glbl.lo
  CC       librsyslog_la-conf.lo
  CC       librsyslog_la-janitor.lo
  CC       librsyslog_la-rsconf.lo
  CC       librsyslog_la-parser.lo
  CC       librsyslog_la-strgen.lo
  CC       librsyslog_la-msg.lo
msg.c: In function 'getTimeGenerated':
msg.c:438:1: warning: inlining failed in call to 'MsgUnlock': call is unlikely 
and code size would grow
msg.c:1957:14: warning: called from here
msg.c:438:1: warning: inlining failed in call to 'MsgUnlock': call is unlikely 
and code size would grow
msg.c:1968:14: warning: called from here
msg.c:438:1: warning: inlining failed in call to 'MsgUnlock': call is unlikely 
and code size would grow
msg.c:1979:42: warning: called from here
msg.c:438:1: warning: inlining failed in call to 'MsgUnlock': call is unlikely 
and code size would grow
msg.c:1991:15: warning: called from here
msg.c:438:1: warning: inlining failed in call to 'MsgUnlock': call is unlikely 
and code size would grow
msg.c:2003:14: warning: called from here
msg.c: In function 'getTimeReported':
msg.c:438:1: warning: inlining failed in call to 'MsgUnlock': call is unlikely 
and code size would grow
msg.c:1762:14: warning: called from here
msg.c:438:1: warning: inlining failed in call to 'MsgUnlock': call is unlikely 
and code size would grow
msg.c:1773:42: warning: called from here
  CC       librsyslog_la-linkedlist.lo
  CC       librsyslog_la-objomsr.lo
  CC       librsyslog_la-stringbuf.lo
  CC       librsyslog_la-datetime.lo
datetime.c: In function 'ParseTIMESTAMP3339':
datetime.c:246:1: warning: inlining failed in call to 'srSLMGParseInt32': call 
is unlikely and code size would grow
datetime.c:306:8: warning: called from here
datetime.c:246:1: warning: inlining failed in call to 'srSLMGParseInt32': call 
is unlikely and code size would grow
datetime.c:313:6: warning: called from here
datetime.c:246:1: warning: inlining failed in call to 'srSLMGParseInt32': call 
is unlikely and code size would grow
datetime.c:321:7: warning: called from here
datetime.c:246:1: warning: inlining failed in call to 'srSLMGParseInt32': call 
is unlikely and code size would grow
datetime.c:328:9: warning: called from here
datetime.c:246:1: warning: inlining failed in call to 'srSLMGParseInt32': call 
is unlikely and code size would grow
datetime.c:335:9: warning: called from here
datetime.c:246:1: warning: inlining failed in call to 'srSLMGParseInt32': call 
is unlikely and code size would grow
datetime.c:343:11: warning: called from here
datetime.c:246:1: warning: inlining failed in call to 'srSLMGParseInt32': call 
is unlikely and code size would grow
datetime.c:365:32: warning: called from here
datetime.c:246:1: warning: inlining failed in call to 'srSLMGParseInt32': call 
is unlikely and code size would grow
datetime.c:373:16: warning: called from here
datetime.c: In function 'ParseTIMESTAMP3164':
datetime.c:246:1: warning: inlining failed in call to 'srSLMGParseInt32': call 
is unlikely and code size would grow
datetime.c:646:6: warning: called from here
datetime.c:246:1: warning: inlining failed in call to 'srSLMGParseInt32': call 
is unlikely and code size would grow
datetime.c:655:7: warning: called from here
datetime.c:246:1: warning: inlining failed in call to 'srSLMGParseInt32': call 
is unlikely and code size would grow
datetime.c:668:8: warning: called from here
datetime.c:246:1: warning: inlining failed in call to 'srSLMGParseInt32': call 
is unlikely and code size would grow
datetime.c:677:9: warning: called from here
datetime.c:246:1: warning: inlining failed in call to 'srSLMGParseInt32': call 
is unlikely and code size would grow
datetime.c:684:9: warning: called from here
datetime.c:246:1: warning: inlining failed in call to 'srSLMGParseInt32': call 
is unlikely and code size would grow
datetime.c:694:11: warning: called from here
  CC       librsyslog_la-srutils.lo
srutils.c:345:9: warning: expected [error|warning|ignored] after '#pragma GCC 
diagnostic'
srutils.c:392:9: warning: expected [error|warning|ignored] after '#pragma GCC 
diagnostic'
  CC       librsyslog_la-errmsg.lo
  CC       librsyslog_la-debug.lo
debug.c: In function 'dbgprint':
debug.c:916:9: warning: variable 'pszObjName' might be clobbered by 'longjmp' 
or 'vfork'
  CC       librsyslog_la-obj.lo
  CC       librsyslog_la-modules.lo
  CC       librsyslog_la-statsobj.lo
  CC       librsyslog_la-dynstats.lo
dynstats.c: In function 'dynstats_destroyCountersIn':
dynstats.c:91:2: warning: pointer targets in passing argument 1 of 'ATOMIC_SUB' 
differ in signedness
atomic.h:179:2: note: expected 'int *' but argument is of type 'uint32_t *'
dynstats.c: In function 'dynstats_addNewCtr':
dynstats.c:499:2: warning: pointer targets in passing argument 1 of 
'ATOMIC_FETCH_32BIT' differ in signedness
atomic.h:170:2: note: expected 'int *' but argument is of type 'uint32_t *'
dynstats.c:499:62: warning: comparison between signed and unsigned integer 
expressions
  CC       librsyslog_la-stream.lo
  CC       librsyslog_la-var.lo
  CC       librsyslog_la-wtp.lo
wtp.c: In function 'wtpWorker':
wtp.c:369:1: warning: function might be possible candidate for attribute 
'noreturn'
  CC       librsyslog_la-wti.lo
  CC       librsyslog_la-queue.lo
  CC       librsyslog_la-ruleset.lo
  CC       librsyslog_la-prop.lo
  CC       librsyslog_la-ratelimit.lo
  CC       librsyslog_la-lookup.lo
lookup.c: In function 'build_ArrayTable':
lookup.c:414:23: warning: declaration of 'index' shadows a global declaration
lookup.c: In function 'lookupReadFile':
lookup.c:414:11: warning: 'prev_index' may be used uninitialized in this 
function
  CC       librsyslog_la-cfsysline.lo
  CC       ../librsyslog_la-action.lo
../action.c:1010:9: warning: expected [error|warning|ignored] after '#pragma 
GCC diagnostic'
../action.c:1048:9: warning: expected [error|warning|ignored] after '#pragma 
GCC diagnostic'
  CC       ../librsyslog_la-threads.lo
../threads.c: In function 'thrdStarter':
../threads.c:184:14: warning: function might be possible candidate for 
attribute 'noreturn'
  CC       ../librsyslog_la-parse.lo
  CC       librsyslog_la-sd-daemon.lo
  CC       librsyslog_la-hashtable.lo
  CC       librsyslog_la-hashtable_itr.lo
  CC       ../librsyslog_la-outchannel.lo
  CC       ../librsyslog_la-template.lo
  CCLD     librsyslog.la
libtool: warning: library '/home/work/rootfs/usr/lib/libfastjson.la' was moved.
libtool: warning: library '/home/work/rootfs/usr/lib/libestr.la' was moved.
libtool: warning: library '/home/work/rootfs/usr/lib/liblogging-stdlog.la' was 
moved.
  CC       lmregexp_la-regexp.lo
  CCLD     lmregexp.la
libtool: warning: library '/home/work/rootfs/usr/lib/liblogging-stdlog.la' was 
moved.
  CC       lmzlibw_la-zlibw.lo
  CCLD     lmzlibw.la
libtool: warning: library '/home/work/rootfs/usr/lib/liblogging-stdlog.la' was 
moved.
  CC       lmnet_la-net.lo
net.c:1582:9: warning: expected [error|warning|ignored] after '#pragma GCC 
diagnostic'
net.c:1630:9: warning: expected [error|warning|ignored] after '#pragma GCC 
diagnostic'
  CCLD     lmnet.la
libtool: warning: library '/home/work/rootfs/usr/lib/liblogging-stdlog.la' was 
moved.
  CC       lmnetstrms_la-netstrms.lo
  CC       lmnetstrms_la-netstrm.lo
  CC       lmnetstrms_la-nssel.lo
  CC       lmnetstrms_la-nspoll.lo
  CCLD     lmnetstrms.la
libtool: warning: library '/home/work/rootfs/usr/lib/liblogging-stdlog.la' was 
moved.
  CC       lmstrmsrv_la-strmsrv.lo
strmsrv.c: In function 'Run':
strmsrv.c:528:1: warning: function might be possible candidate for attribute 
'noreturn'
  CC       lmstrmsrv_la-strms_sess.lo
  CCLD     lmstrmsrv.la
libtool: warning: library '/home/work/rootfs/usr/lib/liblogging-stdlog.la' was 
moved.
  CC       lmnsd_ptcp_la-nsd_ptcp.lo
  CC       lmnsd_ptcp_la-nsdsel_ptcp.lo
  CC       lmnsd_ptcp_la-nsdpoll_ptcp.lo
  CCLD     lmnsd_ptcp.la
libtool: warning: library '/home/work/rootfs/usr/lib/liblogging-stdlog.la' was 
moved.
  CC       lmtcpsrv_la-tcps_sess.lo
  CC       lmtcpsrv_la-tcpsrv.lo
  CCLD     lmtcpsrv.la
libtool: warning: library '/home/work/rootfs/usr/lib/liblogging-stdlog.la' was 
moved.
  CC       lmtcpclt_la-tcpclt.lo
  CCLD     lmtcpclt.la
libtool: warning: library '/home/work/rootfs/usr/lib/liblogging-stdlog.la' was 
moved.
make[2]: Leaving directory `/home/work/rpm/BUILD/rsyslog-8.29.0/runtime'
Making all in grammar
make[2]: Entering directory `/home/work/rpm/BUILD/rsyslog-8.29.0/grammar'
  YACC     grammar.c
updating grammar.h
make  all-am
make[3]: Entering directory `/home/work/rpm/BUILD/rsyslog-8.29.0/grammar'
  CC       libgrammar_la-grammar.lo
grammar.c:294:6: warning: "YYENABLE_NLS" is not defined
grammar.c:898:6: warning: "YYLTYPE_IS_TRIVIAL" is not defined
  LEX      lexer.c
/home/work/rpm/BUILD/rsyslog-8.29.0/grammar/lexer.l:152: warning, rule cannot 
be matched
  CC       libgrammar_la-lexer.lo
lexer.c:3051:5: warning: no previous prototype for 'yyget_lineno'
lexer.c:3060:7: warning: no previous prototype for 'yyget_in'
lexer.c:3068:7: warning: no previous prototype for 'yyget_out'
lexer.c:3076:5: warning: no previous prototype for 'yyget_leng'
lexer.c:3085:7: warning: no previous prototype for 'yyget_text'
lexer.c:3094:6: warning: no previous prototype for 'yyset_lineno'
lexer.c:3106:6: warning: no previous prototype for 'yyset_in'
lexer.c:3111:6: warning: no previous prototype for 'yyset_out'
lexer.c:3116:5: warning: no previous prototype for 'yyget_debug'
lexer.c:3121:6: warning: no previous prototype for 'yyset_debug'
lexer.c:3158:5: warning: no previous prototype for 'yylex_destroy'
lexer.c: In function 'yy_fatal_error':
lexer.c:3023:13: warning: function might be possible candidate for attribute 
'noreturn'
  CC       libgrammar_la-rainerscript.lo
  CCLD     libgrammar.la
make[3]: Leaving directory `/home/work/rpm/BUILD/rsyslog-8.29.0/grammar'
make[2]: Leaving directory `/home/work/rpm/BUILD/rsyslog-8.29.0/grammar'
Making all in .
make[2]: Entering directory `/home/work/rpm/BUILD/rsyslog-8.29.0'
make[2]: Leaving directory `/home/work/rpm/BUILD/rsyslog-8.29.0'
Making all in plugins/immark
make[2]: Entering directory `/home/work/rpm/BUILD/rsyslog-8.29.0/plugins/immark'
  CC       immark_la-immark.lo
  CCLD     immark.la
libtool: warning: library '/home/work/rootfs/usr/lib/liblogging-stdlog.la' was 
moved.
make[2]: Leaving directory `/home/work/rpm/BUILD/rsyslog-8.29.0/plugins/immark'
Making all in plugins/imuxsock
make[2]: Entering directory 
`/home/work/rpm/BUILD/rsyslog-8.29.0/plugins/imuxsock'
  CC       imuxsock_la-imuxsock.lo
imuxsock.c:1018:9: warning: expected [error|warning|ignored] after '#pragma GCC 
diagnostic'
imuxsock.c:1110:9: warning: expected [error|warning|ignored] after '#pragma GCC 
diagnostic'
  CCLD     imuxsock.la
libtool: warning: library '/home/work/rootfs/usr/lib/liblogging-stdlog.la' was 
moved.
make[2]: Leaving directory 
`/home/work/rpm/BUILD/rsyslog-8.29.0/plugins/imuxsock'
Making all in plugins/imtcp
make[2]: Entering directory `/home/work/rpm/BUILD/rsyslog-8.29.0/plugins/imtcp'
  CC       imtcp_la-imtcp.lo
  CCLD     imtcp.la
libtool: warning: library '/home/work/rootfs/usr/lib/liblogging-stdlog.la' was 
moved.
make[2]: Leaving directory `/home/work/rpm/BUILD/rsyslog-8.29.0/plugins/imtcp'
Making all in plugins/imudp
make[2]: Entering directory `/home/work/rpm/BUILD/rsyslog-8.29.0/plugins/imudp'
  CC       imudp_la-imudp.lo
  CCLD     imudp.la
libtool: warning: library '/home/work/rootfs/usr/lib/liblogging-stdlog.la' was 
moved.
make[2]: Leaving directory `/home/work/rpm/BUILD/rsyslog-8.29.0/plugins/imudp'
Making all in plugins/omtesting
make[2]: Entering directory 
`/home/work/rpm/BUILD/rsyslog-8.29.0/plugins/omtesting'
  CC       omtesting_la-omtesting.lo
  CCLD     omtesting.la
libtool: warning: library '/home/work/rootfs/usr/lib/liblogging-stdlog.la' was 
moved.
make[2]: Leaving directory 
`/home/work/rpm/BUILD/rsyslog-8.29.0/plugins/omtesting'
Making all in plugins/mmexternal
make[2]: Entering directory 
`/home/work/rpm/BUILD/rsyslog-8.29.0/plugins/mmexternal'
  CC       mmexternal_la-mmexternal.lo
  CCLD     mmexternal.la
libtool: warning: library '/home/work/rootfs/usr/lib/liblogging-stdlog.la' was 
moved.
make[2]: Leaving directory 
`/home/work/rpm/BUILD/rsyslog-8.29.0/plugins/mmexternal'
Making all in tools
make[2]: Entering directory `/home/work/rpm/BUILD/rsyslog-8.29.0/tools'
  CC       rsyslogd-syslogd.o
  CC       rsyslogd-rsyslogd.o
  CC       rsyslogd-omshell.o
  CC       rsyslogd-omusrmsg.o
  CC       rsyslogd-omfwd.o
  CC       rsyslogd-omfile.o
omfile.c:98:5: warning: "HAVE_ATOMIC_BUILTINS64" is not defined
omfile.c: In function 'getClockFileAccess':
omfile.c:110:5: warning: "HAVE_ATOMIC_BUILTINS64" is not defined
  CC       rsyslogd-ompipe.o
  CC       rsyslogd-omdiscard.o
  CC       rsyslogd-pmrfc5424.o
  CC       rsyslogd-pmrfc3164.o
  CC       rsyslogd-smtradfile.o
  CC       rsyslogd-smfile.o
  CC       rsyslogd-smfwd.o
  CC       rsyslogd-smtradfwd.o
  CC       rsyslogd-iminternal.o
  CCLD     rsyslogd
libtool: warning: library '/home/work/rootfs/usr/lib/libestr.la' was moved.
libtool: warning: library '/home/work/rootfs/usr/lib/libfastjson.la' was moved.
libtool: warning: library '/home/work/rootfs/usr/lib/liblogging-stdlog.la' was 
moved.
libtool: warning: library '/home/work/rootfs/usr/lib/libestr.la' was moved.
libtool: warning: library '/home/work/rootfs/usr/lib/libfastjson.la' was moved.
libtool: warning: library '/home/work/rootfs/usr/lib/liblogging-stdlog.la' was 
moved.
make[2]: Leaving directory `/home/work/rpm/BUILD/rsyslog-8.29.0/tools'
Making all in plugins/imklog
make[2]: Entering directory `/home/work/rpm/BUILD/rsyslog-8.29.0/plugins/imklog'
  CC       imklog_la-imklog.lo
  CC       imklog_la-bsd.lo
  CCLD     imklog.la
libtool: warning: library '/home/work/rootfs/usr/lib/liblogging-stdlog.la' was 
moved.
make[2]: Leaving directory `/home/work/rpm/BUILD/rsyslog-8.29.0/plugins/imklog'
Making all in plugins/omrelp
make[2]: Entering directory `/home/work/rpm/BUILD/rsyslog-8.29.0/plugins/omrelp'
  CC       omrelp_la-omrelp.lo
  CCLD     omrelp.la
libtool: warning: library '/home/work/rootfs/usr/lib/librelp.la' was moved.
make[2]: Leaving directory `/home/work/rpm/BUILD/rsyslog-8.29.0/plugins/omrelp'
Making all in plugins/imrelp
make[2]: Entering directory `/home/work/rpm/BUILD/rsyslog-8.29.0/plugins/imrelp'
  CC       imrelp_la-imrelp.lo
  CCLD     imrelp.la
libtool: warning: library '/home/work/rootfs/usr/lib/librelp.la' was moved.
make[2]: Leaving directory `/home/work/rpm/BUILD/rsyslog-8.29.0/plugins/imrelp'
Making all in plugins/imfile
make[2]: Entering directory `/home/work/rpm/BUILD/rsyslog-8.29.0/plugins/imfile'
  CC       imfile_la-imfile.lo
imfile.c:2421:9: warning: expected [error|warning|ignored] after '#pragma GCC 
diagnostic'
imfile.c:2488:9: warning: expected [error|warning|ignored] after '#pragma GCC 
diagnostic'
  CCLD     imfile.la
make[2]: Leaving directory `/home/work/rpm/BUILD/rsyslog-8.29.0/plugins/imfile'
Making all in tests
make[2]: Entering directory `/home/work/rpm/BUILD/rsyslog-8.29.0/tests'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/work/rpm/BUILD/rsyslog-8.29.0/tests'
make[1]: Leaving directory `/home/work/rpm/BUILD/rsyslog-8.29.0'
+ exit 0
Build time for rsyslog: 45 seconds
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to