svn commit: r304527 - in stable/10/lib: libc/include libc/stdlib libc/tests/stdlib libthr/thread

Oliver Pinter oliver.pinter at hardenedbsd.org
Sat Aug 20 23:50:18 UTC 2016


And an updated version of the fix.

On 8/21/16, Oliver Pinter <oliver.pinter at hardenedbsd.org> wrote:
> And one more.
>
> On 8/21/16, Oliver Pinter <oliver.pinter at hardenedbsd.org> wrote:
>> On 8/21/16, Oliver Pinter <oliver.pinter at hardenedbsd.org> wrote:
>>> On 8/21/16, Oliver Pinter <oliver.pinter at hardenedbsd.org> wrote:
>>>> On 8/20/16, Konstantin Belousov <kib at freebsd.org> wrote:
>>>>> Author: kib
>>>>> Date: Sat Aug 20 12:26:44 2016
>>>>> New Revision: 304527
>>>>> URL: https://svnweb.freebsd.org/changeset/base/304527
>>>>>
>>>>> Log:
>>>>>   MFC r303795:
>>>>>   Add __cxa_thread_atexit(3) API implementation.
>>>>>
>>>>> Added:
>>>>>   stable/10/lib/libc/stdlib/cxa_thread_atexit.c
>>>>>      - copied unchanged from r303795,
>>>>> head/lib/libc/stdlib/cxa_thread_atexit.c
>>>>>   stable/10/lib/libc/tests/stdlib/cxa_thread_atexit_nothr_test.cc
>>>>>      - copied unchanged from r303795,
>>>>> head/lib/libc/tests/stdlib/cxa_thread_atexit_nothr_test.cc
>>>>>   stable/10/lib/libc/tests/stdlib/cxa_thread_atexit_test.cc
>>>>>      - copied unchanged from r303795,
>>>>> head/lib/libc/tests/stdlib/cxa_thread_atexit_test.cc
>>>>> Modified:
>>>>>   stable/10/lib/libc/include/libc_private.h
>>>>>   stable/10/lib/libc/stdlib/Makefile.inc
>>>>>   stable/10/lib/libc/stdlib/Symbol.map
>>>>>   stable/10/lib/libc/stdlib/exit.c
>>>>>   stable/10/lib/libc/tests/stdlib/Makefile
>>>>>   stable/10/lib/libthr/thread/thr_exit.c
>>>>> Directory Properties:
>>>>>   stable/10/   (props changed)
>>>>>
>>>>
>>>>
>>>> make[6]:
>>>> "/jenkins/workspace/HardenedBSD-stable-10-STABLE-master-amd64/lib/libc/tests/stdlib/Makefile"
>>>> line 3: Could not find src.opts.mk
>>>> make[6]:
>>>> "/jenkins/workspace/HardenedBSD-stable-10-STABLE-master-amd64/lib/libc/tests/stdlib/Makefile"
>>>> line 8: Malformed conditional (${COMPILER_FEATURES:Mc++11})
>>>>
>>>
>>
>> And the next build error from the same MFC:
>> 18:36:12 cxa_thread_atexit_test.o: In function `(anonymous
>> namespace)::atfu_tc_cxx__thread_inf_dtors::body() const':
>> 18:36:12
>> /jenkins/workspace/HardenedBSD-10-STABLE-amd64/lib/libc/tests/stdlib/cxa_thread_atexit_test.cc:(.text+0x335):
>> undefined reference to `pthread_create'
>> 18:36:12 cxa_thread_atexit_test.o: In function `(anonymous
>> namespace)::atfu_tc_cxx__thread_local_add_while_calling_dtors::body()
>> const':
>> 18:36:12
>> /jenkins/workspace/HardenedBSD-10-STABLE-amd64/lib/libc/tests/stdlib/cxa_thread_atexit_test.cc:(.text+0x4b0):
>> undefined reference to `pthread_create'
>> 18:36:12 cxa_thread_atexit_test.o: In function `(anonymous
>> namespace)::atfu_tc_cxx__thread_local_after::body() const':
>> 18:36:12
>> /jenkins/workspace/HardenedBSD-10-STABLE-amd64/lib/libc/tests/stdlib/cxa_thread_atexit_test.cc:(.text+0xa50):
>> undefined reference to `pthread_create'
>> 18:36:12 cxa_thread_atexit_test.o: In function `(anonymous
>> namespace)::atfu_tc_cxx__thread_local_before::body() const':
>> 18:36:12
>> /jenkins/workspace/HardenedBSD-10-STABLE-amd64/lib/libc/tests/stdlib/cxa_thread_atexit_test.cc:(.text+0x102a):
>> undefined reference to `pthread_create'
>> 18:36:12 c++: error: linker command failed with exit code 1 (use -v to
>> see invocation)
>> 18:36:12 --- cxa_thread_atexit_test ---
>> 18:36:12 *** [cxa_thread_atexit_test] Error code 1
>>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-HBSD-fix-build-error-after-kib-s-8ef9c6fc5bcfe1b6062.patch
Type: application/octet-stream
Size: 2315 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20160821/5e983b92/attachment-0001.obj>


More information about the svn-src-all mailing list