> From: Ian Lance Taylor <i...@google.com>
> Date: Tue, 19 Nov 2013 02:11:29 +0100

> 2013-11-18  Ian Lance Taylor  <i...@google.com>
> 
>       * configure.ac: Check for support of __atomic extensions.
>       * internal.h: Declare or #define atomic functions for use in
>       backtrace code.
>       * atomic.c: New file.

Build-breaker for me.  Does something implictly include
sys/types.h for atomic.c on your platform?  Is there more to
this than the obvious one-line patch?

make[2]: Entering directory `/tmp/x/cris-elf/gccobj/libbacktrace'
make  all-am
make[3]: Entering directory `/tmp/x/cris-elf/gccobj/libbacktrace'
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. 
-I/tmp/x/gcc/libbacktrace  -I /tmp/x/gcc/libbacktrace/../include -I 
/tmp/x/gcc/libbacktrace/../libgcc -I ../libgcc  -funwind-tables 
-frandom-seed=atomic.lo -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute 
-Wcast-qual  -g -O2 -c -o atomic.lo /tmp/x/gcc/libbacktrace/atomic.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/tmp/x/gcc/libbacktrace -I 
/tmp/x/gcc/libbacktrace/../include -I /tmp/x/gcc/libbacktrace/../libgcc -I 
../libgcc -funwind-tables -frandom-seed=atomic.lo -W -Wall -Wwrite-strings 
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition 
-Wmissing-format-attribute -Wcast-qual -g -O2 -c 
/tmp/x/gcc/libbacktrace/atomic.c -o atomic.o
In file included from /tmp/x/gcc/libbacktrace/atomic.c:37:
/tmp/x/gcc/libbacktrace/internal.h:182: error: expected declaration specifiers 
or '...' before 'off_t'
make[3]: *** [atomic.lo] Error 1

brgds, H-P
PS. Host is Fedora 12, x86_64.

Reply via email to