- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: HP C ANSI C optimizer broken on HP-UX 11.11
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
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
тАО05-04-2006 01:59 AM
тАО05-04-2006 01:59 AM
HP C ANSI C optimizer broken on HP-UX 11.11
CCCMD = cc -DPERL_CORE -c -DPERL_PATCHNUM=28095 -Ae -DDEBUGGING -DPERL_DONT_CREATE_GVSV +Z -z -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DD64 -DDEBUGGING -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DARG_ZERO_IS_SCRIPT +O2 +Onolimit -g
Stack_Trace: error while unwinding stack
cc: error 1405: "/opt/ansic/lbin/ccom" terminated abnormally with signal 11.
# swshow ANSI
# B3901BA B.11.11.14 HP C/ANSI C Developer's Bundle for HP-UX (S800)
# B3901BA.C-ANSI-C B.11.11.14 HP C/ANSI C Compiler
B3901BA.C-ANSI-C.C B.11.11.14 C Programming Language
B3901BA.C-ANSI-C.C-HELP B.11.11.14 C Online help
B3901BA.C-ANSI-C.C-MAN B.11.11.14 C References Pages
# path -w cc
/usr/bin/cc:
$Revision: 92453-07 linker linker crt0.o B.11.47 051104 $
LINT B.11.X.34412-34415.GP CXREF B.11.X.34412-34415.GP
HP92453-01 B.11.X.34412-34415.GP HP C Compiler
$ PATCH/11.00:PHCO_27774 Oct 3 2002 09:45:59 $
# kmtune.pl ^max
Parameter Value hex Value dec Function Default
-------------------- ------------ ----------- --------------------------- --------------------
max_async_ports 0x0000000032 50 50
max_fcp_reqs 0x0000000200 512 512
max_mem_window 0x0000000000 0 0
max_thread_proc 0x0000000200 512 512 64
maxdsiz 0x0018000000 402653184 0x18000000 0x10000000
maxdsiz_64bit 0x0060000000 1610612736 0x60000000 0x0000000040000000
maxfiles 0x0000000200 512 512 60
maxfiles_lim 0x0000000400 1024 1024
maxqueuetime - - - 0
maxssiz 0x0000a00000 10485760 0xa00000 0x00800000
maxssiz_64bit 0x0002000000 33554432 0x2000000 0x00800000
maxswapchunks 0x0000000800 2048 2048 256
maxtsiz 0x0004000000 67108864 0x4000000 0x04000000
maxtsiz_64bit 0x0040000000 1073741824 0x40000000 0x0000000040000000
maxuprc 0x000000004b 75 75
maxusers 0x0000000400 1024 1024 32
maxvgs 0x000000000a 10 10
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2006 03:44 AM
тАО05-04-2006 03:44 AM
Re: HP C ANSI C optimizer broken on HP-UX 11.11
I remember having had problems in compiling SW-packages when options for optimizing AND for debugging were specified.
Perhaps you try a compilation without '-g' or '+O2'.
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2006 03:53 AM
тАО05-04-2006 03:53 AM
Re: HP C ANSI C optimizer broken on HP-UX 11.11
For most of these files dropping to +O1 is enough, for others +O0 is required
Dropping -g is also OK.
Anyway, IMHO the compiler/optimizer should not crash, but either give me a sensible warning, or drop to a (for the optimizer) accepable level/combination.
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2006 03:58 AM
тАО05-04-2006 03:58 AM
Re: HP C ANSI C optimizer broken on HP-UX 11.11
Perhaps, you could try installing latest Libc patch PHCO_33609.
http://www1.itrc.hp.com/service/patch/patchDetail.do?BC=patch.breadcrumb.main|patch.breadcrumb.search|&patchid=PHCO_33609&context=hpux:800:11:00
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2006 04:08 AM
тАО05-04-2006 04:08 AM
Re: HP C ANSI C optimizer broken on HP-UX 11.11
Sorry for the second post. I just now remember i had this same problem two years ago while trying to build Xerces or Xalan. If i remember correctly, it turned out to be a compiler bug.
I remember i got replies from both Dennis Handley and Steve from HP about this.
-Arun
P.S Assign zero points.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2006 05:40 AM
тАО05-04-2006 05:40 AM
Re: HP C ANSI C optimizer broken on HP-UX 11.11
Well you got a reply from them that it is a bug. WHAT WAS THEIR ANSWER?
Are they going to fix it?
Can I `confirm' your bug number?
Enjoy, Have FUN! H.Merijn [ who hates to see an area where gcc does better than HP C-ANSI-C ]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2006 08:33 AM
тАО05-04-2006 08:33 AM
Re: HP C ANSI C optimizer broken on HP-UX 11.11
I would take a look at these patches as similar issues have been taken care of
PHSS_33902
PHSS_34412
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2006 08:47 AM
тАО05-04-2006 08:47 AM
Re: HP C ANSI C optimizer broken on HP-UX 11.11
Correction...
Instead of PHSS_33902, wanted to mention PHSS_33901.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2006 05:52 PM
тАО05-04-2006 05:52 PM
Re: HP C ANSI C optimizer broken on HP-UX 11.11
can you file a defect for this ? or post a .i file which can reproduce the problem, so that i can file a defect for you.
thanks
ranga
--
ranga
[i work for hpe]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2006 08:24 PM
тАО05-04-2006 08:24 PM
Re: HP C ANSI C optimizer broken on HP-UX 11.11
HP92453-01 B.11.X.34412-34415.GP HP C Compiler
I do not have confidence in the second patch. This is a production system, and as - from the description - I see no resolution in the defects these patches fix, and they only have one star, I'll just wait for the next goldpack.
ranganath, you could generate it yourself most likely.
# cd /tmp
# mkdir perl-devel
# cd perl-devel
# rsync -avz rsync://public.activestate.com/perl-current/ .
# sh ./Configure --Dusedevel -Duse64bitall -DEBUGGING=both -des
# make
... boom ...
Enjoy, Have FUN! H.Merijn