Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 5 Feb 2013 01:06:47 +0100
From: magnum <>
Subject: Re: OSX 32-bit assembler warnings.

On 4 Feb, 2013, at 23:49 , magnum <> wrote:
> I made some 32-bit builds on OSX just to test the legacy MMX/SSE builds out (and some bugs were indeed found and fixed).
> Due to my habit of always supplying -s to make, I saw these warnings:
> md4-mmx.S:280:Alignment too large: 15. assumed.
> md4-mmx.S:314:Alignment too large: 15. assumed.
> md5-mmx.S:48:Alignment too large: 15. assumed.
> That made me laugh, just like the guy in the first google hit:
> Do I understand right that it will it align to 32K? That's a lot but I presume it will work fine. And the build does work fine.
> If we said .balign instead, would some other assemblers not understand it? Or perhaps we could/should use some #ifdef stuff? I see now there is some DO_ALIGN stuff in x86.S but I can't say I understand it. Does it depend on defines in arch.h? OSX does not have it's own.

I see now the macosx build targets sets -DALIGN_LOG. So I presume I can nick the ALIGN_FIX macros from x86.S and all should be good.


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.