From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-oln040092067073.outbound.protection.outlook.com [40.92.67.73]) by sourceware.org (Postfix) with ESMTPS id 19CD9385B831 for ; Sun, 5 Apr 2020 13:48:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 19CD9385B831 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=hotmail.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=bernd.edlinger@hotmail.de ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PjsSiKPpjFsIvZSSOrnU3nRUS1kOWlev25punIpvOwnkKFOO1OZbA/HlNIEkaPZvXSQHYBJtQtmz62YICVWeXVotpbCTXJ1LPzRfHz5rV68m0kTY+/+Ij3AzRSW29i4JCTwj7UBVQDYvIrV5m2BRVdU9wz8du5xqsOMHJ1nJh4TzCKOP8/aDnPaRcdRWJ/BrytFQc5bXsVB2HTTDqkH2+OlRZ7HukZmS92UZ2vBE/kB/HrQu50+LwAh1psZBhWdCe/jrJj0L2zNjZWB0ySnfHhm5MrY+vRntLW+CxdNgS9gF+cbRA9x1sl4+RL84+isq5VsA/0YszVJ9g8dj4XOlwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DsLRM6u9v0fTM0hCTGCikfWf/O04rny2ERhndPZY9b0=; b=PqxeOCW1wUNQH8EskoHC7KRb5qk1CL102I62msnkYcNmKRNQBf1ssT5xRJ9LB7HVA9kXrCT9Oux2LORaXLJ/vVdAp/9qa+hd66X8d7eRzfk3jTbfGjjXDNQzTmHI7pOIxOFt28goniPx2nt/yL4bqcrkU2tI1E7QkviFTkH/e8/AvJId25U3lC60W9QQ5gqMQaz0LVn/7yNtfkqyml6uxA9PvnAptmhXMpB9jnc9Yz2OEwSEu5CqdAGuqyiV6QkVzVoe8bpSapUkztRdHR02uI5ndY6X4rFxh3pKNONRccLriA1M+LvRKepoYH+xRJlVTF20nijG/NVAckSXnM4EmA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hotmail.de; dmarc=pass action=none header.from=hotmail.de; dkim=pass header.d=hotmail.de; arc=none Received: from VE1EUR02FT019.eop-EUR02.prod.protection.outlook.com (2a01:111:e400:7e1e::4e) by VE1EUR02HT063.eop-EUR02.prod.protection.outlook.com (2a01:111:e400:7e1e::370) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2878.15; Sun, 5 Apr 2020 13:48:10 +0000 Received: from AM6PR03MB5170.eurprd03.prod.outlook.com (2a01:111:e400:7e1e::48) by VE1EUR02FT019.mail.protection.outlook.com (2a01:111:e400:7e1e::107) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2878.15 via Frontend Transport; Sun, 5 Apr 2020 13:48:10 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:BC7C7104ACBF40716934F87C1AF452EA9ACE49D6AAC50E99EE6CB1CF4048DEA2; UpperCasedChecksum:3B4A00CDB523F053089D9837E83B6BAD5014B0A0934667F4E0D521E9E8E94360; SizeAsReceived:7947; Count:50 Received: from AM6PR03MB5170.eurprd03.prod.outlook.com ([fe80::d57:5853:a396:969d]) by AM6PR03MB5170.eurprd03.prod.outlook.com ([fe80::d57:5853:a396:969d%7]) with mapi id 15.20.2878.018; Sun, 5 Apr 2020 13:48:10 +0000 Subject: Re: static linking of gdb To: Eli Zaretskii Cc: gdb-patches@sourceware.org, tom@tromey.com References: <837dyut6kx.fsf@gnu.org> From: Bernd Edlinger Message-ID: Date: Sun, 5 Apr 2020 15:48:09 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 In-Reply-To: <837dyut6kx.fsf@gnu.org> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit X-ClientProxiedBy: FR2P281CA0009.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a::19) To AM6PR03MB5170.eurprd03.prod.outlook.com (2603:10a6:20b:ca::23) X-Microsoft-Original-Message-ID: <323da33d-007d-8019-6bc9-c497f5d8d590@hotmail.de> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.1.101] (92.77.140.102) by FR2P281CA0009.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2878.15 via Frontend Transport; Sun, 5 Apr 2020 13:48:10 +0000 X-Microsoft-Original-Message-ID: <323da33d-007d-8019-6bc9-c497f5d8d590@hotmail.de> X-TMN: [AUPzZ9D4CvJhu9UmFUIOKkVP5iTWng/T] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 50 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: ed57ddd0-b264-45d6-b031-08d7d967fa73 X-MS-TrafficTypeDiagnostic: VE1EUR02HT063: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: WcpbA32m3UrvGEWRI7CoXK5TkDpGPgmumQLiSiyguF7KAJRTxNM6jpyNvzzQ+ffuDpGEfcvjzkLK5FKRs+LyWh+P8+drQQlJJuVpdX7x0Q1JWYH2bT7VkBSvI70AiG0c9E/epJms4po2lpX+KI5CQzgy0Tm8LR1VkeUOR0TBtWIS/IK5aKfpWm7Br94jt24wjhSgqmqiNevVzInFm32OZDCWC2ss4EEmxVxciOA2+8k= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:0; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR03MB5170.eurprd03.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:; DIR:OUT; SFP:1901; X-MS-Exchange-AntiSpam-MessageData: W2iCuG1ZvKUSgUQuORbjRlatdEzePm9ti9LdZ1UT0Hs7hcEXgghp96SdkFIla5/zvdRTELQm8jVxJk+kOLhyv1Yut43q+EBYyRUTBvJda5GWzzZpOSAjPn5xxw9H3Z2s3eGPxBhBe3uUT0Gev4mrYw== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ed57ddd0-b264-45d6-b031-08d7d967fa73 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Apr 2020 13:48:10.7086 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1EUR02HT063 X-Spam-Status: No, score=0.4 required=5.0 tests=BAYES_00, FORGED_MUA_MOZILLA, FREEMAIL_FROM, KAM_DMARC_STATUS, MSGID_FROM_MTA_HEADER, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Apr 2020 13:48:13 -0000 On 4/5/20 3:17 PM, Eli Zaretskii wrote: >> From: Bernd Edlinger >> Date: Sun, 5 Apr 2020 12:13:42 +0200 >> >> I noticed that gdb is currently not >> linking libstdc++ statically, as it did >> in the past if I remember correclty. > > You need to request that by passing --with-static-standard-libraries > to the configure script. Note that if you do that, you may encounter > an error at configure time, because the configure script thinks the > above option is incompatible with source-highlight library (without > checking whether a static version of that library is available). This > was reported here: > > https://sourceware.org/pipermail/gdb-patches/2020-February/165843.html > > but AFAIK was not fixed yet. > Ah, yes, indeed. I need to configure as ../binutils-gdb/configure --prefix=/home/ed/gnu/gdb-install-1 --disable-binutils --disable-gas --disable-gprof --disable-ld --with-static-standard-libraries --disable-source-highlight Can someone explain to me why gdbserver needs source highlight? Or for what I need a source highlight at all ;-) ? I never used tui mode FWIW. I do not even use eclipse. Bernd.