From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A1B2A3870896; Wed, 16 Dec 2020 12:09:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A1B2A3870896 From: "rimvydas.jas at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/98318] New: libcody breaks DragonFly bootstrap Date: Wed, 16 Dec 2020 12:09:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rimvydas.jas at gmail dot com 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 target_milestone attachments.created 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 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: Wed, 16 Dec 2020 12:09:06 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D98318 Bug ID: 98318 Summary: libcody breaks DragonFly bootstrap Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: rimvydas.jas at gmail dot com Target Milestone: --- Created attachment 49776 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D49776&action=3Dedit possible fix Since the introduction of libcody, gcc bootstrap is broken on DragonFly BSD: gmake[3]: Leaving directory '/build/trunk/libcpp' Configuring stage 1 in ./libcody configure: creating cache ./config.cache checking build system type... x86_64-unknown-dragonfly5.9 checking host system type... x86_64-unknown-dragonfly5.9 checking number of CPUs... unknown checking maintainer-mode... checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ -std=3Dc++11 accepts -g... yes checking whether g++ -std=3Dc++11 is for C++11... yes checking adding -Wl,--no-undefined to linker... ok /data/gg/libcody/configure: CONFIG_FILES+=3D ./Makesub: not found /data/gg/libcody/configure: CONFIG_FILES+=3D ./tests/Makesub: not found checking bugurl... github.com/urnathan/libcody checking checking... yes checking exceptions... no ... ar rc libcommon.a diagnostic.o diagnostic-color.o diagnostic-show-locus.o diagnostic-format-json.o json.o edit-context.o pretty-print.o intl.o sbitma= p.o vec.o input.o version.o hash-table.o ggc-none.o memory-block.o selftest.o selftest-diagnostic.o sort.o ranlib libcommon.a gmake[3]: *** No rule to make target '../libcody/libcody.a', needed by 'cc1-checksum.c'. Stop. gmake[3]: Leaving directory '/build/trunk/gcc' gmake[2]: *** [Makefile:4781: all-stage1-gcc] Error 2 gmake[2]: Leaving directory '/build/trunk' gmake[1]: *** [Makefile:27488: stage1-bubble] Error 2 gmake[1]: Leaving directory '/build/trunk' gmake: *** [Makefile:1004: all] Error 2 The /bin/sh is almquist shell and do not take VAR+=3D style appends. Another issue missing for sockaddr_in6 in netclient.cc and netserver.cc. Attached diff allows to bootstrap gcc11 once again.=