- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: perl 64bit compile on Itanium
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2007 12:25 AM
тАО06-12-2007 12:25 AM
sh Configure -de -Dprefix=/opt/perl588 -Dcc=gcc -Duse64bitall
It runs for about 1 min and crashes with the following error:-
/bin/sh: 9294 Killed
The program compiled OK, but exited with status 137.
(The supplied flags or libraries might be incorrect.)
Can someone point me in the right direction here?
Solved! Go to Solution.
- Tags:
- Perl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2007 12:40 AM
тАО06-12-2007 12:40 AM
Re: perl 64bit compile on Itanium
Why not get my build?
http://mirrors.develooper.com/hpux/downloads.html#hpux1123
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2007 01:01 AM
тАО06-12-2007 01:01 AM
Re: perl 64bit compile on Itanium
DBI.pm
DBD::Oracle.pm
BerkeleyDB.pm
BerkeleyDB C
Originally I set my perl path to use /opt/perl_64 and then compiled the above. But we are having serious issues with the BerkeleyDB perl module, hence the starting from scratch.
Also it would be really nice to know how to compile perl in 64 bit!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2007 01:23 AM
тАО06-12-2007 01:23 AM
Re: perl 64bit compile on Itanium
I still see no reason not to use my depot, but keep being interested in why your build wouldn't succeed.
What's the gcc version you use? On Itanium2, I am now on 4.1.2.
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2007 02:55 AM
тАО06-12-2007 02:55 AM
Re: perl 64bit compile on Itanium
I have tried this with gcc3.4.5 & gcc4.1.2 and for both versions its failing with this error message:-
/bin/sh: 23930 Killed
The program compiled OK, but exited with status 137.
(The supplied flags or libraries might be incorrect.)
You have a problem. Shall I abort Configure [y]
Ok. Stopping Configure.
I have also tried the ansic compiler and not had much luck with that either!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2007 03:02 AM
тАО06-12-2007 03:02 AM
SolutionI can send you my config.sh for that compiler, and you can check what you have done different.
Please also
# script /tmp/p588.log
# make distclean
# rm -rf UU Policy.sh config.sh
# ./Configure -Duse64bitall -de -Dprefix=/opt/perl588 -A prepend:libswanted='cl pthread '
# exit
and make /tmp/p588.log available to me though ftp or so.
read README.hpux for more info about that -A flag, and do not forget the trailing space!
If you do not include the -A stuff, Oracle won't work
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2007 03:07 AM
тАО06-12-2007 03:07 AM
Re: perl 64bit compile on Itanium
I'm going home now and will start afresh with this tomorrow morning.
Cheers for all the help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2007 03:09 AM
тАО06-12-2007 03:09 AM
Re: perl 64bit compile on Itanium
personally I prefer HP C-ANSI-C builds, but that makes adding XS later more difficult on sites that have no C-ANSI-C
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2007 04:32 AM - edited тАО09-25-2011 08:49 PM
тАО06-12-2007 04:32 AM - edited тАО09-25-2011 08:49 PM
Re: perl 64bit compile on Integrity
>H.Merijn: personally I prefer HP C-ANSI-C builds,
My hero!
Do you notice any big performance differences? Especially on IPF?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2007 04:45 AM
тАО06-12-2007 04:45 AM
Re: perl 64bit compile on Itanium
a perl smoke with cc takes 7.5 hour, and with a rude calc method from the logs, I get
cc: 0.0029682879 CPU-sec/test
gcc:0.0030228416 CPU-sec/test
so cc still is faster :)
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2007 07:46 PM
тАО06-12-2007 07:46 PM
Re: perl 64bit compile on Itanium
./Configure -Duse64bitall -de -Dprefix=/opt/perl588 -Dcc=gcc -A prepend:libswanted='cl pthread '
I have tried this with gcc3.4.5 & gcc4.1.2
If I delete the Policy & config file it just fails!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2007 08:19 PM
тАО06-12-2007 08:19 PM
Re: perl 64bit compile on Itanium
Both 3.4.5 and 4.1.2 should be ok.
Can you make the log available to me? I'd like to have a look.
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2007 08:27 PM
тАО06-12-2007 08:27 PM
Re: perl 64bit compile on Itanium
if not i can cut and paste it into word and maybe email it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2007 08:51 PM
тАО06-12-2007 08:51 PM
Re: perl 64bit compile on Itanium
Enjoy, Have FUN !H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2007 10:33 PM
тАО06-12-2007 10:33 PM
Re: perl 64bit compile on Itanium
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2007 01:41 AM
тАО06-13-2007 01:41 AM
Re: perl 64bit compile on Itanium
Detailed info sent by mail
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2007 02:23 AM
тАО06-13-2007 02:23 AM
Re: perl 64bit compile on Itanium
make
`sh cflags "optimize='-g -O'" miniperlmain.o` miniperlmain.c
CCCMD = gcc -DPERL_CORE -c -D_HPUX_SOURCE -mlp64 -DDEBUGGING -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O -Wall
In file included from perl.h:4485,
from miniperlmain.c:36:
/usr/include/sys/ipc.h:51: error: parse error before "cid_t"
/usr/include/sys/ipc.h:56: error: parse error before '}' token
In file included from perl.h:4486,
from miniperlmain.c:36:
/usr/include/sys/sem.h:91: error: field `sem_perm' has incomplete type
make: *** [miniperlmain.o] Error 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2007 04:22 AM
тАО06-13-2007 04:22 AM
Re: perl 64bit compile on Itanium
I'm sure you won't get this when you build with C-ANSI-C or when you rebuild gcc from source using the gcc you have.
http://h21007.www2.hp.com/portal/site/dspp/menuitem.a71dd5247f6a9513ebc5545704b4e601/?javax.portlet.tpst=31583f33917665b2a95994108973a801_ws_MX&javax.portlet.prp_31583f33917665b2a95994108973a801_viewID=proxy_view_secondary&javax.portlet.prp_31583f33917665b2a95994108973a801_wcproxyurl=http%253A%252F%252Fh21007.www2.hp.com%252Fportal%252Fdownload%252Fmailinglist_archives%252Fcxx-dev%252Fcxx-dev.0502...
HTH, Enjoy, Have FUN! H.Merijn
- Tags:
- gcc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2007 07:24 PM
тАО06-13-2007 07:24 PM
Re: perl 64bit compile on Itanium
Thanks again for all your help on this wonderful issue:-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2007 12:24 AM
тАО06-14-2007 12:24 AM
Re: perl 64bit compile on Itanium
`sh cflags "optimize='+O1'" pp_sys.o` pp_sys.c
CCCMD = cc -DPERL_CORE -c -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DD64 -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +O1
"/usr/include/rpc/rpcsec_gss.h", line 166: error #2070: incomplete type is not
allowed
rpc_gss_OID_desc mechanism;
^
1 error detected in the compilation of "pp_sys.c".
*** Error exit code 2
I have checked and both servers are running the same ansic compiler, any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2007 04:26 PM - edited тАО09-26-2011 01:23 PM
тАО06-14-2007 04:26 PM - edited тАО09-26-2011 01:23 PM
Re: perl 64bit compile on Integrity
/usr/include/rpc/rpcsec_gss.h, line 166: error #2070: incomplete type is not allowed
rpc_gss_OID_desc mechanism;
This is saying that rpc_gss_OID_desc has not been defined.
I see it defined in gssapi/gssapi.h as struct gss_OID_desc_struct, through macros and typedefs.
This isn't declared in gssapi.h if OM_STRING is defined. And in that case it says it should be defined in xom.h.
To trace the preprocessing you could try:
export CCOPTS="-H +legacy_cpp"
And try rebuilding. -H should dump the include hierarchy to stderr. +legacy_cpp should expand any macros on that line.
After this step, you may have to add "-E -.i" and look at pp_sys.i.
- Tags:
- macro