public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* autoconf tests for iconv fail with undefined refs
@ 2022-02-18 19:33 Brian Inglis
  2022-02-19  5:26 ` Lemures Lemniscati
  2022-02-19  7:51 ` Lemures Lemniscati
  0 siblings, 2 replies; 8+ messages in thread
From: Brian Inglis @ 2022-02-18 19:33 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 394 bytes --]

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.

-- 
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.]

[-- Attachment #2: iconv-test.c --]
[-- Type: text/plain, Size: 179 bytes --]

#include <stdlib.h>
#include <iconv.h>

int
main (void)
{
iconv_t cd = iconv_open("","");
           iconv(cd,NULL,NULL,NULL,NULL);
           iconv_close(cd);
  ;
  return 0;
}


[-- Attachment #3: iconv-test.log --]
[-- Type: text/plain, Size: 529 bytes --]

/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /tmp/ccknV0PK.o: in function `main':
$HOME/src/cygwin/libisocodes/iconv-test.c:7: undefined reference to `iconv_open'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: $HOME/src/cygwin/libisocodes/iconv-test.c:8: undefined reference to `iconv'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: $HOME/src/cygwin/libisocodes/iconv-test.c:9: undefined reference to `iconv_close'
collect2: error: ld returned 1 exit status

[-- Attachment #4: iconv-test.p --]
[-- Type: text/plain, Size: 28146 bytes --]

# 0 "iconv-test.c"
# 1 "$HOME/src/cygwin/libisocodes//"
# 0 "<built-in>"
# 0 "<command-line>"
# 1 "iconv-test.c"
# 1 "/usr/include/stdlib.h" 1 3 4
# 10 "/usr/include/stdlib.h" 3 4
# 1 "/usr/include/machine/ieeefp.h" 1 3 4
# 11 "/usr/include/stdlib.h" 2 3 4
# 1 "/usr/include/_ansi.h" 1 3 4
# 10 "/usr/include/_ansi.h" 3 4
# 1 "/usr/include/newlib.h" 1 3 4
# 14 "/usr/include/newlib.h" 3 4
# 1 "/usr/include/_newlib_version.h" 1 3 4
# 15 "/usr/include/newlib.h" 2 3 4
# 11 "/usr/include/_ansi.h" 2 3 4
# 1 "/usr/include/sys/config.h" 1 3 4



# 1 "/usr/include/machine/ieeefp.h" 1 3 4
# 5 "/usr/include/sys/config.h" 2 3 4
# 1 "/usr/include/sys/features.h" 1 3 4
# 6 "/usr/include/sys/config.h" 2 3 4
# 238 "/usr/include/sys/config.h" 3 4
# 1 "/usr/include/cygwin/config.h" 1 3 4
# 239 "/usr/include/sys/config.h" 2 3 4
# 12 "/usr/include/_ansi.h" 2 3 4
# 12 "/usr/include/stdlib.h" 2 3 4




# 1 "/usr/lib/gcc/x86_64-pc-cygwin/11/include/stddef.h" 1 3 4
# 209 "/usr/lib/gcc/x86_64-pc-cygwin/11/include/stddef.h" 3 4

# 209 "/usr/lib/gcc/x86_64-pc-cygwin/11/include/stddef.h" 3 4
typedef long unsigned int size_t;
# 321 "/usr/lib/gcc/x86_64-pc-cygwin/11/include/stddef.h" 3 4
typedef short unsigned int wchar_t;
# 17 "/usr/include/stdlib.h" 2 3 4

# 1 "/usr/include/sys/reent.h" 1 3 4
# 13 "/usr/include/sys/reent.h" 3 4
# 1 "/usr/include/_ansi.h" 1 3 4
# 14 "/usr/include/sys/reent.h" 2 3 4
# 1 "/usr/lib/gcc/x86_64-pc-cygwin/11/include/stddef.h" 1 3 4
# 143 "/usr/lib/gcc/x86_64-pc-cygwin/11/include/stddef.h" 3 4
typedef long int ptrdiff_t;
# 415 "/usr/lib/gcc/x86_64-pc-cygwin/11/include/stddef.h" 3 4
typedef struct {
  long long __max_align_ll __attribute__((__aligned__(__alignof__(long long))));
  long double __max_align_ld __attribute__((__aligned__(__alignof__(long double))));
# 426 "/usr/lib/gcc/x86_64-pc-cygwin/11/include/stddef.h" 3 4
} max_align_t;
# 15 "/usr/include/sys/reent.h" 2 3 4
# 1 "/usr/include/sys/_types.h" 1 3 4
# 24 "/usr/include/sys/_types.h" 3 4
# 1 "/usr/lib/gcc/x86_64-pc-cygwin/11/include/stddef.h" 1 3 4
# 350 "/usr/lib/gcc/x86_64-pc-cygwin/11/include/stddef.h" 3 4
typedef unsigned int wint_t;
# 25 "/usr/include/sys/_types.h" 2 3 4


# 1 "/usr/include/machine/_types.h" 1 3 4





# 1 "/usr/include/machine/_default_types.h" 1 3 4
# 41 "/usr/include/machine/_default_types.h" 3 4
typedef signed char __int8_t;

typedef unsigned char __uint8_t;
# 55 "/usr/include/machine/_default_types.h" 3 4
typedef short int __int16_t;

typedef short unsigned int __uint16_t;
# 77 "/usr/include/machine/_default_types.h" 3 4
typedef int __int32_t;

typedef unsigned int __uint32_t;
# 103 "/usr/include/machine/_default_types.h" 3 4
typedef long int __int64_t;

typedef long unsigned int __uint64_t;
# 134 "/usr/include/machine/_default_types.h" 3 4
typedef signed char __int_least8_t;

typedef unsigned char __uint_least8_t;
# 160 "/usr/include/machine/_default_types.h" 3 4
typedef short int __int_least16_t;

typedef short unsigned int __uint_least16_t;
# 182 "/usr/include/machine/_default_types.h" 3 4
typedef int __int_least32_t;

typedef unsigned int __uint_least32_t;
# 200 "/usr/include/machine/_default_types.h" 3 4
typedef long int __int_least64_t;

typedef long unsigned int __uint_least64_t;
# 214 "/usr/include/machine/_default_types.h" 3 4
typedef long int __intmax_t;







typedef long unsigned int __uintmax_t;







typedef long int __intptr_t;

typedef long unsigned int __uintptr_t;
# 7 "/usr/include/machine/_types.h" 2 3 4
# 17 "/usr/include/machine/_types.h" 3 4
typedef __int64_t __blkcnt_t;


typedef __int32_t __blksize_t;


typedef __uint32_t __dev_t;



typedef unsigned long __fsblkcnt_t;



typedef unsigned long __fsfilcnt_t;


typedef __uint32_t __uid_t;


typedef __uint32_t __gid_t;


typedef __uint64_t __ino_t;


typedef long long __key_t;


typedef __uint16_t __sa_family_t;



typedef int __socklen_t;
# 28 "/usr/include/sys/_types.h" 2 3 4
# 46 "/usr/include/sys/_types.h" 3 4
typedef long _off_t;





typedef int __pid_t;
# 67 "/usr/include/sys/_types.h" 3 4
typedef __uint32_t __id_t;
# 90 "/usr/include/sys/_types.h" 3 4
typedef __uint32_t __mode_t;





__extension__ typedef long long _off64_t;





typedef _off_t __off_t;


typedef _off64_t __loff_t;
# 116 "/usr/include/sys/_types.h" 3 4
typedef long _fpos_t;





typedef _off64_t _fpos64_t;
# 131 "/usr/include/sys/_types.h" 3 4
typedef long unsigned int __size_t;
# 147 "/usr/include/sys/_types.h" 3 4
typedef long signed int _ssize_t;
# 158 "/usr/include/sys/_types.h" 3 4
typedef _ssize_t __ssize_t;



typedef struct
{
  int __count;
  union
  {
    wint_t __wch;
    unsigned char __wchb[4];
  } __value;
} _mbstate_t;




typedef void *_iconv_t;






typedef unsigned long __clock_t;






typedef long __time_t;





typedef unsigned long __clockid_t;


typedef unsigned long __timer_t;
# 208 "/usr/include/sys/_types.h" 3 4
typedef int __nl_item;
typedef unsigned short __nlink_t;
typedef long __suseconds_t;
typedef unsigned long __useconds_t;







typedef __builtin_va_list __va_list;
# 16 "/usr/include/sys/reent.h" 2 3 4
# 25 "/usr/include/sys/reent.h" 3 4
typedef unsigned int __ULong;
# 34 "/usr/include/sys/reent.h" 3 4
# 1 "/usr/include/sys/lock.h" 1 3 4
# 12 "/usr/include/sys/lock.h" 3 4
typedef void *_LOCK_T;
# 42 "/usr/include/sys/lock.h" 3 4
void __cygwin_lock_init(_LOCK_T *);
void __cygwin_lock_init_recursive(_LOCK_T *);
void __cygwin_lock_fini(_LOCK_T *);
void __cygwin_lock_lock(_LOCK_T *);
int __cygwin_lock_trylock(_LOCK_T *);
void __cygwin_lock_unlock(_LOCK_T *);
# 35 "/usr/include/sys/reent.h" 2 3 4
typedef _LOCK_T _flock_t;







struct _reent;

struct __locale_t;






struct _Bigint
{
  struct _Bigint *_next;
  int _k, _maxwds, _sign, _wds;
  __ULong _x[1];
};


struct __tm
{
  int __tm_sec;
  int __tm_min;
  int __tm_hour;
  int __tm_mday;
  int __tm_mon;
  int __tm_year;
  int __tm_wday;
  int __tm_yday;
  int __tm_isdst;
};







struct _on_exit_args {
 void * _fnargs[32];
 void * _dso_handle[32];

 __ULong _fntypes;


 __ULong _is_cxa;
};
# 98 "/usr/include/sys/reent.h" 3 4
struct _atexit {
 struct _atexit *_next;
 int _ind;

 void (*_fns[32])(void);
        struct _on_exit_args _on_exit_args;
};
# 122 "/usr/include/sys/reent.h" 3 4
struct __sbuf {
 unsigned char *_base;
 int _size;
};
# 186 "/usr/include/sys/reent.h" 3 4
struct __sFILE {
  unsigned char *_p;
  int _r;
  int _w;
  short _flags;
  short _file;
  struct __sbuf _bf;
  int _lbfsize;






  void * _cookie;

  _ssize_t (*_read) (struct _reent *, void *,
        char *, size_t);
  _ssize_t (*_write) (struct _reent *, void *,
         const char *,
         size_t);
  _fpos_t (*_seek) (struct _reent *, void *, _fpos_t, int);
  int (*_close) (struct _reent *, void *);


  struct __sbuf _ub;
  unsigned char *_up;
  int _ur;


  unsigned char _ubuf[3];
  unsigned char _nbuf[1];


  struct __sbuf _lb;


  int _blksize;
  _off_t _offset;


  struct _reent *_data;



  _flock_t _lock;

  _mbstate_t _mbstate;
  int _flags2;
};
# 244 "/usr/include/sys/reent.h" 3 4
struct __sFILE64 {
  unsigned char *_p;
  int _r;
  int _w;
  short _flags;
  short _file;
  struct __sbuf _bf;
  int _lbfsize;

  struct _reent *_data;


  void * _cookie;

  _ssize_t (*_read) (struct _reent *, void *,
        char *, size_t);
  _ssize_t (*_write) (struct _reent *, void *,
         const char *,
         size_t);
  _fpos_t (*_seek) (struct _reent *, void *, _fpos_t, int);
  int (*_close) (struct _reent *, void *);


  struct __sbuf _ub;
  unsigned char *_up;
  int _ur;


  unsigned char _ubuf[3];
  unsigned char _nbuf[1];


  struct __sbuf _lb;


  int _blksize;
  int _flags2;

  _off64_t _offset;
  _fpos64_t (*_seek64) (struct _reent *, void *, _fpos64_t, int);


  _flock_t _lock;

  _mbstate_t _mbstate;
};
typedef struct __sFILE64 __FILE;





struct _glue
{
  struct _glue *_next;
  int _niobs;
  __FILE *_iobs;
};
# 324 "/usr/include/sys/reent.h" 3 4
struct _rand48 {
  unsigned short _seed[3];
  unsigned short _mult[3];
  unsigned short _add;




};
# 613 "/usr/include/sys/reent.h" 3 4
struct _reent
{
  int _errno;




  __FILE *_stdin, *_stdout, *_stderr;

  int _inc;
  char _emergency[25];


  int _unspecified_locale_info;
  struct __locale_t *_locale;

  int __sdidinit;

  void (*__cleanup) (struct _reent *);


  struct _Bigint *_result;
  int _result_k;
  struct _Bigint *_p5s;
  struct _Bigint **_freelist;


  int _cvtlen;
  char *_cvtbuf;

  union
    {
      struct
        {
          unsigned int _unused_rand;
          char * _strtok_last;
          char _asctime_buf[26];
          struct __tm _localtime_buf;
          int _gamma_signgam;
          __extension__ unsigned long long _rand_next;
          struct _rand48 _r48;
          _mbstate_t _mblen_state;
          _mbstate_t _mbtowc_state;
          _mbstate_t _wctomb_state;
          char _l64a_buf[8];
          char _signal_buf[24];
          int _getdate_err;
          _mbstate_t _mbrlen_state;
          _mbstate_t _mbrtowc_state;
          _mbstate_t _mbsrtowcs_state;
          _mbstate_t _wcrtomb_state;
          _mbstate_t _wcsrtombs_state;
   int _h_errno;
        } _reent;



      struct
        {

          unsigned char * _nextf[30];
          unsigned int _nmalloc[30];
        } _unused;
    } _new;



  struct _atexit *_atexit;
  struct _atexit _atexit0;



  void (**_sig_func)(int);




  struct _glue __sglue;

  __FILE __sf[3];

};
# 819 "/usr/include/sys/reent.h" 3 4
extern struct _reent *_impure_ptr ;
extern struct _reent *const _global_impure_ptr ;

void _reclaim_reent (struct _reent *);





  struct _reent * __getreent (void);
# 19 "/usr/include/stdlib.h" 2 3 4
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 47 "/usr/include/sys/cdefs.h" 3 4
# 1 "/usr/lib/gcc/x86_64-pc-cygwin/11/include/stddef.h" 1 3 4
# 48 "/usr/include/sys/cdefs.h" 2 3 4
# 20 "/usr/include/stdlib.h" 2 3 4
# 1 "/usr/include/machine/stdlib.h" 1 3 4
# 15 "/usr/include/machine/stdlib.h" 3 4
char *mkdtemp (char *);
# 21 "/usr/include/stdlib.h" 2 3 4

# 1 "/usr/include/alloca.h" 1 3 4
# 23 "/usr/include/stdlib.h" 2 3 4



# 1 "/usr/include/cygwin/stdlib.h" 1 3 4
# 13 "/usr/include/cygwin/stdlib.h" 3 4
# 1 "/usr/include/cygwin/wait.h" 1 3 4
# 14 "/usr/include/cygwin/stdlib.h" 2 3 4






const char *getprogname (void);
void setprogname (const char *);





int unsetenv (const char *);


int clearenv (void);
# 51 "/usr/include/cygwin/stdlib.h" 3 4
extern void *memalign (size_t, size_t);

extern void *valloc (size_t);
# 84 "/usr/include/cygwin/stdlib.h" 3 4
int getloadavg(double loadavg[], int nelem);
# 27 "/usr/include/stdlib.h" 2 3 4








typedef struct
{
  int quot;
  int rem;
} div_t;

typedef struct
{
  long quot;
  long rem;
} ldiv_t;


typedef struct
{
  long long int quot;
  long long int rem;
} lldiv_t;




typedef int (*__compar_fn_t) (const void *, const void *);







int __locale_mb_cur_max (void);



void abort (void) __attribute__ ((__noreturn__));
int abs (int);

__uint32_t arc4random (void);
__uint32_t arc4random_uniform (__uint32_t);
void arc4random_buf (void *, size_t);

int atexit (void (*__func)(void));
double atof (const char *__nptr);

float atoff (const char *__nptr);

int atoi (const char *__nptr);
int _atoi_r (struct _reent *, const char *__nptr);
long atol (const char *__nptr);
long _atol_r (struct _reent *, const char *__nptr);
void * bsearch (const void *__key,
         const void *__base,
         size_t __nmemb,
         size_t __size,
         __compar_fn_t _compar);
void *calloc(size_t, size_t) __attribute__((__malloc__)) __attribute__((__warn_unused_result__))
      __attribute__((__alloc_size__(1, 2))) ;
div_t div (int __numer, int __denom);
void exit (int __status) __attribute__ ((__noreturn__));
void free (void *) ;
char * getenv (const char *__string);
char * _getenv_r (struct _reent *, const char *__string);



char * _findenv (const char *, int *);
char * _findenv_r (struct _reent *, const char *, int *);

extern char *suboptarg;
int getsubopt (char **, char * const *, char **);

long labs (long);
ldiv_t ldiv (long __numer, long __denom);
void *malloc(size_t) __attribute__((__malloc__)) __attribute__((__warn_unused_result__)) __attribute__((__alloc_size__(1))) ;
int mblen (const char *, size_t);
int _mblen_r (struct _reent *, const char *, size_t, _mbstate_t *);
int mbtowc (wchar_t *restrict, const char *restrict, size_t);
int _mbtowc_r (struct _reent *, wchar_t *restrict, const char *restrict, size_t, _mbstate_t *);
int wctomb (char *, wchar_t);
int _wctomb_r (struct _reent *, char *, wchar_t, _mbstate_t *);
size_t mbstowcs (wchar_t *restrict, const char *restrict, size_t);
size_t _mbstowcs_r (struct _reent *, wchar_t *restrict, const char *restrict, size_t, _mbstate_t *);
size_t wcstombs (char *restrict, const wchar_t *restrict, size_t);
size_t _wcstombs_r (struct _reent *, char *restrict, const wchar_t *restrict, size_t, _mbstate_t *);


char * mkdtemp (char *);






int mkstemp (char *);


int mkstemps (char *, int);


char * mktemp (char *) __attribute__ ((__deprecated__("the use of `mktemp' is dangerous; use `mkstemp' instead")));


char * _mkdtemp_r (struct _reent *, char *);
int _mkostemp_r (struct _reent *, char *, int);
int _mkostemps_r (struct _reent *, char *, int, int);
int _mkstemp_r (struct _reent *, char *);
int _mkstemps_r (struct _reent *, char *, int);
char * _mktemp_r (struct _reent *, char *) __attribute__ ((__deprecated__("the use of `mktemp' is dangerous; use `mkstemp' instead")));
void qsort (void *__base, size_t __nmemb, size_t __size, __compar_fn_t _compar);
int rand (void);
void *realloc(void *, size_t) __attribute__((__warn_unused_result__)) __attribute__((__alloc_size__(2))) ;

void *reallocarray(void *, size_t, size_t) __attribute__((__warn_unused_result__)) __attribute__((__alloc_size__(2, 3)));
void *reallocf(void *, size_t) __attribute__((__warn_unused_result__)) __attribute__((__alloc_size__(2)));


char * realpath (const char *restrict path, char *restrict resolved_path);


int rpmatch (const char *response);




void srand (unsigned __seed);
double strtod (const char *restrict __n, char **restrict __end_PTR);
double _strtod_r (struct _reent *,const char *restrict __n, char **restrict __end_PTR);

float strtof (const char *restrict __n, char **restrict __end_PTR);







long strtol (const char *restrict __n, char **restrict __end_PTR, int __base);
long _strtol_r (struct _reent *,const char *restrict __n, char **restrict __end_PTR, int __base);
unsigned long strtoul (const char *restrict __n, char **restrict __end_PTR, int __base);
unsigned long _strtoul_r (struct _reent *,const char *restrict __n, char **restrict __end_PTR, int __base);
# 191 "/usr/include/stdlib.h" 3 4
int system (const char *__string);


long a64l (const char *__input);
char * l64a (long __input);
char * _l64a_r (struct _reent *,long __input);


int on_exit (void (*__func)(int, void *),void *__arg);


void _Exit (int __status) __attribute__ ((__noreturn__));


int putenv (char *__string);

int _putenv_r (struct _reent *, char *__string);
void * _reallocf_r (struct _reent *, void *, size_t);

int setenv (const char *__string, const char *__value, int __overwrite);

int _setenv_r (struct _reent *, const char *__string, const char *__value, int __overwrite);
# 224 "/usr/include/stdlib.h" 3 4
char * __itoa (int, char *, int);
char * __utoa (unsigned, char *, int);

char * itoa (int, char *, int);
char * utoa (unsigned, char *, int);


int rand_r (unsigned *__seed);



double drand48 (void);
double _drand48_r (struct _reent *);
double erand48 (unsigned short [3]);
double _erand48_r (struct _reent *, unsigned short [3]);
long jrand48 (unsigned short [3]);
long _jrand48_r (struct _reent *, unsigned short [3]);
void lcong48 (unsigned short [7]);
void _lcong48_r (struct _reent *, unsigned short [7]);
long lrand48 (void);
long _lrand48_r (struct _reent *);
long mrand48 (void);
long _mrand48_r (struct _reent *);
long nrand48 (unsigned short [3]);
long _nrand48_r (struct _reent *, unsigned short [3]);
unsigned short *
       seed48 (unsigned short [3]);
unsigned short *
       _seed48_r (struct _reent *, unsigned short [3]);
void srand48 (long);
void _srand48_r (struct _reent *, long);


char * initstate (unsigned, char *, size_t);
long random (void);
char * setstate (char *);
void srandom (unsigned);


long long atoll (const char *__nptr);

long long _atoll_r (struct _reent *, const char *__nptr);

long long llabs (long long);
lldiv_t lldiv (long long __numer, long long __denom);
long long strtoll (const char *restrict __n, char **restrict __end_PTR, int __base);

long long _strtoll_r (struct _reent *, const char *restrict __n, char **restrict __end_PTR, int __base);

unsigned long long strtoull (const char *restrict __n, char **restrict __end_PTR, int __base);

unsigned long long _strtoull_r (struct _reent *, const char *restrict __n, char **restrict __end_PTR, int __base);
# 288 "/usr/include/stdlib.h" 3 4
int posix_memalign (void **, size_t, size_t) __attribute__((__nonnull__ (1)))
     __attribute__((__warn_unused_result__));


char * _dtoa_r (struct _reent *, double, int, int, int *, int*, char**);







int _system_r (struct _reent *, const char *);

void __eprintf (const char *, const char *, unsigned int, const char *);
# 312 "/usr/include/stdlib.h" 3 4
void qsort_r (void *__base, size_t __nmemb, size_t __size, void *__thunk, int (*_compar)(void *, const void *, const void *))
             __asm__ ("" "__bsd_qsort_r");
# 322 "/usr/include/stdlib.h" 3 4
extern long double _strtold_r (struct _reent *, const char *restrict, char **restrict);

extern long double strtold (const char *restrict, char **restrict);







void * aligned_alloc(size_t, size_t) __attribute__((__malloc__)) __attribute__((__alloc_align__(1)))
     __attribute__((__alloc_size__(2))) __attribute__((__warn_unused_result__));
int at_quick_exit(void (*)(void));
_Noreturn void
 quick_exit(int);



# 2 "iconv-test.c" 2
# 1 "/usr/include/iconv.h" 1 3 4
# 30 "/usr/include/iconv.h" 3 4
# 1 "/usr/include/reent.h" 1 3 4
# 98 "/usr/include/reent.h" 3 4
# 1 "/usr/lib/gcc/x86_64-pc-cygwin/11/include/stddef.h" 1 3 4
# 99 "/usr/include/reent.h" 2 3 4


struct stat;
struct tms;
struct timeval;
struct timezone;
# 139 "/usr/include/reent.h" 3 4
extern int _close_r (struct _reent *, int);
extern int _execve_r (struct _reent *, const char *, char *const *, char *const *);
extern int _fcntl_r (struct _reent *, int, int, int);
extern int _fork_r (struct _reent *);
extern int _fstat_r (struct _reent *, int, struct stat *);
extern int _getpid_r (struct _reent *);
extern int _isatty_r (struct _reent *, int);
extern int _kill_r (struct _reent *, int, int);
extern int _link_r (struct _reent *, const char *, const char *);
extern _off_t _lseek_r (struct _reent *, int, _off_t, int);
extern int _mkdir_r (struct _reent *, const char *, int);
extern int _open_r (struct _reent *, const char *, int, int);
extern _ssize_t _read_r (struct _reent *, int, void *, size_t);
extern int _rename_r (struct _reent *, const char *, const char *);
extern void *_sbrk_r (struct _reent *, ptrdiff_t);
extern int _stat_r (struct _reent *, const char *, struct stat *);
extern unsigned long _times_r (struct _reent *, struct tms *);
extern int _unlink_r (struct _reent *, const char *);
extern int _wait_r (struct _reent *, int *);
extern _ssize_t _write_r (struct _reent *, int, const void *, size_t);


extern int _gettimeofday_r (struct _reent *, struct timeval *__tp, void *__tzp);







struct stat;

extern _off64_t _lseek64_r (struct _reent *, int, _off64_t, int);
extern int _fstat64_r (struct _reent *, int, struct stat *);
extern int _open64_r (struct _reent *, const char *, int, int);
extern int _stat64_r (struct _reent *, const char *, struct stat *);
# 31 "/usr/include/iconv.h" 2 3 4
# 1 "/usr/include/sys/types.h" 1 3 4
# 28 "/usr/include/sys/types.h" 3 4
typedef __uint8_t u_int8_t;


typedef __uint16_t u_int16_t;


typedef __uint32_t u_int32_t;


typedef __uint64_t u_int64_t;

typedef __intptr_t register_t;






# 1 "/usr/include/sys/_stdint.h" 1 3 4
# 20 "/usr/include/sys/_stdint.h" 3 4
typedef __int8_t int8_t ;



typedef __uint8_t uint8_t ;







typedef __int16_t int16_t ;



typedef __uint16_t uint16_t ;







typedef __int32_t int32_t ;



typedef __uint32_t uint32_t ;







typedef __int64_t int64_t ;



typedef __uint64_t uint64_t ;






typedef __intmax_t intmax_t;




typedef __uintmax_t uintmax_t;




typedef __intptr_t intptr_t;




typedef __uintptr_t uintptr_t;
# 47 "/usr/include/sys/types.h" 2 3 4


# 1 "/usr/include/machine/endian.h" 1 3 4





# 1 "/usr/include/machine/_endian.h" 1 3 4
# 14 "/usr/include/machine/_endian.h" 3 4
# 1 "/usr/include/bits/endian.h" 1 3 4
# 15 "/usr/include/machine/_endian.h" 2 3 4
# 23 "/usr/include/machine/_endian.h" 3 4
static __inline__ __uint32_t __ntohl(__uint32_t);
static __inline__ __uint16_t __ntohs(__uint16_t);

static __inline__ __uint32_t
__ntohl(__uint32_t _x)
{
 __asm__("bswap %0" : "=r" (_x) : "0" (_x));
 return _x;
}

static __inline__ __uint16_t
__ntohs(__uint16_t _x)
{
 __asm__("xchgb %b0,%h0"
  : "=Q" (_x)
  : "0" (_x));
 return _x;
}
# 7 "/usr/include/machine/endian.h" 2 3 4
# 50 "/usr/include/sys/types.h" 2 3 4
# 1 "/usr/include/sys/select.h" 1 3 4
# 14 "/usr/include/sys/select.h" 3 4
# 1 "/usr/include/sys/_sigset.h" 1 3 4
# 41 "/usr/include/sys/_sigset.h" 3 4
typedef unsigned long __sigset_t;
# 15 "/usr/include/sys/select.h" 2 3 4
# 1 "/usr/include/sys/_timeval.h" 1 3 4
# 37 "/usr/include/sys/_timeval.h" 3 4
typedef __suseconds_t suseconds_t;




typedef long time_t;
# 54 "/usr/include/sys/_timeval.h" 3 4
struct timeval {
 time_t tv_sec;
 suseconds_t tv_usec;
};
# 16 "/usr/include/sys/select.h" 2 3 4
# 1 "/usr/include/sys/timespec.h" 1 3 4
# 38 "/usr/include/sys/timespec.h" 3 4
# 1 "/usr/include/sys/_timespec.h" 1 3 4
# 47 "/usr/include/sys/_timespec.h" 3 4
struct timespec {
 time_t tv_sec;
 long tv_nsec;
};
# 39 "/usr/include/sys/timespec.h" 2 3 4
# 58 "/usr/include/sys/timespec.h" 3 4
struct itimerspec {
 struct timespec it_interval;
 struct timespec it_value;
};
# 17 "/usr/include/sys/select.h" 2 3 4



typedef __sigset_t sigset_t;
# 34 "/usr/include/sys/select.h" 3 4
typedef unsigned long __fd_mask;

typedef __fd_mask fd_mask;
# 48 "/usr/include/sys/select.h" 3 4
typedef struct fd_set {
 __fd_mask __fds_bits[(((64) + ((((int)sizeof(__fd_mask) * 8)) - 1)) / (((int)sizeof(__fd_mask) * 8)))];
} fd_set;
# 74 "/usr/include/sys/select.h" 3 4


int select (int __n, fd_set *__readfds, fd_set *__writefds, fd_set *__exceptfds, struct timeval *__timeout)
                                                   ;

int pselect (int __n, fd_set *__readfds, fd_set *__writefds, fd_set *__exceptfds, const struct timespec *__timeout, const sigset_t *__set)

                           ;



# 51 "/usr/include/sys/types.h" 2 3 4




typedef __uint32_t in_addr_t;




typedef __uint16_t in_port_t;



typedef __uintptr_t u_register_t;






typedef unsigned char u_char;



typedef unsigned short u_short;



typedef unsigned int u_int;



typedef unsigned long u_long;







typedef unsigned short ushort;
typedef unsigned int uint;
typedef unsigned long ulong;



typedef __blkcnt_t blkcnt_t;




typedef __blksize_t blksize_t;




typedef unsigned long clock_t;
# 119 "/usr/include/sys/types.h" 3 4
typedef long daddr_t;



typedef char * caddr_t;




typedef __fsblkcnt_t fsblkcnt_t;
typedef __fsfilcnt_t fsfilcnt_t;




typedef __id_t id_t;




typedef __ino_t ino_t;
# 157 "/usr/include/sys/types.h" 3 4
typedef __off_t off_t;



typedef __dev_t dev_t;



typedef __uid_t uid_t;



typedef __gid_t gid_t;




typedef __pid_t pid_t;




typedef __key_t key_t;




typedef _ssize_t ssize_t;




typedef __mode_t mode_t;




typedef __nlink_t nlink_t;




typedef __clockid_t clockid_t;





typedef __timer_t timer_t;





typedef __useconds_t useconds_t;
# 220 "/usr/include/sys/types.h" 3 4
typedef __int64_t sbintime_t;


# 1 "/usr/include/sys/_pthreadtypes.h" 1 3 4
# 12 "/usr/include/sys/_pthreadtypes.h" 3 4
# 1 "/usr/include/sys/cpuset.h" 1 3 4
# 16 "/usr/include/sys/cpuset.h" 3 4
typedef long unsigned int __cpu_mask;







typedef struct
{
  __cpu_mask __bits[(1024 / (8 * sizeof (__cpu_mask)))];
} cpu_set_t;
# 13 "/usr/include/sys/_pthreadtypes.h" 2 3 4



typedef struct __pthread_t {char __dummy;} *pthread_t;
typedef struct __pthread_mutex_t {char __dummy;} *pthread_mutex_t;

typedef struct __pthread_key_t {char __dummy;} *pthread_key_t;
typedef struct __pthread_attr_t {char __dummy;} *pthread_attr_t;
typedef struct __pthread_mutexattr_t {char __dummy;} *pthread_mutexattr_t;
typedef struct __pthread_condattr_t {char __dummy;} *pthread_condattr_t;
typedef struct __pthread_cond_t {char __dummy;} *pthread_cond_t;
typedef struct __pthread_barrierattr_t {char __dummy;} *pthread_barrierattr_t;
typedef struct __pthread_barrier_t {char __dummy;} *pthread_barrier_t;


typedef struct
{
  pthread_mutex_t mutex;
  int state;
}
pthread_once_t;
typedef struct __pthread_spinlock_t {char __dummy;} *pthread_spinlock_t;
typedef struct __pthread_rwlock_t {char __dummy;} *pthread_rwlock_t;
typedef struct __pthread_rwlockattr_t {char __dummy;} *pthread_rwlockattr_t;
# 224 "/usr/include/sys/types.h" 2 3 4
# 1 "/usr/include/machine/types.h" 1 3 4
# 19 "/usr/include/machine/types.h" 3 4
# 1 "/usr/include/endian.h" 1 3 4
# 38 "/usr/include/endian.h" 3 4
# 1 "/usr/include/bits/byteswap.h" 1 3 4
# 16 "/usr/include/bits/byteswap.h" 3 4
static __inline unsigned short
__bswap_16 (unsigned short __x)
{
  return (__x >> 8) | (__x << 8);
}

static __inline unsigned int
__bswap_32 (unsigned int __x)
{
  return (__bswap_16 (__x & 0xffff) << 16) | (__bswap_16 (__x >> 16));
}

static __inline unsigned long long
__bswap_64 (unsigned long long __x)
{
  return (((unsigned long long) __bswap_32 (__x & 0xffffffffull)) << 32) | (__bswap_32 (__x >> 32));
}
# 39 "/usr/include/endian.h" 2 3 4
# 20 "/usr/include/machine/types.h" 2 3 4
# 1 "/usr/include/bits/wordsize.h" 1 3 4
# 21 "/usr/include/machine/types.h" 2 3 4




typedef struct timespec timespec_t;




typedef struct timespec timestruc_t;


typedef __loff_t loff_t;
# 46 "/usr/include/machine/types.h" 3 4
struct flock {
 short l_type;
 short l_whence;
 off_t l_start;
 off_t l_len;
 pid_t l_pid;
};






typedef unsigned long vm_offset_t;




typedef unsigned long vm_size_t;




typedef void *vm_object_t;




typedef char *addr_t;





# 1 "/usr/include/sys/sysmacros.h" 1 3 4
# 12 "/usr/include/sys/sysmacros.h" 3 4
# 1 "/usr/include/sys/types.h" 1 3 4
# 13 "/usr/include/sys/sysmacros.h" 2 3 4

static __inline__ int gnu_dev_major(dev_t);
static __inline__ int gnu_dev_minor(dev_t);
static __inline__ dev_t gnu_dev_makedev(int, int);

static __inline__ int
gnu_dev_major(dev_t dev)
{
 return (int)(((dev) >> 16) & 0xffff);
}

static __inline__ int
gnu_dev_minor(dev_t dev)
{
 return (int)((dev) & 0xffff);
}

static __inline__ dev_t
gnu_dev_makedev(int maj, int min)
{
 return (((maj) << 16) | ((min) & 0xffff));
}
# 81 "/usr/include/machine/types.h" 2 3 4
# 225 "/usr/include/sys/types.h" 2 3 4
# 32 "/usr/include/iconv.h" 2 3 4



typedef _iconv_t iconv_t;




iconv_t
iconv_open (const char *, const char *);

size_t
iconv (iconv_t, char **restrict, size_t *restrict,
               char **restrict, size_t *restrict);

int
iconv_close (iconv_t);


iconv_t
_iconv_open_r (struct _reent *, const char *, const char *);

size_t
_iconv_r (struct _reent *, iconv_t, const char **,
                  size_t *, char **, size_t *);

int
_iconv_close_r (struct _reent *, iconv_t);


# 3 "iconv-test.c" 2


# 4 "iconv-test.c"
int
main (void)
{
iconv_t cd = iconv_open("","");
           iconv(cd,
# 8 "iconv-test.c" 3 4
                   ((void *)0)
# 8 "iconv-test.c"
                       ,
# 8 "iconv-test.c" 3 4
                        ((void *)0)
# 8 "iconv-test.c"
                            ,
# 8 "iconv-test.c" 3 4
                             ((void *)0)
# 8 "iconv-test.c"
                                 ,
# 8 "iconv-test.c" 3 4
                                  ((void *)0)
# 8 "iconv-test.c"
                                      );
           iconv_close(cd);
  ;
  return 0;
}

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: autoconf tests for iconv fail with undefined refs
  2022-02-18 19:33 autoconf tests for iconv fail with undefined refs Brian Inglis
@ 2022-02-19  5:26 ` Lemures Lemniscati
  2022-02-19 17:11   ` Brian Inglis
  2022-02-19  7:51 ` Lemures Lemniscati
  1 sibling, 1 reply; 8+ messages in thread
From: Lemures Lemniscati @ 2022-02-19  5:26 UTC (permalink / raw)
  To: cygwin

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

Hi, Brian.

This will successfully build libisocodes-1.2.4 but some tests fail.

Lem

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: autoconf tests for iconv fail with undefined refs
  2022-02-18 19:33 autoconf tests for iconv fail with undefined refs Brian Inglis
  2022-02-19  5:26 ` Lemures Lemniscati
@ 2022-02-19  7:51 ` Lemures Lemniscati
  2022-02-19 15:46   ` Brian Inglis
  1 sibling, 1 reply; 8+ messages in thread
From: Lemures Lemniscati @ 2022-02-19  7:51 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 285 bytes --]

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.

About libisocodes 1.2.4, these patches (attached) may help cygport-build.

Lem

[-- Attachment #2: 1.2.4-vapidir.patch --]
[-- Type: application/octet-stream, Size: 361 bytes --]

--- origsrc/libisocodes-libisocodes-1.2.4/Makefile.am	2021-08-27 03:04:39.000000000 +0900
+++ src/libisocodes-libisocodes-1.2.4/Makefile.am
@@ -57,7 +57,7 @@
 	--pkg libxml-2.0 \
 	--pkg gee-0.8 \
 	--library=libisocodes \
-	--vapidir=vapi --pkg config \
+	--vapidir=$(srcdir)/vapi --pkg config \
 	--header=libisocodes.h \
 	--gir=libisocodes-$(VERSION).gir
 

[-- Attachment #3: 1.2.4-no-undefined.patch --]
[-- Type: application/octet-stream, Size: 1323 bytes --]

--- origsrc/libisocodes-libisocodes-1.2.4/Makefile.am	2021-08-27 03:04:39.000000000 +0900
+++ src/libisocodes-libisocodes-1.2.4/Makefile.am
@@ -65,7 +65,7 @@ VALAFLAGS = \
 libisocodes_la_CPPFLAGS = -include config.h -DLOCALEDIR=\""$(localedir)"\"
 libisocodes_la_CFLAGS = $(GOBJECT_CFLAGS) $(GLIB_CFLAGS) $(LIBXML_CFLAGS) $(GEE_CFLAGS)
 libisocodes_la_LIBADD = $(GOBJECT_LIBS) $(GLIB_LIBS) $(LIBXML_LIBS) $(GEE_LIBS)
-libisocodes_la_LDFLAGS = -version-info $(LIBISOCODES_LT_VERSION)
+libisocodes_la_LDFLAGS = -version-info $(LIBISOCODES_LT_VERSION) -no-undefined
 
 DISTCLEANFILES = libisocodes.pc
 MAINTAINERCLEANFILES = config.h.in~ libisocodes.h libisocodes.vapi libisocodes-$(VERSION).gir
@@ -94,8 +94,13 @@ libisocodes-$(VERSION).gir: $(lib_LTLIBR
 girdir = $(datadir)/gir-1.0
 gir_DATA = libisocodes-$(VERSION).gir
 
+# We have to extract our own dlname from libisocodes.la; see bgo#658002.
+# This is what g-ir-scanner does.
+libisocodes_dlname = \
+       `$(SED) -n "s/^dlname='\([A-Za-z0-9.+-]\+\)'/\1/p" libisocodes.la`
+
 libisocodes-$(VERSION).typelib: libisocodes-$(VERSION).gir
-	$(G_IR_COMPILER) --shared-library=libisocodes.so --output=$@ $<
+	$(G_IR_COMPILER) --shared-library=$(libisocodes_dlname) --output=$@ $<
 
 typelibdir = $(libdir)/girepository-1.0
 typelib_DATA = libisocodes-$(VERSION).typelib

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: autoconf tests for iconv fail with undefined refs
  2022-02-19  7:51 ` Lemures Lemniscati
@ 2022-02-19 15:46   ` Brian Inglis
  0 siblings, 0 replies; 8+ messages in thread
From: Brian Inglis @ 2022-02-19 15:46 UTC (permalink / raw)
  To: cygwin

On 2022-02-19 00:51, Lemures Lemniscati wrote:
> About libisocodes 1.2.4, these patches (attached) may help cygport-build.

Thanks Lem,

The first gets that build running, I already updated the second based on 
the checked in version.

-- 
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.]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: autoconf tests for iconv fail with undefined refs
  2022-02-19  5:26 ` Lemures Lemniscati
@ 2022-02-19 17:11   ` Brian Inglis
  2022-02-19 23:37     ` Lemures Lemniscati
  0 siblings, 1 reply; 8+ messages in thread
From: Brian Inglis @ 2022-02-19 17:11 UTC (permalink / raw)
  To: cygwin

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.

Thanks Lem,

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.

-- 
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.]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: autoconf tests for iconv fail with undefined refs
  2022-02-19 17:11   ` Brian Inglis
@ 2022-02-19 23:37     ` Lemures Lemniscati
  2022-02-19 23:53       ` Brian Inglis
  0 siblings, 1 reply; 8+ messages in thread
From: Lemures Lemniscati @ 2022-02-19 23:37 UTC (permalink / raw)
  To: cygwin

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.
> 
> Thanks Lem,
> 
> 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`.

Lem


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: autoconf tests for iconv fail with undefined refs
  2022-02-19 23:37     ` Lemures Lemniscati
@ 2022-02-19 23:53       ` Brian Inglis
  2022-02-20  1:10         ` Lemures Lemniscati
  0 siblings, 1 reply; 8+ messages in thread
From: Brian Inglis @ 2022-02-19 23:53 UTC (permalink / raw)
  To: cygwin

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.]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: autoconf tests for iconv fail with undefined refs
  2022-02-19 23:53       ` Brian Inglis
@ 2022-02-20  1:10         ` Lemures Lemniscati
  0 siblings, 0 replies; 8+ messages in thread
From: Lemures Lemniscati @ 2022-02-20  1:10 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 1789 bytes --]

On Sat, 19 Feb 2022 16:53:46 -0700, Brian Inglis
> 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.


It seems ok on my local environment. The iconv part of the log is attached.

```
cygport findutils.cygport download finish prep compile
cat -n findutils-4.9.0-1.x86_64/build/config.log | tail +35145 | head -676 > config_L35145.log
```

Lem

[-- Attachment #2: config_L35145.log --]
[-- Type: application/octet-stream, Size: 27698 bytes --]

 35145	configure:63310: checking for iconv
 35146	configure:63335: gcc -o conftest.exe -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fdebug-prefix-map=/home/cygwin-lem/findutils-cygport/findutils-4.9.0-1.x86_64/build=/usr/src/debug/findutils-4.9.0-1 -fdebug-prefix-map=/home/cygwin-lem/findutils-cygport/findutils-4.9.0-1.x86_64/src/findutils-4.9.0=/usr/src/debug/findutils-4.9.0-1   conftest.c  >&5
 35147	/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /tmp/ccm39o5a.o: in function `main':
 35148	/usr/src/debug/findutils-4.9.0-1/conftest.c:646: undefined reference to `libiconv_open'
 35149	/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /usr/src/debug/findutils-4.9.0-1/conftest.c:647: undefined reference to `libiconv'
 35150	/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /usr/src/debug/findutils-4.9.0-1/conftest.c:648: undefined reference to `libiconv_close'
 35151	collect2: error: ld returned 1 exit status
 35152	configure:63335: $? = 1
 35153	configure: failed program was:
 35154	| /* confdefs.h */
 35155	| #define PACKAGE_NAME "GNU findutils"
 35156	| #define PACKAGE_TARNAME "findutils"
 35157	| #define PACKAGE_VERSION "4.9.0"
 35158	| #define PACKAGE_STRING "GNU findutils 4.9.0"
 35159	| #define PACKAGE_BUGREPORT "bug-findutils@gnu.org"
 35160	| #define PACKAGE_URL "https://www.gnu.org/software/findutils/"
 35161	| #define PACKAGE_BUGREPORT_URL "https://savannah.gnu.org/bugs/?group=findutils"
 35162	| #define PACKAGE "findutils"
 35163	| #define VERSION "4.9.0"
 35164	| #define LEAF_OPTIMISATION 1
 35165	| #define DEFAULT_ARG_SIZE '(32u*1024)'
 35166	| #define HAVE_STDIO_H 1
 35167	| #define HAVE_STDLIB_H 1
 35168	| #define HAVE_STRING_H 1
 35169	| #define HAVE_INTTYPES_H 1
 35170	| #define HAVE_STDINT_H 1
 35171	| #define HAVE_STRINGS_H 1
 35172	| #define HAVE_SYS_STAT_H 1
 35173	| #define HAVE_SYS_TYPES_H 1
 35174	| #define HAVE_UNISTD_H 1
 35175	| #define HAVE_WCHAR_H 1
 35176	| #define HAVE_SYS_PARAM_H 1
 35177	| #define HAVE_SYS_SOCKET_H 1
 35178	| #define HAVE_DIRENT_H 1
 35179	| #define HAVE_FNMATCH_H 1
 35180	| #define HAVE_STDIO_EXT_H 1
 35181	| #define HAVE_SYS_VFS_H 1
 35182	| #define HAVE_NETDB_H 1
 35183	| #define HAVE_GETOPT_H 1
 35184	| #define HAVE_SYS_CDEFS_H 1
 35185	| #define HAVE_SYS_TIME_H 1
 35186	| #define HAVE_THREADS_H 1
 35187	| #define HAVE_LIMITS_H 1
 35188	| #define HAVE_CRTDEFS_H 1
 35189	| #define HAVE_WCTYPE_H 1
 35190	| #define HAVE_LANGINFO_H 1
 35191	| #define HAVE_MATH_H 1
 35192	| #define HAVE_SYS_MMAN_H 1
 35193	| #define HAVE_SYS_STATVFS_H 1
 35194	| #define HAVE_MALLOC_H 1
 35195	| #define HAVE_SYS_UIO_H 1
 35196	| #define HAVE_SYS_UTSNAME_H 1
 35197	| #define HAVE_SYS_WAIT_H 1
 35198	| #define HAVE_FEATURES_H 1
 35199	| #define HAVE_ARPA_INET_H 1
 35200	| #define HAVE_NETINET_IN_H 1
 35201	| #define HAVE_SEMAPHORE_H 1
 35202	| #define HAVE_SYS_SELECT_H 1
 35203	| #define HAVE_PTHREAD_H 1
 35204	| #define HAVE_SYS_IOCTL_H 1
 35205	| #define HAVE_SYS_RANDOM_H 1
 35206	| #define STDC_HEADERS 1
 35207	| #define _ALL_SOURCE 1
 35208	| #define _DARWIN_C_SOURCE 1
 35209	| #define _GNU_SOURCE 1
 35210	| #define _HPUX_ALT_XOPEN_SOCKET_API 1
 35211	| #define _NETBSD_SOURCE 1
 35212	| #define _OPENBSD_SOURCE 1
 35213	| #define _POSIX_PTHREAD_SEMANTICS 1
 35214	| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
 35215	| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
 35216	| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
 35217	| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
 35218	| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
 35219	| #define __STDC_WANT_LIB_EXT2__ 1
 35220	| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
 35221	| #define _TANDEM_SOURCE 1
 35222	| #define __EXTENSIONS__ 1
 35223	| #define HAVE_FSEEKO 1
 35224	| #define HAVE_ALLOCA_H 1
 35225	| #define HAVE_ALLOCA 1
 35226	| #define HAVE_BTOWC 1
 35227	| #define HAVE_CANONICALIZE_FILE_NAME 1
 35228	| #define HAVE_FACCESSAT 1
 35229	| #define HAVE_REALPATH 1
 35230	| #define HAVE_LSTAT 1
 35231	| #define HAVE_READLINKAT 1
 35232	| #define HAVE_FCHDIR 1
 35233	| #define HAVE_FDOPENDIR 1
 35234	| #define HAVE_FCNTL 1
 35235	| #define HAVE_SYMLINK 1
 35236	| #define HAVE_MEMPCPY 1
 35237	| #define HAVE_FNMATCH 1
 35238	| #define HAVE_MBSRTOWCS 1
 35239	| #define HAVE_FPURGE 1
 35240	| #define HAVE___FPURGE 1
 35241	| #define HAVE___FREADING 1
 35242	| #define HAVE_FSTATAT 1
 35243	| #define HAVE_OPENAT 1
 35244	| #define HAVE_FSTATFS 1
 35245	| #define HAVE_GETDELIM 1
 35246	| #define HAVE_GETDTABLESIZE 1
 35247	| #define HAVE_GETPROGNAME 1
 35248	| #define HAVE_GETTIMEOFDAY 1
 35249	| #define HAVE_ISBLANK 1
 35250	| #define HAVE_ISWCNTRL 1
 35251	| #define HAVE_ISWBLANK 1
 35252	| #define HAVE_MBSINIT 1
 35253	| #define HAVE_MBRTOWC 1
 35254	| #define HAVE_ISASCII 1
 35255	| #define HAVE_MPROTECT 1
 35256	| #define HAVE_NL_LANGINFO 1
 35257	| #define HAVE_STRERROR_R 1
 35258	| #define HAVE___XPG_STRERROR_R 1
 35259	| #define HAVE_PIPE 1
 35260	| #define HAVE_READLINK 1
 35261	| #define HAVE_ISWCTYPE 1
 35262	| #define HAVE_SETENV 1
 35263	| #define HAVE_SNPRINTF 1
 35264	| #define HAVE_CATGETS 1
 35265	| #define HAVE_STRNDUP 1
 35266	| #define HAVE_STRTOUMAX 1
 35267	| #define HAVE_LOCALTIME_R 1
 35268	| #define HAVE_TIMEGM 1
 35269	| #define HAVE_UNLINKAT 1
 35270	| #define HAVE_VASNPRINTF 1
 35271	| #define HAVE_WCRTOMB 1
 35272	| #define HAVE_WCWIDTH 1
 35273	| #define HAVE_WMEMPCPY 1
 35274	| #define HAVE_FTRUNCATE 1
 35275	| #define HAVE_GETRANDOM 1
 35276	| #define HAVE_DUPLOCALE 1
 35277	| #define HAVE_NEWLOCALE 1
 35278	| #define HAVE_USELOCALE 1
 35279	| #define HAVE_FREELOCALE 1
 35280	| #define HAVE_PTHREAD_SIGMASK 1
 35281	| #define HAVE_SECURE_GETENV 1
 35282	| #define HAVE_GETUID 1
 35283	| #define HAVE_GETEUID 1
 35284	| #define HAVE_GETGID 1
 35285	| #define HAVE_GETEGID 1
 35286	| #define HAVE_SIGACTION 1
 35287	| #define HAVE_SIGALTSTACK 1
 35288	| #define HAVE_SIGINTERRUPT 1
 35289	| #define HAVE_SLEEP 1
 35290	| #define HAVE_SYMLINKAT 1
 35291	| #define HAVE_SHUTDOWN 1
 35292	| #define HAVE_USLEEP 1
 35293	| #define HAVE_WCTOB 1
 35294	| #define HAVE_VPRINTF 1
 35295	| #define HAVE_LANGINFO_CODESET 1
 35296	| #define HAVE_MALLOC_POSIX 1
 35297	| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
 35298	| #define DOUBLE_SLASH_IS_DISTINCT_ROOT 1
 35299	| #define FUNC_REALPATH_WORKS 1
 35300	| #define restrict __restrict__
 35301	| #define HAVE_ENVIRON_DECL 1
 35302	| #define HAVE_DECL_STRERROR_R 1
 35303	| #define HAVE_STRERROR_R 1
 35304	| #define STRERROR_R_CHAR_P 1
 35305	| #define GETGROUPS_T gid_t
 35306	| #define HAVE_DECL_FCHDIR 1
 35307	| #define HAVE_WORKING_O_NOATIME 0
 35308	| #define HAVE_WORKING_O_NOFOLLOW 1
 35309	| #define PROMOTED_MODE_T mode_t
 35310	| #define HAVE_DECL_STRMODE 0
 35311	| #define HAVE_MBSTATE_T 1
 35312	| #define _USE_STD_STAT 1
 35313	| #define HAVE_DECL_FSEEKO 1
 35314	| #define FUNC_FFLUSH_STDIN 1
 35315	| #define HAVE_DECL_FTELLO 1
 35316	| #define HAVE_DECL_GETCWD 1
 35317	| #define HAVE_DECL_GETDELIM 1
 35318	| #define HAVE_DECL_GETDTABLESIZE 1
 35319	| #define HAVE_DECL_GETLINE 1
 35320	| #define HAVE_GETOPT_H 1
 35321	| #define HAVE_GETOPT_LONG_ONLY 1
 35322	| #define HAVE_PTHREAD_API 1
 35323	| #define SETLOCALE_NULL_ALL_MTSAFE 0
 35324	| #define SETLOCALE_NULL_ONE_MTSAFE 1
 35325	| #define HAVE_WINT_T 1
 35326	| #define HAVE_LONG_LONG_INT 1
 35327	| #define HAVE_UNSIGNED_LONG_LONG_INT 1
 35328	| #define DBL_EXPBIT0_WORD 1
 35329	| #define DBL_EXPBIT0_BIT 20
 35330	| #define FLT_EXPBIT0_WORD 0
 35331	| #define FLT_EXPBIT0_BIT 23
 35332	| #define HAVE_TOWLOWER 1
 35333	| #define HAVE_WCHAR_T 1
 35334	| #define USE_POSIX_THREADS 1
 35335	| #define MALLOC_0_IS_NONNULL 1
 35336	| #define HAVE_MAP_ANONYMOUS 1
 35337	| #define HAVE_DECL_MEMRCHR 1
 35338	| #define HAVE_MINMAX_IN_SYS_PARAM_H 1
 35339	| #define TIME_T_IS_SIGNED 1
 35340	| #define HAVE_DECL_ALARM 1
 35341	| #define HAVE_DECL_TRUNC 1
 35342	| #define HAVE_STRUCT_TM_TM_ZONE 1
 35343	| #define HAVE_TM_ZONE 1
 35344	| #define HAVE_TM_GMTOFF 1
 35345	| #define HAVE_COMPOUND_LITERALS 1
 35346	| #define HAVE_DECL_SETENV 1
 35347	| #define HAVE_SEARCH_H 1
 35348	| #define HAVE_TSEARCH 1
 35349	| #define HAVE_DECL_SNPRINTF 1
 35350	| #define HAVE__BOOL 1
 35351	| #define HAVE_DECL_FCLOSEALL 1
 35352	| #define __USE_MINGW_ANSI_STDIO 1
 35353	| #define HAVE_DECL_ECVT 0
 35354	| #define HAVE_DECL_FCVT 0
 35355	| #define HAVE_DECL_GCVT 0
 35356	| #define HAVE_STRCASESTR 1
 35357	| #define HAVE_DECL_STRDUP 1
 35358	| #define HAVE_DECL_STRNDUP 1
 35359	| #define HAVE_DECL_STRNLEN 1
 35360	| #define HAVE_DECL_STRTOUMAX 1
 35361	| #define HAVE_SHUTDOWN 1
 35362	| #define HAVE_STRUCT_SOCKADDR_STORAGE 1
 35363	| #define HAVE_SA_FAMILY_T 1
 35364	| #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1
 35365	| #define HAVE_STRUCT_UTSNAME 1
 35366	| #define HAVE_DECL_EXECVPE 1
 35367	| #define HAVE_DECL_CLEARERR_UNLOCKED 1
 35368	| #define HAVE_DECL_FEOF_UNLOCKED 1
 35369	| #define HAVE_DECL_FERROR_UNLOCKED 1
 35370	| #define HAVE_DECL_FFLUSH_UNLOCKED 1
 35371	| #define HAVE_DECL_FGETS_UNLOCKED 1
 35372	| #define HAVE_DECL_FPUTC_UNLOCKED 1
 35373	| #define HAVE_DECL_FPUTS_UNLOCKED 1
 35374	| #define HAVE_DECL_FREAD_UNLOCKED 1
 35375	| #define HAVE_DECL_FWRITE_UNLOCKED 1
 35376	| #define HAVE_DECL_GETC_UNLOCKED 1
 35377	| #define HAVE_DECL_GETCHAR_UNLOCKED 1
 35378	| #define HAVE_DECL_PUTC_UNLOCKED 1
 35379	| #define HAVE_DECL_PUTCHAR_UNLOCKED 1
 35380	| #define HAVE_DECL_UNSETENV 1
 35381	| #define HAVE_INTTYPES_H_WITH_UINTMAX 1
 35382	| #define HAVE_STDINT_H_WITH_UINTMAX 1
 35383	| #define HAVE_INTMAX_T 1
 35384	| #define HAVE_SNPRINTF 1
 35385	| #define HAVE_STRNLEN 1
 35386	| #define HAVE_WCSLEN 1
 35387	| #define HAVE_WCSNLEN 1
 35388	| #define HAVE_MBRTOWC 1
 35389	| #define HAVE_WCRTOMB 1
 35390	| #define HAVE_DECL__SNPRINTF 0
 35391	| #define HAVE_SNPRINTF_RETVAL_C99 1
 35392	| #define HAVE_SNPRINTF_TRUNCATION_C99 1
 35393	| #define HAVE_DECL_WCSDUP 1
 35394	| #define HAVE_IPV4 1
 35395	| #define HAVE_IPV6 1
 35396	| #define HAVE_LC_MESSAGES 1
 35397	| #define HAVE_WORKING_USELOCALE 1
 35398	| #define HAVE_GOOD_USELOCALE 1
 35399	| #define HAVE_PTHREAD_T 1
 35400	| #define HAVE_PTHREAD_SPINLOCK_T 1
 35401	| #define HAVE_SIGSET_T 1
 35402	| #define HAVE_SCHED_H 1
 35403	| #define HAVE_ALLOCA 1
 35404	| #define GNULIB_AREADLINKAT 1
 35405	| #define GNULIB_TEST_BTOWC 1
 35406	| #define HAVE___BUILTIN_EXPECT 1
 35407	| #define HAVE_BYTESWAP_H 1
 35408	| #define GNULIB_TEST_CALLOC_GNU 1
 35409	| #define GNULIB_TEST_CALLOC_POSIX 1
 35410	| #define GNULIB_CANONICALIZE 1
 35411	| #define GNULIB_TEST_CANONICALIZE 1
 35412	| #define GNULIB_TEST_CANONICALIZE_FILE_NAME 1
 35413	| #define GNULIB_TEST_CHDIR 1
 35414	| #define HAVE_CLOCK_GETRES 1
 35415	| #define HAVE_CLOCK_GETTIME 1
 35416	| #define HAVE_CLOCK_SETTIME 1
 35417	| #define GNULIB_TEST_CLOEXEC 1
 35418	| #define GNULIB_TEST_CLOSE 1
 35419	| #define GNULIB_CLOSE_STREAM 1
 35420	| #define HAVE_CLOSEDIR 1
 35421	| #define GNULIB_TEST_CLOSEDIR 1
 35422	| #define D_INO_IN_DIRENT 1
 35423	| #define HAVE_STRUCT_DIRENT_D_TYPE 1
 35424	| #define GNULIB_DIRENT_SAFER 1
 35425	| #define HAVE_DIRFD 1
 35426	| #define HAVE_DECL_DIRFD 1
 35427	| #define GNULIB_TEST_DIRFD 1
 35428	| #define GNULIB_DIRNAME 1
 35429	| #define DOUBLE_SLASH_IS_DISTINCT_ROOT 1
 35430	| #define GNULIB_TEST_DUP 1
 35431	| #define GNULIB_TEST_DUP2 1
 35432	| #define GNULIB_TEST_ENVIRON 1
 35433	| #define HAVE_EUIDACCESS 1
 35434	| #define GNULIB_TEST_EUIDACCESS 1
 35435	| #define GNULIB_FACCESSAT 1
 35436	| #define GNULIB_TEST_FACCESSAT 1
 35437	| #define GNULIB_TEST_FCHDIR 1
 35438	| #define FUNC_FFLUSH_STDIN 1
 35439	| #define GNULIB_TEST_FCLOSE 1
 35440	| #define GNULIB_TEST_FCNTL 1
 35441	| #define GNULIB_FCNTL_SAFER 1
 35442	| #define GNULIB_FD_SAFER_FLAG 1
 35443	| #define HAVE_DECL_FDOPENDIR 1
 35444	| #define GNULIB_TEST_FDOPENDIR 1
 35445	| #define GNULIB_FDOPENDIR 1
 35446	| #define FUNC_FFLUSH_STDIN 1
 35447	| #define GNULIB_FFLUSH 1
 35448	| #define GNULIB_TEST_FFLUSH 1
 35449	| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
 35450	| #define HAVE_ST_BLOCKS 1
 35451	| #define FLEXIBLE_ARRAY_MEMBER /**/
 35452	| #define GNULIB_TEST_FNMATCH 1
 35453	| #define GNULIB_FNMATCH_GNU 1
 35454	| #define GNULIB_TEST_FOPEN 1
 35455	| #define GNULIB_FOPEN_GNU 1
 35456	| #define GNULIB_FOPEN_SAFER 1
 35457	| #define HAVE_DECL___FPENDING 1
 35458	| #define HAVE_DECL_FPURGE 1
 35459	| #define GNULIB_TEST_FPURGE 1
 35460	| #define GNULIB_TEST_FREE_POSIX 1
 35461	| #define GNULIB_TEST_FSEEK 1
 35462	| #define FUNC_FFLUSH_STDIN 1
 35463	| #define GNULIB_TEST_FSEEKO 1
 35464	| #define GNULIB_TEST_FSTAT 1
 35465	| #define GNULIB_TEST_FSTATAT 1
 35466	| #define GNULIB_TEST_FTELL 1
 35467	| #define GNULIB_TEST_FTELLO 1
 35468	| #define HAVE_STRUCT_STATFS_F_TYPE 1
 35469	| #define fts_open rpl_fts_open
 35470	| #define fts_close rpl_fts_close
 35471	| #define fts_read rpl_fts_read
 35472	| #define fts_set rpl_fts_set
 35473	| #define fts_children rpl_fts_children
 35474	| #define fts_cross_check rpl_fts_cross_check
 35475	| #define HAVE_GETPAGESIZE 1
 35476	| #define HAVE_MINIMALLY_WORKING_GETCWD 1
 35477	| #define GNULIB_GETCWD 1
 35478	| #define GNULIB_TEST_GETCWD 1
 35479	| #define GNULIB_TEST_GETCWD 1
 35480	| #define GNULIB_TEST_GETDELIM 1
 35481	| #define GNULIB_TEST_GETDTABLESIZE 1
 35482	| #define HAVE_GETGROUPS 1
 35483	| #define GNULIB_TEST_GETGROUPS 1
 35484	| #define HAVE_GETHOSTNAME 1
 35485	| #define GNULIB_TEST_GETHOSTNAME 1
 35486	| #define GNULIB_TEST_GETLINE 1
 35487	| #define GNULIB_TEST_GETOPT_POSIX 1
 35488	| #define HAVE_DECL_PROGRAM_INVOCATION_NAME 1
 35489	| #define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME 1
 35490	| #define HAVE_DECL___ARGV 0
 35491	| #define GETTIMEOFDAY_TIMEZONE void
 35492	| #define GNULIB_TEST_GETTIMEOFDAY 1
 35493	| #define GNULIB_TEST_GROUP_MEMBER 1
 35494	| #define HAVE_INLINE 1
 35495	| #define GNULIB_ISBLANK 1
 35496	| #define HAVE_DECL_ISFINITE 1
 35497	| #define GNULIB_TEST_ISFINITE 1
 35498	| #define HAVE_DECL_ISINF 1
 35499	| #define GNULIB_TEST_ISINF 1
 35500	| #define HAVE_ISNAND_IN_LIBC 1
 35501	| #define HAVE_ISNANF_IN_LIBC 1
 35502	| #define HAVE_ISNANL_IN_LIBC 1
 35503	| #define HAVE_DECL_ISWBLANK 1
 35504	| #define GNULIB_TEST_ISWBLANK 1
 35505	| #define GNULIB_TEST_ISWDIGIT 1
 35506	| #define GNULIB_TEST_ISWXDIGIT 1
 35507	| #define HAVE___INLINE 1
 35508	| #define GNULIB_TEST_LOCALECONV 1
 35509	| #define HAVE_PTHREAD_RWLOCK 1
 35510	| #define HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER 1
 35511	| #define HAVE_PTHREAD_MUTEX_RECURSIVE 1
 35512	| #define GNULIB_LOCK 1
 35513	| #define GNULIB_TEST_LSEEK 1
 35514	| #define GNULIB_TEST_LSTAT 1
 35515	| #define GNULIB_TEST_MALLOC_GNU 1
 35516	| #define GNULIB_TEST_MALLOC_POSIX 1
 35517	| #define MBRTOWC_IN_C_LOCALE_MAYBE_EILSEQ 1
 35518	| #define GNULIB_TEST_MBRTOWC 1
 35519	| #define GNULIB_TEST_MBSCASESTR 1
 35520	| #define GNULIB_TEST_MBSINIT 1
 35521	| #define GNULIB_TEST_MBSLEN 1
 35522	| #define GNULIB_TEST_MBSRTOWCS 1
 35523	| #define GNULIB_TEST_MBSSTR 1
 35524	| #define HAVE_DECL_MBSWIDTH_IN_WCHAR_H 0
 35525	| #define HAVE_MBSTATE_T 1
 35526	| #define HAVE_MBTOWC 1
 35527	| #define GNULIB_TEST_MBTOWC 1
 35528	| #define GNULIB_TEST_MEMCHR 1
 35529	| #define HAVE_MEMPCPY 1
 35530	| #define GNULIB_TEST_MEMPCPY 1
 35531	| #define HAVE_MEMRCHR 1
 35532	| #define GNULIB_TEST_MEMRCHR 1
 35533	| #define GNULIB_TEST_MKTIME 1
 35534	| #define NEED_MKTIME_INTERNAL 1
 35535	| #define GNULIB_TEST_MODF 1
 35536	| #define HAVE_SYS_MOUNT_H 1
 35537	| #define HAVE_MNTENT_H 1
 35538	| #define HAVE_GETMNTENT 1
 35539	| #define MOUNTED_GETMNTENT1 1
 35540	| #define HAVE_SETMNTENT 1
 35541	| #define HAVE_ENDMNTENT 1
 35542	| #define MAJOR_IN_SYSMACROS 1
 35543	| #define GNULIB_MSVC_NOTHROW 1
 35544	| #define FUNC_NL_LANGINFO_YESEXPR_WORKS 1
 35545	| #define NL_LANGINFO_MTSAFE 1
 35546	| #define REPLACE_NL_LANGINFO 1
 35547	| #define GNULIB_TEST_NL_LANGINFO 1
 35548	| #define my_strftime nstrftime
 35549	| #define GNULIB_TEST_OPEN 1
 35550	| #define GNULIB_OPENAT 1
 35551	| #define GNULIB_TEST_OPENAT 1
 35552	| #define GNULIB_OPENAT_SAFER 1
 35553	| #define HAVE_OPENDIR 1
 35554	| #define GNULIB_TEST_OPENDIR 1
 35555	| #define HAVE_STRUCT_TM_TM_ZONE 1
 35556	| #define HAVE_TM_ZONE 1
 35557	| #define GNULIB_TEST_PERROR 1
 35558	| #define GNULIB_TEST_PIPE 1
 35559	| #define HAVE_DECL_PROGRAM_INVOCATION_NAME 1
 35560	| #define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME 1
 35561	| #define HAVE_RAWMEMCHR 1
 35562	| #define GNULIB_TEST_RAWMEMCHR 1
 35563	| #define GNULIB_TEST_READ 1
 35564	| #define HAVE_READDIR 1
 35565	| #define GNULIB_TEST_READDIR 1
 35566	| #define GNULIB_TEST_READLINK 1
 35567	| #define GNULIB_TEST_READLINKAT 1
 35568	| #define GNULIB_TEST_REALLOC_GNU 1
 35569	| #define GNULIB_TEST_REALLOC_POSIX 1
 35570	| #define HAVE_REALLOCARRAY 1
 35571	| #define GNULIB_REALLOCARRAY 1
 35572	| #define GNULIB_TEST_REALLOCARRAY 1
 35573	| #define _REGEX_INCLUDE_LIMITS_H 1
 35574	| #define _REGEX_LARGE_OFFSETS 1
 35575	| #define re_syntax_options rpl_re_syntax_options
 35576	| #define re_set_syntax rpl_re_set_syntax
 35577	| #define re_compile_pattern rpl_re_compile_pattern
 35578	| #define re_compile_fastmap rpl_re_compile_fastmap
 35579	| #define re_search rpl_re_search
 35580	| #define re_search_2 rpl_re_search_2
 35581	| #define re_match rpl_re_match
 35582	| #define re_match_2 rpl_re_match_2
 35583	| #define re_set_registers rpl_re_set_registers
 35584	| #define re_comp rpl_re_comp
 35585	| #define re_exec rpl_re_exec
 35586	| #define regcomp rpl_regcomp
 35587	| #define regexec rpl_regexec
 35588	| #define regerror rpl_regerror
 35589	| #define regfree rpl_regfree
 35590	| #define HAVE_LIBINTL_H 1
 35591	| #define HAVE_DECL_ISBLANK 1
 35592	| #define HAVE_REWINDDIR 1
 35593	| #define GNULIB_TEST_REWINDDIR 1
 35594	| #define GNULIB_TEST_RMDIR 1
 35595	| #define HAVE_RPMATCH 1
 35596	| #define GNULIB_TEST_RPMATCH 1
 35597	| #define HAVE_SELINUX_SELINUX_H 0
 35598	| #define GNULIB_TEST_SETENV 1
 35599	| #define SETLOCALE_NULL_ALL_MTSAFE 0
 35600	| #define SETLOCALE_NULL_ONE_MTSAFE 1
 35601	| #define HAVE_VISIBILITY 0
 35602	| #define GNULIB_TEST_SETLOCALE_NULL 1
 35603	| #define HAVE_STDINT_H 1
 35604	| #define HAVE_SNPRINTF 1
 35605	| #define GNULIB_TEST_SNPRINTF 1
 35606	| #define GNULIB_SNPRINTF 1
 35607	| #define GNULIB_TEST_STAT 1
 35608	| #define HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC 1
 35609	| #define TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC 1
 35610	| #define HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC 1
 35611	| #define GNULIB_STATAT 1
 35612	| #define GNULIB_TEST_FSCANF 1
 35613	| #define GNULIB_FSCANF 1
 35614	| #define GNULIB_TEST_SCANF 1
 35615	| #define GNULIB_SCANF 1
 35616	| #define GNULIB_TEST_FGETC 1
 35617	| #define GNULIB_TEST_GETC 1
 35618	| #define GNULIB_TEST_GETCHAR 1
 35619	| #define GNULIB_TEST_FGETS 1
 35620	| #define GNULIB_TEST_FREAD 1
 35621	| #define GNULIB_TEST_FPRINTF 1
 35622	| #define GNULIB_TEST_PRINTF 1
 35623	| #define GNULIB_TEST_VFPRINTF 1
 35624	| #define GNULIB_TEST_VPRINTF 1
 35625	| #define GNULIB_TEST_FPUTC 1
 35626	| #define GNULIB_TEST_PUTC 1
 35627	| #define GNULIB_TEST_PUTCHAR 1
 35628	| #define GNULIB_TEST_FPUTS 1
 35629	| #define GNULIB_TEST_PUTS 1
 35630	| #define GNULIB_TEST_FWRITE 1
 35631	| #define HAVE_STPCPY 1
 35632	| #define GNULIB_TEST_STPCPY 1
 35633	| #define HAVE_STRCASECMP 1
 35634	| #define HAVE_STRNCASECMP 1
 35635	| #define HAVE_DECL_STRNCASECMP 1
 35636	| #define HAVE_STRCASESTR 1
 35637	| #define GNULIB_TEST_STRCASESTR 1
 35638	| #define GNULIB_TEST_STRDUP 1
 35639	| #define GNULIB_STRERROR 1
 35640	| #define GNULIB_TEST_STRERROR 1
 35641	| #define GNULIB_TEST_STRERROR_R 1
 35642	| #define GNULIB_STRERROR_R_POSIX 1
 35643	| #define GNULIB_TEST_STRNDUP 1
 35644	| #define GNULIB_TEST_STRNLEN 1
 35645	| #define GNULIB_TEST_STRSTR 1
 35646	| #define HAVE_STRTOULL 1
 35647	| #define GNULIB_TEST_STRTOULL 1
 35648	| #define HAVE_DECL_LOCALTIME_R 1
 35649	| #define GNULIB_TEST_TIME_R 1
 35650	| #define GNULIB_TEST_TIME_RZ 1
 35651	| #define GNULIB_TEST_TIMEGM 1
 35652	| #define HAVE_DECL_TRUNC 1
 35653	| #define GNULIB_TEST_TRUNC 1
 35654	| #define GNULIB_TEST_TZSET 1
 35655	| #define HAVE_UNAME 1
 35656	| #define GNULIB_TEST_UNLINK 1
 35657	| #define GNULIB_TEST_UNLINKAT 1
 35658	| #define HAVE_UNSETENV 1
 35659	| #define GNULIB_TEST_UNSETENV 1
 35660	| #define HAVE_C_VARARRAYS 1
 35661	| #define PACKAGE_PACKAGER "Cygwin"
 35662	| #define PACKAGE_PACKAGER_VERSION "4.9.0-1"
 35663	| #define PACKAGE_PACKAGER_BUG_REPORTS "cygwin@cygwin.com"
 35664	| #define GNULIB_TEST_WCRTOMB 1
 35665	| #define HAVE_DECL_WCWIDTH 1
 35666	| #define GNULIB_TEST_WCWIDTH 1
 35667	| #define GNULIB_TEST_WMEMCHR 1
 35668	| #define GNULIB_TEST_WMEMPCPY 1
 35669	| #define GNULIB_XALLOC 1
 35670	| #define GNULIB_XALLOC_DIE 1
 35671	| #define HAVE_STDINT_H 1
 35672	| #define GNULIB_TEST_ACCEPT 1
 35673	| #define HAVE_ATOLL 1
 35674	| #define GNULIB_TEST_ATOLL 1
 35675	| #define GNULIB_TEST_BIND 1
 35676	| #define GNULIB_TEST_CONNECT 1
 35677	| #define GNULIB_TEST_FDOPEN 1
 35678	| #define GNULIB_TEST_FTRUNCATE 1
 35679	| #define GNULIB_TEST_GETPAGESIZE 1
 35680	| #define GNULIB_TEST_GETRANDOM 1
 35681	| #define HAVE_DECL_INET_PTON 1
 35682	| #define HAVE_IOCTL 1
 35683	| #define GNULIB_TEST_IOCTL 1
 35684	| #define FLT_EXPBIT0_WORD 0
 35685	| #define FLT_EXPBIT0_BIT 23
 35686	| #define DBL_EXPBIT0_WORD 1
 35687	| #define DBL_EXPBIT0_BIT 20
 35688	| #define LDBL_EXPBIT0_WORD 2
 35689	| #define LDBL_EXPBIT0_BIT 0
 35690	| #define FLT_EXPBIT0_WORD 0
 35691	| #define FLT_EXPBIT0_BIT 23
 35692	| #define DBL_EXPBIT0_WORD 1
 35693	| #define DBL_EXPBIT0_BIT 20
 35694	| #define LDBL_EXPBIT0_WORD 2
 35695	| #define LDBL_EXPBIT0_BIT 0
 35696	| #define DBL_EXPBIT0_WORD 1
 35697	| #define DBL_EXPBIT0_BIT 20
 35698	| #define FLT_EXPBIT0_WORD 0
 35699	| #define FLT_EXPBIT0_BIT 23
 35700	| #define LDBL_EXPBIT0_WORD 2
 35701	| #define LDBL_EXPBIT0_BIT 0
 35702	| #define GNULIB_TEST_LISTEN 1
 35703	| #define GNULIB_TEST_LOCALENAME 1
 35704	| #define GNULIB_TEST_MKDIR 1
 35705	| #define HAVE_BUG_BIG_NANOSLEEP 1
 35706	| #define GNULIB_TEST_NANOSLEEP 1
 35707	| #define GNULIB_TEST_PTHREAD_THREAD 1
 35708	| #define GNULIB_TEST_PTHREAD_SIGMASK 1
 35709	| #define GNULIB_TEST_PUTENV 1
 35710	| #define HAVE_RAISE 1
 35711	| #define GNULIB_TEST_RAISE 1
 35712	| #define GNULIB_TEST_SCHED_YIELD 1
 35713	| #define GNULIB_TEST_SECURE_GETENV 1
 35714	| #define GNULIB_TEST_SELECT 1
 35715	| #define NEED_SETLOCALE_IMPROVED 0
 35716	| #define NEED_SETLOCALE_MTSAFE 1
 35717	| #define GNULIB_TEST_SETLOCALE 1
 35718	| #define GNULIB_TEST_SETSOCKOPT 1
 35719	| #define HAVE_STRUCT_SIGACTION_SA_SIGACTION 1
 35720	| #define GNULIB_TEST_SIGACTION 1
 35721	| #define GNULIB_TEST_SIGPROCMASK 1
 35722	| #define HAVE_DECL_SLEEP 1
 35723	| #define GNULIB_TEST_SLEEP 1
 35724	| #define GNULIB_TEST_SOCKET 1
 35725	| #define HAVE_STRTOLL 1
 35726	| #define GNULIB_TEST_STRTOLL 1
 35727	| #define GNULIB_TEST_SYMLINK 1
 35728	| #define GNULIB_TEST_SYMLINKAT 1
 35729	| #define GNULIB_TEMPNAME IN_FINDUTILS_GNULIB_TESTS
 35730	| #define HAVE_PTHREAD_ATFORK 1
 35731	| #define GNULIB_TEST_TMPFILE 1
 35732	| #define UNLINK_CANNOT_UNLINK_DIR 1
 35733	| #define GNULIB_TEST_USLEEP 1
 35734	| #define HAVE_DECL_WCTOB 1
 35735	| #define GNULIB_TEST_WCTOB 1
 35736	| #define GNULIB_TEST_WCTOMB 1
 35737	| #define HAVE_MODF_IN_LIBM 1
 35738	| #define HAVE_FABS_IN_LIBM 1
 35739	| #define HAVE_SYS_PARAM_H 1
 35740	| #define HAVE_MNTENT_H 1
 35741	| #define HAVE_GETRLIMIT 1
 35742	| #define MAJOR_IN_SYSMACROS 1
 35743	| #define HAVE_DIRENT_H 1
 35744	| #define HAVE_SYS_WAIT_H 1
 35745	| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
 35746	| #define HAVE_ST_BLOCKS 1
 35747	| #define HAVE_STRUCT_STAT_ST_RDEV 1
 35748	| #define PROMOTED_MODE_T mode_t
 35749	| #define HAVE_STRUCT_TM_TM_ZONE 1
 35750	| #define HAVE_TM_ZONE 1
 35751	| #define HAVE_STRFTIME 1
 35752	| #define HAVE_MEMCMP 1
 35753	| #define HAVE_MEMSET 1
 35754	| #define HAVE_STPCPY 1
 35755	| #define HAVE_STRDUP 1
 35756	| #define HAVE_STRSTR 1
 35757	| #define HAVE_STRTOL 1
 35758	| #define HAVE_STRTOUL 1
 35759	| #define HAVE_FCHDIR 1
 35760	| #define HAVE_GETCWD 1
 35761	| #define HAVE_STRERROR 1
 35762	| #define HAVE_ENDGRENT 1
 35763	| #define HAVE_ENDPWENT 1
 35764	| #define HAVE_SETLOCALE 1
 35765	| #define HAVE_GETRUSAGE 1
 35766	| #define HAVE_ALLOCA_H 1
 35767	| #define HAVE_ALLOCA 1
 35768	| #define HAVE_GETMNTENT 1
 35769	| #define HAVE_SETMNTENT 1
 35770	| #define HAVE_ENDMNTENT 1
 35771	| #define HAVE_SETGROUPS 1
 35772	| #define HAVE_ALLOCA 1
 35773	| #define _REGEX_INCLUDE_LIMITS_H 1
 35774	| #define _REGEX_LARGE_OFFSETS 1
 35775	| #define re_syntax_options rpl_re_syntax_options
 35776	| #define re_set_syntax rpl_re_set_syntax
 35777	| #define re_compile_pattern rpl_re_compile_pattern
 35778	| #define re_compile_fastmap rpl_re_compile_fastmap
 35779	| #define re_search rpl_re_search
 35780	| #define re_search_2 rpl_re_search_2
 35781	| #define re_match rpl_re_match
 35782	| #define re_match_2 rpl_re_match_2
 35783	| #define re_set_registers rpl_re_set_registers
 35784	| #define re_comp rpl_re_comp
 35785	| #define re_exec rpl_re_exec
 35786	| #define regcomp rpl_regcomp
 35787	| #define regexec rpl_regexec
 35788	| #define regerror rpl_regerror
 35789	| #define regfree rpl_regfree
 35790	| #define HAVE_ATTRIBUTE_NORETURN 1
 35791	| /* end confdefs.h.  */
 35792	| 
 35793	| #include <stdlib.h>
 35794	| #include <iconv.h>
 35795	| 
 35796	| int
 35797	| main (void)
 35798	| {
 35799	| iconv_t cd = iconv_open("","");
 35800	|            iconv(cd,NULL,NULL,NULL,NULL);
 35801	|            iconv_close(cd);
 35802	|   ;
 35803	|   return 0;
 35804	| }
 35805	configure:63360: gcc -o conftest.exe -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fdebug-prefix-map=/home/cygwin-lem/findutils-cygport/findutils-4.9.0-1.x86_64/build=/usr/src/debug/findutils-4.9.0-1 -fdebug-prefix-map=/home/cygwin-lem/findutils-cygport/findutils-4.9.0-1.x86_64/src/findutils-4.9.0=/usr/src/debug/findutils-4.9.0-1   conftest.c  -liconv >&5
 35806	configure:63360: $? = 0
 35807	configure:63371: result: yes
 35808	configure:63374: checking for working iconv
 35809	configure:63496: gcc -o conftest.exe -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fdebug-prefix-map=/home/cygwin-lem/findutils-cygport/findutils-4.9.0-1.x86_64/build=/usr/src/debug/findutils-4.9.0-1 -fdebug-prefix-map=/home/cygwin-lem/findutils-cygport/findutils-4.9.0-1.x86_64/src/findutils-4.9.0=/usr/src/debug/findutils-4.9.0-1   conftest.c  -liconv >&5
 35810	configure:63496: $? = 0
 35811	configure:63496: ./conftest.exe
 35812	configure:63496: $? = 0
 35813	configure:63509: result: yes
 35814	configure:63524: checking how to link with libiconv
 35815	configure:63526: result: -liconv
 35816	configure:63999: checking for GNU gettext in libintl
 35817	configure:64032: gcc -o conftest.exe -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fdebug-prefix-map=/home/cygwin-lem/findutils-cygport/findutils-4.9.0-1.x86_64/build=/usr/src/debug/findutils-4.9.0-1 -fdebug-prefix-map=/home/cygwin-lem/findutils-cygport/findutils-4.9.0-1.x86_64/src/findutils-4.9.0=/usr/src/debug/findutils-4.9.0-1    conftest.c  -lintl >&5
 35818	configure:64032: $? = 0
 35819	configure:64079: result: yes
 35820	configure:64114: checking whether to use NLS

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-02-20  1:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-18 19:33 autoconf tests for iconv fail with undefined refs Brian Inglis
2022-02-19  5:26 ` Lemures Lemniscati
2022-02-19 17:11   ` Brian Inglis
2022-02-19 23:37     ` Lemures Lemniscati
2022-02-19 23:53       ` Brian Inglis
2022-02-20  1:10         ` Lemures Lemniscati
2022-02-19  7:51 ` Lemures Lemniscati
2022-02-19 15:46   ` Brian Inglis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).