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
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
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
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"
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
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
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