Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]net-vpn/vopono fails to build
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: 180

PostPosted: Wed Jun 04, 2025 10:08 pm    Post subject: [solved]net-vpn/vopono fails to build Reply with quote

build.log, emerge --info, and emerge -pqv. I've also
Code:
❯ cat /etc/portage/package.env | rg vopono
net-vpn/vopono clang-no-lto lld
clang-no-lto, and lld. I get a lot of issue when ever I try to build any rust packages. I've also tried building it with gcc, and it fails.

Last edited by JustCauseWhyNot on Thu Jun 05, 2025 4:29 am; edited 1 time in total
Back to top
View user's profile Send private message
Juippisi
Developer
Developer


Joined: 30 Sep 2005
Posts: 766
Location: /home

PostPosted: Thu Jun 05, 2025 2:56 am    Post subject: Re: net-vpn/vopono fails to build Reply with quote

JustCauseWhyNot wrote:

I get a lot of issue when ever I try to build any rust packages. I've also tried building it with gcc, and it fails.


Quote:

Code:

RUSTFLAGS="-C opt-level=2 -C target-cpu=native -C link-arg=-fuse-ld=mold -Clinker-plugin-lto"
LDFLAGS="${LDFLAGS} -fuse-ld=lld"



If I had to guess this is the root cause for it. Or polly. You've riced your entire system and now you got to entangle the mess.
Back to top
View user's profile Send private message
JustCauseWhyNot
Apprentice
Apprentice


Joined: 07 Dec 2021
Posts: 180

PostPosted: Thu Jun 05, 2025 4:29 am    Post subject: Reply with quote

Thanks it builds now that I set
Code:
❯ cat /etc/portage/env/lld /etc/portage/env/clang-no-polly-lto
RUSTFLAGS="-C opt-level=2 -C target-cpu=native -C link-arg=-fuse-ld=lld -Clinker-plugin-lto"
LDFLAGS="${LDFLAGS} -fuse-ld=lld"
COMMON_FLAGS="-O3 -fno-plt -fno-semantic-interposition -frecord-gcc-switches -march=native -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed -fuse-ld=mold"
CGO_CFLAGS="${COMMON_FLAGS}"
CGO_CXXFLAGS="${COMMON_FLAGS}"
CGO_FCFLAGS="${COMMON_FLAGS}"
CGO_FFLAGS="${COMMON_FLAGS}"
CGO_LDFLAGS="${LDFLAGS}"

LTO_FLAGS=""
LTO_FLAGS_THIN=""

Code:
net-vpn/vopono clang-no-polly-lto lld
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



OSZAR »