* [Bug libc/27300] GLIBC_TUNABLES=glibc.cpu.hwcaps=-IBT,-SHSTK not working
2021-01-31 23:34 [Bug libc/27300] New: GLIBC_TUNABLES=glibc.cpu.hwcaps=-IBT,-SHSTK not working honggyu.kp at gmail dot com
@ 2021-01-31 23:36 ` honggyu.kp at gmail dot com
2021-01-31 23:37 ` honggyu.kp at gmail dot com
` (11 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: honggyu.kp at gmail dot com @ 2021-01-31 23:36 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27300
Honggyu Kim <honggyu.kp at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hjl.tools at gmail dot com,
| |honggyu.kp at gmail dot com
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libc/27300] GLIBC_TUNABLES=glibc.cpu.hwcaps=-IBT,-SHSTK not working
2021-01-31 23:34 [Bug libc/27300] New: GLIBC_TUNABLES=glibc.cpu.hwcaps=-IBT,-SHSTK not working honggyu.kp at gmail dot com
2021-01-31 23:36 ` [Bug libc/27300] " honggyu.kp at gmail dot com
@ 2021-01-31 23:37 ` honggyu.kp at gmail dot com
2021-01-31 23:39 ` honggyu.kp at gmail dot com
` (10 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: honggyu.kp at gmail dot com @ 2021-01-31 23:37 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27300
--- Comment #1 from Honggyu Kim <honggyu.kp at gmail dot com> ---
Hi H.J. Lu,
Could you please have a look at this issue if possible?
Thanks,
Honggyu
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libc/27300] GLIBC_TUNABLES=glibc.cpu.hwcaps=-IBT,-SHSTK not working
2021-01-31 23:34 [Bug libc/27300] New: GLIBC_TUNABLES=glibc.cpu.hwcaps=-IBT,-SHSTK not working honggyu.kp at gmail dot com
2021-01-31 23:36 ` [Bug libc/27300] " honggyu.kp at gmail dot com
2021-01-31 23:37 ` honggyu.kp at gmail dot com
@ 2021-01-31 23:39 ` honggyu.kp at gmail dot com
2021-01-31 23:39 ` honggyu.kp at gmail dot com
` (9 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: honggyu.kp at gmail dot com @ 2021-01-31 23:39 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27300
--- Comment #2 from Honggyu Kim <honggyu.kp at gmail dot com> ---
This problem is discussed in the following issue.
- https://github.com/namhyung/uftrace/issues/1231
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libc/27300] GLIBC_TUNABLES=glibc.cpu.hwcaps=-IBT,-SHSTK not working
2021-01-31 23:34 [Bug libc/27300] New: GLIBC_TUNABLES=glibc.cpu.hwcaps=-IBT,-SHSTK not working honggyu.kp at gmail dot com
` (2 preceding siblings ...)
2021-01-31 23:39 ` honggyu.kp at gmail dot com
@ 2021-01-31 23:39 ` honggyu.kp at gmail dot com
2021-01-31 23:47 ` hjl.tools at gmail dot com
` (8 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: honggyu.kp at gmail dot com @ 2021-01-31 23:39 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27300
Honggyu Kim <honggyu.kp at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
URL| |https://github.com/namhyung
| |/uftrace/issues/1231
Keywords| |glibc_2.31
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libc/27300] GLIBC_TUNABLES=glibc.cpu.hwcaps=-IBT,-SHSTK not working
2021-01-31 23:34 [Bug libc/27300] New: GLIBC_TUNABLES=glibc.cpu.hwcaps=-IBT,-SHSTK not working honggyu.kp at gmail dot com
` (3 preceding siblings ...)
2021-01-31 23:39 ` honggyu.kp at gmail dot com
@ 2021-01-31 23:47 ` hjl.tools at gmail dot com
2021-01-31 23:48 ` hjl.tools at gmail dot com
` (7 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: hjl.tools at gmail dot com @ 2021-01-31 23:47 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27300
--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
Please use Ubuntu 20.10 or verify that all patches on users/hjl/cet/2.31
branch at:
https://gitlab.com/x86-glibc/glibc/-/tree/users/hjl/cet/2.31
have been applied in glibc in Ubuntu 20.04.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libc/27300] GLIBC_TUNABLES=glibc.cpu.hwcaps=-IBT,-SHSTK not working
2021-01-31 23:34 [Bug libc/27300] New: GLIBC_TUNABLES=glibc.cpu.hwcaps=-IBT,-SHSTK not working honggyu.kp at gmail dot com
` (4 preceding siblings ...)
2021-01-31 23:47 ` hjl.tools at gmail dot com
@ 2021-01-31 23:48 ` hjl.tools at gmail dot com
2021-02-01 8:42 ` honggyu.kp at gmail dot com
` (6 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: hjl.tools at gmail dot com @ 2021-01-31 23:48 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27300
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2021-01-31
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libc/27300] GLIBC_TUNABLES=glibc.cpu.hwcaps=-IBT,-SHSTK not working
2021-01-31 23:34 [Bug libc/27300] New: GLIBC_TUNABLES=glibc.cpu.hwcaps=-IBT,-SHSTK not working honggyu.kp at gmail dot com
` (5 preceding siblings ...)
2021-01-31 23:48 ` hjl.tools at gmail dot com
@ 2021-02-01 8:42 ` honggyu.kp at gmail dot com
2021-02-01 21:41 ` hjl.tools at gmail dot com
` (5 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: honggyu.kp at gmail dot com @ 2021-02-01 8:42 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27300
--- Comment #4 from Honggyu Kim <honggyu.kp at gmail dot com> ---
(In reply to H.J. Lu from comment #3)
> Please use Ubuntu 20.10 or verify that all patches on users/hjl/cet/2.31
> branch at:
>
> https://gitlab.com/x86-glibc/glibc/-/tree/users/hjl/cet/2.31
>
> have been applied in glibc in Ubuntu 20.04.
Thanks for the quick reply. Does it mean that they are not applied in Ubuntu
20.04 so it makes the problem? If so, is there any way to avoid this problem?
I don't have a machine that has Ubuntu 20.10 so will test it after setting it
up. Thanks very much for your help.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libc/27300] GLIBC_TUNABLES=glibc.cpu.hwcaps=-IBT,-SHSTK not working
2021-01-31 23:34 [Bug libc/27300] New: GLIBC_TUNABLES=glibc.cpu.hwcaps=-IBT,-SHSTK not working honggyu.kp at gmail dot com
` (6 preceding siblings ...)
2021-02-01 8:42 ` honggyu.kp at gmail dot com
@ 2021-02-01 21:41 ` hjl.tools at gmail dot com
2021-02-01 21:52 ` honggyu.kp at gmail dot com
` (4 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: hjl.tools at gmail dot com @ 2021-02-01 21:41 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27300
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |WONTFIX
Status|WAITING |RESOLVED
--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Honggyu Kim from comment #4)
> (In reply to H.J. Lu from comment #3)
> > Please use Ubuntu 20.10 or verify that all patches on users/hjl/cet/2.31
> > branch at:
> >
> > https://gitlab.com/x86-glibc/glibc/-/tree/users/hjl/cet/2.31
> >
> > have been applied in glibc in Ubuntu 20.04.
>
> Thanks for the quick reply. Does it mean that they are not applied in Ubuntu
> 20.04 so it makes the problem? If so, is there any way to avoid this problem?
>
> I don't have a machine that has Ubuntu 20.10 so will test it after setting
> it up. Thanks very much for your help.
Please disable CET under Ubuntu 20.04 or use Ubuntu 20.10.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libc/27300] GLIBC_TUNABLES=glibc.cpu.hwcaps=-IBT,-SHSTK not working
2021-01-31 23:34 [Bug libc/27300] New: GLIBC_TUNABLES=glibc.cpu.hwcaps=-IBT,-SHSTK not working honggyu.kp at gmail dot com
` (7 preceding siblings ...)
2021-02-01 21:41 ` hjl.tools at gmail dot com
@ 2021-02-01 21:52 ` honggyu.kp at gmail dot com
2021-02-01 22:23 ` hjl.tools at gmail dot com
` (3 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: honggyu.kp at gmail dot com @ 2021-02-01 21:52 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27300
--- Comment #6 from Honggyu Kim <honggyu.kp at gmail dot com> ---
(In reply to H.J. Lu from comment #5)
> (In reply to Honggyu Kim from comment #4)
> > (In reply to H.J. Lu from comment #3)
> > > Please use Ubuntu 20.10 or verify that all patches on users/hjl/cet/2.31
> > > branch at:
> > >
> > > https://gitlab.com/x86-glibc/glibc/-/tree/users/hjl/cet/2.31
> > >
> > > have been applied in glibc in Ubuntu 20.04.
> >
> > Thanks for the quick reply. Does it mean that they are not applied in Ubuntu
> > 20.04 so it makes the problem? If so, is there any way to avoid this problem?
> >
> > I don't have a machine that has Ubuntu 20.10 so will test it after setting
> > it up. Thanks very much for your help.
>
> Please disable CET under Ubuntu 20.04
Thanks but how can I disable CET?
> or use Ubuntu 20.10.
The thing is that we want to support uftrace tool to cover all the distros
including Ubuntu 20.04. Our users cannot properly use the specific feature due
to this problem.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libc/27300] GLIBC_TUNABLES=glibc.cpu.hwcaps=-IBT,-SHSTK not working
2021-01-31 23:34 [Bug libc/27300] New: GLIBC_TUNABLES=glibc.cpu.hwcaps=-IBT,-SHSTK not working honggyu.kp at gmail dot com
` (8 preceding siblings ...)
2021-02-01 21:52 ` honggyu.kp at gmail dot com
@ 2021-02-01 22:23 ` hjl.tools at gmail dot com
2021-02-01 23:42 ` honggyu.kp at gmail dot com
` (2 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: hjl.tools at gmail dot com @ 2021-02-01 22:23 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27300
--- Comment #7 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Honggyu Kim from comment #6)
> (In reply to H.J. Lu from comment #5)
> > (In reply to Honggyu Kim from comment #4)
> > > (In reply to H.J. Lu from comment #3)
> > > > Please use Ubuntu 20.10 or verify that all patches on users/hjl/cet/2.31
> > > > branch at:
> > > >
> > > > https://gitlab.com/x86-glibc/glibc/-/tree/users/hjl/cet/2.31
> > > >
> > > > have been applied in glibc in Ubuntu 20.04.
> > >
> > > Thanks for the quick reply. Does it mean that they are not applied in Ubuntu
> > > 20.04 so it makes the problem? If so, is there any way to avoid this problem?
> > >
> > > I don't have a machine that has Ubuntu 20.10 so will test it after setting
> > > it up. Thanks very much for your help.
> >
> > Please disable CET under Ubuntu 20.04
>
> Thanks but how can I disable CET?
Usage: elfedit <option(s)> elffile(s)
Update the ELF header of ELF files
...
--disable-x86-feature [ibt|shstk|lam_u48|lam_u57]
Disable x86 feature
...
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libc/27300] GLIBC_TUNABLES=glibc.cpu.hwcaps=-IBT,-SHSTK not working
2021-01-31 23:34 [Bug libc/27300] New: GLIBC_TUNABLES=glibc.cpu.hwcaps=-IBT,-SHSTK not working honggyu.kp at gmail dot com
` (9 preceding siblings ...)
2021-02-01 22:23 ` hjl.tools at gmail dot com
@ 2021-02-01 23:42 ` honggyu.kp at gmail dot com
2021-02-04 21:34 ` honggyu.kp at gmail dot com
2021-02-04 22:54 ` hjl.tools at gmail dot com
12 siblings, 0 replies; 14+ messages in thread
From: honggyu.kp at gmail dot com @ 2021-02-01 23:42 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27300
--- Comment #8 from Honggyu Kim <honggyu.kp at gmail dot com> ---
(In reply to H.J. Lu from comment #7)
> (In reply to Honggyu Kim from comment #6)
> > (In reply to H.J. Lu from comment #5)
> > > (In reply to Honggyu Kim from comment #4)
> > > > (In reply to H.J. Lu from comment #3)
> > > > > Please use Ubuntu 20.10 or verify that all patches on users/hjl/cet/2.31
> > > > > branch at:
> > > > >
> > > > > https://gitlab.com/x86-glibc/glibc/-/tree/users/hjl/cet/2.31
> > > > >
> > > > > have been applied in glibc in Ubuntu 20.04.
> > > >
> > > > Thanks for the quick reply. Does it mean that they are not applied in Ubuntu
> > > > 20.04 so it makes the problem? If so, is there any way to avoid this problem?
> > > >
> > > > I don't have a machine that has Ubuntu 20.10 so will test it after setting
> > > > it up. Thanks very much for your help.
> > >
> > > Please disable CET under Ubuntu 20.04
> >
> > Thanks but how can I disable CET?
>
> Usage: elfedit <option(s)> elffile(s)
> Update the ELF header of ELF files
> ...
> --disable-x86-feature [ibt|shstk|lam_u48|lam_u57]
> Disable x86 feature
> ...
Hmm.. I can remove the IBT and SHSTK bits from the elf file, but it doesn't
actually fix the problem when GLIBC_TUNABLES=glibc.cpu.hwcaps=-IBT,-SHSTK works
properly.
I will try to find another way to avoid this problem. Thanks very much for your
help.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libc/27300] GLIBC_TUNABLES=glibc.cpu.hwcaps=-IBT,-SHSTK not working
2021-01-31 23:34 [Bug libc/27300] New: GLIBC_TUNABLES=glibc.cpu.hwcaps=-IBT,-SHSTK not working honggyu.kp at gmail dot com
` (10 preceding siblings ...)
2021-02-01 23:42 ` honggyu.kp at gmail dot com
@ 2021-02-04 21:34 ` honggyu.kp at gmail dot com
2021-02-04 22:54 ` hjl.tools at gmail dot com
12 siblings, 0 replies; 14+ messages in thread
From: honggyu.kp at gmail dot com @ 2021-02-04 21:34 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27300
--- Comment #9 from Honggyu Kim <honggyu.kp at gmail dot com> ---
(In reply to H.J. Lu from comment #3)
> Please use Ubuntu 20.10
This problem happens also in Ubuntu 20.10, which uses libc-2.32.so.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libc/27300] GLIBC_TUNABLES=glibc.cpu.hwcaps=-IBT,-SHSTK not working
2021-01-31 23:34 [Bug libc/27300] New: GLIBC_TUNABLES=glibc.cpu.hwcaps=-IBT,-SHSTK not working honggyu.kp at gmail dot com
` (11 preceding siblings ...)
2021-02-04 21:34 ` honggyu.kp at gmail dot com
@ 2021-02-04 22:54 ` hjl.tools at gmail dot com
12 siblings, 0 replies; 14+ messages in thread
From: hjl.tools at gmail dot com @ 2021-02-04 22:54 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27300
--- Comment #10 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Honggyu Kim from comment #9)
> (In reply to H.J. Lu from comment #3)
> > Please use Ubuntu 20.10
>
> This problem happens also in Ubuntu 20.10, which uses libc-2.32.so.
$ GLIBC_TUNABLES=glibc.cpu.hwcaps=-IBT,-SHSTK
on Fedora 33, which also has glibc 2.32, works for me. Please update
to the last Ubuuntu 20.10. If it still doesn't work, report it to
Canonical.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread