From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 18 Dec 2009 05:23:20 +0300 From: "Dmitry V. Levin" To: ALT Devel discussion list Message-ID: <20091218022320.GA32403@wo.int.altlinux.org> Mail-Followup-To: ALT Devel discussion list References: <20091217211624.GA3586@ssh.git.orion.altlinux.org> <20091217215238.GN9864@altlinux.org> <20091217215921.GO9864@altlinux.org> <20091217224429.GA28428@wo.int.altlinux.org> <20091218000542.GQ9864@altlinux.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zhXaljGHf11kAtnf" Content-Disposition: inline In-Reply-To: <20091218000542.GQ9864@altlinux.org> X-fingerprint: FE4C 93AB E19A 2E4C CB5D 3E4E 7CAB E6AC 9E35 361E Subject: Re: [devel] eu-elflint X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Dec 2009 02:23:20 -0000 Archived-At: List-Archive: List-Post: --zhXaljGHf11kAtnf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 18, 2009 at 03:05:42AM +0300, Alexey Tourbin wrote: [...] > Actually I think maybe we should integrate eu-elflint into > /usr/lib/rpm/verify-elf. It has --gnu-ld flag to stop barking > at binutils semi-bugs, and otherwise it's useful. It needs /proc to work due to $ORIGIN thing it uses: with-proc$ ltrace -s64 -e dlopen eu-elflint --quiet --gnu-ld /bin/true=20 dlopen("$ORIGIN/../$LIB/elfutils/libebl_x86_64.so", 1) =3D 0x1227d810 +++ exited (status 0) +++ without-proc$ strace -eopen eu-elflint --quiet --gnu-ld /bin/pwd open("/etc/ld.so.cache", O_RDONLY) =3D 3 open("/usr/lib64/libelf.so.1", O_RDONLY) =3D 3 open("/lib64/libdl.so.2", O_RDONLY) =3D 3 open("/lib64/libc.so.6", O_RDONLY) =3D 3 open("/bin/pwd", O_RDONLY) =3D 3 open("/etc/ld.so.cache", O_RDONLY) =3D 4 open("/lib64/tls/x86_64/libebl_x86_64.so", O_RDONLY) =3D -1 ENOENT (No such= file or directory) open("/lib64/tls/libebl_x86_64.so", O_RDONLY) =3D -1 ENOENT (No such file o= r directory) open("/lib64/x86_64/libebl_x86_64.so", O_RDONLY) =3D -1 ENOENT (No such fil= e or directory) open("/lib64/libebl_x86_64.so", O_RDONLY) =3D -1 ENOENT (No such file or di= rectory) open("/usr/lib64/tls/x86_64/libebl_x86_64.so", O_RDONLY) =3D -1 ENOENT (No = such file or directory) open("/usr/lib64/tls/libebl_x86_64.so", O_RDONLY) =3D -1 ENOENT (No such fi= le or directory) open("/usr/lib64/x86_64/libebl_x86_64.so", O_RDONLY) =3D -1 ENOENT (No such= file or directory) open("/usr/lib64/libebl_x86_64.so", O_RDONLY) =3D -1 ENOENT (No such file o= r directory) section [ 9] '.rela.dyn': relocation 0: invalid type [...] section [10] '.rela.plt': relocation 50: invalid type --=20 ldv --zhXaljGHf11kAtnf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEUEARECAAYFAksq55cACgkQfKvmrJ41Nh4eZQCYxtdTcRwhMaBM3laTHg9krnk+ VgCgmeZ4QzCshfPSYjXBvkhr3l2QFq8= =WbR+ -----END PGP SIGNATURE----- --zhXaljGHf11kAtnf--