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>] [day] [month] [year] [list]
Date:   Tue, 13 Sep 2022 09:17:55 +0200
From:   Rolf Eike Beer <eb@...ix.com>
To:     Peter Zijlstra <peterz@...radead.org>,
        Ingo Molnar <mingo@...hat.com>,
        Arnaldo Carvalho de Melo <acme@...nel.org>,
        Mark Rutland <mark.rutland@....com>,
        Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
        Jiri Olsa <jolsa@...nel.org>,
        Namhyung Kim <namhyung@...nel.org>
Cc:     linux-perf-users@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: perf patches needed for 4.19 stable

Greetings,

I had to compile perf for a 4.19 kernel with gcc 10.4 and glibc 2.36. It 
failed because some patches seem to be missing there.

I have identified these 2 at least:

ebcb9464a2ae3a547e97de476575c82ece0e93e2
perf env: Do not return pointers to local variables

d08c84e01afa7a7eee6badab25d5420fa847f783
perf sched: Cast PTHREAD_STACK_MIN to int as it may turn into 
sysconf(__SC_THREAD_STACK_MIN_VALUE)

The former was introduced in 5.7, the latter in 5.14, so backports to 5.4 and 
5.10 may also be missing.

At the end the build still has failed because of this:

In file included from /opt/emlix/master/sysroot/usr/include/stdio.h:906,
                 from /tmp/e2/build/linux-4.19.254/tools/lib/traceevent/event-
parse.h:25,
                 from util/session.c:5:
In function 'printf',
    inlined from 'regs_dump__printf' at util/session.c:968:3,
    inlined from 'regs__printf' at util/session.c:996:2:
/opt/emlix/master/sysroot/usr/include/bits/stdio2.h:86:10: warning: '%-5s' 
directive argument is null [-Wformat-overflow=]
   86 |   return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack 
());

I was not able to identify a patch for that, so I went with WERROR=0, but 
maybe someone knows how to get that fixed as well.

If you agree that these should be added to stable please either send them 
there or tell me to do so.

Regards,

Eike
-- 
Rolf Eike Beer, emlix GmbH, https://www.emlix.com
Fon +49 551 30664-0, Fax +49 551 30664-11
Gothaer Platz 3, 37083 Göttingen, Germany
Sitz der Gesellschaft: Göttingen, Amtsgericht Göttingen HR B 3160
Geschäftsführung: Heike Jordan, Dr. Uwe Kracke – Ust-IdNr.: DE 205 198 055

emlix - smart embedded open source
Download attachment "signature.asc" of type "application/pgp-signature" (314 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