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

2019-08-26 Thread Thomas Klausner
On Mon, Aug 26, 2019 at 02:57:56PM +0200, Kamil Rytarowski wrote:
> On 25.08.2019 23:42, Thomas Klausner wrote:
> > On Sun, Aug 25, 2019 at 05:32:32PM +0200, 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?
> > 
> >  HOST_CC=gcc HOST_CXX=g++ sh build.sh \
> > -j 32 -x \
> > -V MKDEBUG=yes \
> > -V MKDEBUGLIB=yes \
> > -V MKLLVM=yes \
> > -T /usr/obj/tools.gcc \
> > -m amd64 \
> > -O /usr/obj/src.amd64 \
> > -D /usr/obj/amd64.gcc.$today \
> > -R /usr/obj/amd64.gcc.$today.release \
> > distribution
> > 
> >> 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
> > 
> > I'll send you a link to the build output I got.
> >  Thomas
> > 
> 
> Please retry. It should be fixed.

Yes, it's working now. Thank you!
 Thomas




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

2019-08-26 Thread Kamil Rytarowski
On 25.08.2019 23:42, Thomas Klausner wrote:
> On Sun, Aug 25, 2019 at 05:32:32PM +0200, 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?
> 
>  HOST_CC=gcc HOST_CXX=g++ sh build.sh \
> -j 32 -x \
> -V MKDEBUG=yes \
> -V MKDEBUGLIB=yes \
> -V MKLLVM=yes \
> -T /usr/obj/tools.gcc \
> -m amd64 \
> -O /usr/obj/src.amd64 \
> -D /usr/obj/amd64.gcc.$today \
> -R /usr/obj/amd64.gcc.$today.release \
> distribution
> 
>> 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
> 
> I'll send you a link to the build output I got.
>  Thomas
> 

Please retry. It should be fixed.



signature.asc
Description: OpenPGP digital signature


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

2019-08-26 Thread matthew green
Kamil,

> ? 
> external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/asan_activation.d

i recommend building from a r/o source tree for a few days :-)
this becomes a built-time failure in that case.

i recommend it to everyone, really.  it has been a very long
time but i used to guess about half of my build failures were
due to bad stuff in my source tree that wouldn't have been
allowed to exist if i'd been using r/o.


.mrg.


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

2019-08-26 Thread Thomas Klausner
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.

A different issue: while I was updating for testing the fix, I saw
lots of files where they shouldn't be.

I run build.sh with '-O /somewhere', so all object files should be
below /somewhere, but all these are in my CVS source tree:

? 
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/asan_activation.d
? 
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/asan_allocator.d
? 
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/asan_debugging.d
? 
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/asan_descriptions.d
? external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/asan_errors.d
? 
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/asan_fake_stack.d
? external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/asan_flags.d
? external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/asan_fuchsia.d
? external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/asan_globals.d
? 
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/asan_globals_win.d
? 
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/asan_interceptors.d
? 
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/asan_interceptors_memintrinsics.d
? external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/asan_linux.d
? external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/asan_mac.d
? 
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/asan_malloc_linux.d
? 
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/asan_malloc_mac.d
? 
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/asan_malloc_win.d
? 
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/asan_memory_profile.d
? 
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/asan_new_delete.d
? 
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/asan_poisoning.d
? external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/asan_posix.d
? 
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/asan_premap_shadow.d
? external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/asan_report.d
? external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/asan_rtems.d
? external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/asan_rtl.d
? 
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/asan_shadow_setup.d
? external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/asan_stack.d
? external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/asan_stats.d
? 
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/asan_suppressions.d
? external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/asan_thread.d
? external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/asan_win.d
? 
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/interception_linux.d
? 
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/interception_mac.d
? 
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/interception_type_test.d
? 
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/interception_win.d
? external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/lsan_common.d
? 
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/lsan_common_linux.d
? 
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/lsan_common_mac.d
? external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/sancov_flags.d
? 
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/sanitizer_allocator.d
? 
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/sanitizer_allocator_checks.d
? 
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/sanitizer_allocator_report.d
? 
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/sanitizer_common.d
? 
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/sanitizer_common_libcdep.d
? 
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/sanitizer_coverage_fuchsia.d
? 
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/sanitizer_coverage_libcdep_new.d
? 
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/sanitizer_coverage_win_sections.d
? 
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/sanitizer_deadlock_detector1.d
? 
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/sanitizer_deadlock_detector2.d
? 
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/sanitizer_errno.d
? 
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/sanitizer_file.d
? 
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/sanitizer_flag_parser.d
? 
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/sanitizer_flags.d
? 
external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-dynamic-m32/sanitizer_fuchsia.d
? 
external/bs

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

