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

NOT OK perl 5.005_61 on HP-UX 10.20 with gcc 2.95.1 #440

Closed
p5pRT opened this issue Aug 26, 1999 · 1 comment
Closed

NOT OK perl 5.005_61 on HP-UX 10.20 with gcc 2.95.1 #440

p5pRT opened this issue Aug 26, 1999 · 1 comment

Comments

@p5pRT
Copy link

p5pRT commented Aug 26, 1999

Migrated from rt.perl.org#1281 (status was 'resolved')

Searchable as RT1281$

@p5pRT
Copy link
Author

p5pRT commented Aug 26, 1999

From schinder@cirsrss.gsfc.nasa.gov

-----------------------------------------------------------------
This is a build failure report for 5.005_61 under HP-UX 10.20 when
using gccc 2.95.1. (I've seen this reported on c.l.p.*, but not on
p5p yet.) The build dies when compiling util.c​:

`sh cflags libperl.a dump.o` dump.c
  CCCMD = gcc -DPERL_CORE -c -D_HPUX_SOURCE -I/usr/local/include -I/opt/local/include -O
`sh cflags libperl.a util.o` util.c
  CCCMD = gcc -DPERL_CORE -c -D_HPUX_SOURCE -I/usr/local/include -I/opt/local/include -O
util.c​: In function `Perl_cast_iv'​:
util.c​:2716​: parse error before `l'

gcc -E shows the problem​:

Perl_cast_iv( NV f)
{
  if (f >= 2147483647l ) {
  UV uv;
 
  if (f >= (NV) 4294967295u l )
  return (IV) 4294967295u l ;
  uv = (UV) f;

gcc doesn't appreciate the whitespace between the u and the l. Where it's
coming from, I've no idea.

HP's own ANSI C compiler sails right through.

Perl Info


Site configuration information for perl 5.00405:

Configured by schinder at Thu Apr 29 23:20:53 EDT 1999.

Summary of my perl5 (5.0 patchlevel 4 subversion 5) configuration:
  Platform:
    osname=hpux, osvers=10.20, archname=PA-RISC1.1
    uname='hp-ux cirsrss b.10.20 a 9000735 unknown '
    hint=recommended, useposix=true, d_sigaction=define
    bincompat3=y useperlio=undef d_sfio=undef
  Compiler:
    cc='gcc', optimize='-O', gccversion=egcs-2.91.66 19990314 (egcs-1.1.2 release)
    cppflags='-D_HPUX_SOURCE -I/usr/local/include -I/opt/local/include'
    ccflags ='-D_HPUX_SOURCE -I/usr/local/include -I/opt/local/include'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=undef, doublesize=undef
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='ld', ldflags =' -L/usr/local/lib -L/opt/local/lib'
    libpth=/usr/local/lib /opt/local/lib /usr/lib/pa1.1 /lib /usr/lib /usr/ccs/lib
    libs=-lnet -lnsl_s -lndbm -ldld -lm -lc -lndir -lcrypt -lbind
    libc=/lib/libc.sl, so=sl
    useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-B,deferred '
    cccdlflags='-fpic', lddlflags='-b -L/usr/local/lib -L/opt/local/lib'

Locally applied patches:
    


@INC for perl 5.00405:
    /usr/local/lib/perl
    /usr/local/lib/perl5
    /users/schinder/Perl/lib
    /users/schinder/MacPerl_scripts/lib
    /usr/local/lib/perl5/PA-RISC1.1/5.00405
    /usr/local/lib/perl5
    /usr/local/lib/perl5/site_perl/PA-RISC1.1
    /usr/local/lib/perl5/site_perl
    .


Environment for perl 5.00405:
    HOME=/users/schinder
    LANG (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=.:/users/schinder/binhp/Perl:/users/schinder/binhp:/opt/fortran/bin:/c/egcs/bin:/c/X11R6.4/bin:/usr/local/gnu:/usr/local/bin:/bin:/usr/bin:/usr/local/postgres/bin:/usr/spool/qmail/bin:/sbin:/usr/local/etc:/usr/ccs/bin:/a/naif/toolkit/exe
    PERLLIB=/usr/local/lib/perl:/usr/local/lib/perl5:/users/schinder/Perl/lib:/users/schinder/MacPerl_scripts/lib
    PERL_BADLANG (unset)
    SHELL=/usr/local/bin/tcsh

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

1 participant