Summary: | net-mail/dovecot-2.{0,1}.*[managesieve] compiled with ld.gold throws: /usr/libexec/dovecot/managesieve: symbol lookup error: /usr/lib64/dovecot/libdovecot-sieve.so.0: undefined symbol: mail_deliver_get_log_var_expand_table | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Marcin Mirosław <bug> |
Component: | Current packages | Assignee: | Eray Aslan <eras> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | net-mail+disabled, toolchain |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 269315 | ||
Attachments: | build.log |
Description
Marcin Mirosław
2012-07-11 10:25:37 UTC
I couldn't reproduce this with dovecot-2.1.8 on a non-hardened system. Can you post the full build log please? Created attachment 317950 [details]
build.log
Please note those error occurs when i run managesieve binary after installing.
First impression is that it's an ld.gold bug. I commited dovecot-2.1.8-r1 (masked for now) which includes an experimental patch for this issue. managesieve binary compiles fine with gold with binutils-2.21.1-r1, binutils-2.22-r1 and binutils-2.22.52.04 but segfaults at runtime - make check also fails with the $SUBJECT message btw. But reportedly, it works on debian with binutils-2.20. See the thread at: http://dovecot.org/list/dovecot/2012-July/067067.html So, it looks like a regression in ld.gold or a bug on our part. I am cc'ing toolchain in the hope that they have a clue. /usr/lib64/dovecot/libdovecot-lda.so provides the mail_deliver_get_log_var_expand_table symbol, but /usr/lib64/dovecot/libdovecot-sieve.so doesn't link against it. sounds like a bug in dovecot. Should be fixed in =net-mail/dovecot-2.1.9. Thanks for the bug report. I checked dovecot-2.1.9 and compiles fine for me, thanks! What about 2.0.*? |