2019-08-25 Thread Thomas Klausner
On Sun, Aug 25, 2019 at 05:32:32PM +0200, 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?

 HOST_CC=gcc HOST_CXX=g++ sh build.sh \
-j 32 -x \
-V MKDEBUG=yes \
-V MKDEBUGLIB=yes \
-V MKLLVM=yes \
-T /usr/obj/tools.gcc \
-m amd64 \
-O /usr/obj/src.amd64 \
-D /usr/obj/amd64.gcc.$today \
-R /usr/obj/amd64.gcc.$today.release \
distribution

> 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

I'll send you a link to the build output I got.
 Thomas


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

2019-08-25 Thread Thomas Klausner
On Sun, Aug 25, 2019 at 07:07:04PM +0200, Kamil Rytarowski wrote:
> 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?

I build on NetBSD.
 Thomas


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

2019-08-25 Thread Kamil Rytarowski
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.



signature.asc
Description: OpenPGP digital signature


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

2019-08-25 Thread Kamil Rytarowski
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



signature.asc
Description: OpenPGP digital signature


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

2019-08-25 Thread Thomas Klausner
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


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

2019-08-24 Thread Kamil Rytarowski
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.



signature.asc
Description: OpenPGP digital signature


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

2019-08-24 Thread Kamil Rytarowski
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.



signature.asc
Description: OpenPGP digital signature


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

2019-08-24 Thread Thomas Klausner
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


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

2019-08-23 Thread Kamil Rytarowski
On 23.08.2019 16:10, Thomas Klausner wrote:
> On Fri, Aug 23, 2019 at 04:03:01PM +0200, Kamil Rytarowski wrote:
>> On 23.08.2019 11:41, Thomas Klausner wrote:
>>> With a cvs checkout from about an our ago, an amd64 build failed for
>>> me:
>>>
>>> --- dependall-safestack-m32 ---
>>> /usr/src/sys/external/bsd/compiler_rt/dist/lib/safestack/safestack.cc:271:23:
>>>  error: constructor priorities from 0 to 100 are reserved for the 
>>> implementation [-Werror]
>>>  void __safestack_init() {
>>>^
>>>
>>>
>>>  Thomas
>>>
>>
>> What are the build options (-V flags in ./build.sh)?
> 
>  -V MKDEBUG=yes
>  -V MKDEBUGLIB=yes
>  -V MKLLVM=yes
> 
>  Thomas
> 

OK, there is no HAVE_LLVM=yes.

I will try to reproduce and fix it.




signature.asc
Description: OpenPGP digital signature


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

2019-08-23 Thread Thomas Klausner
On Fri, Aug 23, 2019 at 04:03:01PM +0200, Kamil Rytarowski wrote:
> On 23.08.2019 11:41, Thomas Klausner wrote:
> > With a cvs checkout from about an our ago, an amd64 build failed for
> > me:
> > 
> > --- dependall-safestack-m32 ---
> > /usr/src/sys/external/bsd/compiler_rt/dist/lib/safestack/safestack.cc:271:23:
> >  error: constructor priorities from 0 to 100 are reserved for the 
> > implementation [-Werror]
> >  void __safestack_init() {
> >^
> > 
> > 
> >  Thomas
> > 
> 
> What are the build options (-V flags in ./build.sh)?

 -V MKDEBUG=yes
 -V MKDEBUGLIB=yes
 -V MKLLVM=yes

 Thomas


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

2019-08-23 Thread Kamil Rytarowski
On 23.08.2019 11:41, Thomas Klausner wrote:
> With a cvs checkout from about an our ago, an amd64 build failed for
> me:
> 
> --- dependall-safestack-m32 ---
> /usr/src/sys/external/bsd/compiler_rt/dist/lib/safestack/safestack.cc:271:23: 
> error: constructor priorities from 0 to 100 are reserved for the 
> implementation [-Werror]
>  void __safestack_init() {
>^
> 
> 
>  Thomas
> 

What are the build options (-V flags in ./build.sh)?



signature.asc
Description: OpenPGP digital signature