Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 604942 - net-mail/mailutils-2.99.98-r1: Fails to compile with gold linker
Summary: net-mail/mailutils-2.99.98-r1: Fails to compile with gold linker
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: systemwide-gold
  Show dependency tree
 
Reported: 2017-01-07 16:06 UTC by Simon Levermann (sonOfRa)
Modified: 2019-03-27 05:22 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (file_604942.txt,18.35 KB, text/plain)
2017-01-07 16:06 UTC, Simon Levermann (sonOfRa)
Details
Build log (file_604942.txt,355.24 KB, text/plain)
2017-01-07 16:07 UTC, Simon Levermann (sonOfRa)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Levermann (sonOfRa) 2017-01-07 16:06:15 UTC
When compiling net-mail/mailutils-2.99.98-r1 with the gold linker as the default linker, compilation fails due to unresolved references to 'ber_memvfree' and other functions from liblber.

Seems like this is an underlinking issue (mailutils links to libldap, which links to liblber, but uses functions from liblber directly)

Reproducible: Always
Comment 1 Simon Levermann (sonOfRa) 2017-01-07 16:06:37 UTC
Created attachment 459064 [details]
emerge --info
Comment 2 Simon Levermann (sonOfRa) 2017-01-07 16:07:47 UTC
Created attachment 459066 [details]
Build log
Comment 3 Simon Levermann (sonOfRa) 2017-01-07 16:14:29 UTC
Newest (3.1) mailutils fails with the same errors:

/var/tmp/portage/portage/net-mail/mailutils-3.1/work/mailutils-3.1/libmu_auth/.libs/libmu_auth.so: error: undefined reference to 'ber_memvfree'
/var/tmp/portage/portage/net-mail/mailutils-3.1/work/mailutils-3.1/libmu_auth/.libs/libmu_auth.so: error: undefined reference to 'ber_memfree'
/var/tmp/portage/portage/net-mail/mailutils-3.1/work/mailutils-3.1/libmu_auth/.libs/libmu_auth.so: error: undefined reference to 'ber_set_option'
Comment 4 Andrei Slavoiu 2017-12-20 23:18:05 UTC
3.4 fails as well
Comment 5 Eray Aslan gentoo-dev 2019-03-27 05:22:00 UTC
Should be fixed in net-mail/mailutils-3.6.  Closing.