All of lore.kernel.org
 help / color / mirror / Atom feed
* sparc64: build failure at sys_sparc32.c
@ 2008-07-29  6:59 ` Alexander Beregalov
  0 siblings, 0 replies; 12+ messages in thread
From: Alexander Beregalov @ 2008-07-29  6:59 UTC (permalink / raw)
  To: davem, sparclinux, linux-kernel

Hi

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.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* sparc64: build failure at sys_sparc32.c
@ 2008-07-29  6:59 ` Alexander Beregalov
  0 siblings, 0 replies; 12+ messages in thread
From: Alexander Beregalov @ 2008-07-29  6:59 UTC (permalink / raw)
  To: davem, sparclinux, linux-kernel

Hi

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.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: sparc64: build failure at sys_sparc32.c
  2008-07-29  6:59 ` Alexander Beregalov
@ 2008-07-29  7:12   ` David Miller
  -1 siblings, 0 replies; 12+ messages in thread
From: David Miller @ 2008-07-29  7:12 UTC (permalink / raw)
  To: a.beregalov; +Cc: sparclinux, linux-kernel

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?

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: sparc64: build failure at sys_sparc32.c
@ 2008-07-29  7:12   ` David Miller
  0 siblings, 0 replies; 12+ messages in thread
From: David Miller @ 2008-07-29  7:12 UTC (permalink / raw)
  To: a.beregalov; +Cc: sparclinux, linux-kernel

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?

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: sparc64: build failure at sys_sparc32.c
  2008-07-29  7:12   ` David Miller
@ 2008-07-29  8:38     ` Alexander Beregalov
  -1 siblings, 0 replies; 12+ messages in thread
From: Alexander Beregalov @ 2008-07-29  8:38 UTC (permalink / raw)
  To: David Miller; +Cc: sparclinux, linux-kernel

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.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: sparc64: build failure at sys_sparc32.c
@ 2008-07-29  8:38     ` Alexander Beregalov
  0 siblings, 0 replies; 12+ messages in thread
From: Alexander Beregalov @ 2008-07-29  8:38 UTC (permalink / raw)
  To: David Miller; +Cc: sparclinux, linux-kernel

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.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: sparc64: build failure at sys_sparc32.c
  2008-07-29  8:38     ` Alexander Beregalov
@ 2008-08-04  1:19       ` David Miller
  -1 siblings, 0 replies; 12+ messages in thread
From: David Miller @ 2008-08-04  1:19 UTC (permalink / raw)
  To: a.beregalov; +Cc: sparclinux, linux-kernel

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.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: sparc64: build failure at sys_sparc32.c
@ 2008-08-04  1:19       ` David Miller
  0 siblings, 0 replies; 12+ messages in thread
From: David Miller @ 2008-08-04  1:19 UTC (permalink / raw)
  To: a.beregalov; +Cc: sparclinux, linux-kernel

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.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: sparc64: build failure at sys_sparc32.c
  2008-08-04  1:19       ` David Miller
@ 2008-08-04 14:05         ` Adrian Bunk
  -1 siblings, 0 replies; 12+ messages in thread
From: Adrian Bunk @ 2008-08-04 14:05 UTC (permalink / raw)
  To: David Miller; +Cc: a.beregalov, sparclinux, linux-kernel

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


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: sparc64: build failure at sys_sparc32.c
@ 2008-08-04 14:05         ` Adrian Bunk
  0 siblings, 0 replies; 12+ messages in thread
From: Adrian Bunk @ 2008-08-04 14:05 UTC (permalink / raw)
  To: David Miller; +Cc: a.beregalov, sparclinux, linux-kernel

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


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: sparc64: build failure at sys_sparc32.c
  2008-08-04 14:05         ` Adrian Bunk
@ 2008-08-07  5:53           ` David Miller
  -1 siblings, 0 replies; 12+ messages in thread
From: David Miller @ 2008-08-07  5:53 UTC (permalink / raw)
  To: bunk; +Cc: a.beregalov, sparclinux, linux-kernel

From: Adrian Bunk <bunk@kernel.org>
Date: Mon, 4 Aug 2008 17:05:32 +0300

> 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?

Thanks for pointing it out, I'll take advantage of those helper
routines.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: sparc64: build failure at sys_sparc32.c
@ 2008-08-07  5:53           ` David Miller
  0 siblings, 0 replies; 12+ messages in thread
From: David Miller @ 2008-08-07  5:53 UTC (permalink / raw)
  To: bunk; +Cc: a.beregalov, sparclinux, linux-kernel

From: Adrian Bunk <bunk@kernel.org>
Date: Mon, 4 Aug 2008 17:05:32 +0300

> 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?

Thanks for pointing it out, I'll take advantage of those helper
routines.

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2008-08-07  5:53 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-29  6:59 sparc64: build failure at sys_sparc32.c Alexander Beregalov
2008-07-29  6:59 ` Alexander Beregalov
2008-07-29  7:12 ` David Miller
2008-07-29  7:12   ` David Miller
2008-07-29  8:38   ` Alexander Beregalov
2008-07-29  8:38     ` Alexander Beregalov
2008-08-04  1:19     ` David Miller
2008-08-04  1:19       ` David Miller
2008-08-04 14:05       ` Adrian Bunk
2008-08-04 14:05         ` Adrian Bunk
2008-08-07  5:53         ` David Miller
2008-08-07  5:53           ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.