Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

time64.t assertion fail on Win32 #16139

Open
p5pRT opened this issue Sep 9, 2017 · 1 comment
Open

time64.t assertion fail on Win32 #16139

p5pRT opened this issue Sep 9, 2017 · 1 comment

Comments

@p5pRT
Copy link

p5pRT commented Sep 9, 2017

Migrated from rt.perl.org#132049 (status was 'new')

Searchable as RT132049$

@p5pRT
Copy link
Author

p5pRT commented Sep 9, 2017

From @khwilliamson

Two test files in our suite are consistently failing on the Dromedary Win32.

These are lib/Time/localetime.t and t/op/time.t

I did some investigation, and both are failing for very large time
values in the files.

For localtime.t it fails for 2**50 and 2**55
For time.t is is the entry
  5000000000 => [5, 228, qr/Jun \d+ .* 2128$
  /],

This may be a Configure problem, as it figures out the maximum values
that time can be to use the system functions.

The perl is from a smoke-me branch with two patches to enable DEBUGGING
and skip cpan testing (because it always hangs). But this happens in a
blead build from July as well (including the two patches)


Summary of my perl5 (revision 5 version 27 subversion 4) configuration​:

  Local Commit​: 213b1c6f6a5f014e94027f7ff2d6992f61a058d9

  Ancestor​: 320a3c8

  Platform​:

  osname=MSWin32

  osvers=6.1

  archname=MSWin32-x86-multi-thread

  uname=''

  config_args='undef'

  hint=recommended

  useposix=true

  d_sigaction=undef

  useithreads=define

  usemultiplicity=define

  use64bitint=undef

  use64bitall=undef

  uselongdouble=undef

  usemymalloc=n

  default_inc_excludes_dot=define

  bincompat5005=undef

  Compiler​:

  cc='cl'

  ccflags ='-nologo -GF -W3 -Od -MD -Zi -DDEBUGGING -DWIN32
-D_CONSOLE -DNO_ST
RICT -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_SYS -D_USE
_32BIT_TIME_T'

  optimize='-Od -MD -Zi -DDEBUGGING'

  cppflags='-DWIN32'

  ccversion='16.00.30319.01'

  gccversion=''

  gccosandvers=''

  intsize=4

  longsize=4

  ptrsize=4

  doublesize=8

  byteorder=1234

  doublekind=3

  d_longlong=undef

  longlongsize=8

  d_longdbl=define

  longdblsize=8

  longdblkind=0

  ivtype='long'

  ivsize=4

  nvtype='double'

  nvsize=8

  Off_t='__int64'

  lseeksize=8

  alignbytes=8

  prototype=define

  Linker and Libraries​:

  ld='link'

  ldflags ='-nologo -nodefaultlib -debug -libpath​:"c​:\perl\lib\CORE"
  -machin
e​:x86'

  libpth=\lib

  libs=oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib
comdlg32.l
ib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib
uuid.lib ws2_32
.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib comctl32.lib
msvcrt.
lib

  perllibs=oldnames.lib kernel32.lib user32.lib gdi32.lib
winspool.lib comdlg
32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib
uuid.lib ws
2_32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib
comctl32.lib msv
crt.lib

  libc=msvcrt.lib

  so=dll

  useshrplib=true

  libperl=perl527.lib

  gnulibc_version=''

  Dynamic Linking​:

  dlsrc=dl_win32.xs

  dlext=dll

  d_dlsymun=undef

  ccdlflags=' '

  cccdlflags=' '

  lddlflags='-dll -nologo -nodefaultlib -debug
-libpath​:"c​:\perl\lib\CORE" -
machine​:x86'

Characteristics of this binary (from libperl)​:

  Compile-time options​:

  DEBUGGING

  HAS_TIMES

  HAVE_INTERP_INTERN

  MULTIPLICITY

  PERLIO_LAYERS

  PERL_COPY_ON_WRITE

  PERL_DONT_CREATE_GVSV

  PERL_IMPLICIT_CONTEXT

  PERL_IMPLICIT_SYS

  PERL_MALLOC_WRAP

  PERL_OP_PARENT

  PERL_PRESERVE_IVUV

  PERL_TRACK_MEMPOOL

  USE_ITHREADS

  USE_LARGE_FILES

  USE_LOCALE

  USE_LOCALE_COLLATE

  USE_LOCALE_CTYPE

  USE_LOCALE_NUMERIC

  USE_LOCALE_TIME

  USE_PERLIO

  USE_PERL_ATOF

  Locally applied patches​:

  b5153ed0965be885400dbcce84e06353236a421a

  213b1c6f6a5f014e94027f7ff2d6992f61a058d9

  Built under MSWin32

  Compiled at Sep 9 2017 20​:00​:42

  @​INC​:

  C​:/Users/p5p/khw/perl/working/lib

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants