Front page | perl.perl5.porters |
Postings from November 2000
[ID 20001114.006] 5.7.0-7680 Solaris 8, 64 bit, utf8 patch
Thread Next
From:
Jens Hamisch
Date:
November 14, 2000 10:19
Subject:
[ID 20001114.006] 5.7.0-7680 Solaris 8, 64 bit, utf8 patch
Message ID:
20001114191623.G20559@Strawberry.COM
Hi,
in a Solaris 64 bit environment, the test t/op/bop fails (APC = 7680).
This is caused by a wrong constant definition in utf8.c and utf8.h.
The value 0x1000000000LL is a real long *SIGNED* value, which gets
compared to an UV.
Sun defines nice macros like UINT64_C, which puts the correct trailer
to the end of constants. I've used these in my patch. Nevertheless
even without these macros, the trailer should be ULL instead of LL,
shouldn't it?!?!?
My perl environment:
Summary of my perl5 (revision 5.0 version 7 subversion 0) configuration:
Platform:
osname=solaris, osvers=2.8, archname=sun4-solaris-thread-multi-ld
uname='sunos voi 5.8 generic sun4u sparc sunw,ultra-5_10 '
config_args='-d'
hint=previous, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
useperlio=undef d_sfio=undef uselargefiles=define usesocks=define
use64bitint=define use64bitall=define uselongdouble=define
Compiler:
cc='cc', ccflags ='-D_REENTRANT -DSOCKS -I/usr/local/include -I/opt/socks5/include -I/usr/local/BerkeleyDB.3.1/include -D_LARGEF
LE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v9',
optimize='-g -xarch=v9',
cppflags='-D_REENTRANT -DSOCKS -I/usr/local/include -I/opt/socks5/include -I/usr/local/BerkeleyDB.3.1/include -D_LARGEFILE_SOURC
-D_FILE_OFFSET_BITS=64 -xarch=v9'
ccversion='Sun WorkShop 6 2000/04/07 C 5.1', gccversion='', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=87654321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='long double', nvsize=16, Off_t='off_t', lseeksize=8
alignbytes=16, usemymalloc=y, prototype=define
Linker and Libraries:
ld='cc', ldflags ='-g -xarch=v9 -L/usr/local/lib -R/usr/local/lib -L/opt/SUNWspro/WS6/lib/v9 -L/opt/socks5/lib -L/usr/local/Berk
leyDB.3.1/lib -R/usr/local/BerkeleyDB.3.1/lib -L/usr/krb5/lib -R/usr/krb5/lib'
libpth=/usr/local/lib /opt/SUNWspro/WS6/lib/v9 /lib /usr/lib /usr/ccs/lib /opt/socks5/lib /usr/local/BerkeleyDB.3.1/lib /usr/krb
/lib
libs=-lsocket -lnsl -ldb -ldl -lm -lsunmath -lposix4 -lpthread -lc -lsec -lsocks5 -lgssapi_krb5
perllibs=-lsocket -lnsl -ldl -lm -lsunmath -lposix4 -lpthread -lc -lsec -lsocks5 -lgssapi_krb5
libc=/usr/lib/sparcv9/libc.so, so=so, useshrplib=true, libperl=libperl.so.7.0
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -R /opt/perl_5.7.0/lib/5.7.0/sun4-solaris-thread-multi-ld/CORE'
cccdlflags='-KPIC', lddlflags=' -G -xarch=v9 -L/usr/local/lib -R/usr/local/lib -L/opt/SUNWspro/WS6/lib/v9 -L/opt/socks5/lib -L/u
r/local/BerkeleyDB.3.1/lib -R/usr/local/BerkeleyDB.3.1/lib -L/usr/krb5/lib -R/usr/krb5/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_64_BIT_INT USE_64_BIT_ALL USE_LONG_DOUBLE USE_LARGE_FILES USE_SOCKS PERL_IMPLI
IT_CONTEXT
Locally applied patches:
DEVEL7673
Built under solaris
Compiled at Nov 14 2000 18:38:57
@INC:
/opt/perl_5.7.0/lib/5.7.0/sun4-solaris-thread-multi-ld
/opt/perl_5.7.0/lib/5.7.0
/opt/perl_5.7.0/lib/site_perl/5.7.0/sun4-solaris-thread-multi-ld
/opt/perl_5.7.0/lib/site_perl/5.7.0
/opt/perl_5.7.0/lib/site_perl
/opt/perl_5.7.0/lib/vendor_perl/5.7.0/sun4-solaris-thread-multi-ld
/opt/perl_5.7.0/lib/vendor_perl/5.7.0
/opt/perl_5.7.0/lib/vendor_perl
.
Regards
-- jens
--------------------------------------------------------------------------------
/
+##+|##+ STRAWBERRY Jens Hamisch
+v#+v v##+ EDV-Systeme GmbH Managing director
/ v v\v
| . . . | Brauneckweg 2 Car (Voice): (+49 172) 81 04 162
| . | D-82549 Koenigsdorf Voice: (+49 8179) 9305-50
| . | Fax: (+49 8179) 9305-38
\ . / Tel./Fax: (+49 8179) 9305-50 Email: jens@Strawberry.COM
\____/ Strawberry@Strawberry.COM
Thread Next
-
[ID 20001114.006] 5.7.0-7680 Solaris 8, 64 bit, utf8 patch
by Jens Hamisch