linux-kselftest.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* PROBLEM: error due to conflicting types during build of kselftests
@ 2018-04-20 18:03 jeffrin
  2018-04-20 18:03 ` Jeffrin Thalakkottoor
  2018-04-27 23:38 ` rdunlap
  0 siblings, 2 replies; 10+ messages in thread
From: jeffrin @ 2018-04-20 18:03 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1163 bytes --]

hello,

the following is the error found...
-----------------------------------------------------------------------------------
protection_keys.c:421:5: error: conflicting types for ‘pkey_set’
 int pkey_set(int pkey, unsigned long rights, unsigned long flags)
     ^~~~~~~~
------------------------------------------------------------------------------------

to reproduce this error...
make -C tools/testing/selftests

Details about software:

Linux debian 4.17.0-rc1+ #1 SMP Thu Apr 19 18:59:45 IST 2018 x86_64 GNU/Linux

GNU Make             4.2.1
Binutils             2.30
Util-linux           2.31.1
Mount                2.31.1
Linux C Library      2.27
Dynamic linker (ldd) 2.27
readlink: missing operand
Try 'readlink --help' for more information.
Procps               3.3.14
Kbd                  2.0.4
Console-tools        2.0.4
Sh-utils             8.28
Udev                 238

-- 
software engineer
rajagiri school of engineering and technology
--
To unsubscribe from this list: send the line "unsubscribe linux-kselftest" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* PROBLEM: error due to conflicting types during build of kselftests
  2018-04-20 18:03 PROBLEM: error due to conflicting types during build of kselftests jeffrin
@ 2018-04-20 18:03 ` Jeffrin Thalakkottoor
  2018-04-27 23:38 ` rdunlap
  1 sibling, 0 replies; 10+ messages in thread
From: Jeffrin Thalakkottoor @ 2018-04-20 18:03 UTC (permalink / raw)


hello,

the following is the error found...
-----------------------------------------------------------------------------------
protection_keys.c:421:5: error: conflicting types for ‘pkey_set’
 int pkey_set(int pkey, unsigned long rights, unsigned long flags)
     ^~~~~~~~
------------------------------------------------------------------------------------

to reproduce this error...
make -C tools/testing/selftests

Details about software:

Linux debian 4.17.0-rc1+ #1 SMP Thu Apr 19 18:59:45 IST 2018 x86_64 GNU/Linux

GNU Make             4.2.1
Binutils             2.30
Util-linux           2.31.1
Mount                2.31.1
Linux C Library      2.27
Dynamic linker (ldd) 2.27
readlink: missing operand
Try 'readlink --help' for more information.
Procps               3.3.14
Kbd                  2.0.4
Console-tools        2.0.4
Sh-utils             8.28
Udev                 238

-- 
software engineer
rajagiri school of engineering and technology
--
To unsubscribe from this list: send the line "unsubscribe linux-kselftest" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* PROBLEM: error due to conflicting types during build of kselftests
  2018-04-20 18:03 PROBLEM: error due to conflicting types during build of kselftests jeffrin
  2018-04-20 18:03 ` Jeffrin Thalakkottoor
@ 2018-04-27 23:38 ` rdunlap
  2018-04-27 23:38   ` Randy Dunlap
  2018-04-28 21:42   ` jeffrin
  1 sibling, 2 replies; 10+ messages in thread
From: rdunlap @ 2018-04-27 23:38 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1295 bytes --]

On 04/20/2018 11:03 AM, Jeffrin Thalakkottoor wrote:
> hello,
> 
> the following is the error found...
> -----------------------------------------------------------------------------------
> protection_keys.c:421:5: error: conflicting types for ‘pkey_set’
>  int pkey_set(int pkey, unsigned long rights, unsigned long flags)
>      ^~~~~~~~
> ------------------------------------------------------------------------------------
> 
> to reproduce this error...
> make -C tools/testing/selftests

Hi,

I can't reproduce this problem.  What is your gcc --version?

Thanks.

