Has anyone tried to compile latest stable amanda with gcc 4.9.x ?
It fails for me on a fresh gentoo installation.
I'd like to add the specific logs ... it's a bit hard to spot.
->
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.
-I../config -I../common-src -I../common-src -I../amandad-src
-I../amar-src -I../xfer-src -I../perl/amglue -I../gnulib -I../ndmp-src
-I/usr/lib64/perl5/5.20.1/x86_64-linux/CORE -I../client-src
-I../recover-src -fno-strict-aliasing -D_GNU_SOURCE -pthread
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DSWIG
-march=native -O2 -pipe -fno-strict-aliasing -c Amanda/IPC/Binary.c
-fPIC -DPIC -o .libs/Binary.o
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.
-I../config -I../common-src -I../common-src -I../amandad-src
-I../amar-src -I../xfer-src -I../perl/amglue -I../gnulib -I../ndmp-src
-I/usr/lib64/perl5/5.20.1/x86_64-linux/CORE -I../client-src
-I../recover-src -fno-strict-aliasing -D_GNU_SOURCE -pthread
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DSWIG
-march=native -O2 -pipe -fno-strict-aliasing -c Amanda/Feature.c -fPIC
-DPIC -o .libs/Feature.o
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.
-I../config -I../common-src -I../common-src -I../amandad-src
-I../amar-src -I../xfer-src -I../perl/amglue -I../gnulib -I../ndmp-src
-I/usr/lib64/perl5/5.20.1/x86_64-linux/CORE -I../client-src
-I../recover-src -fno-strict-aliasing -D_GNU_SOURCE -pthread
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DSWIG
-march=native -O2 -pipe -fno-strict-aliasing -c Amanda/Header.c -fPIC
-DPIC -o .libs/Header.o
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.
-I../config -I../common-src -I../common-src -I../amandad-src
-I../amar-src -I../xfer-src -I../perl/amglue -I../gnulib -I../ndmp-src
-I/usr/lib64/perl5/5.20.1/x86_64-linux/CORE -I../client-src
-I../recover-src -fno-strict-aliasing -D_GNU_SOURCE -pthread
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DSWIG
-march=native -O2 -pipe -fno-strict-aliasing -c Amanda/NDMP.c -fPIC
-DPIC -o .libs/NDMP.o
In file included from ^[[01m^[[KAmanda/Debug.c:734:0^[[m^[[K:
^[[01m^[[KAmanda/Debug.c:^[[m^[[K In function
‘^[[01m^[[KSWIG_AsCharPtrAndSize^[[m^[[K’:
^[[01m^[[K/usr/lib64/perl5/5.20.1/x86_64-linux/CORE/handy.h:124:34:^[[m^[[K
^[[01;31m^[[Kerror: ^[[m^[[K‘^[[01m^[[Kbool^[[m^[[K’ undeclared (first
use in this function)
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^[[01;32m^[[K ^^[[m^[[K
^[[01m^[[K/usr/lib64/perl5/5.20.1/x86_64-linux/CORE/perl.h:3149:62:^[[m^[[K
^[[01;36m^[[Knote: ^[[m^[[Kin definition of macro ‘^[[01m^[[KEXPECT^[[m^[[K’
# define EXPECT(expr,val) __builtin_expect(expr,val)
^[[01;32m^[[K
^^[[m^[[K
^[[01m^[[K/usr/lib64/perl5/5.20.1/x86_64-linux/CORE/perl.h:3153:52:^[[m^[[K
^[[01;36m^[[Knote: ^[[m^[[Kin expansion of macro ‘^[[01m^[[KcBOOL^[[m^[[K’
#define LIKELY(cond) EXPECT(cBOOL(cond),TRUE)
^[[01;32m^[[K ^^[[m^[[K
^[[01m^[[K/usr/lib64/perl5/5.20.1/x86_64-linux/CORE/sv.h:2066:10:^[[m^[[K
^[[01;36m^[[Knote:
^[[m^[[Kin expansion of macro ‘^[[01m^[[KLIKELY^[[m^[[K’
if (LIKELY((dst) != (src))) { \
^[[01;32m^[[K ^^[[m^[[K