From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9BBDA1382AD for ; Tue, 14 Jun 2016 09:17:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 16282E0891; Tue, 14 Jun 2016 09:17:54 +0000 (UTC) Received: from mail-oi0-f52.google.com (mail-oi0-f52.google.com [209.85.218.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A10C2E0891 for ; Tue, 14 Jun 2016 09:17:53 +0000 (UTC) Received: by mail-oi0-f52.google.com with SMTP id d132so143491545oig.1 for ; Tue, 14 Jun 2016 02:17:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=C3IiT9LD6LOzwk87/oECPC7LUe8Jyf2L4I698dvPjq4=; b=c3z690kAtqqdf7XcolIcZ4OFVVSP1vZEJ/gBmTdTtgzbm+n0md8yzi4uGUQ0GRg5Yk RlqAci58Ls6rPJXlGx0wypV6k99AyjM48ODQEqwNNV6Lk635xv4butitu20wNt5ihTdJ SN4ubj/ov6+VRyn1oVJA8agbE41nrHHeACuIPaMv1cJOYakbegiimHtg7fk24XhSZW/d Iy8M1JGpdWcILHS3OU19wFRRyzn7NvfN+HPgXoWwP9ENaqojUDmUiTFDD9XFmgX3Ehar K5hI1b/3HkQ2+bxduY3OLiijRG2aWAi6dYdwDWgKGRiHSH1M1hlx03Lb2kSJLIs6mCWN TO0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=C3IiT9LD6LOzwk87/oECPC7LUe8Jyf2L4I698dvPjq4=; b=Qn89aXaiAsAmKeAVQbO3JfU4fCgj2EE3Veysr6xKVJ9pj7A8q6XQvvXcF8nx/CQLpU T3J38JMwpkjizPewpX3D0PR5MlxxEjf38Y8yEELwiKBqQ53ynGswj+TzcR9658m1rrBt cR/fTGbN2A031mkbrbd+W+qpK3Stxb05nVtmhSj313uKjWo/bBtl5DXsutagRU3DgqJs eG0Y0uyiMxji0Ii5cgHGhtyjFJsvW7go6cxZx1HjjAiIu996PeOb/swJuveuDeORoPiv krltsIFfOlxeakNDq0ekfzUrpFEUsXSKBz9Rt4h1jS/eIlmrcNwX9qetGNAQP590DUma lCjQ== X-Gm-Message-State: ALyK8tI5YvOgl8NBGw7tBRrmi4NPpAhkQvl+yW9vLjgcyT98l3tqXhqP8VDLVW7yR8DuWOQZd83T63MzGUltFQ== X-Received: by 10.157.12.246 with SMTP id o51mr10264251otd.72.1465895872651; Tue, 14 Jun 2016 02:17:52 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo musl list X-BeenThere: gentoo-musl@gentoo.org X-BeenThere: gentoo-musl@lists.gentoo.org MIME-Version: 1.0 Received: by 10.202.63.212 with HTTP; Tue, 14 Jun 2016 02:17:52 -0700 (PDT) In-Reply-To: <4228046b-02f1-1b65-f56d-6e79347e4390@gentoo.org> References: <20160614081043.GA364@nyan> <4228046b-02f1-1b65-f56d-6e79347e4390@gentoo.org> From: Lei Zhang Date: Tue, 14 Jun 2016 17:17:52 +0800 Message-ID: Subject: Re: [gentoo-musl] [GSoC] _GNU_SOURCE in C++ To: Luca Barbato Cc: gentoo-musl@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 60ef2f32-09ef-4860-86bf-f73527eac410 X-Archives-Hash: 425a31fa4ba08ca91bdc3151e5fa9b11 2016-06-14 17:12 GMT+08:00 Luca Barbato : > On 14/06/16 10:28, Lei Zhang wrote: >> 2016-06-14 16:10 GMT+08:00 Felix Janda : >>> Take a look at the discussion at >>> >>> http://www.openwall.com/lists/musl/2014/04/15/3 >> >> And some view from the LLVM side: >> >> http://article.gmane.org/gmane.comp.compilers.clang.devel/46390 >> >> IMHO, the real problem is the abuse of _GNU_SOURCE by C++ compiler. >> The decisions made by LLVM and musl both look reasonable to me. >> > > -U_GNU_SOURCE would make you get through the problem for the time being? > > Given you aren't using libstdc++ in that case, assuming libcxx does not > have the need probably might be the easiest workaround. Unfortunately libc++ depends on this macro as well: http://lists.llvm.org/pipermail/cfe-dev/2016-June/049447.html I'm imagining some ugly hacks on LLVM now... Lei