> Details about software:
> 
> Linux debian 4.17.0-rc1+ #1 SMP Thu Apr 19 18:59:45 IST 2018 x86_64 GNU/Linux
> 
> GNU Make             4.2.1
> Binutils             2.30
> Util-linux           2.31.1
> Mount                2.31.1
> Linux C Library      2.27
> Dynamic linker (ldd) 2.27
> readlink: missing operand
> Try 'readlink --help' for more information.
> Procps               3.3.14
> Kbd                  2.0.4
> Console-tools        2.0.4
> Sh-utils             8.28
> Udev                 238
> 


-- 
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kselftest" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* PROBLEM: error due to conflicting types during build of kselftests
  2018-04-27 23:38 ` rdunlap
@ 2018-04-27 23:38   ` Randy Dunlap
  2018-04-28 21:42   ` jeffrin
  1 sibling, 0 replies; 10+ messages in thread
From: Randy Dunlap @ 2018-04-27 23:38 UTC (permalink / raw)


On 04/20/2018 11:03 AM, Jeffrin Thalakkottoor wrote:
> hello,
> 
> the following is the error found...
> -----------------------------------------------------------------------------------
> protection_keys.c:421:5: error: conflicting types for ‘pkey_set’
>  int pkey_set(int pkey, unsigned long rights, unsigned long flags)
>      ^~~~~~~~
> ------------------------------------------------------------------------------------
> 
> to reproduce this error...
> make -C tools/testing/selftests

Hi,

I can't reproduce this problem.  What is your gcc --version?

Thanks.

> Details about software:
> 
> Linux debian 4.17.0-rc1+ #1 SMP Thu Apr 19 18:59:45 IST 2018 x86_64 GNU/Linux
> 
> GNU Make             4.2.1
> Binutils             2.30
> Util-linux           2.31.1
> Mount                2.31.1
> Linux C Library      2.27
> Dynamic linker (ldd) 2.27
> readlink: missing operand
> Try 'readlink --help' for more information.
> Procps               3.3.14
> Kbd                  2.0.4
> Console-tools        2.0.4
> Sh-utils             8.28
> Udev                 238
> 


-- 
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kselftest" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* PROBLEM: error due to conflicting types during build of kselftests
  2018-04-27 23:38 ` rdunlap
  2018-04-27 23:38   ` Randy Dunlap
@ 2018-04-28 21:42   ` jeffrin
  2018-04-28 21:42     ` Jeffrin Thalakkottoor
  2018-04-28 21:54     ` rdunlap
  1 sibling, 2 replies; 10+ messages in thread
From: jeffrin @ 2018-04-28 21:42 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1606 bytes --]

anyway my current is gcc (Debian 7.3.0-16) 7.3.0

may be you can try ... make -C tools/testing/selftests 2> error.txt

On Sat, Apr 28, 2018 at 5:08 AM, Randy Dunlap <rdunlap at infradead.org> wrote:
> On 04/20/2018 11:03 AM, Jeffrin Thalakkottoor wrote:
>> hello,
>>
>> the following is the error found...
>> -----------------------------------------------------------------------------------
>> protection_keys.c:421:5: error: conflicting types for ‘pkey_set’
>>  int pkey_set(int pkey, unsigned long rights, unsigned long flags)
>>      ^~~~~~~~
>> ------------------------------------------------------------------------------------
>>
>> to reproduce this error...
>> make -C tools/testing/selftests
>
> Hi,
>
> I can't reproduce this problem.  What is your gcc --version?
>
> Thanks.
>
>> Details about software:
>>
>> Linux debian 4.17.0-rc1+ #1 SMP Thu Apr 19 18:59:45 IST 2018 x86_64 GNU/Linux
>>
>> GNU Make             4.2.1
>> Binutils             2.30
>> Util-linux           2.31.1
>> Mount                2.31.1
>> Linux C Library      2.27
>> Dynamic linker (ldd) 2.27
>> readlink: missing operand
>> Try 'readlink --help' for more information.
>> Procps               3.3.14
>> Kbd                  2.0.4
>> Console-tools        2.0.4
>> Sh-utils             8.28
>> Udev                 238
>>
>
>
> --
> ~Randy



