From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 60702387089C; Wed, 16 Dec 2020 17:53:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 60702387089C From: "ro at CeBiTec dot Uni-Bielefeld.DE" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/98315] [11 regression] libcody breaks Solaris bootstrap Date: Wed, 16 Dec 2020 17:53:37 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at CeBiTec dot Uni-Bielefeld.DE X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2020 17:53:37 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D98315 --- Comment #5 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #3 from Nathan Sidwell --- [...] >> Unfortunately not: there are still two instances of the problem: > > There is another path to get to a poisoned bcopy. Fixed thusly. > > gcc/cp/ > * mapper-resolver.cc: #include sys/socket before system.h > due to poisoned bcopy use. Thanks. But doesn't gcc/cp/module.cc need a similar treatment to deal with the second part? In file included from /usr/include/sys/socket.h:25, from /vol/gcc/src/hg/master/local/gcc/../libcody/cody.hh:2= 9, from /vol/gcc/src/hg/master/local/gcc/cp/mapper-client.h:2= 6, from /vol/gcc/src/hg/master/local/gcc/cp/module.cc:232: /usr/include/sys/uio.h:192:3: error: attempt to use poisoned "bzero" bzero(&(xuiop)->xu_hint, sizeof ((xuiop)->xu_hint)); \ ^=