This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

2003-09-27 malloc changes...


The recent malloc changes are broken on GNU/Hurd.  I'm not sure what
tsd_key_t, tsd_getspecific(), tsd_setspecific() and tsd_key_create()
should be defined to, so if someone could give me a hint then that
would be nice.

By the way, did someone forget to commit
sysdeps/pthread/malloc-machine.h?  It is noted in the ChangeLog, but
it ain't there.

i386-unknown-gnu0.3-gcc malloc.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -g -Wno-parentheses -mpreferred-stack-boundary=2     -I../include -I. -I/share/cross/cvs/libc/malloc -I.. -I../libio -I../hurd -I/share/cross/cvs/libc/hurd/ -I../mach -I/share/cross/cvs/libc/mach/ -I/share/cross/cvs/libc -I../sysdeps/i386/elf -I../sysdeps/mach/hurd/i386 -I../sysdeps/mach/hurd -I../sysdeps/gnu -I../sysdeps/unix/bsd/bsd4.4 -I../sysdeps/unix/mman -I../sysdeps/mach/i386 -I../sysdeps/mach -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/unix/bsd -I../sysdeps/unix/common -I../sysdeps/unix/inet -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic  -D_LIBC_REENTRANT -include ../include/libc-symbols.h       -o /share/cross/cvs/libc/malloc/malloc.o -MD -MP -MF /share/cross/cvs/libc/malloc/malloc.o.dt
In file included from malloc.c:2319:
arena.c:63: parse error before "arena_key"
arena.c:63: warning: type defaults to `int' in declaration of `arena_key'
arena.c:63: warning: data definition has no type or storage class
arena.c: In function `malloc_atfork':
arena.c:162: warning: implicit declaration of function `tsd_getspecific'
In file included from malloc.c:2319:
arena.c: In function `ptmalloc_lock_all':
arena.c:237: warning: implicit declaration of function `tsd_setspecific'
In file included from malloc.c:2319:
arena.c: In function `ptmalloc_init':
arena.c:424: warning: implicit declaration of function `tsd_key_create'
In file included from malloc.c:2319:
arena.c: At top level:
arena.c:508: warning: `used' attribute ignored
arena.c:508: warning: `used' attribute ignored
arena.c:508: warning: `used' attribute ignored

Cheers.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]