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

Can't build 64-bit 5.12.1 on HP-UX 11.31 #10468

Closed
p5pRT opened this issue Jun 30, 2010 · 5 comments
Closed

Can't build 64-bit 5.12.1 on HP-UX 11.31 #10468

p5pRT opened this issue Jun 30, 2010 · 5 comments
Labels
Closable? We might be able to close this ticket, but we need to check with the reporter distro-HPUX hasCoreDump type-install type-regex

Comments

@p5pRT
Copy link

p5pRT commented Jun 30, 2010

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

Searchable as RT76302$

@p5pRT
Copy link
Author

p5pRT commented Jun 30, 2010

From pda@sdf.org

For what it's worth, 32-bits builds fine, at least with gcc.
Stack trace of miniperl follows the config info.

Summary of my perl5 (revision 5 version 12 subversion 1) configuration​:

  Platform​:
  osname=hpux, osvers=11.31, archname=PA-RISC2.0
  uname='hp-ux tdcbobd1 b.11.31 u 9000800 2534553333 unlimited-user license '
  config_args='-der'
  hint=previous, useposix=true, d_sigaction=define
  useithreads=undef, usemultiplicity=undef
  useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
  use64bitint=undef, use64bitall=undef, uselongdouble=undef
  usemymalloc=n, bincompat5005=undef
  Compiler​:
  cc='c89 +e +DD64', ccflags ='+DD64 -D_HPUX_SOURCE -Wl,+vnocompatwarnings -I/usr/local/free/hppa64/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
  optimize='-g -g',
  cppflags='-D__STDC_EXT__ -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DD64 -D_HPUX_SOURCE -Wl,+vnocompatwarnings -I/usr/local/free/hppa64/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
  ccversion='B.11.11.22', gccversion='', gccosandvers=''
  intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
  d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
  ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
  alignbytes=8, prototype=define
  Linker and Libraries​:
  ld='/usr/bin/ld', ldflags =' '
  libpth=/usr/lib/pa20_64 /usr/local/free/hppa64/lib
  libs=-lnsl -lnm -ldld -lm -lsec -lc
  perllibs=-lnsl -lnm -ldld -lm -lsec -lc
  libc=/lib/libc.sl, so=sl, useshrplib=false, libperl=libperl.a
  gnulibc_version=''
  Dynamic Linking​:
  dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-B,deferred '
  cccdlflags='+Z', lddlflags='-b +vnocompatwarnings '

