From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8B3973857829; Mon, 13 Dec 2021 12:09:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8B3973857829 From: "ro at CeBiTec dot Uni-Bielefeld.DE" To: gcc-bugs@gcc.gnu.org Subject: [Bug d/103577] d21 SIGSEGV on Darwin/x86_64 Date: Mon, 13 Dec 2021 12:09:25 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: d X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at CeBiTec dot Uni-Bielefeld.DE X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Dec 2021 12:09:25 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D103577 --- Comment #1 from ro at CeBiTec dot Uni-Bielefeld.DE --- > I recently tried to build master on Darwin 11 with gcc 11.0.1. That's the > first > release to build gdc, and while libphobos isn't marked as supported in > libphobos/configure.tgt, it does build with --enable-libphobos. > > However, with that gdc as bootstrap compiler, the resulting d21 SEGVs bui= lding > the stage1 libphobos, e.g. FWIW, I recently tried the same procedure in a macOS 12.1 VM (x86_64-apple-darwin21.2.0). This time, the build succeeded and test results are reasonable =3D=3D=3D gdc Summary =3D=3D=3D # of expected passes 11587 # of unsupported tests 2 =3D=3D=3D libphobos Summary =3D=3D=3D # of expected passes 556 # of unexpected failures 7 # of unsupported tests 1 although I had to rerun the libphobos tests sequentially since several would time out otherwise. There's one caveat, though, that applies equally to Mac OS X 10.7 and macOS 12.1: at least some of the stage1 dependency lists in gcc/d/.deps are corrupt in that they contain D source code after the dependencies proper, e.g. gcc/d/.deps/hash.Po: d/root-hash.o: /vol/gcc/src/hg/master/darwin/gcc/d/dmd/root/hash.d is.value =3D=3D c.value; } override size_t getHash(scope const void* p) @trusted const { return getArrayHash(value, p, len); } [...] I cannot yet tell if this is just an issue with GCC 11.1.0 gdc or libphobos that's fixed in 11.2.0 or gcc-11 branch.=