This is the mail archive of the
mailing list for the glibc project.
Re: still building soft-fp on ppclinux
- From: Jack Howarth <howarth at bromo dot msbb dot uc dot edu>
- To: Aldy Hernandez <aldyh at redhat dot com>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Sat, 19 Oct 2002 14:06:50 -0400 (EDT)
- Subject: Re: still building soft-fp on ppclinux
- References: <200210182344.TAA78057@bromo.msbb.uc.edu>
It seems clear that the problem is that you have duplicate
files in both sysdeps/powerpc/fpu and sysdeps/powerpc/soft-fp
but the current setup always favors the ones in later because
of the ordering of the directories on config-sysdirs in
config.make. This results in the wrong set of files being built
on a G4 with the resulting undefined symbols for
It seems there are only two solutions. One would be to
hack things to cause the ordering of sysdeps/powerpc/fpu and
sysdeps/powerpc/soft-fp in the config-sysdirs enviromental of
config.make to be reversed depending on which build was needed
so that the right files are found first. The second approach
would be to collapse all the common files from...
libm-support = k_standard s_lib_version s_matherr s_signgam \
fclrexcpt fgetexcptflg fraiseexcpt fsetexcptflg \
ftestexcept fegetround fesetround fegetenv feholdexcpt \
fesetenv feupdateenv t_exp fedisblxcpt feenablxcpt \
into a single set of files with ifdefs to select between the code
differences (based on the completely_soft environmental for control).
That may be the cleaner solution perhaps.