| Summary: | x11-misc/synergy-1.3.1 fails with CFLAGS containing '-Os' (-Werror) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Michael Klapproth <gentoo> |
| Component: | New packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
emerge --info please. |
emerging breaks with this: source='XSocket.cpp' object='XSocket.o' libtool=no \ depfile='.deps/XSocket.Po' tmpdepfile='.deps/XSocket.TPo' \ FOO=5 depmode=gcc3 /bin/sh ../../config/depcomp \ i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/common -I../../lib/arch -I../../lib/base -I../../lib/mt -I../../lib/io -march=prescott -mtune=generic -Os -pipe -fomit-frame-pointer -g -Wall -Wno-unknown-pragmas -Werror -DSYSAPI_UNIX=1 -DWINAPI_XWINDOWS=1 -pthread -c -o XSocket.o `test -f 'XSocket.cpp' || echo './'`XSocket.cpp cc1plus: warnings being treated as errors CTCPSocket.cpp: In member function »virtual void CTCPSocket::write(const void*, UInt32)«: CTCPSocket.cpp:143: Warnung: »wasEmpty« könnte in dieser Funktion uninitialisiert verwendet werden make[3]: *** [CTCPSocket.o] Fehler 1 Problem: CFLAGS contains -Os Solve: Replace -Os with -O2 or -O3 or remove it complete Additional Info: CFLAGS="-march=prescott -mtune=generic -Os -pipe -fomit-frame-pointer" CXXFLAGS="${CFLAGS}" ACCEPT_KEYWORDS="~x86"