This is the mail archive of the
libffi-discuss@sourceware.org
mailing list for the libffi project.
Re: fix build on Free/OpenBSD arm
Anthony Green wrote:
> Jasper Lievisse Adriaanse wrote:
>
>> the following patch fixes the build of libffi on at least OpenBSD and
>> FreeBSD. it was originally submitted by Björn König on:
>> http://www.freebsd.org/cgi/query-pr.cgi?pr=122398
>
> I don't think this patch is OK as is, since other ports use the code
> you're deleting. What error do you get without this change? Is it just
> that the comment marker is wrong?
Currently FreeBSD comes with an old version of binutils where the GNU
assembler doesn't support unwind directives. I never submitted the patch
on this list because it was never intended for operating systems other
than FreeBSD. It's part of the FreeBSD-specific libffi port and that's
sufficient in my opinion. OpenBSD folks should do the same if necessary.
Regards
Björn