This is the mail archive of the libc-hacker@sourceware.cygnus.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]

Updated status report.



With the four huge patches I just sent Ulrich, the PPC port, when
compiled with extremely current egcs and

CFLAGS-condvar.os = -O0
CFLAGS-semaphore.os = -O0
CFLAGS-join.os = -O0

in configparms, and linux headers that say

#define UTS_RELEASE "2.1.111"
#define LINUX_VERSION_CODE 131439

when running on my MkLinux system:

- passes 'make check' with failures only in the math functions;
- seems to work in my running system (lots of annoying warnings about
  sys_errlist changing size, though).

However, profiling executables only works if you set LD_BIND_NOW
(perhaps not even then), and shared library profiling doesn't seem to
work at all.

The math function failures are:

testing float (without inline functions)
Fail: exp10 (3) == 1000
Fail: exp10 (-1) == 0.1
Fail: exp10 (0.7) == 5.0118723...
Fail: imag(csqrt(0.7 + i 1.2)) == 0.58704...

testing double (without inline functions)
Fail: exp10 (3) == 1000
Fail: exp10 (-1) == 0.1

and identical failures when inline functions are used.  They are not
serious.

I wouldn't go out and try to compile it right now, it may take a few
iterations before the large patches I sent get integrated properly.

The ChangeLog entries are:

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

        * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
        * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
        * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
        getresuid, getresgid.

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

        * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
        dl-machine.h.
        * sysdeps/powerpc/dl-machine.c: New file.
        * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
        files.  Revise ELF_PREFERRED_ADDRESS to take account of
        the new mapping information (fixes bug involving huge bloated
        web browser).  Set ELF_MACHINE_PLTREL_OVERLAP.
        * sysdeps/powerpc/dl-start.S: New file.

        * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
        l_map_end.
        * elf/do-rel.h: Call elf_machine_rel only once (to save space).
        * elf/dynamic-link.h [ELF_MACHINE_PLTREL_OVERLAP]: Allow
        PLT relocs to be in the middle of the others.  Call
        elf_dynamic_do_##reloc only once (to save even more space).
        * elf/link.h: Add new members l_map_start and l_map_end to keep
        track of the memory map.
        * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
        the executable.

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

        * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs.  Set up stack
        pointer in userland.

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.

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

        * sysdeps/unix/sysv/linux/powerpc/segfault.c: New file.
        * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
        * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Delete.
        * sysdeps/generic/profil-counter.h: Use sigcontextinfo.h.

-- 
Geoffrey Keating <geoffk@ozemail.com.au>


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