From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 21 Dec 2009 21:06:48 +0300 From: Alexey Tourbin To: ALT Linux Team development discussions Message-ID: <20091221180648.GM9864@altlinux.org> Mail-Followup-To: ALT Linux Team development discussions References: <20091218000542.GQ9864@altlinux.org> <20091219002640.GU9864@altlinux.org> <20091219195007.GA1460@wo.int.altlinux.org> <20091219210349.GX9864@altlinux.org> <20091219214217.GA2033@wo.int.altlinux.org> <20091219235738.GB9864@altlinux.org> <20091220023747.GC9864@altlinux.org> <4B2F1058.90507@mmedia2.kemsu.ru> <20091221060204.GJ9864@altlinux.org> <4B2F14E9.3030202@mmedia2.kemsu.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="H2KldwcJKd1z3Oo/" Content-Disposition: inline In-Reply-To: <4B2F14E9.3030202@mmedia2.kemsu.ru> Subject: [devel] [SOLVED] verify-elf lint=normal (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: Mon, 21 Dec 2009 18:06:49 -0000 Archived-At: List-Archive: List-Post: --H2KldwcJKd1z3Oo/ Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 21, 2009 at 01:25:45PM +0700, REAL wrote: > Alexey Tourbin =D0=C9=DB=C5=D4: > >>http://git.altlinux.org/tasks/17565/task/log.5 > > > >Please understand that > >1) 4.0.4-alt98.25+ is about sisyphus, and you are trying to build > >for branch 5.1. > >2) elflint will not help you to build the package. > >It is only to diagnose malformed binaries. >=20 > But what shall I do to build CGAL for branch 5.1? This whole issue is due to buggy CMake. When installing binaries into buildroot, CMake removes RPATH from the binaries. The RPATH removal appears to be a low-level stuff hardcoded in C+plus. Sometimes it works. +2009-06-10 14:11 king + + * Source/cmComputeLinkInformation.cxx: BUG: Do not mangle symbols + when editing RPATHs + + In ELF binaries the .dynstr string table is used both for the + RPATH string and for program symbols. If a symbol name happens + to match the end of the build-tree RPATH string the linker is + allowed to merge the symbols. + + We must not allow this when the RPATH string will be replaced + during installation because it will mangle the symbol. Therefore + we always pad the end of the build-tree RPATH with ':' if it will + be replaced. Tools tend not to use ':' at the end of symbol + names, so it is unlikely to conflict. See issue #9130. --H2KldwcJKd1z3Oo/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAksvuTgACgkQfBKgtDjnu0YzfACfSbAeb1duqW+taF8at5LuPZqj M7kAoLOP/Htug76rsvjmb2omK30Sa7Nx =Y01h -----END PGP SIGNATURE----- --H2KldwcJKd1z3Oo/--