Closed
Description
Description
There is no problem with threaded builds of 5.41.13, but both mingw-w64 and msvc unthreaded builds fail t/op/readline_nb.t as follows:
D:\comp-1510-ucrt\perl-5.41.13\t>..\perl -I..\lib op/readline_nb.t
ioctl implemented only on sockets at op/readline_nb.t line 22.
Lines 22 and 23 are:
$in->blocking(0)
or skip_all("Cannot make pipe non-blocking");
Steps to Reproduce
Build and test perl built in accordance with the below configuration.
(The given perl -V
is for the mingw-w64 build. I can also provide perl -V
output for one of my msvc builds, if need be.)
D:\comp-1510-ucrt\perl-5.41.13\win32>..\perl -I..\lib -V
Summary of my perl5 (revision 5 version 41 subversion 13) configuration:
Platform:
osname=MSWin32
osvers=10.0.26100.4061
archname=MSWin32-x64-perlio-quadmath
uname=''
config_args='undef'
hint=recommended
useposix=true
d_sigaction=undef
useithreads=undef
usemultiplicity=undef
use64bitint=define
use64bitall=undef
uselongdouble=undef
usemymalloc=n
default_inc_excludes_dot=define
Compiler:
cc='gcc'
ccflags =' -DWIN32 -DWIN64 -fdiagnostics-color=never -DPERL_TEXTMODE_SCRIPTS -DUSE_PERLIO -D__USE_MINGW_ANSI_STDIO -fwrapv -fno-strict-aliasing -mms-bitfields'
optimize='-O2'
cppflags='-DWIN32'
ccversion=''
gccversion='15.1.0'
gccosandvers=''
intsize=4
longsize=4
ptrsize=8
doublesize=8
byteorder=12345678
doublekind=3
d_longlong=define
longlongsize=8
d_longdbl=define
longdblsize=16
longdblkind=3
ivtype='long long'
ivsize=8
nvtype='__float128'
nvsize=16
Off_t='long long'
lseeksize=8
alignbytes=8
prototype=define
Linker and Libraries:
ld='g++'
ldflags ='-s -L"D:\perl-5.41.13-1510-ucrt-mcf\lib\MSWin32-x64-perlio-quadmath\CORE" -L"C:\winlibs-ucrt-1510\mingw64\lib" -L"C:\winlibs-ucrt-1510\mingw64\x86_64-w64-mingw32\lib" -L"C:\winlibs-ucrt-1510\mingw64\lib\gcc\x86_64-w64-mingw32\15.1.0"'
libpth=C:\winlibs-ucrt-1510\mingw64\lib C:\winlibs-ucrt-1510\mingw64\x86_64-w64-mingw32\lib C:\winlibs-ucrt-1510\mingw64\lib\gcc\x86_64-w64-mingw32\15.1.0 D:\_64\msys_1510\1.0\local\lib
libs= -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 -lquadmath
perllibs= -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 -lquadmath
libc=-lucrt
so=dll
useshrplib=true
libperl=libperl541.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_win32.xs
dlext=dll
d_dlsymun=undef
ccdlflags=' '
cccdlflags=' '
lddlflags='-shared -s -L"D:\perl-5.41.13-1510-ucrt-mcf\lib\MSWin32-x64-perlio-quadmath\CORE" -L"C:\winlibs-ucrt-1510\mingw64\lib" -L"C:\winlibs-ucrt-1510\mingw64\x86_64-w64-mingw32\lib" -L"C:\winlibs-ucrt-1510\mingw64\lib\gcc\x86_64-w64-mingw32\15.1.0"'
Characteristics of this binary (from libperl):
Compile-time options:
HAS_LONG_DOUBLE
HAS_STRTOLD
HAS_TIMES
HAVE_INTERP_INTERN
PERLIO_LAYERS
PERL_COPY_ON_WRITE
PERL_DONT_CREATE_GVSV
PERL_HASH_FUNC_SIPHASH13
PERL_HASH_USE_SBOX32
PERL_MALLOC_WRAP
PERL_OP_PARENT
PERL_PRESERVE_IVUV
PERL_USE_SAFE_PUTENV
USE_64_BIT_INT
USE_LARGE_FILES
USE_LOCALE
USE_LOCALE_COLLATE
USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC
USE_LOCALE_TIME
USE_PERLIO
USE_PERL_ATOF
USE_QUADMATH
Built under MSWin32
Compiled at May 29 2025 15:33:45
@INC:
..\lib
D:/comp-1510-ucrt/perl-5.41.13/lib
Metadata
Metadata
Assignees
Labels
No labels