From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-oln040092074100.outbound.protection.outlook.com [40.92.74.100]) by sourceware.org (Postfix) with ESMTPS id 2116B385B831 for ; Sun, 5 Apr 2020 13:23:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 2116B385B831 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=mn0WLSq1Dr5YSd/8a46aeWoastVliGjoXgwr5dQtS+Ot4zfppAHlAjEKgtuRVFsFaBPk/m2vLOWdZdQk3yh0j46Pm/zQiq9CAee4UotbKhg4hnAOkKRqLY/MA93wewpuUl9JEwZ85HIk/1no3VsmZ1pbINyD/M8RGEGhTxq0L1L/HilQ2+3hkvOG3DEtmAl2wafl/rG9EdnRU9Cyro7xpxdrrgFD6KrTlD4bsAzvEoKmtwGYK8qA1FzCilzap3jFTC4B/dgBmutom0/S7/X+hLu0OaTgfemorDYYtrM8ies0BMmwzyb+mrncyxlpC71CBYbEuM5Gc+ABjTYXoSERMA== 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=1deBHcEHgdDxa+oX/PG7yNaNvpTboH/Nfqu2oJw2bzQ=; b=KYRawIM1cjk2qMUH7bdZhS0ugLpIzgaGRysakIOtCaXX5f210amL5QKRz5VU23/wSaExjVLMQUNxacdmHspm8FQKNtc1nWbWe9u72DkHly+CsAcMV9ADU691zCc+UYkgXfaUlOkg4OTlcid+A9YetMKT6MJ7mFVfHCV40319+28q18MC5jF7OYz9yE3JrMuiWozyvzIUoFicvOVYuZy0gNn8275ElKrji4BKEZvh9Vw9UPCh94dyOx0ZE9UF1st8RoFTjOeZBKw1ig6SXCWcnC6z5zFOmt4cS6MitXENmW6Xpely+gANZYMnAaTBVmgoorccCRzCcleYM8oV2zgFXA== 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 HE1EUR04FT006.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0d::4e) by HE1EUR04HT042.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0d::158) 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:23:46 +0000 Received: from AM6PR03MB5170.eurprd03.prod.outlook.com (2a01:111:e400:7e0d::46) by HE1EUR04FT006.mail.protection.outlook.com (2a01:111:e400:7e0d::276) 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:23:46 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:C523321411C014D8110E149142D3D9D3D773880B93C4A98F808AAEE8BF62C934; UpperCasedChecksum:AD139BEBA3E9E9635EB1C06A8534677AD8F1D9E2B47D2AA7075126C041A1B726; SizeAsReceived:7950; 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:23:46 +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:23:45 +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: AM4P190CA0007.EURP190.PROD.OUTLOOK.COM (2603:10a6:200:56::17) To AM6PR03MB5170.eurprd03.prod.outlook.com (2603:10a6:20b:ca::23) X-Microsoft-Original-Message-ID: <0c36da7e-05f2-5a49-17b0-04d2a28de5e1@hotmail.de> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.1.101] (92.77.140.102) by AM4P190CA0007.EURP190.PROD.OUTLOOK.COM (2603:10a6:200:56::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2878.16 via Frontend Transport; Sun, 5 Apr 2020 13:23:46 +0000 X-Microsoft-Original-Message-ID: <0c36da7e-05f2-5a49-17b0-04d2a28de5e1@hotmail.de> X-TMN: [Yeivt/GmaerVs8iY7cXaQHpubpRhkUGm] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 50 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 01a1afbd-72a7-44ea-76cf-08d7d96491cb X-MS-TrafficTypeDiagnostic: HE1EUR04HT042: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: F+TvFlBGuExcXIGarRm/VUaqoHj+s1JH5WrnzwhY4vzPb/YlrlnF7OJ7G/w02G/IwnOqlw8aMFX+y5qvTBtioOuuBdHyX41A9I4HJyQYrtZuiWGj9JqYCSPoDz/sNINrYJW2tTOY6vq8EWTThTBS+NN5kD6aobXFCsznu40n8XFI2VImu38Q38bm3/lKX5R8bmvzN8eWgxf0+ZWUJdPCKWI3FZAZm1VcrdIsyosL1Pw= 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: QPksHd9WwrtTJHvtLN3ZNDcrtGE8S9Qmke33CHg37FUVZafY1huC0xpDDTlK8tQvuxH8UGwLrH9o9iyiov4q8eRlHVKwFL1E9co4HqwBRR30PYGhzdp6fY2cH3JMqTpAss+kji2ekLpDm+2ES1/duQ== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 01a1afbd-72a7-44ea-76cf-08d7d96491cb X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Apr 2020 13:23:46.5959 (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: HE1EUR04HT042 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:23:49 -0000 Oh, no. We need to catch exceptions from shared libraries? Why ? Not being able to link gdbserver with static libstdc++ will render this tool useless.... Sorry, Bernd. 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. >