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]

Re: still building soft-fp on ppclinux


Aldy,
    Read...

http://sources.redhat.com/ml/libc-alpha/2002-10/msg00376.html
http://sources.redhat.com/ml/libc-alpha/2002-10/msg00379.html
http://sources.redhat.com/ml/libc-alpha/2002-10/msg00381.html

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

__sim_round_mode
__sim_disabled_exceptions
__sim_exceptions

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	\
	       fegetexcept

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.
                              Jack



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