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 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


Home | Main Index | Thread Index | Old Index