for example g++ -DWITH_ZLIB=1 -DWITH_LZMA=0x465 -I/var/tmp/notmpfs/portage/app-arch/upx-ucl-3.91/work -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wl,-O1 -Wl,--as-needed -Wl,-O2 -Wl,-z,now -Wl,-z,relro -lpthread -lgomp -fweb -fgcse-after-reload -fivopts -fopenmp -Wno-error=implicit-function-declaration -pthread -D_REENTRANT -O2 -Wall -W -Wcast-align -Wcast-qual -Wpointer-arith -Wshadow -Wwrite-strings -Werror -o work.o -c work.cpp
Created attachment 472566 [details] app-arch:upx-ucl-3.91:20170502-151622.log build log
Setting CXXFLAGS_WERROR=" " will solve the problem
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70ab4e4e37a23720a608fbeed7ca2e3f416fe36c commit 70ab4e4e37a23720a608fbeed7ca2e3f416fe36c Author: Azamat H. Hackimov <azamat.hackimov@gmail.com> AuthorDate: 2019-05-23 02:55:39 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2019-08-08 18:21:15 +0000 app-arch/upx: updated to 3.95 Updated to recent version 3.95 (#645646), removed -Werror option (#618432). Major cleanups to ebuild: * Updated to EAPI 7 * Updated HOMEPAGE, removed redundant USEs * Added myself to maintainers Closes: https://bugs.gentoo.org/618432 Closes: https://bugs.gentoo.org/645646 Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com> Package-Manager: Portage-2.3.62, Repoman-2.3.11 Signed-off-by: Joonas Niilola <juippis@gentoo.org> app-arch/upx/Manifest | 1 + app-arch/upx/metadata.xml | 9 ++++++--- app-arch/upx/upx-3.95.ebuild | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 41 insertions(+), 3 deletions(-)