- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Pascal compiler sits in the COM state.
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
тАО04-21-2004 02:25 AM
тАО04-21-2004 02:25 AM
We're using Compaq Pascal V5.8-88 on OpenVMS Alpha V7.3-1 to recompile a number of our legacy systems (currently compiled on OpenVMS 7-1-2). One task kept the Pascal compiler in the COM state for over an hour (we gave up on it). The engineer performing the recompilation has managed to compile the module using the /NOCHECK qualifier. The default /CHECK=(BOUND,DECLARATIONS) seems to cause the infinite loop.
Does anybody have any clues as to what would cause this behaviour. The task in question consists of 1 large(ish) source file which relies on a number of environment files. Other tasks using these environment files have compiled without any problems.
Best regards
Brian
Note:
I know we should be upto date on all patches, OS versions etc. but our IT department is very anti-VMS. Its up to us as Engineers to keep the target systems up to date.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2004 03:39 AM
тАО04-21-2004 03:39 AM
Re: Pascal compiler sits in the COM state.
welcome to VMS group!
If there is some patch and you can't install because your "department is very anti-VMS", you don't find solution, I think ;-)
However I don't find any path for pascal. Ian is better than me to find patch and perhaps he can help you (I hope).
@Antoniov
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2004 03:44 AM
тАО04-21-2004 03:44 AM
Re: Pascal compiler sits in the COM state.
Wild shot - based on (VAX PASCAL) experience yeaeaears ago: try /NOOPTIMIZE. It might be the optimizer causing problems....
You could also try to check just BOUNDS of just DECLARATIONS - not both - to pinpoint the problem.
I remember that COM means "Ready to get the CPU - to be CUR" and I remember there might be a reason for this state to be persistent. having said that - and your remark that the file compiles under VMS 7.1-2) gives me a feeling it's VMS-version related. I would then suggest thst, IF you have a suport contract, to contact your HP representative.
To analyse: ANA/SYS when this process 'hangs' in COM state. You can then find out (hopefully) why this happens.
To do this off-line, you may need to create a system or process crashdump (HP might need that, anyway)
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2004 04:12 AM
тАО04-21-2004 04:12 AM
Re: Pascal compiler sits in the COM state.
your post is against the common idea of people in this forum (see http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=430966 ;-)
However Brian has already solved without /OPT qualifier and he's asking any solution with optimitiation.
@Antoniov
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2004 08:41 AM
тАО04-21-2004 08:41 AM
Re: Pascal compiler sits in the COM state.
Please log a case with your local customer support centre, providing them with all the files and commands required to reproduce the symptom. I'm sure Pascal engineering will want to find out what's wrong.
When installing Pascal, you are given the option to retain old compilers. You can then switch between compiler versions whenever you like. If you have more than one version, try compiling with an older version to see if the behaviour changes. There should be no problem mixing modules compiled with different versions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2004 04:33 AM
тАО05-30-2004 04:33 AM
Re: Pascal compiler sits in the COM state.
Can you send me a reproducer so I can fix it for V5.9?
John Reagan
Pascal Project Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2004 07:19 PM
тАО05-31-2004 07:19 PM
Re: Pascal compiler sits in the COM state.
I suspect that the problem may be related to the amout of environment files (and poss. the size of the source). I could probably put together a save set of the environment and dispatch it to you (by post if too large).
In any event I need to get cleance from my managers.
I'll let you know the outcome
regards
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2004 01:52 AM
тАО06-01-2004 01:52 AM
Re: Pascal compiler sits in the COM state.
If you cannot get clearance, if you record some PC values using either SDA or SHOW PROC/CONT, I can use the .MAP file to figure out where the looping is happening.
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2004 02:01 AM
тАО06-01-2004 02:01 AM
Re: Pascal compiler sits in the COM state.
Will try and push things along over the next couple of days. Fairly hectic at the moment. Too many things requiring my immediate attention.
cheers
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2004 02:17 AM
тАО06-01-2004 02:17 AM
Re: Pascal compiler sits in the COM state.
Just managed to the info. (The Engineer resigned last week so I've had a struggle getting to the account).
From SHO PROC/CONT I get the following PC values:
2D45D0
2D45C4
2D45E0
2d45F0
I've also attached the call stack from SDS
cheers
Brian