-- 
software engineer
rajagiri school of engineering and technology
--
To unsubscribe from this list: send the line "unsubscribe linux-kselftest" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* PROBLEM: error due to conflicting types during build of kselftests
  2018-04-28 21:42   ` jeffrin
@ 2018-04-28 21:42     ` Jeffrin Thalakkottoor
  2018-04-28 21:54     ` rdunlap
  1 sibling, 0 replies; 10+ messages in thread
From: Jeffrin Thalakkottoor @ 2018-04-28 21:42 UTC (permalink / raw)


anyway my current is gcc (Debian 7.3.0-16) 7.3.0

may be you can try ... make -C tools/testing/selftests 2> error.txt

On Sat, Apr 28, 2018@5:08 AM, Randy Dunlap <rdunlap@infradead.org> wrote:
> On 04/20/2018 11:03 AM, Jeffrin Thalakkottoor wrote:
>> hello,
>>
>> the following is the error found...
>> -----------------------------------------------------------------------------------
>> protection_keys.c:421:5: error: conflicting types for ‘pkey_set’
>>  int pkey_set(int pkey, unsigned long rights, unsigned long flags)
>>      ^~~~~~~~
>> ------------------------------------------------------------------------------------
>>
>> to reproduce this error...
>> make -C tools/testing/selftests
>
> Hi,
>
> I can't reproduce this problem.  What is your gcc --version?
>
> Thanks.
>
>> Details about software:
>>
>> Linux debian 4.17.0-rc1+ #1 SMP Thu Apr 19 18:59:45 IST 2018 x86_64 GNU/Linux
>>
>> GNU Make             4.2.1
>> Binutils             2.30
>> Util-linux           2.31.1
>> Mount                2.31.1
>> Linux C Library      2.27
>> Dynamic linker (ldd) 2.27
>> readlink: missing operand
>> Try 'readlink --help' for more information.
>> Procps               3.3.14
>> Kbd                  2.0.4
>> Console-tools        2.0.4
>> Sh-utils             8.28
>> Udev                 238
>>
>
>
> --
> ~Randy



-- 
software engineer
rajagiri school of engineering and technology
--
To unsubscribe from this list: send the line "unsubscribe linux-kselftest" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* PROBLEM: error due to conflicting types during build of kselftests
  2018-04-28 21:42   ` jeffrin
  2018-04-28 21:42     ` Jeffrin Thalakkottoor
@ 2018-04-28 21:54     ` rdunlap
  2018-04-28 21:54       ` Randy Dunlap
  2018-05-08 15:46       ` rdunlap
  1 sibling, 2 replies; 10+ messages in thread
From: rdunlap @ 2018-04-28 21:54 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1680 bytes --]

On 04/28/2018 02:42 PM, Jeffrin Thalakkottoor wrote:
> anyway my current is gcc (Debian 7.3.0-16) 7.3.0
> 
> may be you can try ... make -C tools/testing/selftests 2> error.txt

I have a much older gcc, so newer must be better.  :)


> On Sat, Apr 28, 2018 at 5:08 AM, Randy Dunlap <rdunlap at infradead.org> wrote:
>> On 04/20/2018 11:03 AM, Jeffrin Thalakkottoor wrote:
>>> hello,
>>>
>>> the following is the error found...
>>> -----------------------------------------------------------------------------------
>>> protection_keys.c:421:5: error: conflicting types for ‘pkey_set’
>>>  int pkey_set(int pkey, unsigned long rights, unsigned long flags)
>>>      ^~~~~~~~
>>> ------------------------------------------------------------------------------------
>>>
>>> to reproduce this error...
>>> make -C tools/testing/selftests
>>
>> Hi,
>>
>> I can't reproduce this problem.  What is your gcc --version?
>>
>> Thanks.
>>
>>> Details about software:
>>>
>>> Linux debian 4.17.0-rc1+ #1 SMP Thu Apr 19 18:59:45 IST 2018 x86_64 GNU/Linux
>>>
>>> GNU Make             4.2.1
>>> Binutils             2.30
>>> Util-linux           2.31.1
>>> Mount                2.31.1
>>> Linux C Library      2.27
>>> Dynamic linker (ldd) 2.27
>>> readlink: missing operand
>>> Try 'readlink --help' for more information.
>>> Procps               3.3.14
>>> Kbd                  2.0.4
>>> Console-tools        2.0.4
>>> Sh-utils             8.28
>>> Udev                 238


