| Title: | C++ |
| Notice: | Read 1.* and use keywords (e.g. SHOW KEY/FULL KIT_CXX_VAX_VMS) |
| Moderator: | DECCXX::AMARTIN |
| Created: | Fri Nov 06 1987 |
| Last Modified: | Thu Jun 05 1997 |
| Last Successful Update: | Fri Jun 06 1997 |
| Number of topics: | 3604 |
| Total number of notes: | 18242 |
Why does ANALYZE/OBJECT/GSD not like objects generated by CXX
on VMS (VAX, OS version V6.1)? I get messages like:
*** Length of symbol is not within valid range of 1 to 31.
### Symbol ".����..$.3?��..!...............S...:.W...........2...2...v.." conta
ins special characters
*** Psect alignment is greater than maximum alignment of 9.
*** The allocation for an absolute psect must be zero.
symbol: ""
*** Length of symbol is not within valid range of 1 to 31.
*** Reserved flag bit 12 is set.
*** Reserved flag bit 13 is set.
*** GSD record subtype 29 invalid. Remainder of record ignored:
*** Object record 2 contains invalid type code 124:
*** Object record 3 contains invalid type code 232:
*** Object record 4 contains invalid type code 162:
*** Object record 5 contains invalid type code 153:
*** Spurious bytes are present at the end of the record.
The exact command I used was:
$ analyze/object/gsd sys$library:libobbcxx.olb
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 3472.1 | what I'm trying to do | VAXCPU::michaud | Jeff Michaud - ObjectBroker | Fri Feb 28 1997 19:05 | 10 |
FYI, the reason I'm looking at analyze/object is because I'm looking for a better way than lib/list/names in order to generate a SYMBOL_VECTOR option for the linker to generate a shared library from C++ object files. On VAX/VMS, lib/list/names would be fine, since one does not specify the type of symbol (PROCEDURE or DATA), but on AXP/VMS you do. I was hoping the output analyze/object/gds would have more info than just the global symbol names that lib/list/names outputs. | |||||
| 3472.2 | In case the version helps (now that I know how to display the version :-) | VAXCPU::michaud | Jeff Michaud - ObjectBroker | Fri Feb 28 1997 19:14 | 1 |
DEC C++ V5.0-003 on OpenVMS VAX V6.1 | |||||
| 3472.3 | Must be a bug somewhere | DECCXX::AMARTIN | Alan H. Martin | Fri Feb 28 1997 19:48 | 14 |
Re .0: > Why does ANALYZE/OBJECT/GSD not like objects generated by CXX > on VMS (VAX, OS version V6.1)? ... Either there's a bug in DEC C++/VAX/VMS or there's a bug in ANALYZE/OBJECT. Since bugs in object file (well, DST) generation have been fixed in DEC C++/VAX/VMS since V5.0, and V5.0 is no longer supported, you'll have to install DEC C++/VAX/VMS V5.5 to get any further. See topic 3217 for kit pointers. Feel free to reply if it's still busted in V5.5 (or even if it isn't). /AHM/THX | |||||