[Pkg-pascal-devel] Workaround for "/usr/bin/ld: warning: link.res contains output sections; did you forget -T?"

Alexander F Rødseth xyproto at archlinux.org
Mon Aug 14 10:39:02 UTC 2017


Hi,


The combination of fpc and ld from binutils has produced the following
warning for years:

/usr/bin/ld: warning: link.res contains output sections; did you forget -T?


As I gather, binutils updatream does not view this is a problem,
neither does fpc upstream, but it's mildly annoying for especially new
users of fpc.

I created a utility that binary patches /usr/bin/ld to get rid of this
warning, here: https://github.com/xyproto/ldfpcfix

You may or may not want to use it in connection with packaging fpc,
but at least a workaround is available.


-- 
Best regards,
    Alexander F Rødseth / xyproto



More information about the Pkg-pascal-devel mailing list