https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64911
Bug ID: 64911 Summary: FAIL: gcc.c-torture/execute/builtins/strchr.c compilation, -O0 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: pangbw at gmail dot com In one of my environment, I will get the multiple definition error for this test case. In another one of my environment, I will not get the error. After checking the code in linker I think this is a flaw in linker and this is a bug in the test case as we should always report multiple definition as an error when a function(strchr) is defined in two places(libc.a and this test case).