tags 558996 + patch thanks * dann frazier <da...@debian.org>, 2009-11-30, 19:50:
gcc -DPACKAGE_NAME=\"gc\" -DPACKAGE_TARNAME=\"gc\" -DPACKAGE_VERSION=\"7.0\" "-DPACKAGE_STRING=\"gc 7.0\"" -DPACKAGE_BUGREPORT=\"hans.bo...@hp.com\" -DGC_VERSION_MAJOR=7 -DGC_VERSION_MINOR=0 -DPACKAGE=\"gc\" -DVERSION=\"7.0\" -DGC_LINUX_THREADS=1 -D_REENTRANT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 -DGC_GCJ_SUPPORT=1 -DJAVA_FINALIZATION=1 -DATOMIC_UNCOLLECTABLE=1 -I/build/buildd-synopsis_0.12-4-hppa-ohi6aq/synopsis-0.12/src/Synopsis/gc/include -fexceptions -I /build/buildd-synopsis_0.12-4-hppa-ohi6aq/synopsis-0.12/src/Synopsis/gc/libatomic_ops/src -g -O2 -fPIC -MT pthread_support.lo -MD -MP -MF .deps/pthread_support.Tpo -c /build/buildd-synopsis_0.12-4-hppa-ohi6aq/synopsis-0.12/src/Synopsis/gc/pthread_support.c -fPIC -DPIC -o .libs/pthread_support.o /build/buildd-synopsis_0.12-4-hppa-ohi6aq/synopsis-0.12/src/Synopsis/gc/pthread_support.c:1300: error: invalid initializer
The attached patch fixes this bug. -- Jakub Wilk
--- synopsis-0.12.orig/src/Synopsis/gc/pthread_support.c +++ synopsis-0.12/src/Synopsis/gc/pthread_support.c @@ -1297,7 +1297,7 @@ /* as STL alloc.h. This isn't really the right way to do this. */ /* but until the POSIX scheduling mess gets straightened out ... */ -volatile AO_TS_t GC_allocate_lock = 0; +volatile AO_TS_t GC_allocate_lock = AO_TS_INITIALIZER; void GC_lock(void)
signature.asc
Description: Digital signature