From unknown Wed Jun 18 23:03:53 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#49308 <49308@debbugs.gnu.org> To: bug#49308 <49308@debbugs.gnu.org> Subject: Status: GNU sed for Tru6 configure CFLAGS? Reply-To: bug#49308 <49308@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:03:53 +0000 retitle 49308 GNU sed for Tru6 configure CFLAGS? reassign 49308 sed submitter 49308 Jay K severity 49308 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 01 03:22:44 2021 Received: (at submit) by debbugs.gnu.org; 1 Jul 2021 07:22:44 +0000 Received: from localhost ([127.0.0.1]:59428 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyr20-00006N-De for submit@debbugs.gnu.org; Thu, 01 Jul 2021 03:22:44 -0400 Received: from lists.gnu.org ([209.51.188.17]:60550) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyqIw-0007Kq-32 for submit@debbugs.gnu.org; Thu, 01 Jul 2021 02:36:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35410) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lyqIv-0003wn-KT for bug-sed@gnu.org; Thu, 01 Jul 2021 02:36:05 -0400 Received: from mail-mw2nam12olkn2046.outbound.protection.outlook.com ([40.92.23.46]:31316 helo=NAM12-MW2-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lyqIr-0006Pi-8L for bug-sed@gnu.org; Thu, 01 Jul 2021 02:36:05 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fAEvcWyjrfQHrVroFV8nC+gx0Hb1Cgb8d9YmlbJmSwSFe90oIide2zoicQuIWx08e9eN6ICpn9ogRibWsXDCdyIqxNABjG/ACgvhlHeZ6HLAQd/zqGa0WDO/Iysv6qSITK6sSF9l1uRYH1aXXgnmI0utRyJen1e12f2aFDTNaJZ0+l/PH3HhobxhDaFxXwUdFddXG1+CxZOEOxupBO7EW2hlCDVTpIuQXfx3HG1FwcPEys4G43zsxdeOk1ydQYNxcPHGUS+Umu9MF+RfuGhnchXTC4907r9mPA5G5aAd44sQV47XHZLIlg0ESLoLbKe4MGtYyOdAgHVhGM+WSWtz1w== 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=W/BvSXkwWidREqPPA67InH+efSHuUwdMBJawj6hCUfI=; b=HceyIbbBrS16LNJPSVdfsQH4Qnkcz34HdBDmkoHijX4KCwjTS+gqy1YzDjZZujBfBJu0xJMg71K4Yrqod/pmgnfZcdva/DBw0IGC0fzWRIkq09eVwejX3jzBAseb8ELFz9SUb00N7gLsORYY99vXZN7SXkrODYHFmpBGP/fAbkevFiXMsVhMiOg/RwQZ+uly/mZ6ZG1EzkmPhTHj6pGSev/uxAUnPp0puToz1OxOFG2ZBoObUOOLlHyVZCDvWJkQn4yZ+hBymMftziA10L9Drm/SvF9J9Vw+Blglb/jhSbnx88lL4v4DRCCSulAeyyNBYArqntwHzkozfBRz16es+w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=W/BvSXkwWidREqPPA67InH+efSHuUwdMBJawj6hCUfI=; b=r+Au6SrBsKAqyeTN3Z0KNjY7jaUjxrwAjCTJk6uNpdu1t6hdY6ZHUrbMYatj7x1jNioZ4Mk+TcZpwuIiG2/xaiJF5oXUjrL0/YzrVCudd8rGXDjnMZfb8FLttbWxLqoMYkTRA1y2hvqRdF/6/Cz55MLvXw09ZBwGw7Z1fHI0C5BmjzU7vacHzz+Zr6QKwyHAoUK6gV2lT2SGQ3qJzSI25IL0K3MT1dCVP0knkOShtfN2bgQtl0rObriFP9XVQ+wE/cQZ4luQl9YKxk9+birU1+psP+nraGpr5codWu2FArKuVtr9UKU4eu/JZ58xCR4VaNK9I3cby3JXCCU8RM083w== Received: from MWHPR1401MB1951.namprd14.prod.outlook.com (10.174.96.142) by MWHPR14MB1454.namprd14.prod.outlook.com (10.173.233.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.23; Thu, 1 Jul 2021 06:35:59 +0000 Received: from MWHPR1401MB1951.namprd14.prod.outlook.com ([fe80::adc0:8922:4de7:e7b7]) by MWHPR1401MB1951.namprd14.prod.outlook.com ([fe80::adc0:8922:4de7:e7b7%9]) with mapi id 15.20.4287.024; Thu, 1 Jul 2021 06:35:59 +0000 From: Jay K To: "bug-sed@gnu.org" Subject: GNU sed for Tru6 configure CFLAGS? Thread-Topic: GNU sed for Tru6 configure CFLAGS? Thread-Index: AQHXbkJdWMXgpBBvxkaG9WvX/4R4Rg== Date: Thu, 1 Jul 2021 06:35:58 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-tmn: [xN8h6+oGPzlj/HVpmdkHj2o+ykuuICzD] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 25532735-a3c4-461f-4897-08d93c5a7cf0 x-ms-traffictypediagnostic: MWHPR14MB1454: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ObkobPke3vvBVnweEAx9mN+kavzieucaTMG+H+1R4cYvHPK0w5O42/4e8XhA9cb+p9/CaQm1IE/5KPnmV7iKTun12geNndP/x3Uh2VmCzb4ld1a8wraKpVMH4pEjr3/xxLgc9v1R14SY/+jYTF9+nC+ysnCnrvsA6fzOxvkRXaVAYueB9DDCI8waKAaOf+6IwLdlCz5/JNCeWevBv9GqlP3vrdOGqOFlh/IIbkrAU8iZvEMo31K5jqrN2LhX10W4X66T7TTexuviLhvJkACdAhMyqk/PQUFQIsxQt9o36MV0Tfjoty5Ys1Bu8tziPVa94bFfTFbXgJD6Uxky2T0PSNT+D3xYDfGRLCRZbqne6uzEZjmMcynADdh843CZ++JfvTYatMWTMql83FqI/f5RRo5fXVdMUp9/Hv3xFnH8XAPqtO2JKH/Usz8FnsT6HUqX x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: Reb0rxw/J+85s3HRYVsg74gZTfZXcaiIunlWugQv9k6KLCTJEcr+GT+VazqFnfz5GtfFNy3iaAvaWlyPhwSLp617ilGNYvKKTIG61978lcbKvAMriSnyP1UASYojV5u9EsjmzhcTrYz/xkkuedbnzw== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: sct-15-20-3174-20-msonline-outlook-32894.templateTenant X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MWHPR1401MB1951.namprd14.prod.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 25532735-a3c4-461f-4897-08d93c5a7cf0 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Jul 2021 06:35:58.8941 (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: MWHPR14MB1454 Received-SPF: pass client-ip=40.92.23.46; envelope-from=jayk123@hotmail.com; helo=NAM12-MW2-obe.outbound.protection.outlook.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 01 Jul 2021 03:22:38 -0400 Cc: Larkin Nickle X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) Hi. I built GNU sed for Tru64.=0A= With native cc, not gcc. I realize it is an old system.=0A= =0A= $ uname -srm=0A= OSF1 V5.1 alpha=0A= =0A= $ which cc=0A= /usr/bin/cc=0A= =0A= $ cc -V=0A= Compaq C V6.5-303 (dtk) on HP Tru64 UNIX V5.1B (Rev. 2650)=0A= Compiler Driver V6.5-302 (dtk) cc Driver=0A= =0A= It seemed to require:=0A= =A0./configure CFLAGS=3D"-pthread"=0A= =0A= Otherwise, there was an unresolved mbtowc_with_lock.=0A= =0A= Perhaps configure.ac can/should do that automatically?=0A= =0A= Perhaps this can/should somehow be done more globally, beyond sed?=0A= i.e. I should refer to autoconf mailing list?=0A= =0A= Fyi, tests mostly passed, but 2 failures, look like test harness problem:= =0A= =0A= FAIL: testsuite/comment-n=0A= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =0A= =0A= diff: Cannot compare character special file.=0A= FAIL testsuite/comment-n.sh (exit status: 1)=0A= =0A= FAIL: testsuite/execute-tests=0A= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=0A= =0A= diff: Cannot compare character special file.=0A= 0000000 62 00=0A= b \0=0A= 0000002=0A= 0000000 62 00=0A= b \0=0A= 0000002=0A= FAIL testsuite/execute-tests.sh (exit status: 1)=0A= =0A= I should probably try with GNU diff, later.=0A= =0A= Thank you,=0A= =A0- Jay= From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 04 17:30:00 2021 Received: (at 49308) by debbugs.gnu.org; 4 Aug 2021 21:30:00 +0000 Received: from localhost ([127.0.0.1]:45306 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBOSe-0002fv-EG for submit@debbugs.gnu.org; Wed, 04 Aug 2021 17:30:00 -0400 Received: from mail-pj1-f43.google.com ([209.85.216.43]:55883) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBOSZ-0002ff-Sr for 49308@debbugs.gnu.org; Wed, 04 Aug 2021 17:29:59 -0400 Received: by mail-pj1-f43.google.com with SMTP id ca5so4920237pjb.5 for <49308@debbugs.gnu.org>; Wed, 04 Aug 2021 14:29:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=CjyFMpI4ZJB3Wyh7cMOEPxTfGA1WcR5j8NKnbtQWGFE=; b=M4AxV+4Sa0ucY3Mj8JIbUVE8uF8A5vz8nRbgBOszzbMnZwlaHRugGdcfSNnukfVUnE hT65ifMjobQLdJZjrIAGwnWX/jcB6oSCq1xfxOcudYnXC7kO3nOIRWcfpAYgZKa0zRtS t1bWVEmufwnyT9ZmMm+Ko3UIuL/C9I47CNUWaQAnQl5nlrh2W9sowSfGlC/XSjOBzHF1 yaKiVsYyvBGjH0rfVOpElIoFYViS1sz6yS5QtshlUNoAjMv4DTd9vrprflzffSfPOmFt 2EB9zwX2khedwXUV2byRgdnpuZ+J4EpSJTYvuVo63Nh2Ou51K7XhgGy3nYO6ZehWvP7E 6BYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=CjyFMpI4ZJB3Wyh7cMOEPxTfGA1WcR5j8NKnbtQWGFE=; b=Mec6wRnaOmTtdjqcpCugUjRKPZUAIIADSfqh0en+EwpjhXrzT3z8zIaVWjpIuyQuBq Az0cmdNj7kDiFImwgey3FDtcFV5xQj9dspOpxJ8zaABPurQ8TiSDYlpzWny15M8aomXm i4cYT4eplOPnNYNOTKslYqWncInba1CvcDn0s4aDk4Q/PIJ9V2H6Lfyk7ecbiZxXvxBr GXacwzMXaqKWTI0uoVfNK4kMWsxzN4G6vGAvs0NPGXCpI0eskoqGJ6fVFVlg0KkFVv6n CWkaBZR+aB3n0FS363nmlaGEt2GRFwnTskT8QsGpHuhz5432t4/nNUeSTeCIB3Vmoor8 4XyA== X-Gm-Message-State: AOAM531X3keDvdnXYyUqxEigyfSj+4dGmt876yxeBMAjAU2X38zij+L5 dW/7h5x7JuON+fp1koXEpjY= X-Google-Smtp-Source: ABdhPJzR0pvwnYhh16Or5yBY7dr+xv6kBj6Gw9gSHtIZa6idnx9LhEjLsLYbE8NLBZDP3TubZD13Ew== X-Received: by 2002:a17:90b:a54:: with SMTP id gw20mr1063118pjb.215.1628112590013; Wed, 04 Aug 2021 14:29:50 -0700 (PDT) Received: from tomato.moose.housegordon.com (moose.housegordon.com. [184.68.105.38]) by smtp.googlemail.com with ESMTPSA id t17sm4118815pfg.93.2021.08.04.14.29.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 04 Aug 2021 14:29:49 -0700 (PDT) Subject: Re: bug#49308: GNU sed for Tru6 configure CFLAGS? To: Jay K , 49308@debbugs.gnu.org References: From: Assaf Gordon Message-ID: <3b419030-22e5-9933-733d-ebeeba3a8408@gmail.com> Date: Wed, 4 Aug 2021 15:29:47 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Score: -0.1 (/) X-Debbugs-Envelope-To: 49308 Cc: "bug-gnulib@gnu.org List" , Larkin Nickle X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.1 (-) (adding gnulib@) Hello, On 2021-07-01 12:35 a.m., Jay K wrote: > Hi. I built GNU sed for Tru64. > With native cc, not gcc. I realize it is an old system. > > $ uname -srm > OSF1 V5.1 alpha > > $ which cc > /usr/bin/cc > > $ cc -V > Compaq C V6.5-303 (dtk) on HP Tru64 UNIX V5.1B (Rev. 2650) > Compiler Driver V6.5-302 (dtk) cc Driver > > It seemed to require: >  ./configure CFLAGS="-pthread" > > Otherwise, there was an unresolved mbtowc_with_lock. To be more precise: Does the compiler complain that the "mbtowc_with_lock" function has an unresolved symbol relating to 'pthreads' ? or that the symbol "mbtowc_with_lock" is unresolved ? > > Perhaps configure.ac can/should do that automatically? > > Perhaps this can/should somehow be done more globally, beyond sed? > i.e. I should refer to autoconf mailing list? 'mbtowc_with_lock' comes from the gnulib module 'mbtowc-lock': https://git.savannah.gnu.org/cgit/gnulib.git/tree/lib/mbtowc-lock.h I see the file has several #ifdefs for specific systems, perhaps Tru64 can be added? Gnulib experts can perhaps answer this better. (But as you're aware, there's a limited amount of support for older systems...) regards, - assaf From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 04 17:46:13 2021 Received: (at 49308-done) by debbugs.gnu.org; 4 Aug 2021 21:46:13 +0000 Received: from localhost ([127.0.0.1]:45323 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBOiL-000356-4p for submit@debbugs.gnu.org; Wed, 04 Aug 2021 17:46:13 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:42154) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBOiI-00034s-SQ for 49308-done@debbugs.gnu.org; Wed, 04 Aug 2021 17:46:11 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 5B47616005A; Wed, 4 Aug 2021 14:46:05 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id MXlM-HcPuqvG; Wed, 4 Aug 2021 14:46:03 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id D9CF8160060; Wed, 4 Aug 2021 14:46:03 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id eG2NEeeB-qpF; Wed, 4 Aug 2021 14:46:03 -0700 (PDT) Received: from [192.168.1.9] (cpe-172-91-119-151.socal.res.rr.com [172.91.119.151]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id AC3B816005A; Wed, 4 Aug 2021 14:46:03 -0700 (PDT) To: Assaf Gordon , Jay K References: <3b419030-22e5-9933-733d-ebeeba3a8408@gmail.com> From: Paul Eggert Organization: UCLA Computer Science Department Subject: Re: bug#49308: GNU sed for Tru6 configure CFLAGS? Message-ID: <22443009-b47e-d3cf-5be7-a84cb10293fd@cs.ucla.edu> Date: Wed, 4 Aug 2021 14:46:03 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <3b419030-22e5-9933-733d-ebeeba3a8408@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.4 (--) X-Debbugs-Envelope-To: 49308-done Cc: "bug-gnulib@gnu.org List" , Larkin Nickle , 49308-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.4 (---) On 8/4/21 2:29 PM, Assaf Gordon wrote: > (But as you're aware, there's a limited amount of support for older=20 > systems...) Yes, HP dropped support for Tru64 in 2012, and a good rule of thumb for=20 GNU code is to not worry about an OS if it's so old that even its own=20 maintainer doesn't worry about it. Gnulib finally got around to dropping support for Tru64 in 2019, in the=20 sense that we removed some documentation about it (we haven't bothered=20 cleaning up the code). Although we don't worry about Tru64 now, we might=20 accept simple clean patches written by Someone Else, patches that don't=20 affect other platforms. In the meantime I'm closing the sed bug report as this is not really a=20 sed issue. From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 05 10:59:55 2021 Received: (at 49308) by debbugs.gnu.org; 5 Aug 2021 14:59:55 +0000 Received: from localhost ([127.0.0.1]:48049 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBeqd-0008Ke-HT for submit@debbugs.gnu.org; Thu, 05 Aug 2021 10:59:55 -0400 Received: from mail-co1nam11olkn2092.outbound.protection.outlook.com ([40.92.18.92]:20736 helo=NAM11-CO1-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBT0y-0001MW-Ma for 49308@debbugs.gnu.org; Wed, 04 Aug 2021 22:21:48 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nwa80HOA2YnPV42c7HVQEQhTagugpbqgCmkILxGjxiIIUWjR3EGtim0eOP0HmFRXxb2cXO4ojcPx/wEX8iTBa1Lp9vTrsY41nKl618xcYysJ9S80Wylh+PqliFRyDuGMXxEgQ2PpDViECAxtVLgg7H8sCd4BMdLMKNR00VEV+5fW7USIvGqSlzjJy41ksklHneZta1bPZ225xlcfL/JyNJas9VLtPKLJg8MyTy12mOdnC6eUJw2fFtpA5yUF0Z6h6tFTqiCep5/yTFDDEaw8U39ghjT8A2nydJ0YqL9zbpBk6/wP8JLejBfsRpKPULCxmPe7/MFlVPFsYlIJ3OQTNg== 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=lNrbcaiNe8S/FnGG3kSUYJKCZC5l6lK7GeGEZZEP2/Y=; b=k7Iztj2vLoH85E5F9N67sAPwBvD3EzjMlylYITwTB+YzuRrfW+CaX8oz1Rj05+bKKayeW1Gz6Vp7yRbqYne++C+5pkEb+S9HVQuJrcgXdY2IyPnAD6thTC8OzIZ2RTnViDwUn93nwDYfYsS6iYYeXR5vtHh2+dHH3JacArYCvO72eVhNgrApSHdJMxRbA/Q0iQmjXjTcsDuge8czsKhZMpyjy2D+6bvQ84o5Ub26pJgolcksihq6K8IB4bZKrUwuKwktBJRkXw9ax1V6tssZoRx1sJlC9XW1BNMck0CCO2ugI75bO6IhrClWqHhw8FEk5YdFOj2fdYFzwTtUc1lJjw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lNrbcaiNe8S/FnGG3kSUYJKCZC5l6lK7GeGEZZEP2/Y=; b=VrSluKjOJ+KvowjTSlKhILeljzCbkkbQJUNsTGGg59GdpuUi74EzT/jz18uxyT1WENHzZUydFrtSgViQ2S9aSlO6zO8w3XOr62GQ6wyrqtGFQVPTrQMKGtL+wMQAjlKgAnlj3R1DVI8BcL1c+9wE5OfqA08AAWIF1glwKchdugVg4W4tCCDkIbSaNhq9nQ+2cQVkWZME2H3XneIfAnnw2HuirsEUj91JyS0jEG6XB/Ug5eGh16438ZLT/hv9Cdqiepm3mnTxfw3BUHbQfMgQx2EIXz2ywRjevtuyB1J5R/7cvP0O3jd2dTyq6hWCg19mN1nfR5UzG9jWla79zGtnaw== Received: from MWHPR1401MB1951.namprd14.prod.outlook.com (2603:10b6:301:51::14) by MWHPR14MB1581.namprd14.prod.outlook.com (2603:10b6:300:b1::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.17; Thu, 5 Aug 2021 02:21:38 +0000 Received: from MWHPR1401MB1951.namprd14.prod.outlook.com ([fe80::adc0:8922:4de7:e7b7]) by MWHPR1401MB1951.namprd14.prod.outlook.com ([fe80::adc0:8922:4de7:e7b7%9]) with mapi id 15.20.4394.017; Thu, 5 Aug 2021 02:21:38 +0000 From: Jay K To: Assaf Gordon , "49308@debbugs.gnu.org" <49308@debbugs.gnu.org> Subject: Re: bug#49308: GNU sed for Tru6 configure CFLAGS? Thread-Topic: bug#49308: GNU sed for Tru6 configure CFLAGS? Thread-Index: AQHXbkJdWMXgpBBvxkaG9WvX/4R4RqtkEy2AgABREXg= Date: Thu, 5 Aug 2021 02:21:38 +0000 Message-ID: References: , <3b419030-22e5-9933-733d-ebeeba3a8408@gmail.com> In-Reply-To: <3b419030-22e5-9933-733d-ebeeba3a8408@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-tmn: [zBolPApvQx+iFx4wHMqQvQ0iWfnXw6281cG8K51DH4saBmkAItYyXSoh2PBmISxl] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e66cf265-efc9-4a5c-c445-08d957b7c138 x-ms-traffictypediagnostic: MWHPR14MB1581: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 1R55KEoq1Wlg+QIclnUoZNVjEZLHVlo37goMyOpJzN7u9NJwDTmshHe69JuFm2b0cS0I9apL+Q+VEZRiR7CPhW0bBaa813TXgZiwYW07r0+ecUmo6YmbeEwCgdqslG2O0GE6NAtuDCOp49BjpirP4kXh6TNBuaw7W6wldjKZZUyshxeRa8cbNxmCc+MyMZ8vTJJKlAAqvEJJFiJN2X/31CYxrugCeZ2ow1RocppXdeaBG3VMXF2fRE+f2F/+/7cIflCEJe41d+j0zXsKBsvnv9ueB15PibF0SK/TDPFXqQW0D9wdGyIths3jVD4cTTa6fwHLwEcMH/nXkp6sNqwYt8ht3b3bNFx7YwZ3O4dU+FDKwT/uk+U13wqWbSwUn/INX6zmEjyNZuPbm1QRfxn2evxi/uUrCbQHrJfQcN6vM+KZChNEYdPESIIzZgugH9rwoGVno/p5RSR/8Hjo+UPtdGzlgXi4FZOKytZAe6p8xrs= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: J+4c8J+5+OVEGfoKSfxnfX8XqQ0/aHzj59eAny7oB+qH1oFVY8/uBJwsyAT5Dx0IHwa1F+/kCLaDs2PsLlcAHpYcBGFsGu1iKDNGJi0RbcrsprjvAKCxVeG73CXxkXh+PdUcWvr4/Ka1VeK21xcj1KS09Pd+wxC/JqsO5Y+5Nx9dny+P/uFa1lWFGHSirSBKzTzN0z+P5PnGQlpXfWhbEA== x-ms-exchange-transport-forked: True Content-Type: multipart/alternative; boundary="_000_MWHPR1401MB19512BE6C0EAB92575188D29E6F29MWHPR1401MB1951_" MIME-Version: 1.0 X-OriginatorOrg: sct-15-20-3174-20-msonline-outlook-32894.templateTenant X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MWHPR1401MB1951.namprd14.prod.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: e66cf265-efc9-4a5c-c445-08d957b7c138 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Aug 2021 02:21:38.0731 (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: MWHPR14MB1581 X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 49308 X-Mailman-Approved-At: Thu, 05 Aug 2021 10:59:50 -0400 Cc: "bug-gnulib@gnu.org List" , Larkin Nickle X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) --_000_MWHPR1401MB19512BE6C0EAB92575188D29E6F29MWHPR1401MB1951_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable > Does the compiler complain that the "mbtowc_with_lock" function has an > unresolved symbol relating to 'pthreads' ? I believe it was a link error. It's been a few weeks. :) I can go and look, but also passing -pthread or -pthreads is fairly common = "in the ecosystem" (across the random set of stuff I built). The -pthread flag implies something like -D_MT -lpthread. Informally, if you are talking about locks, you are talking about pthreads (or Windows), and the various -pthread / -pthreads switches make sense, or in any case, imho, on platforms that give it any meaning, are fairly harmless. Yeah, I know you might map an extra .so unnecessarily. - Jay ________________________________ From: Assaf Gordon Sent: Wednesday, August 4, 2021 9:29 PM To: Jay K ; 49308@debbugs.gnu.org <49308@debbugs.gnu.o= rg> Cc: Larkin Nickle ; bug-gnulib@gnu.org List Subject: Re: bug#49308: GNU sed for Tru6 configure CFLAGS? (adding gnulib@) Hello, On 2021-07-01 12:35 a.m., Jay K wrote: > Hi. I built GNU sed for Tru64. > With native cc, not gcc. I realize it is an old system. > > $ uname -srm > OSF1 V5.1 alpha > > $ which cc > /usr/bin/cc > > $ cc -V > Compaq C V6.5-303 (dtk) on HP Tru64 UNIX V5.1B (Rev. 2650) > Compiler Driver V6.5-302 (dtk) cc Driver > > It seemed to require: > ./configure CFLAGS=3D"-pthread" > > Otherwise, there was an unresolved mbtowc_with_lock. To be more precise: Does the compiler complain that the "mbtowc_with_lock" function has an unresolved symbol relating to 'pthreads' ? or that the symbol "mbtowc_with_lock" is unresolved ? > > Perhaps configure.ac can/should do that automatically? > > Perhaps this can/should somehow be done more globally, beyond sed? > i.e. I should refer to autoconf mailing list? 'mbtowc_with_lock' comes from the gnulib module 'mbtowc-lock': https://na01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgit.sava= nnah.gnu.org%2Fcgit%2Fgnulib.git%2Ftree%2Flib%2Fmbtowc-lock.h&data=3D04= %7C01%7C%7C9684e1475a5e409f239008d9578efdc9%7C84df9e7fe9f640afb435aaaaaaaaa= aaa%7C1%7C0%7C637637093914845575%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMD= AiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3DVxw5U%2= B2Wo6O7OT%2FYoAlYcNNL4HXNVAfq1dhCPFa39OE%3D&reserved=3D0 I see the file has several #ifdefs for specific systems, perhaps Tru64 can be added? Gnulib experts can perhaps answer this better. (But as you're aware, there's a limited amount of support for older systems...) regards, - assaf --_000_MWHPR1401MB19512BE6C0EAB92575188D29E6F29MWHPR1401MB1951_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
 > Does the compiler complain that the &quo= t;mbtowc_with_lock" function has an
 > unresolved symbol relating to 'pthreads' ?

