Some (a.out) world breakage...

1999-02-28 Thread Zach Heilig
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

Re: Some (a.out) world breakage...

1999-02-28 Thread John Polstra
In article 19990228103315.a37...@znh.org, Zach Heilig z...@uffdaonline.net wrote: Make world (with no -DNOAOUT or whatever that switch is), ends up like this: -- Building legacy libraries

Re: Some (a.out) world breakage...

1999-02-28 Thread Chuck Robey
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 guess it's time

Re: Some (a.out) world breakage...

1999-02-28 Thread Zach Heilig
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 ...

Re: Some (a.out) world breakage...

1999-02-28 Thread John Polstra
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 instances of