If ircservices-5.0.45 is compiled with CFLAGS="-Os", it will segfault on startup. This does not happen with CFLAGS="-O2". Reproducible: Always Steps to Reproduce: 1. Set CFLAGS="-Os". 2. emerge ircservices 3. /etc/init.d/ircservices start Actual Results: * Starting IRC Services... /sbin/runscript.sh: line 532: 6999 Segmentation fault /usr/bin/ircservices -dir=/var/lib/ircservices -log=/var/log/ircservices/ircservices.log >&/dev/null [ !! ] Expected Results: * Starting IRC Services... [ ok ] (IRC Services would now be running.) The CFLAGS listed above only contains the switch that affects the application. The full CFLAGS is as follows: CFLAGS="-Os -march=pentium4 -mmmx -msse -msse2 -mfpmath=sse -fomit-frame-pointer -pipe" In testing, the only flag that affected the result was the optimization flag.
Doesn't happen for me with -Os but I added -Os to the -O CFLAGS replacement. Thanks!