-- 
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kselftest" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* PROBLEM: error due to conflicting types during build of kselftests
  2018-04-28 21:54     ` rdunlap
@ 2018-04-28 21:54       ` Randy Dunlap
  2018-05-08 15:46       ` rdunlap
  1 sibling, 0 replies; 10+ messages in thread
From: Randy Dunlap @ 2018-04-28 21:54 UTC (permalink / raw)


On 04/28/2018 02:42 PM, Jeffrin Thalakkottoor wrote:
> anyway my current is gcc (Debian 7.3.0-16) 7.3.0
> 
> may be you can try ... make -C tools/testing/selftests 2> error.txt

I have a much older gcc, so newer must be better.  :)


> On Sat, Apr 28, 2018@5:08 AM, Randy Dunlap <rdunlap@infradead.org> wrote:
>> On 04/20/2018 11:03 AM, Jeffrin Thalakkottoor wrote:
>>> hello,
>>>
>>> the following is the error found...
>>> -----------------------------------------------------------------------------------
>>> protection_keys.c:421:5: error: conflicting types for ‘pkey_set’
>>>  int pkey_set(int pkey, unsigned long rights, unsigned long flags)
>>>      ^~~~~~~~
>>> ------------------------------------------------------------------------------------
>>>
>>> to reproduce this error...
>>> make -C tools/testing/selftests
>>
>> Hi,
>>
>> I can't reproduce this problem.  What is your gcc --version?
>>
>> Thanks.
>>
>>> Details about software:
>>>
>>> Linux debian 4.17.0-rc1+ #1 SMP Thu Apr 19 18:59:45 IST 2018 x86_64 GNU/Linux
>>>
>>> GNU Make             4.2.1
>>> Binutils             2.30
>>> Util-linux           2.31.1
>>> Mount                2.31.1
>>> Linux C Library      2.27
>>> Dynamic linker (ldd) 2.27
>>> readlink: missing operand
>>> Try 'readlink --help' for more information.
>>> Procps               3.3.14
>>> Kbd                  2.0.4
>>> Console-tools        2.0.4
>>> Sh-utils             8.28
>>> Udev                 238


-- 
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kselftest" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* PROBLEM: error due to conflicting types during build of kselftests
  2018-04-28 21:54     ` rdunlap
  2018-04-28 21:54       ` Randy Dunlap
@ 2018-05-08 15:46       ` rdunlap
  2018-05-08 15:46         ` Randy Dunlap
  1 sibling, 1 reply; 10+ messages in thread
From: rdunlap @ 2018-05-08 15:46 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1906 bytes --]

On 04/28/2018 02:54 PM, Randy Dunlap wrote:
> On 04/28/2018 02:42 PM, Jeffrin Thalakkottoor wrote:
>> anyway my current is gcc (Debian 7.3.0-16) 7.3.0
>>
>> may be you can try ... make -C tools/testing/selftests 2> error.txt
> 
> I have a much older gcc, so newer must be better.  :)
> 

This patch (just posted) should fix the error that you are seeing:

https://marc.info/?l=linux-kernel&m=152577091622065&w=2


> 
>> On Sat, Apr 28, 2018 at 5:08 AM, Randy Dunlap <rdunlap at infradead.org> wrote:
>>> On 04/20/2018 11:03 AM, Jeffrin Thalakkottoor wrote:
>>>> hello,
>>>>
>>>> the following is the error found...
>>>> -----------------------------------------------------------------------------------
>>>> protection_keys.c:421:5: error: conflicting types for ‘pkey_set’
>>>>  int pkey_set(int pkey, unsigned long rights, unsigned long flags)
>>>>      ^~~~~~~~
>>>> ------------------------------------------------------------------------------------
>>>>
>>>> to reproduce this error...
>>>> make -C tools/testing/selftests
>>>
>>> Hi,
>>>
>>> I can't reproduce this problem.  What is your gcc --version?
>>>
>>> Thanks.
>>>
>>>> Details about software:
>>>>
>>>> Linux debian 4.17.0-rc1+ #1 SMP Thu Apr 19 18:59:45 IST 2018 x86_64 GNU/Linux
>>>>
>>>> GNU Make             4.2.1
>>>> Binutils             2.30
>>>> Util-linux           2.31.1
>>>> Mount                2.31.1
>>>> Linux C Library      2.27
>>>> Dynamic linker (ldd) 2.27
>>>> readlink: missing operand
>>>> Try 'readlink --help' for more information.
>>>> Procps               3.3.14
>>>> Kbd                  2.0.4
>>>> Console-tools        2.0.4
>>>> Sh-utils             8.28
>>>> Udev                 238
> 
> 


-- 
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kselftest" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* PROBLEM: error due to conflicting types during build of kselftests
  2018-05-08 15:46       ` rdunlap
