Summary: | app-text/pdf2htmlEX-0.14.6 built with gcc-6.4.0: segmentation fault on any input | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andreas K. Hüttel <dilfridge> |
Component: | Current packages | Assignee: | Printing Team <printing> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | floppym, fonts, toolchain |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 642232 |
Description
Andreas K. Hüttel
2017-12-25 13:42:04 UTC
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca40e3a175ee5cda3f248d1b84c6d8a596f3fcba commit ca40e3a175ee5cda3f248d1b84c6d8a596f3fcba Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2017-12-30 19:36:22 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2017-12-30 19:36:55 +0000 app-text/pdf2htmlEX: Bump for debugging purposes. Builds with poppler-0.61 but crashes, see bug 642614 and bug 642210 Closes: https://bugs.gentoo.org/642614 Bug: https://bugs.gentoo.org/642210 See-also: https://github.com/akhuettel/pdf2htmlEX/releases/tag/gentoo-v0.14.6.1 Package-Manager: Portage-2.3.19, Repoman-2.3.6 app-text/pdf2htmlEX/Manifest | 1 + app-text/pdf2htmlEX/pdf2htmlEX-0.14.6.1.ebuild | 32 ++++++++++++++++++++++++++ 2 files changed, 33 insertions(+)} When built with sys-devel/gcc-5.4.0-r3, the program works fine. Note, I only rebuilt pdf2htmlEX; the whole remaining system was still the code generated with gcc-6 on 17.0 profile rebuild. Adding -no-pie to CXXFLAGS and CFLAGS makes things work also with gcc-6 ... The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=501d60fe95831fe5b55ab586fddbc966d5a39127 commit 501d60fe95831fe5b55ab586fddbc966d5a39127 Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2017-12-30 21:57:15 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2017-12-30 21:57:31 +0000 app-text/pdf2htmlEX: Enforce building without PIE, bug 642210 To do this cleanly we require at least gcc-6 (otherwise the ebuild becomes one big mess). Closes: https://bugs.gentoo.org/642210 Package-Manager: Portage-2.3.19, Repoman-2.3.6 app-text/pdf2htmlEX/pdf2htmlEX-0.14.6.1.ebuild | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) For the record the fontforge issues are a *different* crash (that we start seeing now, depending on the input; completely different backtrace). -> new bug for that |