Core was generated by `miniperl'.
Program terminated with signal 10, Bus error.
BUS_UNKNOWN - Unknown Error
#0 0x40000000000be3ac in S_reganode (pRExC_state=0x800003ffbfff3f38, op=45 '-', arg=1)
  at regcomp.c​:8625
8625 FILL_ADVANCE_NODE_ARG(ptr, op, arg);
(gdb) bt
#0 0x40000000000be3ac in S_reganode (pRExC_state=0x800003ffbfff3f38, op=45 '-', arg=1)
  at regcomp.c​:8625
#1 0x40000000000b2b38 in S_reg (pRExC_state=0x800003ffbfff3f38, paren=1,
  flagp=0x800003ffbfff4910, depth=5) at regcomp.c​:6139
#2 0x40000000000b5be4 in S_regatom (pRExC_state=0x800003ffbfff3f38, flagp=0x800003ffbfff47f0,
  depth=4) at regcomp.c​:6978
#3 0x40000000000b3b0c in S_regpiece (pRExC_state=0x800003ffbfff3f38, flagp=0x800003ffbfff4730,
  depth=3) at regcomp.c​:6412
#4 0x40000000000b38cc in S_regbranch (pRExC_state=0x800003ffbfff3f38, flagp=0x800003ffbfff4398,
  first=1, depth=2) at regcomp.c​:6354
#5 0x40000000000b2c10 in S_reg (pRExC_state=0x800003ffbfff3f38, paren=0,
  flagp=0x800003ffbfff3e78, depth=1) at regcomp.c​:6163
#6 0x40000000000ab6ac in Perl_re_compile (pattern=0x800000010003ba30, pm_flags=0)
  at regcomp.c​:4429
#7 0x40000000000aaa40 in Perl_pregcomp (pattern=0x800000010003ba30, flags=0) at regcomp.c​:4207
#8 0x40000000001537fc in Perl_pp_regcomp () at pp_ctl.c​:221
#9 0x40000000000f6988 in Perl_runops_standard () at run.c​:40
#10 0x4000000000223304 in Perl_call_sv (sv=0x800000010002c108, flags=14) at perl.c​:2605
#11 0x400000000022af68 in Perl_call_list (oldscope=2, paramList=0x800000010002e2b8) at perl.c​:4585
#12 0x4000000000210c98 in S_process_special_blocks (fullname=0x8000000100039588 "BEGIN",
  gv=0x800000010002e278, cv=0x800000010002c108) at op.c​:5960
#13 0x4000000000210aa8 in Perl_newATTRSUB (floor=25, o=0x80000001000395a0, proto=0x0, attrs=0x0,
  block=0x80000001000396b0) at op.c​:5931
#14 0x4000000000208d84 in Perl_utilize (aver=1, floor=25, version=0x0, idop=0x8000000100039350,
  arg=0x0) at op.c​:3986
#15 0x4000000000097914 in Perl_yyparse () at perly.y​:674
#16 0x4000000000221984 in S_parse_body (env=0x0, xsinit=0x400000000004b180 <.opd+0x1a0>)
  at perl.c​:2160
#17 0x400000000022024c in perl_parse (my_perl=0x800000010000d260,
  xsinit=0x400000000004b180 <.opd+0x1a0>, argc=3, argv=0x800003ffbfff2538, env=0x0)
  at perl.c​:1605
#18 0x40000000001fc034 in main (argc=3, argv=0x800003ffbfff2538, env=0x800003ffbfff2558)
  at miniperlmain.c​:115

@p5pRT
Copy link
Author

p5pRT commented Aug 4, 2011

From @Tux

It's been almost a year since this was posted.

I do not have a *PA-RISC* system with HP-UX 11.31. Most HP-UX 11.31
will be Itanium2.

The compiler version 11.11.22 seems reasonably recent, but I cannot
check for 11.31, where I have

$ c89 --version
cc​: HP C/aC++ B3910B A.06.25.02 [Nov 25 2010]

First question would be why you use 'c89' instead of 'cc', as many
checks in Configure and hints will look at the compiler name, and we do
not check for the name 'c89'.

What strikes me as inconsistent though is this combination​:

  config_args='-der'
  cc='c89 +e +DD64', ccflags ='+DD64 -D_HPUX_SOURCE -Wl,
+vnocompatwarnings -I/usr/local/free/hppa64/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64'

Which is bound to fail. What you would need instead is

  $ ./Configure -Dcc=cc -Duse64bitall -der

Maybe you need to get the -I/usr/local/free/hppa64/include added
somewhere later, but at this point that would not be important yet.

@p5pRT
Copy link
Author

p5pRT commented Aug 4, 2011

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

@khwilliamson
Copy link
Contributor

11 years; is this closable?

@khwilliamson khwilliamson added the Closable? We might be able to close this ticket, but we need to check with the reporter label Apr 14, 2022
@jkeenan
Copy link
Contributor

jkeenan commented Apr 14, 2022

11 years; is this closable?

I believe it should be closed. The original poster never responded to questions posed by a knowledgeable contributor. 5.12.1 is long out of support, so we would only be concerned if this could be demonstrated to persist on 5.32 or 5.34.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Closable? We might be able to close this ticket, but we need to check with the reporter distro-HPUX hasCoreDump type-install type-regex
Projects
None yet
Development

No branches or pull requests

4 participants