"ERROR: No build ID note found in" while building fpc (Freepascal compiler)

Roland McGrath roland at redhat.com
Tue Oct 16 10:54:53 UTC 2007


This looks like it might be a sufficient hack, not that I really know this code.

--- fpcbuild-2.2.0/fpcsrc/compiler/systems/t_linux.pas
+++ fpcbuild-2.2.0/fpcsrc/compiler/systems/t_linux.pas
@@ -828,7 +828,7 @@ begin
 { Call linker }
   SplitBinCmd(Info.ExeCmd[1],binstr,cmdstr);
   Replace(cmdstr,'$EXE',maybequoted(current_module.exefilename^));
-  Replace(cmdstr,'$OPT',Info.ExtraOptions);
+  Replace(cmdstr,'$OPT',Info.ExtraOptions+' --build-id');
   Replace(cmdstr,'$RES',maybequoted(outputexedir+Info.ResName));
   Replace(cmdstr,'$STATIC',StaticStr);
   Replace(cmdstr,'$STRIP',StripStr);




More information about the fedora-devel-list mailing list