On 02/26/12 02:18 am, Erik de Castro Lopo wrote: > Hi all, > > I think we're getting close to the first FLAC release in over 4 > years. > > I have tested whats currently in Git on x86, x86_64 and PowerPC > Linux and would appreciate reports of successful compiles (and even > more importantly any failures) on OSX, Windows and elsewhere.
Hi, build dies here on OS/2 as aout is a very simple object format and doesn't support most types of .section. ... sh ../../../strip_non_asm_libtool_args.sh nasm -f aout -d OBJ_FORMAT_aout -i./ bitreader_asm.nasm -DDLL_EXPORT -DPIC -o .libs/bitreader_asm.o nasm -f aout -d OBJ_FORMAT_aout -i./ bitreader_asm.nasm -DDLL_EXPORT -o .libs/bitreader_asm.o nasm.h:77: error: segment name `.note.GNU-stack progbits noalloc noexec nowrite align=1' not recognized ... Wrapping the section with %ifndef OBJ_FORMAT_aout fixes it. There are also warnings about implicit declarations of _response() and _wildcard() fixed by including stdlib.h I also see the same iconv warnings as mingw. Couple of simple patches attached. Dave
From 4cea5aa4078df0f5de503b26e6bc1f07017adfdd Mon Sep 17 00:00:00 2001 From: Dave Yeo <dave.r.yeo@gmail.com> Date: Sun, 26 Feb 2012 12:14:15 -0800 Subject: [PATCH 1/2] a.out format does not support many .section directives --- src/libFLAC/ia32/nasm.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/libFLAC/ia32/nasm.h b/src/libFLAC/ia32/nasm.h index afc3e12..8455772 100644 --- a/src/libFLAC/ia32/nasm.h +++ b/src/libFLAC/ia32/nasm.h @@ -74,5 +74,7 @@ _%1: %1: %endmacro +%ifndef OBJ_FORMAT_aout section .note.GNU-stack progbits noalloc noexec nowrite align=1 +%endif -- 1.7.2.3
From 015912a1e30b1214b1c20fbb4976cd734936bee4 Mon Sep 17 00:00:00 2001 From: Dave Yeo <dave.r.yeo@gmail.com> Date: Sun, 26 Feb 2012 12:18:06 -0800 Subject: [PATCH 2/2] Include stdlib.h for _response() and _wildcard() declarations on OS/2 --- src/metaflac/main.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/metaflac/main.c b/src/metaflac/main.c index a6dbc29..1b4d208 100644 --- a/src/metaflac/main.c +++ b/src/metaflac/main.c @@ -23,6 +23,7 @@ #include "operations.h" #include "options.h" #include <locale.h> +#include <stdlib.h> int main(int argc, char *argv[]) { -- 1.7.2.3
_______________________________________________ flac-dev mailing list flac-dev@xiph.org http://lists.xiph.org/mailman/listinfo/flac-dev