This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/71021] [libatomic testsuite] Test program compilation fail (missing -pthread flag)
- From: "nsz at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 12 May 2016 12:14:40 +0000
- Subject: [Bug testsuite/71021] [libatomic testsuite] Test program compilation fail (missing -pthread flag)
- Auto-submitted: auto-generated
- References: <bug-71021-4 at http dot gcc dot gnu dot org/bugzilla/>
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.