From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-oln040092065104.outbound.protection.outlook.com [40.92.65.104]) by sourceware.org (Postfix) with ESMTPS id 3244438387E3 for ; Wed, 1 Jun 2022 20:56:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 3244438387E3 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZkvhmA94fP8TnFwH8rGnohA5fm017Fy2gtx+YthlCfFMZUwfgQ4tHfO4O2qNQz0Yihd1upayfdjCMIKq1gwFxpP22rK4JxQS2b2lXqCfdeTUwrB4tUnAiXIIQUW4hgqjoHsoshumGa+5hmHqZHveAVz4Z+uFwRa4cQQVDyL43NFGAB7AeKevNsIvQtg1cbRDHVBPVFDlqtll8mkx8SnxIWbcwxytGr5MczD82sGIXHoOhoB1QpB0pD0o1bw1b0P6ktjMvGRQqP+HLdTEmRuLCpnjSCzKv++c7V5OfARaSsTXDCu/eyFIII8TYmzIhV7OHn7+5FO2GXNzaLAcT/PoEQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=nvhmeNZbqvJXt+LR+Sqr5Jmz7DO+7X8as2P986yZTQU=; b=jy/sI1StCVx8Q058cY/NTg+40y7He8mDcccLshwRI6E2L8floiTggpBjMacFcSL8L+MnM6HHtXCrbMRrsi3/YlJD7dlj8VGL3HxlveLYhKQm4O6bxPzB7X4qEkm4s1gYBnQXbcQSWgP0rEh8P/Le2bzAmpRfUbkqWJLW2oF8RCHwgTGWiPNeZJ9+ZDcVn0YLnLWEwGse5xtQ931Wn2UBywXoXT6rOzWgVTl9NTi+xG/zJKhRgj5YBwz0lJXKAn5FpbvJ+27DJHFFueT/FZPyeeHsKPkg8U/7Txsuz7E5SolmLmOnmlUptoAiCaFLAtg1+1K770co+w/KOUUdrUTWCg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from DB7P193MB0346.EURP193.PROD.OUTLOOK.COM (2603:10a6:5:1a::13) by DB8P193MB0742.EURP193.PROD.OUTLOOK.COM (2603:10a6:10:144::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5314.12; Wed, 1 Jun 2022 20:56:13 +0000 Received: from DB7P193MB0346.EURP193.PROD.OUTLOOK.COM ([fe80::80c4:d7ee:8cb2:9dd8]) by DB7P193MB0346.EURP193.PROD.OUTLOOK.COM ([fe80::80c4:d7ee:8cb2:9dd8%7]) with mapi id 15.20.5293.019; Wed, 1 Jun 2022 20:56:13 +0000 From: Dorian ROSSE To: Adhemerval Zanella , Abhishek Kumar , "libc-help@sourceware.org" Subject: Re: glibc with kernel-4.14 headers on riscv Thread-Topic: glibc with kernel-4.14 headers on riscv Thread-Index: AQHYWgLtg7vc0uISE0mX/hROJo+KLK0DY2AYgC83RICACJBFgIAAFBfT Date: Wed, 1 Jun 2022 20:56:13 +0000 Message-ID: References: <87o80nj76w.fsf@oldenburg.str.redhat.com> <198a8b67-bc76-b781-95e1-794feb4c3d07@linaro.org> In-Reply-To: <198a8b67-bc76-b781-95e1-794feb4c3d07@linaro.org> Accept-Language: fr-FR, en-US Content-Language: fr-FR X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [JUdOdLnTx36kVvz05kjaeVUsUKRudnvs] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6c4e011a-2edc-441d-a085-08da44112a1a x-ms-traffictypediagnostic: DB8P193MB0742:EE_ x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 5Rwwrin39UtrtdzU5l75qAH+49fXDcDIsoYLIE+R4rRb/YQv/AcSo0wPVPn6RVfURegvYBapBDwmi15ZvMpQ9Nh/fJEiP5DE5KebgPpO3JLyQyZ7mq2QI/7SnLcZoUhRurfq+keEkFXzq0TPeEiEHL2TScj+IjSsbZtwCfxXNutrEnsbS9M3SEvV/74n4ds/DTcUcr4hvtHXKglFHpOWPLIhtownpeCA1ZVZvPsVVkfOQ1zdZxFCEvnGXfIc9d3qTkYawHH00cenMrEodTb1mRRTVB5KwayMxoA0zPpzAyh4oHBX5r8t+A8qNpSYuoKdUHaiZHWG+0eO8rf9a+7ntS3j0MdImkyHBPHOn+l5dteBhd00skgXoPcA2qSTBHACvtazwiLbwmLx09DBQz4rvgvarwPMO7MbqNcxdsSkQNeHQgFPSpHELwZjNv+VvahrE7ytVu8ZyEZOf1qOfb3gMgPPPiTi6e27rOhjze6OU0YVFpxxR4GLPrBEabNIB3YNOkAolUYji3g/5DG0EXDNoF4b2Oiz6TpfJs6N0uGeSkQbEZXg8QkfC0z60fPie8v/MSXcXmnhZMLZNCWHG37wqg== x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?PUObqB6tc7AqO8KWMTG8Gn9G1b8JhbHgIsTOROzBejZ3KxLCwSaIMlzFhbsR?= =?us-ascii?Q?hifeqDN0IxqFyGyCaOIMEDIffjrq3lg4G9M2HfzocS1xZWO6WtwxprNT++x6?= =?us-ascii?Q?5WvukM89Q13KAO1hZlzWRHTSUQrBIGYDFnTPM+h9bM8XSXI+cOxsy+7yTxJ5?= =?us-ascii?Q?saLNJELMapeVT+nCGROGkRo6FlyfHwMo9edFV3BH2xdO7qxBVKK5jWYJdIei?= =?us-ascii?Q?uZxzJAKjDUdZZ0jtaHW4F8CSouRWMk3jzlcToBZVJxO41Gp7FkepyPS1ONZu?= =?us-ascii?Q?jSuGfg2z+dANilnsuwAnO9lK2vGv7Dm81JvXrnohaaKRYxofTXBKe5YFVreS?= =?us-ascii?Q?TxL81F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=?us-ascii?Q?7Pw5MtysIOCIQLJP4B8RdfExY0a6RXu3Zbu1HjX5o1qOq0a0kNwC+XdytMgV?= =?us-ascii?Q?Pz/4jr8X/9bh4dlUVLDfksfllLtfhUGr2G7R4kbkV9oElJze+RVVosWCIi3Q?= =?us-ascii?Q?OoyAOh3BVgCproqC3c7JazmuNCMeiXdDYjpfKIiFHwn1qyvCKsTqnmcwHSel?= =?us-ascii?Q?5i2pcFKAr6gbegHxUTCIzWxmF8H4vbd1?= MIME-Version: 1.0 X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-80ceb.templateTenant X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DB7P193MB0346.EURP193.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 6c4e011a-2edc-441d-a085-08da44112a1a X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Jun 2022 20:56:13.7398 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8P193MB0742 X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, FREEMAIL_FROM, HTML_MESSAGE, KAM_DMARC_STATUS, KAM_LOTSOFHASH, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: libc-help@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-help mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jun 2022 20:56:17 -0000 Dear worker IT, I wait again a good tutorial for glibc, I need it for systemd 251, Each time I read the documentation glibc I fall on to problems after, Thanks you in advance for your answer (I use this system only the weekend), Have a nice night from the France it is twenty three to four here, Regards. Dorian Rosse. ________________________________ From: Libc-help = on behalf of Adhemerval Zanella via Libc-help Sent: Wednesday, June 1, 2022 9:40:37 PM To: Abhishek Kumar ; libc-help@sourceware.o= rg Subject: Re: glibc with kernel-4.14 headers on riscv On 27/05/2022 05:54, Abhishek Kumar wrote: > > I want to port glibc for my custome kernel-4.14 for riscv64 but I want to= get some Idea which files I need to change in glibc side so that I can sta= rt and try, please guide me. > Now that master does not have the kernel check, you can just use the next 2.36 release or backport to the version you want. The commits are: b46d250656794e63a2946c481fda29271342dd1a (Remove kernel version check) c628c2296392ed3bf2cb8d8470668e64fe53389f (elf: Remove ldconfig kernel versi= on check) d2db60d8d830ef68c8d20a77ac3572d610aa40b1 (Remove dl-librecon.h header.) Although you probably would only need b46d250656794e63a2946c481fda29271342d= d1a. > Thanks > Abhishek Kumar > ________________________________ > From: Florian Weimer > Sent: 27 April 2022 13:20 > To: Abhishek Kumar > Cc: libc-help@sourceware.org > Subject: Re: glibc with kernel-4.14 headers on riscv > > * Abhishek Kumar: > >> I am woking on kernel-4.14 to give support for riscv (fu540 plateform) >> ,I am using glibc2.27 for my kernel after build the kernel when >> booting it at boot time it is giving me error "FATAL: kernel too old", >> so please suggest me which glibc version I should use for my >> kernel-4.14 so that it will be compatible for riscv. > > Kernel support was added to mainline Linux in version 4.15, so that's > the baseline that glibc supports. You'll either have to use a mainline > kernel, or port glibc to the custom kernel. > > Thanks, > Florian > > [EXT]