zsh-workers
 help / color / mirror / code / Atom feed
* RS6000AIX Zsh Executable Fails
@ 2000-11-29 23:04 Steve Amerige
  2000-11-30 10:36 ` Peter Stephenson
  2000-11-30 17:59 ` Steve Amerige
  0 siblings, 2 replies; 3+ messages in thread
From: Steve Amerige @ 2000-11-29 23:04 UTC (permalink / raw)
  To: zsh-workers

After building either the zsh-3.1.2 or the zsh-3.1.9 releases
for the rs6000aix platform, I try running zsh and get the
following message:

% zsh
exec(): 0509-036 Cannot load program ./zsh because of the following errors:
        0509-118   The alignment of the .text section does not
                   satisfy its required alignment.
        0509-194 Examine file headers with the 'dump -ohv' command.
%

I did as requested, but I don't know what the output means.  I've
placed the results of this below.  I built zsh as:

% ./configure
% make

I've tried running the zsh in the Src directory as well as
installing zsh via "make install" and running that.  The error
message is the same.  The platform is AIX 4.3 (rs6000aix).
The compiler used is gcc2.95 (I did try the native cc compiler
as well but that compiler didn't even compile the code cleanly).

Can you suggest what I should do to make zsh work?

Thanks,
Steve Amerige
Adobe Systems Incorporated


% dump -ohv zsh
zsh:

                        ***Object Module Header***
# Sections      Symbol Ptr      # Symbols       Opt Hdr Len     Flags
         5      0x00000000              0                72     0x120f
Flags=( RELFLG EXEC LNNO LSYMS AR32W DYNLOAD )
Timestamp = "Dec 31 16:00:00 1969"
Magic = 0x1df  (32-bit XCOFF)

                        ***Optional Header***
Tsize        Dsize       Bsize       Tstart      Dstart
0x000789e0  0x0000b308  0x00007d14  0x10000150  0x20000b13

SNloader     SNentry     SNtext      SNtoc       SNdata
0x0004      0x0002      0x0001      0x0002      0x0002

TXTalign     DATAalign   TOC         vstamp      entry
0x0005      0x0003      0x200076f8  0x0001      0x200064f0

maxSTACK     maxDATA     SNbss       magic       modtype
0x00000000  0x00000000  0x0003      0x0107        1L

                        ***Section Header Information***
                         Section Header for .text
PHYaddr      VTRaddr     SCTsiz      RAWptr      RELptr
0x10000150  0x10000150  0x000789e0  0x00000140  0x00000000

LN#ptr       #RELent     #LINent     Flags
0x00000000  0x0000      0x0000      0x00000020

                         Section Header for .data
PHYaddr      VTRaddr     SCTsiz      RAWptr      RELptr
0x20000b13  0x20000b13  0x0000b308  0x00078b20  0x00000000

LN#ptr       #RELent     #LINent     Flags
0x00000000  0x0000      0x0000      0x00000040

                         Section Header for .bss
PHYaddr      VTRaddr     SCTsiz      RAWptr      RELptr
0x2000be18  0x2000be18  0x00007d14  0x00000000  0x00000000

LN#ptr       #RELent     #LINent     Flags
0x00000000  0x0000      0x0000      0x00000080

                         Section Header for .loader
PHYaddr      VTRaddr     SCTsiz      RAWptr      RELptr
0x00000000  0x00000000  0x000176e0  0x00083e28  0x00000000

LN#ptr       #RELent     #LINent     Flags
0x00000000  0x0000      0x0000      0x00001000

                         Section Header for .debug
PHYaddr      VTRaddr     SCTsiz      RAWptr      RELptr
0x00000000  0x00000000  0x00005880  0x0009b508  0x00000000

LN#ptr       #RELent     #LINent     Flags
0x00000000  0x0000      0x0000      0x00002000


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: RS6000AIX Zsh Executable Fails
  2000-11-29 23:04 RS6000AIX Zsh Executable Fails Steve Amerige
@ 2000-11-30 10:36 ` Peter Stephenson
  2000-11-30 17:59 ` Steve Amerige
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Stephenson @ 2000-11-30 10:36 UTC (permalink / raw)
  To: Steve Amerige, Zsh hackers list

> After building either the zsh-3.1.2 or the zsh-3.1.9 releases
> for the rs6000aix platform, I try running zsh and get the
> following message:
> 
> % zsh
> exec(): 0509-036 Cannot load program ./zsh because of the following errors:
>         0509-118   The alignment of the .text section does not
>                    satisfy its required alignment.
>         0509-194 Examine file headers with the 'dump -ohv' command.
> %

Looks like a compiler problem.  Are you sure the gcc you are using was
compiled on this (exact) OS version?  Just because it works with other
programmes doesn't necessarily mean it was.

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
Cambridge Silicon Radio, Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK                          Tel: +44 (0)1223 392070


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: RS6000AIX Zsh Executable Fails
  2000-11-29 23:04 RS6000AIX Zsh Executable Fails Steve Amerige
  2000-11-30 10:36 ` Peter Stephenson
@ 2000-11-30 17:59 ` Steve Amerige
  1 sibling, 0 replies; 3+ messages in thread
From: Steve Amerige @ 2000-11-30 17:59 UTC (permalink / raw)
  To: zsh-workers

Here's a followup note:

I built the zsh-3.0.8 release and it executed without error.

I'm not sure why the 3.1.2 and the 3.1.9 executables that I
built did not work.  If there is any information that I can
pass on to you to help, please let me know; otherwise, I'll
stick with the 3.0.8 version for awhile!

Thanks,
Steve Amerige
Adobe Systems Incorporated


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-11-30 18:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-29 23:04 RS6000AIX Zsh Executable Fails Steve Amerige
2000-11-30 10:36 ` Peter Stephenson
2000-11-30 17:59 ` Steve Amerige

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).