Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: amd64 build failed: constructor priorities from 0 to 100 are reserved



On 25.08.2019 17:32, Kamil Rytarowski wrote:
> On 25.08.2019 09:31, Thomas Klausner wrote:
>> On Sun, Aug 25, 2019 at 08:09:06AM +0200, Kamil Rytarowski wrote:
>>> On 24.08.2019 14:51, Kamil Rytarowski wrote:
>>>> On 24.08.2019 10:08, Thomas Klausner wrote:
>>>>> On Sat, Aug 24, 2019 at 08:49:59AM +0200, Thomas Klausner wrote:
>>>>>> On Fri, Aug 23, 2019 at 04:19:25PM +0200, Kamil Rytarowski wrote:
>>>>>>> I will try to reproduce and fix it.
>>>>>>
>>>>>> I saw you committed a fix, I'll test it now.
>>>>>
>>>>> I now see
>>>>>
>>>>> --- install-tsan_cxx-m64 ---
>>>>> x86_64--netbsd-install: libclang_rt.tsan_cxx-x86_64.a.syms: stat: No such file or directory
>>>>>
>>>>>  Thomas
>>>>>
>>>>
>>>> I will try to reproduce and fix.
>>>>
>>>
>>> Please clean local build object dir and src/ and retry.
>>
>> After cleaning out my source tree (deleting all files listed with "?"
>> in "cvs update") and with a new obj dir, I now see
>>
>> --- install-asan_cxx-m64 ---
>> x86_64--netbsd-install: libclang_rt.asan_cxx-x86_64.a.syms: stat: No such file or directory
>> ...
>> --- install-asan_cxx-m64 ---
>> *** [/usr/obj/amd64.gcc.20190825/usr/lib/clang/7.0.0/lib/netbsd/libclang_rt.asan_cxx-x86_64.a.syms] Error code 1
>>
>>
>> No new files appeared in my CVS tree though, so the objectdir part
>> seems to be fixed, thanks!
>>  Thomas
>>
> 
> What are the exact build rules?
> 
> I'm not reproducing it.
> 
> Please debug whether the rule in:
> 
> external/bsd/compiler_rt/lib/clang/lib/netbsd/syms.mk
> 
> is executed. Is it executed after creating .a files?
> 
> Please check whether gen_dynamic_list.sh runs and whether runs successfully.
> 
> external/bsd/compiler_rt/lib/clang/lib/netbsd/gen_dynamic_list.sh
> 

Do you build on NetBSD? Is it a build from other OS?

If so, maybe this can help:

http://netbsd.org/~kamil/patch-00143-syms.mk-tools.txt

Untested.

Attachment: signature.asc
Description: OpenPGP digital signature



Home | Main Index | Thread Index | Old Index