From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22053 invoked by alias); 10 Jul 2017 08:42:48 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 20977 invoked by uid 89); 10 Jul 2017 08:42:47 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_PASS,URIBL_RED autolearn=ham version=3.3.2 spammy= X-HELO: mx1.suse.de Received: from mx2.suse.de (HELO mx1.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 10 Jul 2017 08:42:46 +0000 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 809B6AAF2; Mon, 10 Jul 2017 08:42:44 +0000 (UTC) From: Andreas Schwab To: Joseph Myers Cc: Subject: Re: Use ucontext_t not struct ucontext in linux-unwind.h files References: X-Yow: Darling, my ELBOW is FLYING over FRANKFURT, Germany.. Date: Mon, 10 Jul 2017 08:42:00 -0000 In-Reply-To: (Joseph Myers's message of "Tue, 27 Jun 2017 13:57:25 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2017-07/txt/msg00439.txt.bz2 On Jun 27 2017, Joseph Myers wrote: > Testing compilation together with current glibc with glibc's > build-many-glibcs.py. OK to commit (mainline and active release > branches) if that passes? This still doesn't work on the gcc-6-branch: In file included from ../../../libjava/prims.cc:26:0: ../../../libjava/prims.cc: In function 'void _Jv_catch_fpe(int, siginfo_t*, void*)': ./include/java-signal.h:33:26: error: invalid use of incomplete type 'struct _Jv_catch_fpe(int, siginfo_t*, void*)::ucontext' gregset_t &_gregs = _uc->uc_mcontext.gregs; \ ^ ../../../libjava/prims.cc:192:3: note: in expansion of macro 'HANDLE_DIVIDE_OVERFLOW' HANDLE_DIVIDE_OVERFLOW; ^~~~~~~~~~~~~~~~~~~~~~ ./include/java-signal.h:32:10: note: forward declaration of 'struct _Jv_catch_fpe(int, siginfo_t*, void*)::ucontext' struct ucontext *_uc = (struct ucontext *)_p; \ ^ ../../../libjava/prims.cc:192:3: note: in expansion of macro 'HANDLE_DIVIDE_OVERFLOW' HANDLE_DIVIDE_OVERFLOW; ^~~~~~~~~~~~~~~~~~~~~~ make[3]: *** [Makefile:9968: prims.lo] Error 1 Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."