Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100080 - linux-headers-2.6.11-r2 requires a patch for sh arch
Summary: linux-headers-2.6.11-r2 requires a patch for sh arch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: sh Linux
: High enhancement (vote)
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-23 18:45 UTC by MATSUU Takuto (RETIRED)
Modified: 2005-07-28 15:05 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
linux-2.6.11-sh-headers.patch (linux-2.6.11-sh-headers.patch,1.36 KB, patch)
2005-07-23 18:46 UTC, MATSUU Takuto (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description MATSUU Takuto (RETIRED) gentoo-dev 2005-07-23 18:45:01 UTC
We need the below patch to compile properly, please include in linux-headers

Reproducible: Always
Steps to Reproduce:
emerge gpm
emerge kbd


# emerge info
Portage 2.0.51.22-r2 (default-linux/sh, gcc-3.4.3, glibc-2.3.4.20041102-r2,
2.6.12-sh sh4)
=================================================================
System uname: 2.6.12-sh sh4
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="sh"
AUTOCLEAN="yes"
CBUILD="sh4-unknown-linux-gnu"
CFLAGS="-O2"
CHOST="sh4-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="sh acl berkdb bitmap-fonts crypt fortran gdbm gpm guile ipv6 ncurses nls
pam perl png python readline ruby ssl tcpd truetype-fonts type1-fonts zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 MATSUU Takuto (RETIRED) gentoo-dev 2005-07-23 18:46:02 UTC
Created attachment 64168 [details, diff]
linux-2.6.11-sh-headers.patch
Comment 2 SpanKY gentoo-dev 2005-07-24 02:06:00 UTC
the ANSI change we use in asm/types.h for other arches should be ok for sh too
rather than the 2nd hunk in the patch
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2005-07-24 10:21:18 UTC
Same comment here -- try doing what we do for other arches for types.h (you'll
still need to do the __extension__ hunk as you have it) but the __s64 typedef
should remain in a #ifdef __GNUC__. If that works let us know and we'll get this
added in.
Comment 4 MATSUU Takuto (RETIRED) gentoo-dev 2005-07-25 05:46:42 UTC
all right. We only need to remove "&& !defined(__STRICT_ANSI__)" instead of 2nd
hunk. Please add for asm-sh too.
Comment 5 Tim Yamin (RETIRED) gentoo-dev 2005-07-28 15:05:39 UTC
Fixed in CVS, reopen if there are any issues. Thanks!