OK, so I've narrowed down the problem to LDFLAGS="-Wl,-Bsymbolic-functions" . If I build rsyslog without that, then the daemon does not segfault on the first message. The debian build has an empty LDFLAGS [1], which explains why their binaries work and the ones I built with debuild did not.
OK, so I've narrowed down the problem to LDFLAGS= "-Wl,-Bsymbolic -functions" . If I build rsyslog without that, then the daemon does not segfault on the first message. The debian build has an empty LDFLAGS [1], which explains why their binaries work and the ones I built with debuild did not.
[1] https:/ /buildd. debian. org/status/ fetch.php? pkg=rsyslog& arch=amd64& ver=5.8. 1-1&stamp= 1306775502
I wonder if it is an appropriate work around or not, to build with empty LDFLAGS.