CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3638
|
Posted: Tue May 25, 2021 3:31 pm Post subject: Bug 787044 alike: gcc-11 gui-libs/libhandy:1 amd build... |
|
|
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. " |
|