Summary: | app-editors/emacs-23.4-r18[gtk] - /usr/lib64/libc_nonshared.a(pthread_atfork.oS): In function `__pthread_atfork': (.text+0x27): undefined reference to `__dso_handle' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Anthony Mendez <darkdexter> |
Component: | Current packages | Assignee: | GNU Emacs project <gnu-emacs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | darkdexter |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
URL: | https://gitweb.gentoo.org/proj/emacs-patches.git/tree/emacs/23.4/31_all_dso-handle.patch | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Anthony Mendez
2019-04-01 21:44:16 UTC
That code and especially the build system are showing their age. The __dso_handle variable is normally declared in libgcc's crtstuff.c (from which crtbegin.o is created). However, we don't link against it because of the -nostdlib option. As a workaround, I've declared __dso_handle in emacs.c, which makes the build succeed, and the resulting emacs binary seems to work. Please reopen this bug if you see any problems cause by this at runtime. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=287131fb6a563d87e5020ebcada01cbdd89fe46d commit 287131fb6a563d87e5020ebcada01cbdd89fe46d Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2019-04-02 08:16:05 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2019-04-02 08:16:38 +0000 app-editors/emacs: Fix compilation of Emacs 23 with USE=gtk. Closes: https://bugs.gentoo.org/682282 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Ulrich Müller <ulm@gentoo.org> app-editors/emacs/Manifest | 2 +- app-editors/emacs/emacs-23.4-r18.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) |