fpu vs soft-fpu

Jack Howarth howarth@bromo.msbb.uc.edu
Fri Oct 18 18:01:00 GMT 2002


Roland,
    It seems that all those files have a right to be in
the math/Makefile for libm-support. However they are normally
built from the copies in sysdeps/powerpc/fpu. However I notice
that the config.make created ends up with...

config-sysdirs =  sysdeps/powerpc/powerpc32/elf sysdeps/powerpc/elf linuxthreads/sysdeps/unix/sysv/linux linuxthreads/sysdeps/pthread sysdeps/pthread linuxthreads/sysdeps/unix/sysv linuxthreads/sysdeps/unix linuxthreads/sysdeps/powerpc/powerpc32 linuxthreads/sysdeps/powerpc sysdeps/unix/sysv/linux/powerpc/powerpc32 sysdeps/unix/sysv/linux/powerpc sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix/powerpc
sysdeps/unix sysdeps/posix sysdeps/powerpc/powerpc32/fpu sysdeps/powerpc/powerpc32 sysdeps/wordsize-32 sysdeps/powerpc/soft-fp sysdeps/powerpc/fpu sysdeps/powerpc sysdeps/ieee754/flt-32 sysdeps/ieee754/dbl-64 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic

which places sysdeps/powerpc/soft-fp before sysdeps/powerpc/fpu. I am
puzzled how this is supposed to work. If you have a math/Makefile
with libm-support set to source files that exist in both
sysdeps/powerpc/soft-fp and sysdeps/powerpc/fpu...and both of those
directories exist in config.make on config-sysdirs who wins? The first
directory which contains the desired source file? It must not be building
both copies in fpu and soft-fp or else I would see symbol conflicts.
Confusing.
                           Jack



More information about the Libc-alpha mailing list