From: Rolf Eike Beer <eb@emlix.com>
To: Peter Zijlstra <peterz@infradead.org>,
Ingo Molnar <mingo@redhat.com>,
Arnaldo Carvalho de Melo <acme@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Alexander Shishkin <alexander.shishkin@linux.intel.com>,
Jiri Olsa <jolsa@kernel.org>, Namhyung Kim <namhyung@kernel.org>
Cc: linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: perf patches needed for 4.19 stable
Date: Tue, 13 Sep 2022 09:17:55 +0200 [thread overview]
Message-ID: <4425509.LvFx2qVVIh@mobilepool36.emlix.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1742 bytes --]
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
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 313 bytes --]
reply other threads:[~2022-09-13 7:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4425509.LvFx2qVVIh@mobilepool36.emlix.com \
--to=eb@emlix.com \
--cc=acme@kernel.org \
--cc=alexander.shishkin@linux.intel.com \
--cc=jolsa@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=mingo@redhat.com \
--cc=namhyung@kernel.org \
--cc=peterz@infradead.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®