From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8789E3858D37; Wed, 20 Jul 2022 02:45:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8789E3858D37 From: "orbea at riseup dot net" To: gdb-prs@sourceware.org Subject: [Bug build/29372] slibtool build failure - make[2]: *** No rule to make target '../bfd/libbfd.a', needed by 'gdb'. Stop. Date: Wed, 20 Jul 2022 02:45:15 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: build X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: orbea at riseup dot net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware 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://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2022 02:45:15 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29372 --- Comment #3 from orbea --- > I don't know anything about slibtool, but it sounds like > maybe the provided build system is being modified to work > with it? slibtool (https://dev.midipix.org/cross/slibtool) is an alternate libtool implementation written in c99 which intends to be a minimal, readable and maintainable code base. It has a few edge cases left, but it works almost everywhere that libtool is used with the caveat that are numerous programs = that depend on one more GNU libtool bug. For example a common issue is where GNU libtool silently ignores -no-undefined while slibtool does not do this which will fail if there are hidden undefined references. However most issues are= now fixed in gentoo, see: https://bugs.gentoo.org/765709 It can be tested by exporting MAKEFLAGS and/or MAKE in the environment: export MAKEFLAGS=3D'LIBTOOL=3Drlibtool' export MAKE=3D'make LIBTOOL=3Drlibtool' Most build systems just need MAKEFLAGS to be set, but some will drop MAKEFL= AGS during the build due to uses of recursive make(1). This is where setting MA= KE is also important. > Changing gdb to use libtool for linking seems fine to me, > as long as it doesn't slow down the whole build somehow. > You may have to find all the subdirectories relying on this hack. It actually might be that simple to just link with libtool, at least to get= the build to complete on my system. I attached a patch that does that for the g= db/ directory which seems to be the only place I need to modify. I don't think it should make a huge impact on the build time, but fwiw slib= tool is significantly faster than GNU libtool. --=20 You are receiving this mail because: You are on the CC list for the bug.=