[Bug binutils/27846] New: Infinite loop in dwarf.c:display_debug_abbrev

2021-05-10 Thread shaohua.li at inf dot ethz.ch
https://sourceware.org/bugzilla/show_bug.cgi?id=27846 Bug ID: 27846 Summary: Infinite loop in dwarf.c:display_debug_abbrev Product: binutils Version: 2.37 (HEAD) Status: UNCONFIRMED Severity: normal Priority: P2

[Bug binutils/27845] New: readelf crashes: heap-buffer-overflow

2021-05-10 Thread shaohua.li at inf dot ethz.ch
https://sourceware.org/bugzilla/show_bug.cgi?id=27845 Bug ID: 27845 Summary: readelf crashes: heap-buffer-overflow Product: binutils Version: 2.37 (HEAD) Status: UNCONFIRMED Severity: normal Priority: P2 Componen

[Bug binutils/27594] build processes broken by changed space handling

2021-05-10 Thread towo at towo dot net
https://sourceware.org/bugzilla/show_bug.cgi?id=27594 --- Comment #17 from Thomas Wolff --- This is getting picky. I wouldn't say there's double quoting involved. The string given to the -preprocessor arguments seems to be simply fed into a call of popen(), and that should be fine. It may contain

[Bug binutils/27844] New: Unstable symbol name in objdump outputs

2021-05-10 Thread shaohua.li at inf dot ethz.ch
https://sourceware.org/bugzilla/show_bug.cgi?id=27844 Bug ID: 27844 Summary: Unstable symbol name in objdump outputs Product: binutils Version: 2.37 (HEAD) Status: UNCONFIRMED Severity: normal Priority: P2 Compon

[Bug binutils/27843] windres quoting of backslashes and double quotes is lacking

2021-05-10 Thread martin at martin dot st
https://sourceware.org/bugzilla/show_bug.cgi?id=27843 Martin Storsjö changed: What|Removed |Added CC||eliz at gnu dot org -- You are rece

[Bug binutils/27843] New: windres quoting of backslashes and double quotes is lacking

2021-05-10 Thread martin at martin dot st
https://sourceware.org/bugzilla/show_bug.cgi?id=27843 Bug ID: 27843 Summary: windres quoting of backslashes and double quotes is lacking Product: binutils Version: unspecified Status: UNCONFIRMED Severity: norma

[Bug binutils/27839] Segmentation fault on objdump -D

2021-05-10 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=27839 --- Comment #3 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by H.J. Lu : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b397aef4cd054724fef9fec381f6ca97b52c884e commit b397aef4cd054724fef9fec381f6ca97

[Bug binutils/27594] build processes broken by changed space handling

2021-05-10 Thread eliz at gnu dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=27594 --- Comment #16 from Eli Zaretskii --- (In reply to Martin Storsjö from comment #15) > (In reply to Eli Zaretskii from comment #13) > > And one more comment: using pre-quoted shell command (as opposed to just the > > preprocessor file name) in

[Bug binutils/27594] build processes broken by changed space handling

2021-05-10 Thread martin at martin dot st
https://sourceware.org/bugzilla/show_bug.cgi?id=27594 --- Comment #15 from Martin Storsjö --- (In reply to Eli Zaretskii from comment #13) > So bottom line: the revert reverted the wrong commit. Yup, exactly. (In reply to Eli Zaretskii from comment #12) > That means `windres` will be the only p

[Bug binutils/27594] build processes broken by changed space handling

2021-05-10 Thread eliz at gnu dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=27594 --- Comment #14 from Eli Zaretskii --- And one more comment: using pre-quoted shell command (as opposed to just the preprocessor file name) in --preprocessor will not work with --use-temp-file, because the code in `run_cmd` breaks the command

[Bug binutils/27594] build processes broken by changed space handling

2021-05-10 Thread eliz at gnu dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=27594 --- Comment #13 from Eli Zaretskii --- I think I see what caused the breakage of the MSYS2 build script. It wasn't the change in `quot`, it was a previous commit 21c33bc, which attempted to fix PR 26865. The change in that commit encloses th

[Bug binutils/27594] build processes broken by changed space handling

2021-05-10 Thread eliz at gnu dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=27594 --- Comment #12 from Eli Zaretskii --- (In reply to Martin Storsjö from comment #11) > > Here is where I disagree: the "\"path to/gcc.exe\" or '"path to/gcc.exe"' is > > NOT quoting, it's double quoting. Quoting is just "path to/gcc.exe" or (

[Bug binutils/27594] build processes broken by changed space handling

2021-05-10 Thread martin at martin dot st
https://sourceware.org/bugzilla/show_bug.cgi?id=27594 --- Comment #11 from Martin Storsjö --- (In reply to Eli Zaretskii from comment #10) > > So if I want to call windres so that it receives the argument "path > > to/gcc.exe" -E -DRC_INVOKED, I can call windres with "\"path to/gcc.exe\" -E > > -

[Bug binutils/27594] build processes broken by changed space handling

2021-05-10 Thread eliz at gnu dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=27594 --- Comment #10 from Eli Zaretskii --- (In reply to Martin Storsjö from comment #9) > (In reply to Eli Zaretskii from comment #8) > > Quoting with backslashes also doesn't work in cmd.exe. The suggestion to > > pre-quote the preprocessor is a

[Bug binutils/27113] libdep not correctly loaded on Windows

