Summary: | x11-wm/awesome breaks with clang14 (CURRENT) | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Jonathan Reynolds <jreynolds1729> | ||||
Component: | Individual Port(s) | Assignee: | Alexandre C. Guimarães <rigoletto> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | jreynolds1729 | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(rigoletto) |
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
URL: | http://github.com/awesomewm/awesome | ||||||
Attachments: |
|
Description
Jonathan Reynolds
2022-10-16 10:51:06 UTC
Found the error message. ld: warning: cannot find entry symbol xport-dynamic; not setting start address clang-13: error: unsupported option '--export-dynamic' from ld: --export-dynamic, -E Put symbols in the dynamic symbol table @${REINPLACE_CMD} -e "s/-export-dynamic/\"-Xlinker -E\"/" \ ${WRKSRC}/CMakeLists.txt The above line solve the issue. Sorry for not providing a patch. I already patched with a non-existent port bug #267105 Created attachment 237378 [details]
Fix linker flags -export-dynamic
clang-13: error: unsupported option '--export-dynamic'
from ld(1)
--export-dynamic, -E
Put symbols in the dynamic symbol table.
proposed fix:
+ @${REINPLACE_CMD} -e "s/-export-dynamic/\"-Xlinker -E\"/" \
+ ${WRKSRC}/CMakeLists.txt
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=18d2762dc269d461fb51ee0235b8b8b1c212190b commit 18d2762dc269d461fb51ee0235b8b8b1c212190b Author: Alexandre C. Guimarães <rigoletto@FreeBSD.org> AuthorDate: 2022-10-22 19:12:24 +0000 Commit: Alexandre C. Guimarães <rigoletto@FreeBSD.org> CommitDate: 2022-10-22 19:12:24 +0000 x11-wm/awesome: Fix build with clang14 (CURRENT) PR: 267119 Reported by: Jonathan Reynolds <jreynolds1729@gmail.com> x11-wm/awesome/Makefile | 4 ++++ 1 file changed, 4 insertions(+) Thank you! :-) (In reply to Alexandre C. Guimarães from comment #5) My pleasure. |