I believe it was a link error.
It's been a few weeks. :)
I can go and look, but also passing -pthread or -pthreads is fairly co= mmon "in the ecosystem" (across
the random set of stuff I built).

The -pthread flag implies something like -D_MT -lpthread.

Informally, if you are talking about locks, you
are talking about pthreads (or Windows), and the
various -pthread / -pthreads switches make sense,
or in any case, imho, on platforms that give it
any meaning, are fairly harmless.

Yeah, I know you might map an extra .so unnecessarily.

 - Jay

From: Assaf Gordon <assa= fgordon@gmail.com>
Sent: Wednesday, August 4, 2021 9:29 PM
To: Jay K <jayk123@hotmail.com>; 49308@debbugs.gnu.org <493= 08@debbugs.gnu.org>
Cc: Larkin Nickle <me@larbob.org>; bug-gnulib@gnu.org List <= ;bug-gnulib@gnu.org>
Subject: Re: bug#49308: GNU sed for Tru6 configure CFLAGS?
 
(adding gnulib@)

Hello,

On 2021-07-01 12:35 a.m., Jay K wrote:
> Hi. I built GNU sed for Tru64.
> With native cc, not gcc. I realize it is an old system.
>
> $ uname -srm
> OSF1 V5.1 alpha
>
> $ which cc
> /usr/bin/cc
>
> $ cc -V
> Compaq C V6.5-303 (dtk) on HP Tru64 UNIX V5.1B (Rev. 2650)
> Compiler Driver V6.5-302 (dtk) cc Driver
>
> It seemed to require:
>   ./configure CFLAGS=3D"-pthread"
>
> Otherwise, there was an unresolved mbtowc_with_lock.

