pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/55627: git-base fails to build using GCC 7.4.0 with PKGSRC_USE_STACK_CHECK



>Number:         55627
>Category:       pkg
>Synopsis:       git-base fails to build using GCC 7.4.0 with PKGSRC_USE_STACK_CHECK
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 30 03:30:00 +0000 2020
>Originator:     Travis Paul
>Release:        NetBSD 9.0 (GCC in base) and pkgsrc current
>Organization:
>Environment:
NetBSD pbulk-limited.local 9.0 NetBSD 9.0 (GENERIC) #0: Fri Feb 14 00:06:28 UTC 2020  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64

>Description:
When setting PKGSRC_USE_STACK_CHECK=yes in mk.conf git-base fails to build with the following error:

in file included from builtin/rebase.c:20:0:
builtin/rebase.c: In function 'cmd_rebase__interactive':
builtin/rebase.c:480:37: internal compiler error: in recompute_tree_invariant_for_addr_expr, at tree.c:4282
   OPT_CALLBACK_F('k', "keep-empty", &options, NULL,
./parse-options.h:152:32: note: in definition of macro 'OPT_CALLBACK_F'
  { OPTION_CALLBACK, (s), (l), (v), (a), (h), (f), (cb) }
                                ^
no stack trace because unwind library not available
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://www.NetBSD.org/support/send-pr.html> for instructions.
gmake: *** [Makefile:2386: builtin/rebase.o] Error 1

>How-To-Repeat:
Build git-base-2.28.0 using GCC 7.4.0 with with PKGSRC_USE_STACK_CHECK=yes
>Fix:
I only know of workarounds:
- Set PKGSRC_USE_STACK_CHECK=no in mk.conf 
- Use the default disabled value (of no) 
- Set STACK_CHECK_SUPPORTED=no in /usr/pkgsrc/devel/git/Makefile.common (Maybe this can be done conditionally when using GCC 7.4.0?)


Home | Main Index | Thread Index | Old Index