From owner-freebsd-hackers Sat Apr 11 20:10:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA03166 for freebsd-hackers-outgoing; Sat, 11 Apr 1998 20:10:40 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from austin.polstra.com (austin.polstra.com [206.213.73.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA03042 for ; Sat, 11 Apr 1998 20:09:31 -0700 (PDT) (envelope-from jdp@austin.polstra.com) Received: from austin.polstra.com (jdp@localhost) by austin.polstra.com (8.8.8/8.8.8) with ESMTP id UAA01286; Sat, 11 Apr 1998 20:09:25 -0700 (PDT) (envelope-from jdp) Message-Id: <199804120309.UAA01286@austin.polstra.com> To: rotel@indigo.ie cc: hackers@FreeBSD.ORG Subject: Re: ld: internal error: allocated set symbol space (2) doesn't match actual (6) In-reply-to: Your message of "Sat, 11 Apr 1998 21:01:16 -0000." <199804112001.VAA06760@indigo.ie> Date: Sat, 11 Apr 1998 20:09:25 -0700 From: John Polstra Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I've been working on isolating a simple test case that might be more > useful than the output from ldd -v, (though you're still welcome to > that, or the source/binaries) I've appended it to this mail. > > If you compile it with egcs-current without -DGLOBAL then all cases > work, if you compile with -DGLOBAL then it won't link for cases A > and D, it links but dumps core before main() for cases B and E and > case C works fine. Aha! Thanks very much for the test case. It clears up a lot of things. This is actually an assembler bug. It just so happens that I committed a fix for it a few days ago. Get the latest assembler from -current, and you will find that this problem is gone. The fix is in revision 1.6 of src/gnu/usr.bin/as/config/obj-aout.c. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-knowledge is always bad news." -- John Barth To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message