DCIT / perl-CryptX

https://metacpan.org/pod/CryptX
Other
35 stars 23 forks source link

hpux 11 ia64 - make ok make test fails register_all_ciphers #52

Closed halak77 closed 5 years ago

halak77 commented 5 years ago

perl-5.30. serveral versions of CryptX (49, 64 and master)

chmod 755 blib/arch/auto/CryptX/CryptX.so
Manifying 107 pod documents
bash-3.2# make test
"/opt/perlutils/Perl64-5.30.0/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- CryptX.bs blib/arch/auto/CryptX/CryptX.bs 644
PERL_DL_NONLAZY=1 "/opt/perlutils/Perl64-5.30.0/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; tt
t/001_compile.t ..................... FATAL: register_all_ciphers failed at /opt/perlutils/Perl64-5.30.0/lib/5.30.0/IA64.ARCHREV_0-thread-mul.
Compilation failed in require at /.cpan/build/perl-CryptX-master/perl-CryptX-master/blib/lib/Crypt/AuthEnc/CCM.pm line 14.
BEGIN failed--compilation aborted at /.cpan/build/perl-CryptX-master/perl-CryptX-master/blib/lib/Crypt/AuthEnc/CCM.pm line 14.

What is strange is that if I compile the demo with tomcrypt and link to allinone it works (tomcrypt demo) fine.

bash-3.2# perl -V
Summary of my perl5 (revision 5 version 30 subversion 0) configuration:

  Platform:
    osname=hpux
    osvers=11.31
    archname=IA64.ARCHREV_0-thread-multi-64int
    uname='hp-ux scc-hpux b.11.31 u ia64 0261372810 unlimited-user license '
    config_args='-Duse64bitint -Dusethreads -Dcc=gcc -Dprefix=/opt/perlutils/Perl64-5.30.0'
    hint=recommended
    useposix=true
    d_sigaction=define
    useithreads=define
    usemultiplicity=define
    use64bitint=define
    use64bitall=undef
    uselongdouble=undef
    usemymalloc=n
    default_inc_excludes_dot=define
    bincompat5005=undef
  Compiler:
    cc='gcc'
    ccflags ='-D_POSIX_C_SOURCE=199506L -D_REENTRANT -D_HPUX_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FI'
    optimize='-g -O'
    cppflags='-D_HPUX_SOURCE -D_POSIX_C_SOURCE=199506L -D_REENTRANT -D_HPUX_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include'
    ccversion=''
    gccversion='4.2.3'
 gccosandvers=''
    intsize=4
    longsize=4
    ptrsize=4
    doublesize=8
    byteorder=87654321
    doublekind=4
    d_longlong=define
    longlongsize=8
    d_longdbl=define
    longdblsize=16
    longdblkind=2
    ivtype='long long'
    ivsize=8
    nvtype='double'
    nvsize=8
    Off_t='off_t'
    lseeksize=8
    alignbytes=8
    prototype=define
  Linker and Libraries:
    ld='/usr/bin/ld'
    ldflags =' -L/usr/local/lib -L/usr/lib/hpux32'
    libpth=/usr/local/lib /usr/lib /usr/lib/hpux32 /lib /usr/ccs/lib
    libs=-lcl -lpthread -lnsl -lndbm -ldl -lm -lcrypt -lsec -lc
    perllibs=-lcl -lpthread -lnsl -ldl -lm -lcrypt -lsec -lc
    libc=/usr/lib/hpux32/libc.so
    so=so
    useshrplib=true
    libperl=libperl.so
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_hpux.xs
    dlext=so
    d_dlsymun=undef
 ccdlflags='-Wl,-E -Wl,-B,deferred '
    cccdlflags='-fPIC'
    lddlflags='-b -L/usr/local/lib -L/usr/lib/hpux32'

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_INT
    USE_FAST_STDIO
    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
  Built under hpux
  Compiled at Jul  9 2019 12:00:55
  @INC:
    /opt/perlutils/Perl64-5.30.0/lib/site_perl/5.30.0/IA64.ARCHREV_0-thread-multi-LP64
    /opt/perlutils/Perl64-5.30.0/lib/site_perl/5.30.0
    /opt/perlutils/Perl64-5.30.0/lib/5.30.0/IA64.ARCHREV_0-thread-multi-LP64
    /opt/perlutils/Perl64-5.30.0/lib/5.30.0
#5
karel-m commented 5 years ago

I am afraid I won't be able to help with HP-UX 11/IA64,

@Tux any idea what the trouble might be in this case?

halak77 commented 5 years ago

We just dropped support for hour. But i don’t begin to understand how make maker etc works, I get lost at the start of it. But, bottom line not an issue for us any more. Thanks V/r

Don Peddicord

On Sep 29, 2019, at 2:01 PM, karel-m notifications@github.com wrote:

I am afraid I won't be able to help with HP-UX 11/IA64,

@Tux any idea what the trouble might be in this case?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

karel-m commented 5 years ago

Thanks for the feedback, closing.

Tux commented 5 years ago

Sad to see support being dropped. @karel-m I am likely to be able to get you access to that system before the end of November in case you might still care. Please reach out to me when you'd want an account on the HP-UX systems I will be opening up to the OpenSource community.

karel-m commented 5 years ago

@Tux I still do care about HP-UX. I am a bit short of time nowadays but I'll keep in touch with you.