Check-in [f923507a5d]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Updated to support patching glibc
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: f923507a5d7d06e4d2afda9ac9774b7a347fd48d
User & Date: rkeene 2018-02-18 22:58:27
Context
2018-02-18
22:59
Allow different kernel architectures to be specified check-in: ad02e80707 user: rkeene tags: trunk
22:58
Updated to support patching glibc check-in: f923507a5d user: rkeene tags: trunk
2018-02-16
15:47
Upgraded several toolchain components check-in: f4a1af2158 user: rkeene tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to scripts/post/02-glibc.

70
71
72
73
74
75
76
















77
78
79
80
81
82
83
	gzip -dc "${GLIBC_TARBALL}" | tar -xf -
fi

if [ ! -d "${GLIBC_PORTS_DIR}" ]; then
	download "${GLIBC_PORTS_URL}" "${GLIBC_PORTS_TARBALL}" "${GLIBC_PORTS_TARBALL_SHA256}" || exit 1

	gzip -dc "${GLIBC_PORTS_TARBALL}" | tar -xf -
















fi

# Ensure that a stdio.h exists, even if it is blank for autoconf scripts
touch "${PREFIX}/include/stdio.h"

CC_SAVE="${CC}"
rebuild_binutils_needed='0'







>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>







70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
	gzip -dc "${GLIBC_TARBALL}" | tar -xf -
fi

if [ ! -d "${GLIBC_PORTS_DIR}" ]; then
	download "${GLIBC_PORTS_URL}" "${GLIBC_PORTS_TARBALL}" "${GLIBC_PORTS_TARBALL_SHA256}" || exit 1

	gzip -dc "${GLIBC_PORTS_TARBALL}" | tar -xf -

	# Apply patches for glibc (only once both packages have been extracted)
	for patch in patches/glibc/*.diff; do
		if [ ! -f "${patch}" ]; then
			continue
		fi

		echo " ** Applying patches to glibc (version ${GLIBC_VERS})"
		echo "     ${patch}"

		cat "${patch}" | (
			cd "${GLIBC_DIR}" || exit 1

			patch -p1
		) || rm -rf "${GLIBC_DIR}"
	done
fi

# Ensure that a stdio.h exists, even if it is blank for autoconf scripts
touch "${PREFIX}/include/stdio.h"

CC_SAVE="${CC}"
rebuild_binutils_needed='0'