From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sender4-pp-o91.zoho.com (sender4-pp-o91.zoho.com [136.143.188.91]) by sourceware.org (Postfix) with ESMTPS id 93F30385DC14 for ; Sat, 23 May 2020 14:37:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 93F30385DC14 ARC-Seal: i=1; a=rsa-sha256; t=1590244644; cv=none; d=zohomail.com; s=zohoarc; b=mK3LpfRjZK68pS7OovNU4qEawXkd906/BItnfm/+XyeLhBZMLjqaEUBFhPw8xS5WORi8kmod7AQMl7FqcD8KQ0fkjN2GPp5zAji0uw78fLNIIefTVBAe6RTf4K41WavOW5jNKl+zpNdtjYHGqZn14armYl9zuXLXLkVEcRa35RA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590244644; h=Content-Type:Date:From:MIME-Version:Message-ID:Subject:To; bh=8AwWjCUjkX0oBKMe0hiH/zZipZezKTEmEBCUNS4MHKE=; b=AaLk+2fPU3++Ws9YWlwB9kIysiZLy7JzJmVPL3aDdpyREEIQr7eznndvtXXsb2+4ksoIIRVw3OpW5e46I1Utl7LpShipHr+OArb0aZFL9mb5nWID0Mn11bmlA4bebShK024wGcsw03wl4+JszkWaXEE1M4/DCQN07Sq72gOVlxw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=zoho.com; spf=pass smtp.mailfrom=bouanto@zoho.com; dmarc=pass header.from= header.from= Received: from localhost (38.87.1.99 [38.87.1.99]) by mx.zohomail.com with SMTPS id 1590244643040285.8293528585252; Sat, 23 May 2020 07:37:23 -0700 (PDT) Date: Sat, 23 May 2020 10:37:21 -0400 From: Antoni Boucher To: jit@gcc.gnu.org Subject: Compiling with debug info Message-ID: <20200523143721.2cooaxzzkxmfgjey@bouanto-laptop.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline X-ZohoMailClient: External X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: jit@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Jit mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 May 2020 14:37:28 -0000 Hi. I'd like to debug a segfault I'm having with libgccjit, but I'm unable to get debug info. I tried adding -g and setting STRIP to 0 but I still get no symbols in gdb (in the compiler itself, not the program compiled with it). For reference, here's my starting point to compile libgccjit: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=libgccjit#n60 Thanks.