Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
net-libs/webkit-gtk fails with clang
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
JustCauseWhyNot
Apprentice
Apprentice


Joined: 07 Dec 2021
Posts: 167

PostPosted: Sat Jan 25, 2025 11:25 pm    Post subject: net-libs/webkit-gtk fails with clang Reply with quote

emerge --info, emerge -pqv, and here's the build.log. It's a download cause the file exceeds the 2MB file limit on paste.gentoo.zip. My issue is webkit-gtk fails to build when using clang. When looking at the log I can't figure out why. It builds fine under gcc though.
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 2110

PostPosted: Sun Jan 26, 2025 4:23 am    Post subject: Reply with quote

Quote:

In file included from /var/tmp/portage/net-libs/webkit-gtk-2.46.5-r600/work/webkitgtk-2.46.5_build/WTF/Headers/wtf/Platform.h:31:
/var/tmp/portage/net-libs/webkit-gtk-2.46.5-r600/work/webkitgtk-2.46.5_build/WTF/Headers/wtf/Compiler.h:116:2: error: "Building release without compiler optimizations: WebKit will be slow. Set -DRELEASE_WITHOUT_OPTIMIZATIONS if this is intended."
116 | #error "Building release without compiler optimizations: WebKit will be slow. Set -DRELEASE_WITHOUT_OPTIMIZATIONS if this is intended."
|  ^
1 error generated.


Your CFLAGS are empty, as in the other thread (git).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum