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

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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

testandset on powerpc



On PPC I get now when building nscd:
/usr/src/packages/BUILD/glibc-2.2/cc/linuxthreads/libpthread.so: undefined reference to `testandset'
collect2: ld returned 1 exit status

$ nm linuxthreads/libpthread.so |grep testandset
         U testandset

Is this a problem of too old tools/gcc?  Or should the appended patch
(at least partially) be reverted?

1998-08-22  Geoff Keating  <geoffk@ozemail.com.au>

	* sysdeps/powerpc/pt-machine.h: Remove testandset, it's not used
	and wastes space; correct types.

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.rhein-neckar.de

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