Summary: | x11-libs/wxGTK-3.0.0.0 - x86_64-pc-linux-gnu-ranlib: /usr/lib64/crt1.o: In function `_start': (.text+0x20): undefined reference to `main' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Christian <christian+bgo> |
Component: | [OLD] Library | Assignee: | Gentoo wxWidgets project <wxwidgets> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gentoo, jeremie.horhant, lssndrbarbieri, pageexec, tsmksubc |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/26862 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
complete build.log
emerge -info |
Description
Christian
2014-03-11 13:22:17 UTC
Created attachment 372376 [details]
complete build.log
Created attachment 372378 [details]
emerge -info
Me too! Removing '-Wl,-O1' from CXXFLAGS fixes this for me. (In reply to Rick Harris from comment #3) > Me too! > > Removing '-Wl,-O1' from CXXFLAGS fixes this for me. Yes, I can confirm this resolves the issue. Thanks. P.S. In my case those flags were introduced into CXXFLAGS by portage-bashrc-mv. I still run into this issue for x11-libs/wxGTK-3.0.4-r300 It's not clear how I'm supposed to remove '-Wl,-O1' from the CXXFLAGS since I'm not adding it via make.conf. (In reply to throwd from comment #5) > I still run into this issue for x11-libs/wxGTK-3.0.4-r300 > > It's not clear how I'm supposed to remove '-Wl,-O1' from the CXXFLAGS since > I'm not adding it via make.conf. Please share emerge --info and attach the full build.log. (In reply to Sam James from comment #6) sorry, I'd missed that the update to the bug was because of Emily's PR, and not this comment. Whoops. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b215f0743a4266e48ff3377811a7ce73f287d1f commit 8b215f0743a4266e48ff3377811a7ce73f287d1f Author: Emily Rowlands <emily@erowl.net> AuthorDate: 2022-08-23 15:19:23 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2022-08-23 15:19:23 +0000 x11-libs/wxGTK: Disable precompiled headers This commit adds USE=pch to disable precompiled headers. PCHes are unstable and as such, USE=pch is masked globally. This bug can alternatively be fixed by filtering various FLAGs (-Wl,-O1 -Wl,-z,relro, and similar). Closes: https://bugs.gentoo.org/504204 Signed-off-by: Emily Rowlands <emily@erowl.net> Signed-off-by: David Seifert <soap@gentoo.org> x11-libs/wxGTK/wxGTK-3.0.4-r3.ebuild | 7 ++++++- x11-libs/wxGTK/wxGTK-3.0.5.1.ebuild | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) |