From: Adrian Bunk <bunk@kernel.org>
To: David Miller <davem@davemloft.net>
Cc: a.beregalov@gmail.com, sparclinux@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: sparc64: build failure at sys_sparc32.c
Date: Mon, 4 Aug 2008 17:05:32 +0300 [thread overview]
Message-ID: <20080804140532.GI6088@cs181140183.pp.htv.fi> (raw)
In-Reply-To: <20080803.181934.262275514.davem@davemloft.net>
On Sun, Aug 03, 2008 at 06:19:34PM -0700, David Miller wrote:
> From: "Alexander Beregalov" <a.beregalov@gmail.com>
> Date: Tue, 29 Jul 2008 12:38:38 +0400
>
> > 2008/7/29 David Miller <davem@davemloft.net>:
> > > From: Alexander Beregalov <a.beregalov@gmail.com>
> > > Date: Tue, 29 Jul 2008 10:59:14 +0400
> > >
> > >> I am testing build using randconfig.
> > >>
> > >> arch/sparc64/kernel/sys_sparc32.c: In function 'sys32_chown16':
> > >> arch/sparc64/kernel/sys_sparc32.c:63: error: implicit declaration of
> > >> function 'low2highuid'
> > >> arch/sparc64/kernel/sys_sparc32.c:63: error: implicit declaration of
> > >> function 'low2highgid'
> > >> arch/sparc64/kernel/sys_sparc32.c: In function 'sys32_getresuid16':
> > >> arch/sparc64/kernel/sys_sparc32.c:106: error: implicit declaration of
> > >> function 'high2lowuid'
> > >> arch/sparc64/kernel/sys_sparc32.c: In function 'sys32_getresgid16':
> > >> arch/sparc64/kernel/sys_sparc32.c:123: error: implicit declaration of
> > >> function 'high2lowgid'
> > >>
> > >> These functions are defined in linux/highuid.h only if CONFIG_UID16 is enabled.
> > >
> > > Thanks, what kernel version is this?
> >
> > It is current by default - .27-rc1. These files were not touched for a
> > long time.
> > But, OK, I will mention the kernel version every time.
>
> This is basically setup to fail.
>
> If SPARC64 && COMPAT this option should always be set. But it's
> left as an option the user can still disable in this case down
> in init/Kconfig.
>
> This can be triggered very likely on other platforms too.
>
> Can someone take a look at fixing this properly? Make it something
> that is selected on necessary platforms, for example.
The only platforms that do their own stuff instead of using the
functions from kernel/uid16.c are sparc64 and s390.
Is there any reason why sparc64 has it's own functions?
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
next prev parent reply other threads:[~2008-08-04 14:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-29 6:59 Alexander Beregalov
2008-07-29 7:12 ` David Miller
2008-07-29 8:38 ` Alexander Beregalov
2008-08-04 1:19 ` David Miller
2008-08-04 14:05 ` Adrian Bunk [this message]
2008-08-07 5:53 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080804140532.GI6088@cs181140183.pp.htv.fi \
--to=bunk@kernel.org \
--cc=a.beregalov@gmail.com \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=sparclinux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®