From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 85525 invoked by alias); 1 Mar 2018 02:43:59 -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 85508 invoked by uid 89); 1 Mar 2018 02:43:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=H*r:8.12.8 X-HELO: mx.sdf.org Received: from mx.sdf.org (HELO mx.sdf.org) (205.166.94.20) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 01 Mar 2018 02:43:56 +0000 Received: from sdf.org (IDENT:coypu@sdf.lonestar.org [205.166.94.15]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id w212hgjx024840 (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits) verified NO) for ; Thu, 1 Mar 2018 02:43:43 GMT Received: (from coypu@localhost) by sdf.org (8.15.2/8.12.8/Submit) id w212hgb9008909 for gcc-patches@gcc.gnu.org; Thu, 1 Mar 2018 02:43:42 GMT Date: Thu, 01 Mar 2018 02:43:00 -0000 From: coypu@sdf.org To: gcc-patches@gcc.gnu.org Subject: Re: [PATCH 1/2] Untangle stddef.h a little Message-ID: <20180301024342.GB20007@SDF.ORG> References: <20180204073846.GA17915@SDF.ORG> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180204073846.GA17915@SDF.ORG> User-Agent: Mutt/1.9.1 (2017-09-22) X-SW-Source: 2018-03/txt/msg00007.txt.bz2 hi gcc-patches, as part of pinging, i'll explain the story of this patch. I want to make sure all netbsd archs work with upstream gcc. in this case, netbsd/arm's EABI support. I try to break up my changes into digestible chunks that are rational, which is why this change came first. building netbsd/arm gcc-trunk, I had a build error in libstdc++, because this stddef.h relies on include guards: #if defined(_ANSI_H_) || defined(_MACHINE_ANSI_H_) || defined(_X86_64_ANSI_H_) || defined(_I386_ANSI_H_) In theory I could have just added: || _ARM_ANSI_H_ this felt gross, so I tried a better solution. the file even comes with comments like: /* Why is this file so hard to maintain properly? so I try my best to help. Please let me upstream local changes. there are a lot of them. and I feel unable to get them across. I have so many changes that it feels inappropriate to ask for help with hard problems like internal compiler errors because upstream GCC hit a different problem. I'm not familiar with stuff so this is hard :-(