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

bignum doesn't parse options well when there are 2 options #17152

Open
p5pRT opened this issue Sep 10, 2019 · 5 comments
Open

bignum doesn't parse options well when there are 2 options #17152

p5pRT opened this issue Sep 10, 2019 · 5 comments

Comments

@p5pRT
Copy link

p5pRT commented Sep 10, 2019

Migrated from rt.perl.org#134434 (status was 'open')

Searchable as RT134434$

@p5pRT
Copy link
Author

p5pRT commented Sep 10, 2019

From ntysdd@qq.com

This will fail,
use bignum qw(accuracy 100 lib FastCalc);
Error messsage is '"lib" is not exported'

using perl 5.30, bignum v0.51

I didn't use perlbug because it failed to send mail.

 
  Platform​:
  osname=linux
  osvers=5.1.8-arch1-1-arch
  archname=x86_64-linux-thread-multi
  uname='linux flo-64 5.1.8-arch1-1-arch #1 smp preempt sun jun 9 20​:28​:28 utc 2019 x86_64 gnulinux '
  config_args='-des -Dusethreads -Duseshrplib -Doptimize=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Dprefix=/usr -Dvendorprefix=/usr -Dprivlib=/usr/share/perl5/core_perl -Darchlib=/usr/lib/perl5/5.30/core_perl -Dsitelib=/usr/share/perl5/site_perl -Dsitearch=/usr/lib/perl5/5.30/site_perl -Dvendorlib=/usr/share/perl5/vendor_perl -Dvendorarch=/usr/lib/perl5/5.30/vendor_perl -Dscriptdir=/usr/bin/core_perl -Dsitescript=/usr/bin/site_perl -Dvendorscript=/usr/bin/vendor_perl -Dinc_version_list=none -Dman1ext=1perl -Dman3ext=3perl -Dcccdlflags='-fPIC' -Dlddlflags=-shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Dldflags=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'
  hint=recommended
  useposix=true
  d_sigaction=define
  useithreads=define
  usemultiplicity=define
  use64bitint=define
  use64bitall=define
  uselongdouble=undef
  usemymalloc=n
  default_inc_excludes_dot=define
  bincompat5005=undef
  Compiler​:
  cc='cc'
  ccflags ='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2'
  optimize='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt'
  cppflags='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
  ccversion=''
  gccversion='9.1.0'
  gccosandvers=''
  intsize=4
  longsize=8
  ptrsize=8
  doublesize=8
  byteorder=12345678
  doublekind=3
  d_longlong=define
  longlongsize=8
  d_longdbl=define
  longdblsize=16
  longdblkind=3
  ivtype='long'
  ivsize=8
  nvtype='double'
  nvsize=8
  Off_t='off_t'
  lseeksize=8
  alignbytes=8
  prototype=define
  Linker and Libraries​:
  ld='cc'
  ldflags ='-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -fstack-protector-strong -L/usr/local/lib'
  libpth=/usr/local/lib /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed /usr/lib /lib/../lib /usr/lib/../lib /lib /lib64 /usr/lib64
  libs=-lpthread -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat
  perllibs=-lpthread -ldl -lm -lcrypt -lutil -lc
  libc=libc-2.29.so
  so=so
  useshrplib=true
  libperl=libperl.so
  gnulibc_version='2.29'
  Dynamic Linking​:
  dlsrc=dl_dlopen.xs
  dlext=so
  d_dlsymun=undef
  ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.30/core_perl/CORE'
  cccdlflags='-fPIC'
  lddlflags='-shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -L/usr/local/lib -fstack-protector-strong'

Characteristics of this binary (from libperl)​:
  Compile-time options​:
  HAS_TIMES
  MULTIPLICITY
  PERLIO_LAYERS
  PERL_COPY_ON_WRITE
  PERL_DONT_CREATE_GVSV
  PERL_IMPLICIT_CONTEXT
  PERL_MALLOC_WRAP
  PERL_OP_PARENT
  PERL_PRESERVE_IVUV
  USE_64_BIT_ALL
  USE_64_BIT_INT
  USE_ITHREADS
  USE_LARGE_FILES
  USE_LOCALE
  USE_LOCALE_COLLATE
  USE_LOCALE_CTYPE
  USE_LOCALE_NUMERIC
  USE_LOCALE_TIME
  USE_PERLIO
  USE_PERL_ATOF
  USE_REENTRANT_API
  USE_THREAD_SAFE_LOCALE
  Built under linux
  Compiled at Jun 18 2019 17​:57​:08
  @​INC​:
  /usr/lib/perl5/5.30/site_perl
  /usr/share/perl5/site_perl
  /usr/lib/perl5/5.30/vendor_perl
  /usr/share/perl5/vendor_perl
  /usr/lib/perl5/5.30/core_perl
  /usr/share/perl5/core_perl

@p5pRT
Copy link
Author

p5pRT commented Sep 10, 2019

From @tonycoz

On Tue, 10 Sep 2019 07​:34​:20 -0700, ntysdd@​qq.com wrote​:

This will fail,
use bignum qw(accuracy 100 lib FastCalc);
Error messsage is '"lib" is not exported'

using perl 5.30, bignum v0.51

I didn't use perlbug because it failed to send mail.

bignum is maintained upstream on CPAN, please report this there.

Tony

@p5pRT
Copy link
Author

p5pRT commented Sep 10, 2019

The RT System itself - Status changed from 'new' to 'open'

@khwilliamson
Copy link
Contributor

Shouldn't this be a cpan ticket?

@hvds
Copy link
Contributor

hvds commented Apr 17, 2022

Shouldn't this be a cpan ticket?

Yes, if it still fails that way.

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

4 participants