Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bug 787044 alike: gcc-11 gui-libs/libhandy:1 amd build...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3638

PostPosted: Tue May 25, 2021 3:31 pm    Post subject: Bug 787044 alike: gcc-11 gui-libs/libhandy:1 amd build... Reply with quote

gui-libs/libhandy-1.2.2: several error: argument 2 of ‘__atomic_load’ discards ‘volatile’ qualifier [-Werror=incompatible-pointer-types].
libhandy-1.0.3:1 is amd stable here, but the issue is the same as in the bug report pointed above.

Here's a poor workaround to successfully build:
Code:
cat /etc/portage/package.env/*libhandy*
gui-libs/libhandy gcc-no-incompatible-pointer-types-error.conf
This second part of the workaround is over complicated for the average joe, & should be simplified accordingly:
Code:
cat /etc/portage/env/gcc-no-incompatible-pointer-types-error.conf
GCC_N_RR_NCMPTBL_PNTR_TPS="-Wno-error=incompatible-pointer-types"
source /etc/portage/env/gcc.conf
Alternatively it might be possible to patch the upstream build script to force the gcc flag for the incriminated bits only.
Sorry I didn't investigate that path yet.

Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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