Problem with build-id and cycling the free pascal compiler

Roland McGrath roland at redhat.com
Tue May 19 20:34:27 UTC 2009


> I've placed a new file with the same name with unstripped-binaries. I
> just tried to make a simple example, but didn't realize that the
> compiled would add '-s' to the link-script when no debug-information is
> specified. (The script is generated by the compiler)

Btw, note that "--build-id=md5" is not what you want to be using.
What gcc passes is just "--build-id", which defaults to "--build-id=sha1".
fpc should use plain "--build-id" too.

The fact that the input files don't contain any debug info rules out the
kinds of problems I was expecting it would be.  This just looks like a new
ld bug (a regression since F10).

https://bugzilla.redhat.com/show_bug.cgi?id=501582


Thanks,
Roland




More information about the devel mailing list