From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by sourceware.org (Postfix) with ESMTPS id 390103858C52 for ; Tue, 12 Apr 2022 04:13:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 390103858C52 Received: by mail-pj1-x102c.google.com with SMTP id h15-20020a17090a054f00b001cb7cd2b11dso1503558pjf.5 for ; Mon, 11 Apr 2022 21:13:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=2y+nc3ooB5AIRUZF69Tg0dcUB+6/HhjcP4AgZ4iyx/A=; b=V1J/FBUC25YtLE0uPUEHO79DiVobXfLjiT/Gb/42yEXa0uWBgLf4mhIChvQ8slVAaw w0R7+eWi3Iq7O9T+QQl8wXjcRw5TimbBIUdaVWyP/e4MqKj/1qK61aGDVeA7a3pkwpLP O4ZavZzEADgHJ/A98gqUwli92NIj58ZGrWLR7hWfqgz8ktyjln4xrB7uOmzVm97jXQkI PbqA5dPHNXxM30N/hfT5k19mdBLWy30XoizmNP7CwuFjnnJ2dmHJN5NKgdY1ynhPFR5n OebTkpXmnQRHT8/Q/QhfyLh1Y1stRs5gSkb51Maso/AFHCK9N3eJb82BQmBKthWfupQI S2yw== X-Gm-Message-State: AOAM531fav2qUZvFCy2OzlSK2zMExoBuEHWHKsZC61iLAH/ZfAy3p43z JT/V2/zTOhzRnGi2WiM4WuWrj9BibjI= X-Google-Smtp-Source: ABdhPJxakfcOYXO4y00aWYtA2PC0mpjBNpGP0aLtFXBwdGd+17zZVfGr+1vinXqSP7Q8o554UvrTow== X-Received: by 2002:a17:90b:3ec9:b0:1c7:74f6:ae6e with SMTP id rm9-20020a17090b3ec900b001c774f6ae6emr2798794pjb.212.1649736819056; Mon, 11 Apr 2022 21:13:39 -0700 (PDT) Received: from smtpclient.apple ([103.172.73.131]) by smtp.gmail.com with ESMTPSA id y63-20020a623242000000b00505c49bd2e9sm4858175pfy.219.2022.04.11.21.13.37 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Apr 2022 21:13:38 -0700 (PDT) From: Ankur Saini Message-Id: Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.60.0.1.1\)) Subject: Re: [GSoC]Bypass assembler when generating LTO object files Date: Tue, 12 Apr 2022 09:43:34 +0530 In-Reply-To: Cc: gcc@gcc.gnu.org To: Jan Hubicka References: <7B167841-0CDA-4084-A160-62C625B85486@gmail.com> X-Mailer: Apple Mail (2.3693.60.0.1.1) X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE, WEIRD_PORT autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gcc@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2022 04:13:43 -0000 > On 08-Apr-2022, at 6:32 PM, Jan Hubicka wrote: > > Ankur, >> I was browsing the list of submitted GSoC projects this year and the >> project regarding bypassing assembler when generating LTO object files >> caught my eye. > I apologize for late reply. I would be very happy to mentor this > project. Thanks for the reply, but unfortunately, due to some reasons, I would not be able to take part in GSoC this year. But the project seems interesting and would be amazing opportunity to learn a lot more things for me, so would it be okay if I try to give it a go outside GSoC if no-one else picks it as their GSoC project this year ? >> >> I already have a gcc built from source (sync-ed with trunk/master) and >> launched the test-suite on it. >> >> I am currently in process of understanding the primilary patch >> (https://gcc.gnu.org/legacy-ml/gcc/2014-09/msg00340.html), and >> experimenting with it. >> >> are there any other things I should be aware of (useful Doc/blog or a >> bug tracking the project) before proceeding further ? > > I think it is pretty much all that exists. Basically we will need to > implement everything that is necessary to stream out valid object file > directly from GCC rather than going through gas. The experimental > prototype sort of worked but it was lacking few things. When I try to apply that patch on my local branch ( branched from trunk ), it seem to be incompatible with the current working tree. Is there a specific branch that I have to apply it to ? or is it due to the recent file rename patch ( changing extensions from .c to .cc ) ? ``` $ git apply --check bypass_asm_patch error: patch failed: Makefile.in:1300 error: Makefile.in: patch does not apply error: common.opt: No such file or directory error: langhooks.c: No such file or directory error: lto/Make-lang.in: No such file or directory error: lto/lto-object.c: No such file or directory error: lto/lto.c: No such file or directory error: lto/lto.h: No such file or directory error: lto-streamer.h: No such file or directory error: toplev.c: No such file or directory ``` Thanks - Ankur