Date: Thu, 14 Feb 2002 17:00:02 -0800 (PST) From: Terry Lambert <tlambert2@mindspring.com> To: freebsd-ports@FreeBSD.org Subject: Re: ports/34908: libpng port makes bad dynamic library on -CURRENT Message-ID: <200202150100.g1F102t52418@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/34908; it has been noted by GNATS. From: Terry Lambert <tlambert2@mindspring.com> To: "Alexander N. Kabaev" <ak03@gte.com> Cc: David O'Brien <obrien@FreeBSD.ORG>, "Vladimir B. Grebenschikov" <vova@sw.ru>, 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 16:55:48 -0800 "Alexander N. Kabaev" wrote: > > 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. Woohoo! He shoots, he scores! > I still need some time in debugger to find a proper way to fix this. My binutils-foo is rusty. Personally, I just reverted to the old binutils and called it a day. 8-). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202150100.g1F102t52418>