[Bug testsuite/71021] [libatomic testsuite] Test program compilation fail (missing -pthread flag)
nsz at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu May 12 12:14:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71021
--- Comment #4 from nsz at gcc dot gnu.org ---
this might be a different issue, but then i'm not sure how you made the gcc
build to use the alternate glibc path.
can you attach the libatomic/testsuite/Makefile (with the CC etc variables
set)?
i think the atomic tests should work without -pthread and i think libgomp just
happens to pass because -fopenmp implies -pthread.
More information about the Gcc-bugs
mailing list