develooper Front page | perl.vmsperl | Postings from June 2002

RE: [PATCH: RC2] add getppid() to vmsperl

Thread Previous | Thread Next
From:
Martin Vorlaender
Date:
June 26, 2002 02:27
Subject:
RE: [PATCH: RC2] add getppid() to vmsperl
Message ID:
e5786c9019e25843add7514a42e396603d198768@pdv-systeme.de
Craig A. Berry <craigberry@mac.com> wrote:
> Martin Vorlaender wrote:
> >The builds failed at the exact same positions as they had before.
>
> I wonder if your Alpha build would go better with -"Uuseieee"
> passed to configure.com on the command line or answering no to the
> configuration question that asks if you want to use IEEE math.

Nope:

$ mms realclean
....
$ @configure "-des" "-Uuseieee"
....
$ mms
....
        Making POSIX (dynamic)
Note (probably harmless): No library found for posix
Note (probably harmless): No library found for cposix

Writing Descrip.MMS for POSIX
%CREATE-I-EXISTS, [--.LIB.AUTO.POSIX] already exists
MCR [--]miniperl.exe "-I[--.lib]" "-I[--.lib]" "-MExtUtils::Install" -e
"pm_to_b
lib({split(' ',<STDIN>)},'[--.lib.auto]','')" <.MM_tmp
cp posix.pm [--.lib]posix.pm
AutoSplitting ../../lib/posix.pm ([--.lib.auto.POSIX])
cp posix.pod [--.lib]posix.pod
MCR [--]miniperl.exe "-I[--.lib]" "-I[--.lib]" -e "use
ExtUtils::Mksymlists;"
-e "Mksymlists('NAME' => 'POSIX', 'DL_FUNCS' => {  }, 'DL_VARS' => [],
'FUNCLIST
' => [])"
MCR [--]miniperl.exe -e "print
""[--.lib.auto.POSIX]POSIX.olb/Include=POSIX\n[--
..lib.auto.POSIX]POSIX.olb/Library\n"";" >>POSIX.OPT
MCR [--]miniperl.exe -e "print qq{[--]PerlShr.exe/Share\n}" >>POSIX.OPT
Copy/NoConfirm POSIX.OPT [--.LIB.AUTO.POSIX]POSIX.OPT
MCR [--]miniperl.exe "-I[--.lib]" "-I[--.lib]"
[--.lib.ExtUtils]xsubpp -noprotot
ypes -typemap [--.lib.ExtUtils]typemap -typemap typemap POSIX.xs
>POSIX.C
CC/DECC /Include=[]/Standard=Relaxed_ANSI/Prefix=All/Obj=.obj
/Define=("VERSION=
""1.05""","XS_VERSION=""1.05""")/Include=([--])/NoList  POSIX.c

      *nv_return = LDBL_MAX;
....................^
%CC-W-FLOATOVERFL, In this statement, floating-point overflow occurs in
evaluati
ng the expression "1.189731495357231765085759326628007016196477e4932l".
at line number 1925 in file
DKC101:[VORL.SOURCES.PERL-5_8_0-RC2.EXT.POSIX]CONST-
C.INC;1
%MMS-F-ABORT, For target POSIX.OBJ, CLI returned abort status:
%X10B91260.
%MMS-F-ABORT, For target DYNEXT, CLI returned abort status: %X10EE8034.
$

Seems like LDBL_MAX gets defined despite undefining "useieee", although
comparing this to the previous one it seems that LDBL_MIN is not defined
now.

> Your VAX compile failure is in some ways more alarming.  This
> comment from
> stat.h on a syatem with OpenVMS Alpha 7.1, DEC C 5.2, may
> shed some light on
> the issue:
>
> **  ISO POSIX-1 defines off_t to be a signed arithmetic type, and
> **  requires the st_size field to be of type off_t.  DEC C V5.0
> **  and prior declared the field as unsigned.
>
> The compiler error you quoted did appear to have off_t declared as
unsigned,
> which would suggest your headers are out-of-date with respect to your
> compiler.  This would really surprise me since I think you work your C
> compiler harder than most of us :-).  Do you by any chance have VAX C
and
> DEC C both on the same system, or could there be some other problem
with
> your header text libraries?

We do in fact have VAX C and DEC C on that VAX, so there are header
files
in SYS$LIBRARY: - but doesn't DEC C take its headers from the .TLBs?

cu,
  Martin
--
                           | Martin Vorlaender        VMS/WNT programmer
 Unix is user friendly.    | work: mv@pdv-systeme.de
 It's just selective about |    http://www.pdv-systeme.de/users/martinv/
 who his friends are.      | home: martin@radiogaga.harz.de


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About