pkgsrc-Users archive

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

Re: bootstrap for x86_64 on Mac M1?



On Sat, Jun 12, 2021 at 5:14 AM Roland Illig <roland.illig%gmx.de@localhost> wrote:
>
> Am 11.06.2021 um 18:56 schrieb Mansour Moufid:
> > On Fri, Jun 11, 2021 at 12:50 PM Mansour Moufid <mansourmoufid%gmail.com@localhost>
> > wrote:
> >>
> >> Bootstrap was successful with -dA.
> >>
> >> But I get the same error again when I try to build anything...
> >
> > Sorry for the double email...
> >
> > bmake -dA builds and installs packages successfully!
>
> That's very strange. Adding "-dA" should not affect the actual outcome
> at all, it should only print lots of debugging details to stderr.
>
> Can you reliably reproduce that bootstrapping without -dA fails and that
> bootstrapping with -dA succeeds?

Without -dA, bootstrap fails 100% of the time.

With -dA, bootstrap fails about 40% of the time.

Same without optimizations (CFLAGS="-O0").

I suspect it's a bug in Rosetta 2, or maybe clang... I'll try to
reproduce with a clang built from source.


Home | Main Index | Thread Index | Old Index