@ 2018-05-08 15:46         ` Randy Dunlap
  0 siblings, 0 replies; 10+ messages in thread
From: Randy Dunlap @ 2018-05-08 15:46 UTC (permalink / raw)


On 04/28/2018 02:54 PM, Randy Dunlap wrote:
> On 04/28/2018 02:42 PM, Jeffrin Thalakkottoor wrote:
>> anyway my current is gcc (Debian 7.3.0-16) 7.3.0
>>
>> may be you can try ... make -C tools/testing/selftests 2> error.txt
> 
> I have a much older gcc, so newer must be better.  :)
> 

This patch (just posted) should fix the error that you are seeing:

https://marc.info/?l=linux-kernel&m=152577091622065&w=2


> 
>> On Sat, Apr 28, 2018@5:08 AM, Randy Dunlap <rdunlap@infradead.org> wrote:
>>> On 04/20/2018 11:03 AM, Jeffrin Thalakkottoor wrote:
>>>> hello,
>>>>
>>>> the following is the error found...
>>>> -----------------------------------------------------------------------------------
>>>> protection_keys.c:421:5: error: conflicting types for ‘pkey_set’
>>>>  int pkey_set(int pkey, unsigned long rights, unsigned long flags)
>>>>      ^~~~~~~~
>>>> ------------------------------------------------------------------------------------
>>>>
>>>> to reproduce this error...
>>>> make -C tools/testing/selftests
>>>
>>> Hi,
>>>
>>> I can't reproduce this problem.  What is your gcc --version?
>>>
>>> Thanks.
>>>
>>>> Details about software:
>>>>
>>>> Linux debian 4.17.0-rc1+ #1 SMP Thu Apr 19 18:59:45 IST 2018 x86_64 GNU/Linux
>>>>
>>>> GNU Make             4.2.1
>>>> Binutils             2.30
>>>> Util-linux           2.31.1
>>>> Mount                2.31.1
>>>> Linux C Library      2.27
>>>> Dynamic linker (ldd) 2.27
>>>> readlink: missing operand
>>>> Try 'readlink --help' for more information.
>>>> Procps               3.3.14
>>>> Kbd                  2.0.4
>>>> Console-tools        2.0.4
>>>> Sh-utils             8.28
>>>> Udev                 238
> 
> 


-- 
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kselftest" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2018-05-08 15:46 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-20 18:03 PROBLEM: error due to conflicting types during build of kselftests jeffrin
2018-04-20 18:03 ` Jeffrin Thalakkottoor
2018-04-27 23:38 ` rdunlap
2018-04-27 23:38   ` Randy Dunlap
2018-04-28 21:42   ` jeffrin
2018-04-28 21:42     ` Jeffrin Thalakkottoor
2018-04-28 21:54     ` rdunlap
2018-04-28 21:54       ` Randy Dunlap
2018-05-08 15:46       ` rdunlap
2018-05-08 15:46         ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).