[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Problem with build-id and cycling the free pascal compiler
- From: Joost van der Sluis <joost cnoc nl>
- To: Development discussions related to Fedora <fedora-devel-list redhat com>
- Subject: Problem with build-id and cycling the free pascal compiler
- Date: Sat, 25 Apr 2009 15:53:48 +0200
Building the free pascal compiler (package fpc) fails due to a
build-id/ld problem.
The compiler builds itself, using an older version of the compiler. Then
the compiler which is just build is used to build the same compiler
again. This iterative process continues until the generated binary and
the compiler-binary are the same. (It's called cylcling a compiler, most
compilers who can compile themselves use this technique)
But on F11/rawhide the two binaries never become the same, because they
all get a different build-id. On F10 this problen never occured, though.
According to the ld-manpage the build-id is the same when all the
object-files are exactly the same. But I think that isn't the case. I
tried --build-id=md5 and --build-id=sha1, both fail.
Any ideas how to fix this? Adding --build-id=none is a solution, but
then the rpm contains a binary without build-id.
Any other ideas? Is this maybe a ld-bug, or is it intentional?
Joost.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]