From owner-freebsd-current Wed Mar 22 11:48:16 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id LAA13097 for current-outgoing; Wed, 22 Mar 1995 11:48:16 -0800 Received: from trout.sri.MT.net (trout.sri.MT.net [204.182.243.12]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id LAA13091 for ; Wed, 22 Mar 1995 11:48:12 -0800 Received: (from nate@localhost) by trout.sri.MT.net (8.6.9/8.6.9) id MAA17021 for current@FreeBSD.org; Wed, 22 Mar 1995 12:52:15 -0700 Date: Wed, 22 Mar 1995 12:52:15 -0700 From: Nate Williams Message-Id: <199503221952.MAA17021@trout.sri.MT.net> X-Mailer: Mail User's Shell (7.2.5 10/14/92) To: current@FreeBSD.org Subject: GDB and current Sender: current-owner@FreeBSD.org Precedence: bulk With the change I just made to ld, you should be able to make gdb again w/out any modifications. I recomend that everyone re-make ld and then do a make world, although it's not necessary since the change only affects linking and not run-time. However, in order to make gdb you *have* to re-make and re-install ld. The change to ld was to have it no longer give special preference to static libraries over shared libraries. The problem we were seeing was that it was pulling in the regex routines from the static libcompat, but since they didn't resolve all of the necessary symbols, we also needs some from the GNu regex library. There were overlapping symbols which caused the error. With the new scheme, it will pull all of the symbol definitions from the gnu regex library (correctly) and only pull any undefined symbols from the static libcompat library, which is the correct behavior IMHO. So, ld now will link in the program based on the order of libraries on the command line. This is how it has always worked with all static and/or all shared libraries libraries, and I changed the behavior to work that way with mixed libraries. Nate