[Gc] failure with the current CVS version

Hans Boehm Hans.Boehm at hp.com
Wed Jun 13 22:22:09 PDT 2007


Manuel -

Thanks.

This doesn't fail for me if I use a standard collector build.  But I
agree it is a bug.

I checked in a patch to include stddef.h in atomic_ops.h.  Could you
confirm that this solves the problem?

Hans

On Tue, 12 Jun 2007, Manuel Serrano wrote:

> Hello Hans,
>
> just for your information. The current CVS version (12 jun) does not compile
> on Linux x86, 32 bits:
>
> -----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----
> smith:.../foo/bdwgc> uname -a
> Linux smith 2.6.21.1 #2 Sat May 12 18:03:28 CEST 2007 i686 Intel(R) Pentium(R) M processor 1.10GHz GenuineIntel GNU/Linux
> smith:.../foo/bdwgc> gcc -v
> Using built-in specs.
> Target: i686-pc-linux-gnu
> Configured with: ../configure --prefix=/usr --enable-shared --enable-languages=c,c++,objc --enable-threads=posix --enable-__cxa_atexit --disable-multilib --libdir=/usr/lib --libexecdir=/usr/lib --enable-clocale=gnu --disable-libstdcxx-pch
> Thread model: posix
> gcc version 4.2.0
> smith:.../serrano/foo> cd bdwgc/
> smith:.../foo/bdwgc> make
> CC=cc  ./configure_atomic_ops.sh
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking target system type... i686-pc-linux-gnu
> checking for a BSD-compatible install... /bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking for ranlib... ranlib
> checking for gcc... cc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether cc accepts -g... yes
> checking for cc option to accept ANSI C... none needed
> checking for style of include used by make... GNU
> checking dependency style of cc... gcc3
> checking how to run the C preprocessor... cc -E
> checking for egrep... grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking for stdlib.h... (cached) yes
> checking for unistd.h... (cached) yes
> checking for getpagesize... yes
> checking for working mmap... yes
> checking for ANSI C header files... (cached) yes
> checking Determining PIC compiler flag... -fPIC
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating src/Makefile
> config.status: creating src/atomic_ops/Makefile
> config.status: creating src/atomic_ops/sysdeps/Makefile
> config.status: creating doc/Makefile
> config.status: creating tests/Makefile
> config.status: creating src/config.h
> config.status: executing depfiles commands
> config.status: executing default commands
> cd ./libatomic_ops-1.2; make CC=cc  install
> cd . && /bin/sh /users/serrano/foo/bdwgc/libatomic_ops-1.2/missing --run aclocal-1.9
> /users/serrano/foo/bdwgc/libatomic_ops-1.2/missing: line 52: aclocal-1.9: command not found
> WARNING: `aclocal-1.9' is missing on your system.  You should only need it if
>          you modified `acinclude.m4' or `configure.ac'.  You might want
>          to install the `Automake' and `Perl' packages.  Grab them from
>          any GNU archive site.
>  cd . && /bin/sh /users/serrano/foo/bdwgc/libatomic_ops-1.2/missing --run automake-1.9 --gnu
> /users/serrano/foo/bdwgc/libatomic_ops-1.2/missing: line 52: automake-1.9: command not found
> WARNING: `automake-1.9' is missing on your system.  You should only need it if
>          you modified `Makefile.am', `acinclude.m4' or `configure.ac'.
>          You might want to install the `Automake' and `Perl' packages.
>          Grab them from any GNU archive site.
> cd . && /bin/sh /users/serrano/foo/bdwgc/libatomic_ops-1.2/missing --run autoconf
> /bin/sh ./config.status --recheck
> running /bin/sh ./configure  --prefix=/users/serrano/foo/bdwgc/libatomic_ops-install CC=cc  --no-create --no-recursion
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking target system type... i686-pc-linux-gnu
> checking for a BSD-compatible install... /bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking for ranlib... ranlib
> checking for gcc... cc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether cc accepts -g... yes
> checking for cc option to accept ISO C89... none needed
> checking for style of include used by make... GNU
> checking dependency style of cc... gcc3
> checking how to run the C preprocessor... cc -E
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking for stdlib.h... (cached) yes
> checking for unistd.h... (cached) yes
> checking for getpagesize... yes
> checking for working mmap... yes
> checking for ANSI C header files... (cached) yes
> checking Determining PIC compiler flag... -fPIC
> configure: creating ./config.status
>  /bin/sh ./config.status
> config.status: creating Makefile
> config.status: WARNING:  Makefile.in seems to ignore the --datarootdir setting
> config.status: creating src/Makefile
> config.status: WARNING:  src/Makefile.in seems to ignore the --datarootdir setting
> config.status: creating src/atomic_ops/Makefile
> config.status: WARNING:  src/atomic_ops/Makefile.in seems to ignore the --datarootdir setting
> config.status: creating src/atomic_ops/sysdeps/Makefile
> config.status: creating doc/Makefile
> config.status: WARNING:  doc/Makefile.in seems to ignore the --datarootdir setting
> config.status: creating tests/Makefile
> config.status: WARNING:  tests/Makefile.in seems to ignore the --datarootdir setting
> config.status: creating src/config.h
> config.status: executing depfiles commands
> config.status: executing default commands
> Making install in src
> Making install in atomic_ops
> Making install in sysdeps
> make[5]: Nothing to be done for `install-exec-am'.
> test -z "/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps" || mkdir -p -- "/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps"
>  /users/serrano/foo/bdwgc/libatomic_ops-1.2/install-sh -c -m 644 'generic_pthread.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps/generic_pthread.h'
>  /users/serrano/foo/bdwgc/libatomic_ops-1.2/install-sh -c -m 644 'atomic_load_store.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps/atomic_load_store.h'
>  /users/serrano/foo/bdwgc/libatomic_ops-1.2/install-sh -c -m 644 'aligned_atomic_load_store.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps/aligned_atomic_load_store.h'
>  /users/serrano/foo/bdwgc/libatomic_ops-1.2/install-sh -c -m 644 'acquire_release_volatile.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps/acquire_release_volatile.h'
>  /users/serrano/foo/bdwgc/libatomic_ops-1.2/install-sh -c -m 644 'char_acquire_release_volatile.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps/char_acquire_release_volatile.h'
>  /users/serrano/foo/bdwgc/libatomic_ops-1.2/install-sh -c -m 644 'char_atomic_load_store.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps/char_atomic_load_store.h'
>  /users/serrano/foo/bdwgc/libatomic_ops-1.2/install-sh -c -m 644 'short_acquire_release_volatile.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps/short_acquire_release_volatile.h'
>  /users/serrano/foo/bdwgc/libatomic_ops-1.2/install-sh -c -m 644 'short_aligned_atomic_load_store.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps/short_aligned_atomic_load_store.h'
>  /users/serrano/foo/bdwgc/libatomic_ops-1.2/install-sh -c -m 644 'short_atomic_load_store.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps/short_atomic_load_store.h'
>  /users/serrano/foo/bdwgc/libatomic_ops-1.2/install-sh -c -m 644 'int_acquire_release_volatile.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps/int_acquire_release_volatile.h'
>  /users/serrano/foo/bdwgc/libatomic_ops-1.2/install-sh -c -m 644 'int_aligned_atomic_load_store.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps/int_aligned_atomic_load_store.h'
>  /users/serrano/foo/bdwgc/libatomic_ops-1.2/install-sh -c -m 644 'int_atomic_load_store.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps/int_atomic_load_store.h'
>  /users/serrano/foo/bdwgc/libatomic_ops-1.2/install-sh -c -m 644 'all_acquire_release_volatile.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps/all_acquire_release_volatile.h'
>  /users/serrano/foo/bdwgc/libatomic_ops-1.2/install-sh -c -m 644 'all_aligned_atomic_load_store.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps/all_aligned_atomic_load_store.h'
>  /users/serrano/foo/bdwgc/libatomic_ops-1.2/install-sh -c -m 644 'all_atomic_load_store.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps/all_atomic_load_store.h'
>  /users/serrano/foo/bdwgc/libatomic_ops-1.2/install-sh -c -m 644 'read_ordered.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps/read_ordered.h'
>  /users/serrano/foo/bdwgc/libatomic_ops-1.2/install-sh -c -m 644 'ordered_except_wr.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps/ordered_except_wr.h'
>  /users/serrano/foo/bdwgc/libatomic_ops-1.2/install-sh -c -m 644 'ordered.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps/ordered.h'
>  /users/serrano/foo/bdwgc/libatomic_ops-1.2/install-sh -c -m 644 'ao_t_is_int.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps/ao_t_is_int.h'
>  /users/serrano/foo/bdwgc/libatomic_ops-1.2/install-sh -c -m 644 'test_and_set_t_is_ao_t.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps/test_and_set_t_is_ao_t.h'
>  /users/serrano/foo/bdwgc/libatomic_ops-1.2/install-sh -c -m 644 'test_and_set_t_is_char.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps/test_and_set_t_is_char.h'
>  /users/serrano/foo/bdwgc/libatomic_ops-1.2/install-sh -c -m 644 'emul_cas.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps/emul_cas.h'
>  /users/serrano/foo/bdwgc/libatomic_ops-1.2/install-sh -c -m 644 'standard_ao_double_t.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps/standard_ao_double_t.h'
>  /users/serrano/foo/bdwgc/libatomic_ops-1.2/install-sh -c -m 644 'README' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps/README'
>  /users/serrano/foo/bdwgc/libatomic_ops-1.2/install-sh -c -m 644 'gcc/alpha.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps/gcc/alpha.h'
>  /users/serrano/foo/bdwgc/libatomic_ops-1.2/install-sh -c -m 644 'gcc/arm.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps/gcc/arm.h'
>  /users/serrano/foo/bdwgc/libatomic_ops-1.2/install-sh -c -m 644 'gcc/x86.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps/gcc/x86.h'
>  /users/serrano/foo/bdwgc/libatomic_ops-1.2/install-sh -c -m 644 'gcc/hppa.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps/gcc/hppa.h'
>  /users/serrano/foo/bdwgc/libatomic_ops-1.2/install-sh -c -m 644 'gcc/ia64.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps/gcc/ia64.h'
>  /users/serrano/foo/bdwgc/libatomic_ops-1.2/install-sh -c -m 644 'gcc/powerpc.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps/gcc/powerpc.h'
>  /users/serrano/foo/bdwgc/libatomic_ops-1.2/install-sh -c -m 644 'gcc/sparc.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps/gcc/sparc.h'
>  /users/serrano/foo/bdwgc/libatomic_ops-1.2/install-sh -c -m 644 'gcc/hppa.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps/gcc/hppa.h'
>  /users/serrano/foo/bdwgc/libatomic_ops-1.2/install-sh -c -m 644 'gcc/m68k.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps/gcc/m68k.h'
>  /users/serrano/foo/bdwgc/libatomic_ops-1.2/install-sh -c -m 644 'gcc/s390.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps/gcc/s390.h'
>  /users/serrano/foo/bdwgc/libatomic_ops-1.2/install-sh -c -m 644 'gcc/ia64.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps/gcc/ia64.h'
>  /users/serrano/foo/bdwgc/libatomic_ops-1.2/install-sh -c -m 644 'gcc/x86_64.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps/gcc/x86_64.h'
>  /users/serrano/foo/bdwgc/libatomic_ops-1.2/install-sh -c -m 644 'gcc/cris.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps/gcc/cris.h'
>  /users/serrano/foo/bdwgc/libatomic_ops-1.2/install-sh -c -m 644 'icc/ia64.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps/icc/ia64.h'
>  /users/serrano/foo/bdwgc/libatomic_ops-1.2/install-sh -c -m 644 'msftc/x86.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps/msftc/x86.h'
>  /users/serrano/foo/bdwgc/libatomic_ops-1.2/install-sh -c -m 644 'msftc/x86_64.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps/msftc/x86_64.h'
>  /users/serrano/foo/bdwgc/libatomic_ops-1.2/install-sh -c -m 644 'hpc/ia64.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps/hpc/ia64.h'
>  /users/serrano/foo/bdwgc/libatomic_ops-1.2/install-sh -c -m 644 'hpc/hppa.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps/hpc/hppa.h'
>  /users/serrano/foo/bdwgc/libatomic_ops-1.2/install-sh -c -m 644 'sunc/sparc.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps/sunc/sparc.h'
>  /users/serrano/foo/bdwgc/libatomic_ops-1.2/install-sh -c -m 644 'ibmc/powerpc.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/sysdeps/ibmc/powerpc.h'
> make[5]: Nothing to be done for `install-exec-am'.

