This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix quick_exit to match C++11 specification.


On 06/03/2016 06:38 PM, Carlos O'Donell wrote:
+ifneq (,$(CXX))
+CFLAGS-tst-quick_exit.o = -std=c++11
+LDLIBS-tst-quick_exit = -lstdc++
+else
+tests-unsupported += tst-quick_exit
+endif

I think you need this instead:

ifneq ($(have-cxx-thread_local),yes)
tests-unsupported += tst-quick-exit
endif

It may make sense to test destruction from a non-main thread, too (with a separate test case, one test should not link against libpthread).

Florian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]