lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Tue, 8 May 2018 08:46:51 -0700
From:   Randy Dunlap <rdunlap@...radead.org>
To:     Jeffrin Thalakkottoor <jeffrin@...agiritech.edu.in>
Cc:     lkml <linux-kernel@...r.kernel.org>,
        linux-kselftest@...r.kernel.org
Subject: Re: PROBLEM: error due to conflicting types during build of
 kselftests

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@...radead.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