1 ----------------------------------------------------------
2 Notes on how to update libm based on Intel's libm releases
3 ----------------------------------------------------------
5 This source code in this directory is currently based on Intel libm
6 v2.1 as available from:
8 http://www.intel.com/software/products/opensource/libraries/num.htm
10 To ease importing, fix some bugs, and simplify integration into libc,
11 it is also necessary to apply the patch at:
13 ftp://ftp.hpl.hp.com/pub/linux-ia64/intel-libm-041228.diff.gz
15 The expectation is that Intel will integrate most if not all of these
16 changes into future releases of libm, so this patching step can
17 hopefully be omitted in the future.
19 Once the patched libm sources are extracted in a directory $LIBM, they
20 can be imported into the libc source tree at $LIBC with the following
23 $ cd $LIBC/src/sysdep/ia64/fpu
24 $ ./import_intel_libm $LIBM
26 This should produce a number of "Importing..." messages, without
29 At this point, you should be able to build glibc in the usual fashion.
30 We assume you do this in directory $OBJ. Once the build has
31 completed, run "make check" to verify that all (math) checks succeed.
32 If these checks succeed, you should also run the following commands to
33 verify that the new libm doesn't pollute the name-space and has proper
34 size-info for the data objects:
36 $ cd $LIBC/src/sysdep/ia64/fpu
37 $ import_check $OBJ/math/
39 There should be no (unexpected) errors reported by this script.
41 As an optional step, you may also want to confirm that the new libm
42 exports the exact same global symbols as the old one.
44 If you want to see the changes introduced by the "import_intel_libm"
45 script, you can run the commands:
47 $ cd $LIBC/src/sysdep/ia64/fpu