Bug 41996 - section [18] '.debug_gdb_scripts' has wrong flags: expected none, is ALLOC|MERGE|STRINGS
Summary: section [18] '.debug_gdb_scripts' has wrong flags: expected none, is ALLOC|ME...
Status: RESOLVED LATER
Alias: None
Product: Sisyphus
Classification: Development
Component: rust (show other bugs)
Version: unstable
Hardware: x86 Linux
: P5 normal
Assignee: Alexey Gladkov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-19 08:45 MSK by Vitaly Chikunov
Modified: 2022-03-08 02:13 MSK (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vitaly Chikunov 2022-02-19 08:45:02 MSK
verify-elf reports eu-elflint error for rust built binary:

  Verifying ELF objects in /usr/src/tmp/git-delta-buildroot (arch=strict,fhs=strict,lfs=strict,lint=strict,rpath=strict,stack=strict,textrel=strict,unresolved=strict)
  section [18] '.debug_gdb_scripts' has wrong flags: expected none, is ALLOC|MERGE|STRINGS
  verify-elf: ERROR: ./usr/bin/delta: eu-elflint failed
  error: Bad exit status from /usr/src/tmp/rpm-tmp.37162 (%install)

ldv had some suggestions, but I forgot what he said.
Comment 1 Alexey Gladkov 2022-02-19 17:04:54 MSK
Потрудитесь описать проблему нормально. Цитата лога сборки таковым описанием не является. Я не буду тратить время и выяснять, что вы имели в виду этой цитатой.

> ldv had some suggestions, but I forgot what he said.

Вот это вообще прекрасно.

Переоткройте багу, когда вспомните и переформулируете.
Comment 2 Dmitry V. Levin 2022-02-19 17:13:08 MSK
Every binary produced by rust has this problem diagnosed by eu-elfint:

section [18] '.debug_gdb_scripts' has wrong flags: expected none, is ALLOC|MERGE|STRINGS
Comment 3 Dmitry V. Levin 2022-02-19 17:15:13 MSK
$ cd beehive/logs/Sisyphus/x86_64/latest/success/ && grep -F 'ALLOC|MERGE|STRINGS' *
alacritty-0.10.0-alt1:section [18] '.debug_gdb_scripts' has wrong flags: expected none, is ALLOC|MERGE|STRINGS
b3sum-1.2.0-alt1:section [18] '.debug_gdb_scripts' has wrong flags: expected none, is ALLOC|MERGE|STRINGS
cbindgen-0.20.0-alt1:section [18] '.debug_gdb_scripts' has wrong flags: expected none, is ALLOC|MERGE|STRINGS
fractal-4.4.1b1-alt1:section [18] '.debug_gdb_scripts' has wrong flags: expected none, is ALLOC|MERGE|STRINGS
git-delta-0.12.0-alt1:section [18] '.debug_gdb_scripts' has wrong flags: expected none, is ALLOC|MERGE|STRINGS
hyperfine-1.12.0-alt1:section [18] '.debug_gdb_scripts' has wrong flags: expected none, is ALLOC|MERGE|STRINGS
maturin-0.11.3-alt1:section [18] '.debug_gdb_scripts' has wrong flags: expected none, is ALLOC|MERGE|STRINGS
rav1e-0.5.0-alt1:section [18] '.debug_gdb_scripts' has wrong flags: expected none, is ALLOC|MERGE|STRINGS
ripgrep-13.0.0-alt2:section [18] '.debug_gdb_scripts' has wrong flags: expected none, is ALLOC|MERGE|STRINGS
solanum-3.0.1-alt1:section [18] '.debug_gdb_scripts' has wrong flags: expected none, is ALLOC|MERGE|STRINGS
vector-0.18.1-alt1:section [18] '.debug_gdb_scripts' has wrong flags: expected none, is ALLOC|MERGE|STRINGS
vml-0.1.5-alt1:section [18] '.debug_gdb_scripts' has wrong flags: expected none, is ALLOC|MERGE|STRINGS
watchexec-1.17.1-alt1:section [18] '.debug_gdb_scripts' has wrong flags: expected none, is ALLOC|MERGE|STRINGS
waylock-0.3.3-alt1:section [18] '.debug_gdb_scripts' has wrong flags: expected none, is ALLOC|MERGE|STRINGS
xsv-0.13.0-alt1:section [18] '.debug_gdb_scripts' has wrong flags: expected none, is ALLOC|MERGE|STRINGS
zincati-0.0.22-alt6:section [18] '.debug_gdb_scripts' has wrong flags: expected none, is ALLOC|MERGE|STRINGS
Comment 4 Alexey Gladkov 2022-02-19 17:20:53 MSK
При сборке утилит вместе с rust я ничего такого не наблюдаю. Так что это не "every binary".
Comment 5 Alexey Gladkov 2022-02-19 17:21:45 MSK
Продолжаю настаивать на нормальном формулировании багрепорта. Наш rpm-build пишет много чего.
Comment 6 Dmitry V. Levin 2022-02-19 17:22:14 MSK
(In reply to Alexey Gladkov from comment #4)
> При сборке утилит вместе с rust я ничего такого не наблюдаю. Так что это не
> "every binary".

Every non-stripped binary?
Comment 7 Alexey Gladkov 2022-02-19 17:30:46 MSK
(Ответ для Dmitry V. Levin на комментарий #6)
> (In reply to Alexey Gladkov from comment #4)
> > При сборке утилит вместе с rust я ничего такого не наблюдаю. Так что это не
> > "every binary".
> 
> Every non-stripped binary?

Вот это и стоит отразить в новом тексте багрепорта. А также стоит упомянуть почему этот "wrong flags" плох и чем грозит. У меня нет никакой информации об этом, а также серьёзность проблемы. Более простой reproducer также был бы полезен.
Comment 8 Alexey Gladkov 2022-03-08 02:13:33 MSK
Прошло достаточно времени, чтобы сформулировать что же не работает.
Переоткройте, когда появится конкретная информация.