Make world (with no -DNOAOUT or whatever that switch is), ends up like this:
--
>>> Building legacy libraries
--
(echo '#define LENGTH 20'; sed -e 's/mdX/sha/g' -e 's/MDX
In article <19990228103315.a37...@znh.org>,
Zach Heilig wrote:
> Make world (with no -DNOAOUT or whatever that switch is), ends up like this:
>
> --
> >>> Building legacy libraries
> -
On Sun, 28 Feb 1999, John Polstra wrote:
> > I did look in the "broken" file, and noted that ALIGN was defined as 16
> > in the 'ELF' case, and 4 in the 'OUT' case. It looks impossible (to me)
> > for 'OUT' to be defined while compiling that file
> > (/usr/src/lib/libmd/i386/sha.S).
> >
> > I gu
On Sun, Feb 28, 1999 at 01:18:50PM -0500, Chuck Robey wrote:
> cc -I/usr/src/lib/libmd -DSHA1_ASM -DELF -DRMD160_ASM -DELF -c
> /usr/src/lib/libmd/i386/sha.S -o sha.o
> /usr/tmp/ccx85357.s: Assembler messages:
> /usr/tmp/ccx85357.s:57: Error: Alignment too large: 15 assumed
> *** Error code 1
...
Chuck Robey wrote:
>>
>> This problem can be solved easily. Instead of ".align" the code
>> should use ".p2align 4", which behaves the same for a.out as it does
>> for ELF.
>
> In test, this didn't work, so I misunderstood something.
Yes, you did. :-)
Get rid of ALIGN entirely. Change all in