From owner-freebsd-hackers Fri Jun 20 11:02:09 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id LAA15612 for hackers-outgoing; Fri, 20 Jun 1997 11:02:09 -0700 (PDT) Received: from austin.polstra.com (austin.polstra.com [206.213.73.10]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA15607 for ; Fri, 20 Jun 1997 11:02:02 -0700 (PDT) Received: from austin.polstra.com (jdp@localhost) by austin.polstra.com (8.8.5/8.8.5) with ESMTP id LAA12386; Fri, 20 Jun 1997 11:01:46 -0700 (PDT) Message-Id: <199706201801.LAA12386@austin.polstra.com> To: luoqi@sabrina.watermarkgroup.com Subject: Re: ld -T bug Newsgroups: polstra.freebsd.hackers In-Reply-To: <199706190539.BAA11739@sabrina.watermarkgroup.com> References: <199706190539.BAA11739@sabrina.watermarkgroup.com> Organization: Polstra & Co., Seattle, WA Cc: hackers@freebsd.org Date: Fri, 20 Jun 1997 11:01:46 -0700 From: John Polstra Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In article <199706190539.BAA11739@sabrina.watermarkgroup.com>, Luoqi Chen wrote: > link was successful, but it seemed that > ld had written RSS section at the wrong offset in the executable file, > it was written as if the start address was still the default. So ld.so > won't see them at expected location and results in a segmentation fault. > This problem goes away when binding statically (e.g. building the kernel) > as there is no RSS section. > > I have attached a fix for this problem. Could anyone commit this to > the CVS tree? Thanks. This bug was already fixed in -current on May 13. The fix hasn't been merged into -2.2 yet. By the way, please always specify which version of FreeBSD you're running when you report a problem. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-knowledge is always bad news." -- John Barth