Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Feb 2002 19:22:59 -0500
From:      "Alexander N. Kabaev" <ak03@gte.com>
To:        "David O'Brien" <obrien@FreeBSD.ORG>
Cc:        "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
Message-ID:  <20020215002259.GA15937@kanpc.gte.com>
In-Reply-To: <20020213075240.A5788@dragon.nuxi.com>
References:  <E16b0VK-000PUb-00@vbook.express.ru> <20020213145902.GA20062@nagual.pp.ru> <20020213070251.A5321@dragon.nuxi.com> <1013613282.51362.9.camel@vbook.express.ru> <20020213075240.A5788@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020215002259.GA15937>