[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: "ERROR: No build ID note found in" while building fpc (Freepascal compiler)
- From: Jakub Jelinek <jakub redhat com>
- To: Development discussions related to Fedora <fedora-devel-list redhat com>
- Cc: Roland McGrath <roland redhat com>
- Subject: Re: "ERROR: No build ID note found in" while building fpc (Freepascal compiler)
- Date: Tue, 16 Oct 2007 06:16:30 -0400
On Tue, Oct 16, 2007 at 12:06:57PM +0200, Joost van der Sluis wrote:
> I got this problem on Koji wile compiling fpc:
>
> extracting debug info
> from /var/tmp/fpc-2.2.0-3.fc8-root-kojibuilder/usr/bin/h2pas
> *** ERROR: No build ID note found in /var/tmp/fpc-2.2.0-3.fc8-root-kojibuilder/usr/bin/h2pas
> error: Bad exit status from /var/tmp/rpm-tmp.37361 (%install)
>
> I've read this message: https://www.redhat.com/archives/fedora-maintainers/2007-August/msg00141.html
> and it gives some hints, but they are useless for Freepascal. ;)
You need to arrange for the compiler to pass --build-id option to the
linker when it invokes it. In gcc that's done through spec change, how to
in freepascal it is probably done differently. While at it, make sure e.g.
--eh-frame-hdr is passed to the linker as well for non-static links.
> h2pas is static-linked, could that be the problem? (all files in this packages are)
If all programs in freepascal are statically linked, then I wonder how this
package ever could get through review.
Jakub
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]