[Bug binutils/32018] New: Compilation of binutils 2.43 for riscv64-unknown-linux-gnu failed on CentOS 6

2024-07-23 Thread bigmagicreadsun at gmail dot com
Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: bigmagicreadsun at gmail dot com Target Milestone: --- Fetch the source code from the latest branch of binutils and configure it with the following options

[Bug binutils/32018] Compilation of binutils 2.43 for riscv64-unknown-linux-gnu failed on CentOS 6

2024-07-23 Thread bigmagicreadsun at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32018 --- Comment #1 from bigmagicreadsun --- I am currently using the Docker version of CentOS 6. The GCC version is gcc version 8.3.1 20190311 (Red Hat 8.3.1-3) (GCC) and GLIBC version is (GNU libc) 2.12 -- You are receiving this mail because: Y

[Bug gprofng/32018] Compilation of binutils 2.43 for riscv64-unknown-linux-gnu failed on CentOS 6

2024-07-24 Thread bigmagicreadsun at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32018 --- Comment #3 from bigmagicreadsun --- (In reply to Vladimir Mezentsev from comment #2) > I don't have CentOS 6. > How is strchr defined in your /usr/include/string.h ? > Is this a macro? > > On my Linux: > % grep -n -w strchr /usr/include/s

[Bug gprofng/32018] Compilation of binutils 2.43 for riscv64-unknown-linux-gnu failed on CentOS 6

2024-07-24 Thread bigmagicreadsun at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32018 --- Comment #5 from bigmagicreadsun --- (In reply to Vladimir Mezentsev from comment #4) > What is in your /usr/include/string.h in lines around 637 ? > Could you please attach this output: > cat -n /usr/include/string.h | sed -n "625,650 p"

[Bug gprofng/32018] Compilation of binutils 2.43 for riscv64-unknown-linux-gnu failed on CentOS 6

2024-07-25 Thread bigmagicreadsun at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32018 --- Comment #8 from bigmagicreadsun --- (In reply to Vladimir Mezentsev from comment #7) > Why do you use CentOS 6 ? > I see this: > Release Release dateEnd of life > CentOS 7 July 7, 2014June 30, 2024 > CentOS 6 July 1

[Bug gprofng/32018] Compilation of binutils 2.43 for riscv64-unknown-linux-gnu failed on CentOS 6

2024-07-25 Thread bigmagicreadsun at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32018 --- Comment #10 from bigmagicreadsun --- (In reply to Vladimir Mezentsev from comment #9) > If there is a similar problem on CentOS 7, > could you please attach this output: > % grep -n -s -w strchr /usr/include/*/* > > It looks like strchr

[Bug gprofng/32018] Compilation of binutils 2.43 for riscv64-unknown-linux-gnu failed on CentOS 6

2024-07-29 Thread bigmagicreadsun at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32018 --- Comment #13 from bigmagicreadsun --- (In reply to Vladimir Mezentsev from comment #12) > Could you try this fix on CentOS: > > % diff --git a/gprofng/libcollector/hwprofile.c > b/gprofng/libcollector/hwprofile.c > index cfe0d84dc1e..3b7f4