From owner-freebsd-ports Thu Feb 14 16:30: 6 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8E72537B404 for ; Thu, 14 Feb 2002 16:30:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1F0U2G48637; Thu, 14 Feb 2002 16:30:02 -0800 (PST) (envelope-from gnats) Date: Thu, 14 Feb 2002 16:30:02 -0800 (PST) Message-Id: <200202150030.g1F0U2G48637@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: "Alexander N. Kabaev" Subject: Re: ports/34908: libpng port makes bad dynamic library on -CURRENT Reply-To: "Alexander N. Kabaev" Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR ports/34908; it has been noted by GNATS. From: "Alexander N. Kabaev" To: "David O'Brien" Cc: "Vladimir B. Grebenschikov" , FreeBSD-gnats-submit@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: ports/34908: libpng port makes bad dynamic library on -CURRENT Date: Thu, 14 Feb 2002 19:22:59 -0500 > This suggests a problem with the runtime-linker (rtld), not binutils. Actually, the bug is somewhere in the new binutils code, and I am very close to finding where it is exactly. The new liker fails to set DT_TEXTREL property in the shared library header even though its relocation table contains several entries which refer to the code segment. As a result, ld-elf.so.1 fails to enable writes on the text segment when relocating the binary and crashes with SIGBUS while processing the very first relocation record. I still need some time in debugger to find a proper way to fix this. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message