Skip to content

Commit

Permalink
Fix cscope segfault problem
Browse files Browse the repository at this point in the history
Remove -q option as this option leads to a segfault on
obj/modules/testfapi2/testfapi2.C

User will see this:
/bin/sh: line 2: 10942 Segmentation fault      cscope -bqk

Change-Id: If4d6264351605e2313ce481a07f501e5cdec4fdf
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/67113
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
  • Loading branch information
mderkse1 authored and dcrowell77 committed Oct 7, 2018
1 parent 93192af commit 667b300
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/build/mkrules/cscope.rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
#
# OpenPOWER HostBoot Project
#
# COPYRIGHT International Business Machines Corp. 2013,2014
# Contributors Listed Below - COPYRIGHT 2013,2018
# [+] International Business Machines Corp.
#
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -31,7 +33,8 @@ cscope:
$(C2) " CSCOPE"
$(C1)(cd $(ROOTPATH)/obj/cscope ; rm -f cscope.* ; \
find ../../ -name '*.[CHchS]' -type f -fprint cscope.files; \
cscope -bqk)
cscope -bk)
# removed -q as it caused a segfault in obj/modules/testfapi2/testfapi2.C

.PHONY: ctags
ctags:
Expand Down

0 comments on commit 667b300

Please sign in to comment.