From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15909 invoked by alias); 1 Jul 2011 14:06:44 -0000 Received: (qmail 15899 invoked by uid 22791); 1 Jul 2011 14:06:43 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-qw0-f47.google.com (HELO mail-qw0-f47.google.com) (209.85.216.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 01 Jul 2011 14:06:29 +0000 Received: by qwh5 with SMTP id 5so1878868qwh.20 for ; Fri, 01 Jul 2011 07:06:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.79.196 with SMTP id q4mr2608750qck.132.1309529188808; Fri, 01 Jul 2011 07:06:28 -0700 (PDT) Received: by 10.229.214.83 with HTTP; Fri, 1 Jul 2011 07:06:28 -0700 (PDT) In-Reply-To: References: <20110625161357.GA5401@intel.com> <4E07A879.70509@redhat.com> <4E089A88.60401@redhat.com> <4E0C8361.5050403@redhat.com> <4E0C904E.8090504@redhat.com> <4E0CC85E.3090401@redhat.com> Date: Fri, 01 Jul 2011 14:06:00 -0000 Message-ID: Subject: Re: PATCH [8/n]: Prepare x32: PR other/48007: Unwind library doesn't work with UNITS_PER_WORD > sizeof (void *) From: "H.J. Lu" To: Rainer Orth Cc: Richard Henderson , Jason Merrill , gcc-patches@gcc.gnu.org, Jakub Jelinek Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes 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 X-SW-Source: 2011-07/txt/msg00039.txt.bz2 On Fri, Jul 1, 2011 at 7:02 AM, Rainer Orth w= rote: > "H.J. Lu" writes: > >>>> What is your suggestion? >>> >>> How about moving the md-unwind-support.h include up to the rest of the >>> includes? =A0The headers usually only define MD_FALLBACK_FRAME_STATE_FOR >>> and perhaps MD_FROB_UPDATE_CONTEXT, everything else is an internal >>> helper macro, so order shouldn't matter. >>> >> >> It doesn't work on Linux/x86-64: >> >> In file included from >> /export/gnu/import/git/gcc/libgcc/../gcc/unwind-dw2.c:39:0: >> ./md-unwind-support.h: In function \u2018x86_fallback_frame_state\u2019: >> ./md-unwind-support.h:121:30: error: dereferencing pointer to incomplete= type > > Then move it below the definition of struct _Unwind_Context with a It won't work since I need to define a macro before struct _Unwind_Context. > comment explaining why it has to be there. =A0I thought you aspired to > become Linux maintainer? > Yes, not by breaking working codes. --=20 H.J.