From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10687 invoked by alias); 10 Jan 2019 08:21:28 -0000 Mailing-List: contact jit-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Subscribe: Sender: jit-owner@gcc.gnu.org Received: (qmail 10667 invoked by uid 89); 10 Jan 2019 08:21:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.100.2 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=LIBGCCJIT, H*f:sk:0511991, H*f:sk:df14e86, HX-Received:4851 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: mail-pg1-f180.google.com Received: from mail-pg1-f180.google.com (HELO mail-pg1-f180.google.com) (209.85.215.180) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 10 Jan 2019 08:21:26 +0000 Received: by mail-pg1-f180.google.com with SMTP id n2so4531339pgm.3 for ; Thu, 10 Jan 2019 00:21:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ehGtPUAyQNFhT+O+xvOtOLLSCP38hAOlL0XNOV6ORWk=; b=h4sfSltCdjXNJn7x10APlmgfLVdWdUKwlrSF7z2dgX3AcfwstaK56UYYL5lseWDZwY HOnwYuwKHiflNSfOehoBlH0mH1sbBGHnf8cLZai+E+Oc+O7YtdTD+HQNXDPhKo6mFvXf 8A6E2aUGucJKkR36WJh7ZCMa7MGkBZ8eXHwRi+IN3Tz6x8y1z6xU9hMdKpHdiUHAUs2q P8bAUM/To4c59ijMD7z3VXF2mw8JUi4/xGlYK+UVyHJQOizfjuCktxQrxy4e/ZbOtcO+ NlAOFI+bdIrlhkRfJH6VVbNfWjV9iRD5KvfotEMditNqj23b7dLw49x1fesr1eKS6g6T 2ZyQ== X-Gm-Message-State: AJcUukf/scFVeNGRAaVK6aCRfOzNFJ3LnY2b5ttMzwJyUyOkxuWPPDxs JDXSD3HbPJnVy0boT07mzDh8cNJ2UNJ94Q+GupU= X-Google-Smtp-Source: ALg8bN4YSPdaDYZOrb+DidGVfV9J4X8V4bbhhkxN3PUDsabH/JRr6V9sJlXQ/RxhQy9CrqoGybegN06g7DV31MqIYFg= X-Received: by 2002:a62:4851:: with SMTP id v78mr9360439pfa.97.1547108484527; Thu, 10 Jan 2019 00:21:24 -0800 (PST) MIME-Version: 1.0 References: <0511991f924b445cad0467ad28fc8f45.squirrel@mx.sdf.org> In-Reply-To: From: =?UTF-8?Q?Marc_Nieper=2DWi=C3=9Fkirchen?= Date: Tue, 01 Jan 2019 00:00:00 -0000 Message-ID: Subject: Re: about header file parsing To: Basile Starynkevitch Cc: akrl , jit@gcc.gnu.org, David Malcolm Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2019-q1/txt/msg00030.txt.bz2 Am Di., 8. Jan. 2019 um 22:16 Uhr schrieb Basile Starynkevitch : [...] > Still another thing could be to use LTO: you'll compile your C file with > GCC using -flto, you'll do LIBGCCJIT things, and the final executable > sould be compiled and linked with -flto. Is using: gcc_jit_context_add_command_line_option (ctxt, "-flto helper.o"); supported to have the object generated by libgccjit statically linked with the object helper.o before libgccjit emits the final dynamic library? (Let's assume that helper.o has been compiled with -flto.) [...] -- Marc