Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 424728 Details for
Bug 427352
=dev-libs/klibc-1.5.25 fails to build with clang-3.1-r4
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for klibc-2.0.4 to compile with 4.4.1 kernel sources.
klibc_ebuild_KV_4.4.1.patch (text/plain), 1.78 KB, created by
Fabio Scaccabarozzi
on 2016-02-06 12:38:26 UTC
(
hide
)
Description:
Patch for klibc-2.0.4 to compile with 4.4.1 kernel sources.
Filename:
MIME Type:
Creator:
Fabio Scaccabarozzi
Created:
2016-02-06 12:38:26 UTC
Size:
1.78 KB
patch
obsolete
>--- klibc-2.0.4.ebuild 2015-08-09 22:34:50.000000000 +0200 >+++ /root/klibc-2.0.4.ebuild 2016-02-06 13:29:31.943455809 +0100 >@@ -23,31 +23,16 @@ > > DESCRIPTION="A minimal libc subset for use with initramfs" > HOMEPAGE="http://www.zytor.com/mailman/listinfo/klibc/ https://www.kernel.org/pub/linux/libs/klibc/" >-KV_MAJOR="3" KV_MINOR="x" KV_SUB="12" >-PKV_EXTRA="" >-if [[ ${PKV_EXTRA} ]]; then >- if [[ ${KV_MAJOR} == 2 ]]; then >- PKV="${KV_MAJOR}.${KV_MINOR}.$((${KV_SUB}+1))-${PKV_EXTRA}" >- else >- PKV="${KV_MAJOR}.$((${KV_SUB}+1))-${PKV_EXTRA}" >- fi >- PATCH_URI="mirror://kernel/linux/kernel/v${KV_MAJOR}.${KV_MINOR}/patch-${PKV}.${K_TARBALL_SUFFIX}" >-fi >-if [[ ${KV_MAJOR} == 2 ]]; then >- OKV="${KV_MAJOR}.${KV_MINOR}.${KV_SUB}" >-else >- OKV="${KV_MAJOR}.${KV_SUB}" >-fi >+KV_MAJOR="4" KV_MINOR="4" KV_SUB="1" >+OKV="${KV_MAJOR}.${KV_MINOR}.${KV_SUB}" > KERNEL_URI=" >- mirror://kernel/linux/kernel/v${KV_MAJOR}.${KV_MINOR}/linux-${OKV}.tar.${K_TARBALL_SUFFIX} >- mirror://kernel/linux/kernel/v${KV_MAJOR}.${KV_MINOR}/testing/linux-${OKV}.tar.${K_TARBALL_SUFFIX}" >+ mirror://kernel/linux/kernel/v${KV_MAJOR}.x/linux-${OKV}.tar.${K_TARBALL_SUFFIX}" > DEBIAN_PV=2.0.2 > DEBIAN_PR=1 > DEBIAN_A="${PN}_${DEBIAN_PV}-${DEBIAN_PR}.debian.tar.gz" > SRC_URI=" > mirror://kernel/linux/libs/klibc/${PV:0:3}/${P}.tar.${K_TARBALL_SUFFIX} > mirror://debian/pool/main/k/klibc/${DEBIAN_A} >- ${PATCH_URI} > ${KERNEL_URI}" > > LICENSE="|| ( GPL-2 LGPL-2 )" >@@ -154,6 +139,11 @@ > unset ABI ARCH # Unset these, because they interfere > unset KBUILD_OUTPUT # we are using a private copy > >+ if [[ "${CC}" == "clang" ]]; then >+ export KCFLAGS="-fno-integrated-as" >+ fi >+ >+ echo "${KCFLAGS}" > cd "${KS}" > emake ${defconfig} CC="${CC}" HOSTCC="${HOSTCC}" ARCH="${KLIBCASMARCH}" || die "No defconfig" > if [[ "${KLIBCARCH/arm}" != "${KLIBCARCH}" ]] && \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 427352
:
318748
| 424728 |
424730