From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta001.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) by sourceware.org (Postfix) with ESMTPS id 24EB1385840F for ; Sat, 19 Feb 2022 23:53:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 24EB1385840F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=SystematicSw.ab.ca Authentication-Results: sourceware.org; spf=none smtp.mailfrom=systematicsw.ab.ca Received: from shw-obgw-4001a.ext.cloudfilter.net ([10.228.9.142]) by cmsmtp with ESMTP id LSqfnuhwg43SgLZXvnxfdh; Sat, 19 Feb 2022 23:53:47 +0000 Received: from [10.0.0.5] ([184.64.124.72]) by cmsmtp with ESMTP id LZXvnt5CO159ULZXvnwwwx; Sat, 19 Feb 2022 23:53:47 +0000 X-Authority-Analysis: v=2.4 cv=frTP2X0f c=1 sm=1 tr=0 ts=6211830b a=oHm12aVswOWz6TMtn9zYKg==:117 a=oHm12aVswOWz6TMtn9zYKg==:17 a=IkcTkHD0fZMA:10 a=w_pzkKWiAAAA:8 a=94nOnFI1EgyDtX4ev68A:9 a=QEXdDO2ut3YA:10 a=sRI3_1zDfAgwuvI8zelB:22 Message-ID: <6a469569-1ee5-c4d3-994d-372b1533c96f@SystematicSw.ab.ca> Date: Sat, 19 Feb 2022 16:53:46 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.0 Reply-To: cygwin@cygwin.com Subject: Re: autoconf tests for iconv fail with undefined refs Content-Language: en-CA To: cygwin@cygwin.com References: <20220219142605.EC35.50F79699@gmail.com> <03f9edf4-4e69-e5b9-7615-b04215f406eb@SystematicSw.ab.ca> <20220220083755.7555.50F79699@gmail.com> From: Brian Inglis Organization: Systematic Software In-Reply-To: <20220220083755.7555.50F79699@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4xfI/KRlDNrbBNg+/cJyFiv71cyHCZwYDkmcSEJQ2YLZh+D6Ntfcars25SAa7v/viiYmS2Hdh3I6Z0twiCo7evxD8TeAhBcVMNJO+FciD/EaLnnqinwXt+ Ak+DfArr7CTB+V5bHeKo7XcotWJekbVwXrMenoA/3oh2VDA/YiOLZ6sLtD4w76jKjGXkpyU9+FHFbYxjdz0rEqdrY0ZgFD4fkFE= X-Spam-Status: No, score=-1163.6 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Feb 2022 23:53:49 -0000 On 2022-02-19 16:37, Lemures Lemniscati wrote: > On Sat, 19 Feb 2022 10:11:06 -0700, Brian Inglis >> On 2022-02-18 22:26, Lemures Lemniscati wrote: >>> On Fri, 18 Feb 2022 12:33:30 -0700, Brian Inglis >>>> Any idea why autoconf tests for iconv now fail with undefined refs to iconv{_open,,_close}! >>>> STC attached, log, -E output. Tried also with -l iconv. >>> https://cygwin.com/cgi-bin2/jobs.cgi?srcpkg=playground&id=3861 >>> This will successfully build libisocodes-1.2.4 but some tests fail. >> Not so worried about that, just noticed that iconv conftest also failed in my recent findutils build which I released, missing libiconv functions and presumably substituting gnulib functions, although the iconv conftest passed in github scallywag. >> This may be the result of a change in gnulib or autoconf, which now sometimes fails when it should not. > Although `gcc iconv-test.c -liconv` should pass, it might have been used > for test, a command like either `gcc -liconv iconv-test.c`, > or `gcc iconv-test.c`. After conftest if iconv... is in libc, the next conftest compiles adding -liconv, and still fails. I'm going to look for most recent successful iconv conftest in config.log and compare the logs and configure scripts iconv sections to those in the failing findutils and libisocodes, to see if I can track it back to gnulib or autoconf changes to the compile flags or options, or at least enough info to file a bug report upstream somewhere. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. [Data in binary units and prefixes, physical quantities in SI.]