summaryrefslogtreecommitdiffstats
path: root/src/build/tools/gerrit-hostname
diff options
context:
space:
mode:
authorJan Hlavac <jhlavac@redhat.com>2018-07-03 17:24:48 +0200
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2018-07-19 15:46:51 -0500
commit9be05f401c09f8ecf978c210a10ccdf217b001cc (patch)
tree165abab0ef2e73db30c8e8db54dbae7b61bebb84 /src/build/tools/gerrit-hostname
parentbe6ed717c7a1de17f3934ed229b64c30f7a9e58b (diff)
downloadtalos-hostboot-9be05f401c09f8ecf978c210a10ccdf217b001cc.tar.gz
talos-hostboot-9be05f401c09f8ecf978c210a10ccdf217b001cc.zip
linker: fix compiler warnings
In Fedora 28 (x86_64) the linker binary, produced by GCC 8.1.1, always ended in an infinite loop in which it repeatedly appended some text to *.lnkout.bz2 file and *.bin.modinfo file. Example : .hbicore.lnkout.bz2: Error writing to output. Success hbicore.bin.modinfo: hbicore.elf,0x0 The GCC was also displaying warnings about missing return statements (-Wreturn-type). When these warnings were fixed, the problem with infinite loop disappeared. This problem also never appeared when the -O0 flag was used. While being there, also fix some warnings that happen with the -Wall flag. Resolves #143 Change-Id: Ia1ddfa07d3b22b151922de2df1db91ffc2aad2ca Signed-off-by: Jan Hlavac <jhlavac@redhat.com> Signed-off-by: Joel Stanley <joel.stanley@au1.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/61862 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/62830 Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/build/tools/gerrit-hostname')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud