Add two new patches to glibc-2.7 to make it build for Alpha.
Patches propagated to me from the net by Ioannis E. VENETIS.
/trunk/patches/glibc/2.7/230-glibc-2.7-alpha-atfcts.patch | 12 12 0 0 ++
/trunk/patches/glibc/2.7/240-glibc-2.7-alpha-ptr_mangle.patch | 94 94 0 0 +++++++++++++++++
2 files changed, 106 insertions(+)
1 # Build script for libelf
3 is_enabled="${CT_LIBELF}"
6 [ "{CT_LIBELF}" = "y" ] || return 0
7 echo "libelf-${CT_LIBELF_VERSION}"
10 do_tools_libelf_get() {
11 # The server hosting libelf will return an "HTTP 300 : Multiple Choices"
12 # error code if we try to download a file that does not exists there.
13 # So we have to request the file with an explicit extension.
14 CT_GetFile "libelf-${CT_LIBELF_VERSION}" .tar.gz http://www.mr511.de/software/
17 do_tools_libelf_extract() {
18 CT_ExtractAndPatch "libelf-${CT_LIBELF_VERSION}"
21 do_tools_libelf_build() {
22 CT_DoStep INFO "Installing libelf"
23 mkdir -p "${CT_BUILD_DIR}/build-libelf"
24 CT_Pushd "${CT_BUILD_DIR}/build-libelf"
26 CT_DoLog EXTRA "Configuring libelf"
27 CC="${CT_TARGET}-gcc" \
29 "${CT_SRC_DIR}/libelf-${CT_LIBELF_VERSION}/configure" \
32 --target=${CT_TARGET} \
37 --enable-extended-format \
40 CT_DoLog EXTRA "Building libelf"
43 CT_DoLog EXTRA "Installing libelf"
44 CT_DoExecLog ALL make instroot="${CT_SYSROOT_DIR}" install