q> test -z
"/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/" || mkdir -p -- "/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops/"
>  /bin/install -c -m 644 'generalize.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops//generalize.h'
>  /bin/install -c -m 644 'generalize-small.h' '/users/serrano/foo/bdwgc/libatomic_ops-install/include/atomic_ops//generalize-small.h'
> if cc -DHAVE_CONFIG_H -I. -I. -I.    -fPIC -g -O2 -DNDEBUG -MT atomic_ops.o -MD -MP -MF ".deps/atomic_ops.Tpo" -c -o atomic_ops.o atomic_ops.c; \
>         then mv -f ".deps/atomic_ops.Tpo" ".deps/atomic_ops.Po"; else rm -f ".deps/atomic_ops.Tpo"; exit 1; fi
> rm -f libatomic_ops.a
> ar cru libatomic_ops.a atomic_ops.o
> ranlib libatomic_ops.a
> if cc -DHAVE_CONFIG_H -I. -I. -I.    -fPIC -g -O2 -DNDEBUG -MT atomic_ops_stack.o -MD -MP -MF ".deps/atomic_ops_stack.Tpo" -c -o atomic_ops_stack.o atomic_ops_stack.c; \
>         then mv -f ".deps/atomic_ops_stack.Tpo" ".deps/atomic_ops_stack.Po"; else rm -f ".deps/atomic_ops_stack.Tpo"; exit 1; fi
> if cc -DHAVE_CONFIG_H -I. -I. -I.    -fPIC -g -O2 -DNDEBUG -MT atomic_ops_malloc.o -MD -MP -MF ".deps/atomic_ops_malloc.Tpo" -c -o atomic_ops_malloc.o atomic_ops_malloc.c; \
>         then mv -f ".deps/atomic_ops_malloc.Tpo" ".deps/atomic_ops_malloc.Po"; else rm -f ".deps/atomic_ops_malloc.Tpo"; exit 1; fi
> In file included from atomic_ops/sysdeps/gcc/../all_aligned_atomic_load_store.h:27,
>                  from atomic_ops/sysdeps/gcc/x86.h:24,
>                  from atomic_ops.h:193,
>                  from atomic_ops_stack.h:32,
>                  from atomic_ops_malloc.c:20:
> atomic_ops/sysdeps/gcc/../aligned_atomic_load_store.h:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'AO_load'
> atomic_ops/sysdeps/gcc/../aligned_atomic_load_store.h:40: error: expected ';', ',' or ')' before '*' token
> In file included from atomic_ops/sysdeps/gcc/../ordered_except_wr.h:30,
>                  from atomic_ops/sysdeps/gcc/x86.h:33,
>                  from atomic_ops.h:193,
>                  from atomic_ops_stack.h:32,
>                  from atomic_ops_malloc.c:20:
> atomic_ops/sysdeps/gcc/../read_ordered.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'AO_load_read'
> atomic_ops/sysdeps/gcc/../read_ordered.h:57: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'AO_char_load_read'
> atomic_ops/sysdeps/gcc/../read_ordered.h:73: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'AO_short_load_read'
> atomic_ops/sysdeps/gcc/../read_ordered.h:89: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'AO_int_load_read'
> In file included from atomic_ops/sysdeps/gcc/x86.h:33,
>                  from atomic_ops.h:193,
>                  from atomic_ops_stack.h:32,
>                  from atomic_ops_malloc.c:20:
> atomic_ops/sysdeps/gcc/../ordered_except_wr.h:45: error: expected ';', ',' or ')' before '*' token
> In file included from atomic_ops/sysdeps/gcc/x86.h:37,
>                  from atomic_ops.h:193,
>                  from atomic_ops_stack.h:32,
>                  from atomic_ops_malloc.c:20:
> atomic_ops/sysdeps/gcc/../standard_ao_double_t.h:3: error: expected specifier-qualifier-list before 'size_t'
> In file included from atomic_ops.h:193,
>                  from atomic_ops_stack.h:32,
>                  from atomic_ops_malloc.c:20:
> atomic_ops/sysdeps/gcc/x86.h:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'AO_fetch_and_add_full'
> atomic_ops/sysdeps/gcc/x86.h:101: error: expected ';', ',' or ')' before '*' token
> atomic_ops/sysdeps/gcc/x86.h:124: error: expected ';', ',' or ')' before '*' token
> atomic_ops/sysdeps/gcc/x86.h:140: error: expected declaration specifiers or '...' before 'size_t'
> atomic_ops/sysdeps/gcc/x86.h:140: error: expected declaration specifiers or '...' before 'size_t'
> atomic_ops/sysdeps/gcc/x86.h:141: error: expected declaration specifiers or '...' before 'size_t'
> atomic_ops/sysdeps/gcc/x86.h:141: error: expected declaration specifiers or '...' before 'size_t'
> atomic_ops/sysdeps/gcc/x86.h: In function 'AO_compare_double_and_swap_double_full':
> atomic_ops/sysdeps/gcc/x86.h:146: error: 'old_val1' undeclared (first use in this function)
> atomic_ops/sysdeps/gcc/x86.h:146: error: (Each undeclared identifier is reported only once
> atomic_ops/sysdeps/gcc/x86.h:146: error: for each function it appears in.)
> atomic_ops/sysdeps/gcc/x86.h:146: error: 'old_val2' undeclared (first use in this function)
> atomic_ops/sysdeps/gcc/x86.h:147: error: 'new_val1' undeclared (first use in this function)
> atomic_ops/sysdeps/gcc/x86.h:147: error: 'new_val2' undeclared (first use in this function)
> In file included from atomic_ops.h:288,
>                  from atomic_ops_stack.h:32,
>                  from atomic_ops_malloc.c:20:
> atomic_ops/generalize.h: In function 'AO_nop_full':
> atomic_ops/generalize.h:154: error: 'size_t' undeclared (first use in this function)
> atomic_ops/generalize.h:154: error: expected ',' or ';' before 'AO_BYTE_TS_clear'
> In file included from atomic_ops_malloc.c:20:
> atomic_ops_stack.h: At top level:
> atomic_ops_stack.h:94: error: expected ':', ',', ';', '}' or '__attribute__' before 'AO_stack_bl'
> atomic_ops_stack.h:109: error: expected ';', ',' or ')' before '*' token
> atomic_ops_stack.h:112: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> atomic_ops_stack.h:118: error: expected ':', ',', ';', '}' or '__attribute__' before 'AO_ptr'
> atomic_ops_stack.h: In function 'AO_stack_init':
> atomic_ops_stack.h:127: error: 'AO_stack_t' has no member named 'AO_aux'
> atomic_ops_stack.h:128: error: 'AO_stack_t' has no member named 'AO_aux'
> atomic_ops_stack.h:134: error: 'AO_stack_t' has no member named 'AO_ptr'
> atomic_ops_malloc.c: In function 'add_chunk_as':
> atomic_ops_malloc.c:205: error: 'AO_stack_t' has no member named 'AO_ptr'
> atomic_ops_malloc.c:205: error: 'AO_stack_t' has no member named 'AO_aux'
> atomic_ops_malloc.c: In function 'msb':
> atomic_ops_malloc.c:223: warning: right shift count >= width of type
> atomic_ops_malloc.c: In function 'AO_malloc':
> atomic_ops_malloc.c:255: error: 'AO_stack_t' has no member named 'AO_ptr'
> atomic_ops_malloc.c:255: error: 'AO_stack_t' has no member named 'AO_aux'
> atomic_ops_malloc.c:255: warning: assignment makes pointer from integer without a cast
> atomic_ops_malloc.c:261: error: 'AO_stack_t' has no member named 'AO_ptr'
> atomic_ops_malloc.c:261: error: 'AO_stack_t' has no member named 'AO_aux'
> atomic_ops_malloc.c:261: warning: assignment makes pointer from integer without a cast
> atomic_ops_malloc.c: In function 'AO_free':
> atomic_ops_malloc.c:287: error: 'AO_stack_t' has no member named 'AO_ptr'
> atomic_ops_malloc.c:287: error: 'AO_stack_t' has no member named 'AO_aux'
> make[3]: *** [atomic_ops_malloc.o] Error 1
> make[2]: *** [install-recursive] Error 1
> make[1]: *** [install-recursive] Error 1
> make: *** [libatomic_ops-install] Error 2
> -----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----
>
> Cheers,
>
> --
> Manuel
> _______________________________________________
> Gc mailing list
> Gc at linux.hpl.hp.com
> http://www.hpl.hp.com/hosted/linux/mail-archives/gc/
>


More information about the Gc mailing list