On Tue 27 Jul 2004 08:11, Tim Bunce <[EMAIL PROTECTED]> wrote: > On Mon, Jul 26, 2004 at 05:04:14AM -0400, Weiguo Sun wrote: > > Tim, > > > > I tried it out both 1.15 and 1.16-rc5. I believe there is a minor bug in > > Makefile.PL. But you have put so much more advanced stuff in it :-) since > > I looked at it in 2000 and it is beyond my Perl capacity now.
That's not Tim's fault. It's Perl's Configure that doen't know enough about modern Itanium (yet) > > Basically, on HPUX one of the compiler only flag "+DD64" was leaked into > > "OTHERLDFLAGS" and linker (ld) will fail as it doesn't understand the > > flag. I couldn't figure out how it got into it. > > > > I am attaching the "perl -V" output and Makefile. > > Your perl -V output says > > ldflags =' +DD64 -L/usr/lib/hpux64' > > so your perl was linked with +DD64. Are you sure you're using the > same linker as the one used to link perl? +DD64 is a 'cc' option, of HP C-ANSI-C that is, not the braindead bundled compiler, and is to indicate 64bit ELF64/LP64 objects on pa-risc. Weigo has communicated with me about the base port, and didn't mention the compiler used even once, making me beleive it was HP C-ANSI-C His perl -V strengthens my thinking that he's using HP C-ANSI-C, since -Ae, +O2 and +Onolimit are all only valid for that compiler, and both cc and ccversion point in that direction Itanium (HP-UX 11.23) however is an architecture I still have not here at present, but I already found out that it is less strict in separating 32bit and 64bit than pa-risc is So it //might// just work without the +DD64 flag as ld might not need/want to know about the output object, but just bases it on the input objects > > Cheers, > > > > --weiguo > > > > PS. > > > > 1.16-rc5 works great (I did remove the offending flag from Makefile) and > > it passed all the tests on the HPUX 11.23 (16way Itanium-2 server) with > > Oracle 9.2.0.5. The failed test on 1.15 went away. > > > > Another thing might be usefull to other people down the road, the Oracle > > 9i port on Itanium is not linked to libcl any more and as a result, one > > only needs to get libpthread linked in perl 5.8.x either by -A > > prepend:libswanted='pthread ' or simply enabling the thread. Of course, > > this is only true on HPUX 11.23 (currently not availabe on PA-Risc > > platform yet). > > Okay. Thanks. > > Ideally I need someone to send me a patch either to Makefile.PL (to > do the right thing in that particular case) or to the README.hpux docs. > Hopefully someone can do that. /me feels pinged ... Weiguo's info was very useful. 1. Does inclusion of -lcl `harm' for Oracle-9? 2. Is inclusion of -lcl still needed for Oracle-8 (or does Oracle not port 8 to HP-UX on Itanium) > Tim. > > Summary of my perl5 (revision 5 version 8 subversion 5) configuration: > > Platform: > > osname=hpux, osvers=11.23, archname=IA64.ARCHREV_0-LP64 > > uname='hp-ux goofy b.11.23 u ia64 2820982338 unlimited-user license ' > > config_args='-des -Ulocincpth= -Uloclibpth= -Duse64bitall > > -Dprefix=/usr/local/perl5.8.5 -Duselargefiles -Dmake=gmake -Uinstallusrbinperl > > -Dlibs=-lnsl -lnm -ldl -ldld -lm -lsec -lpthread -lc ' > > hint=recommended, useposix=true, d_sigaction=define > > usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef > > useperlio=define d_sfio=undef uselargefiles=define usesocks=undef > > use64bitint=define use64bitall=define uselongdouble=undef > > usemymalloc=n, bincompat5005=undef > > Compiler: > > cc='cc', ccflags =' -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DD64 > > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 ', > > optimize='+O2 +Onolimit', > > cppflags='-Aa -D__STDC_EXT__ -D_HPUX_SOURCE -Ae -D_HPUX_SOURCE > > -Wl,+vnocompatwarnings' > > ccversion='B3910B A.05.55', 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='double', nvsize=8, Off_t='off_t', lseeksize=8 > > alignbytes=8, prototype=define > > Linker and Libraries: > > ld='/usr/bin/ld', ldflags =' +DD64 -L/usr/lib/hpux64' > > libpth=/usr/lib/hpux64 /lib /usr/lib /usr/ccs/lib /usr/local/lib > > libs=-lnsl -lnm -ldl -ldld -lm -lsec -lpthread -lc > > perllibs=-lnsl -lnm -ldl -ldld -lm -lsec -lpthread -lc > > libc=/usr/lib/hpux64/libc.so, so=so, useshrplib=false, libperl=libperl.a > > gnulibc_version='' > > Dynamic Linking: > > dlsrc=dl_hpux.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-B,deferred > > ' > > cccdlflags='+Z', lddlflags='-b +vnocompatwarnings -L/usr/lib/hpux64' > > > > > > Characteristics of this binary (from libperl): > > Compile-time options: USE_64_BIT_INT USE_64_BIT_ALL USE_LARGE_FILES > > Built under hpux > > Compiled at Jul 26 2004 00:11:37 > > @INC: > > /usr/local/perl5.8.5/lib/5.8.5/IA64.ARCHREV_0-LP64 > > /usr/local/perl5.8.5/lib/5.8.5 > > /usr/local/perl5.8.5/lib/site_perl/5.8.5/IA64.ARCHREV_0-LP64 > > /usr/local/perl5.8.5/lib/site_perl/5.8.5 > > /usr/local/perl5.8.5/lib/site_perl > > . > -- H.Merijn Brand Amsterdam Perl Mongers (http://amsterdam.pm.org/) using perl-5.6.1, 5.8.0 & 633 on HP-UX 10.20 & 11.00, AIX 4.2, AIX 4.3, WinNT 4, Win2K pro & WinCE 2.11 often with Tk800.024 &/| DBD-Unify ftp://ftp.funet.fi/pub/languages/perl/CPAN/authors/id/H/HM/HMBRAND/