On 21 Jun 2017, at 16.03, Mart Pirita <sysad...@e-positive.ee> wrote:
> 
>>> ltest_lib-test-bits.o: In function `bits_required64':
>>> /usr/src/redhat/BUILD/dovecot-2.2.30/src/lib/bits.h:33: undefined
>>> reference to `__builtin_clzll'

This can be fixed with the attached patch.

Attachment: diff
Description: Binary data

> Edit, tested with newer gcc and got new error:
> 
> db-checkpassword.c: In function 'sigchld_handler':
> db-checkpassword.c:434:6: error: assignment of read-only member '__in'
> db-checkpassword.c:437:26: error: assignment of read-only member '__in'
> db-checkpassword.c:439:13: error: assignment of read-only member '__in'
> db-checkpassword.c:440:26: error: assignment of read-only member '__in'

But this is weird. Why are your WIFSIGNALED(), WTERMSIG(), WIFEXITED() and 
WEXITSTATUS() macros trying to write to the status variable? Also this code 
hasn't even changed between 2.2.29 and 2.2.30.

Reply via email to