2021-05-10 Thread alexey.brodkin at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27113 --- Comment #6 from Alexey Brodkin --- No, unfortunately proposed patch doesn't change anything when cross-compiling for Windows. Though the following change does the trick: >8 diff --git a/ld/Makefi

[Bug binutils/27594] build processes broken by changed space handling

2021-05-10 Thread martin at martin dot st
https://sourceware.org/bugzilla/show_bug.cgi?id=27594 --- Comment #9 from Martin Storsjö --- (In reply to Eli Zaretskii from comment #8) > Quoting with backslashes also doesn't work in cmd.exe. The suggestion to > pre-quote the preprocessor is also unreliable, because when `windres` is run > fro

[Bug binutils/27594] build processes broken by changed space handling

2021-05-10 Thread eliz at gnu dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=27594 Eli Zaretskii changed: What|Removed |Added CC||eliz at gnu dot org --- Comment #8 fr

[Bug binutils/27840] New: heap-buffer-overflow on objdump -D

2021-05-10 Thread shaohua.li at inf dot ethz.ch
https://sourceware.org/bugzilla/show_bug.cgi?id=27840 Bug ID: 27840 Summary: heap-buffer-overflow on objdump -D Product: binutils Version: 2.37 (HEAD) Status: UNCONFIRMED Severity: normal Priority: P2 Component:

[Bug binutils/4356] windres fails on files with spaces

2021-05-10 Thread eliz at gnu dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=4356 --- Comment #31 from Eli Zaretskii --- Reverting the change in `quot` is IMO a mistake, I will respond in PR 27594 with the details. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug binutils/27839] Segmentation fault on objdump -D

2021-05-10 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27839 Nick Clifton changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug binutils/27839] Segmentation fault on objdump -D

2021-05-10 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=27839 --- Comment #1 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Nick Clifton : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=23182ac0d832477d316547ec2a758d22b43d0837 commit 23182ac0d832477d316547ec2a7

[Bug binutils/27839] Segmentation fault on objdump -D

2021-05-10 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27839 Nick Clifton changed: What|Removed |Added CC||nickc at redhat dot com Assi

[Bug gas/27415] eZ80 relocation computation fails unexpectedly

2021-05-10 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=27415 --- Comment #3 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Nick Clifton : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e4b1ab2062e1d8458167534881248dbd82fa commit e4b1ab2062e1d84581675348812

[Bug gas/27415] eZ80 relocation computation fails unexpectedly

2021-05-10 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27415 Nick Clifton changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug binutils/27839] New: Segmentation fault on objdump -D

2021-05-10 Thread shaohua.li at inf dot ethz.ch
https://sourceware.org/bugzilla/show_bug.cgi?id=27839 Bug ID: 27839 Summary: Segmentation fault on objdump -D Product: binutils Version: 2.37 (HEAD) Status: UNCONFIRMED Severity: normal Priority: P2 Component: bi

[Bug binutils/27113] libdep not correctly loaded on Windows

2021-05-10 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27113 Nick Clifton changed: What|Removed |Added CC||nickc at redhat dot com --- Comment #5

[Bug binutils/27594] build processes broken by changed space handling

2021-05-10 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=27594 --- Comment #7 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Nick Clifton : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=749c700282097cf679ff019a9674d7c762f48619 commit 749c700282097cf679ff019a967

[Bug binutils/4356] windres fails on files with spaces

2021-05-10 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=4356 --- Comment #30 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Nick Clifton : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=749c700282097cf679ff019a9674d7c762f48619 commit 749c700282097cf679ff019a967

[Bug binutils/26865] windres: --preprocessor option won't respect space in file path

2021-05-10 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=26865 --- Comment #11 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Nick Clifton : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=749c700282097cf679ff019a9674d7c762f48619 commit 749c700282097cf679ff019a96

[Bug binutils/27836] Illegal memory accessed

2021-05-10 Thread shaohua.li at inf dot ethz.ch
https://sourceware.org/bugzilla/show_bug.cgi?id=27836 --- Comment #7 from Shaohua Li --- A follow-up consequence is that since the guard in dwarf.c:8802 behaves differently in two binaries, `cie` would be different. In you check the final output, `cie=` values are also different. Even worse, `cie

[Bug binutils/27836] Illegal memory accessed

2021-05-10 Thread shaohua.li at inf dot ethz.ch
https://sourceware.org/bugzilla/show_bug.cgi?id=27836 --- Comment #6 from Shaohua Li --- In dwarf.c:8818 (cie_scan = look_for;), `look_for` now is actually a negative value (it's a pointer, so this's an integer overflow), so that `cie_scan` would be assigned an invalid address/value. There're a f

[Bug binutils/27836] Illegal memory accessed

2021-05-10 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27836 --- Comment #5 from Alan Modra --- The subject of your bug is "Illegal memory accessed". Where did this illegal memory access occur? -- You are receiving this mail because: You are on the CC list for the bug.

[Bug binutils/27836] Illegal memory accessed

2021-05-10 Thread shaohua.li at inf dot ethz.ch
https://sourceware.org/bugzilla/show_bug.cgi?id=27836 --- Comment #4 from Shaohua Li --- Hi Alan, I think you might have misunderstood me. There wouldn't be any segv with the poc file. I just would like to point out that gcc11 and clang12 compiled binaries would give out different results. -- Y