From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 90808 invoked by alias); 18 Jul 2017 14:12:39 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 90772 invoked by uid 89); 18 Jul 2017 14:12:38 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM autolearn=no version=3.3.2 spammy=strategy X-HELO: mail-qk0-f177.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=PHwCDSa3MZS6jAtQP2Fn28WEh951vmUKtwjO0APskOw=; b=ORAW1N+jlEp0k9jGje4Zcsv5F7luph/6MglLomm2Mhmxzq2r7d4Xo97fFMnouMqmpq 5LyFwSgb/jazLxGffrAdLFhr37rZfqlaAy+3CgcZ9TF5FkP1/XiZCROy6RjrWvJ6KDp1 e0lLlyRp883fsbie7av32oFUMyLs7cvqxcIMxsr5S3VsiUjNhQqDJK7P0mbPYXO+TYmR aJNdsXgrpMNsxaj9M18+W6Am9GeAwnn2xn0BRU+K2cNYmpvnbl+0DWqibjYbuTOBr9LM Sn4Kn8TrOPW+RvZO3C807vuhewpLP2plZuBDNBJ89MTKbSXDnqzYYD8DKbLReeZN/nb4 vF/g== X-Gm-Message-State: AIVw111v71fjWWevoWY/SOfmmkycYdCbGdmJTwG0AJ+az2xeLNd2tqke 4z41/9Q4cnXsa3gHcDVszg== X-Received: by 10.55.100.206 with SMTP id y197mr2232295qkb.56.1500387155339; Tue, 18 Jul 2017 07:12:35 -0700 (PDT) Subject: Re: [PATCH] S390: Sync ptrace.h with kernel. [BZ #21539] To: Stefan Liebler , libc-alpha@sourceware.org References: <20170613200522.GA14306@altlinux.org> <20170718102039.GA20971@altlinux.org> <2e9fcbdc-4060-5e1d-8866-82aaca9316b1@linux.vnet.ibm.com> From: Carlos O'Donell Message-ID: <9aade119-9008-7352-ab02-5a8b18b16d48@redhat.com> Date: Tue, 18 Jul 2017 14:12:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: <2e9fcbdc-4060-5e1d-8866-82aaca9316b1@linux.vnet.ibm.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-SW-Source: 2017-07/txt/msg00646.txt.bz2 On 07/18/2017 09:41 AM, Stefan Liebler wrote: >> $ gcc -c -xc -o/dev/null - <<'EOF' >> #include >> #include >> EOF > Is this order required? Per the synchronization headers strategy for glibc we try to support *both* orders for important headers where possible. https://sourceware.org/glibc/wiki/Synchronizing_Headers > I've tried it on x86_64 RHEL 7.3: > In file included from /usr/include/asm/ptrace.h:5:0, > from :1: > /usr/include/sys/ptrace.h:74:4: error: expected identifier before numeric constant > PTRACE_GETREGS = 12, > ^ This is a known issue. It is known that linux/ptrace.h and sys/ptrace.h do not really work well together. We need to fix it. -- Cheers, Carlos.