To be more precise:
Does the compiler complain that the "mbtowc_with_lock" function h= as an
unresolved symbol relating to 'pthreads' ?

or that the symbol "mbtowc_with_lock" is unresolved ?

>
> Perhaps configure.ac can/should do that automatically?
>
> Perhaps this can/should somehow be done more globally, beyond sed?
> i.e. I should refer to autoconf mailing list?
'mbtowc_with_lock' comes from the gnulib module 'mbtowc-lock':
https://na01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%= 2Fgit.savannah.gnu.org%2Fcgit%2Fgnulib.git%2Ftree%2Flib%2Fmbtowc-lock.h&= ;amp;data=3D04%7C01%7C%7C9684e1475a5e409f239008d9578efdc9%7C84df9e7fe9f640a= fb435aaaaaaaaaaaa%7C1%7C0%7C637637093914845575%7CUnknown%7CTWFpbGZsb3d8eyJW= IjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&a= mp;sdata=3DVxw5U%2B2Wo6O7OT%2FYoAlYcNNL4HXNVAfq1dhCPFa39OE%3D&amp;reser= ved=3D0
I see the file has several #ifdefs for specific systems,
perhaps Tru64 can be added?

Gnulib experts can perhaps answer this better.

(But as you're aware, there's a limited amount of support for older
systems...)

regards,
  - assaf


--_000_MWHPR1401MB19512BE6C0EAB92575188D29E6F29MWHPR1401MB1951_-- From unknown Wed Jun 18 23:03:53 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 03 Sep 2021 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator