From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3D1793858C42; Mon, 11 Dec 2023 10:47:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3D1793858C42 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1702291652; bh=Wig9MvfOqs7G9InMsVRYmY1xgqD/zgXLl9A5mKOc63c=; h=From:To:Subject:Date:From; b=irPr77H+3kMA4pksNUWrL1S9CHrFkpcortaQ4nyPOlKyF7F+RkjVnKuQGYxN5gBRq gYXK92OS2FtAMMurlTS87Rtp/NJSgkIjG89PWly8RZ3l2WIl0MIuKgQIKNLbGn7nSH dti10RAh2/iZ2Km3lGlA/6gOmXNSY73jG7qzBDMk= From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/112959] New: install.tex needs updates on FreeBSD Date: Mon, 11 Dec 2023 10:47:31 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone cf_gcchost cf_gcctarget cf_gccbuild Message-ID: 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D112959 Bug ID: 112959 Summary: install.tex needs updates on FreeBSD Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org CC: andreast at gcc dot gnu.org, gerald at pfeifer dot com Target Milestone: --- Host: x86_64-unknown-freebsd14.0 Target: x86_64-unknown-freebsd14.0 Build: x86_64-unknown-freebsd14.0 I've recently tried a trunk bootstrap on FreeBSD 14.0/amd64, which was quit= e an unpleasant experience: * With the default, /usr/bin/ld, libgcc_s.so.1 doesn't link: PR target/112745 stage 1 libgcc_s.so fails to link on FreeBSD * Ada bootstrap proved to be a hellhole: the packaged gnat12 didn't work to compile GCC 11.4.0: error: ("/usr/local/gnat12/lib/gcc/x86_64-portbld-freebsd14.0/12.2.0/adalib/s-aota= se.ali" is obsolete and read-only) error: ("/usr/local/gnat12/lib/gcc/x86_64-portbld-freebsd14.0/12.2.0/adalib/s-atoo= pe.ali" is obsolete and read-only) error: ("/usr/local/gnat12/lib/gcc/x86_64-portbld-freebsd14.0/12.2.0/adalib/s-atop= ri.ali" is obsolete and read-only) error: ("/usr/local/gnat12/lib/gcc/x86_64-portbld-freebsd14.0/12.2.0/adalib/i-c.al= i" is obsolete and read-only) I cannot tell if this is due to trying to build with a newer version of G= NAT or just a packaging error. I then tried to build lang/gcc6-aux from the ports tree, but that also fa= iled compiling various instances of obstack.c. Those could be hacked around, = but when I later gave up on this. Fortunately I could successfully use GNAT 6.4.1 from /usr/ports/distfiles/ada-bootstrap.x86_64.freebsd.120.tar.bz2. Not really a pleasant experience, especially if you have to figure this o= ut on your own. * libgo doesn't compile, as has been known for years. Again, a totally was= te of time having to rediscover this all on your own. * Neither libada nor libphobos build with the default multilib configuratio= n: PR d/112957 [13/14 regression] src/std/math/exponential.d doesn't compi= le on 32-bit FreeBSD/x86 PR ada/112958 [14 regression] s-exnllf.ads etc. don't compile on 32-bit FreeBSD/x86 In the end, the only way to have a successful build with --disable-multilib and Go disabled. It would be extremely helpful if install.texi would document some of the common quirks of the target, so regular developers won't have to go down this route all by themselves.=