NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/59224: Build failure on Solaris-11.4 for sh/init.c
>Number:         59224
>Category:       bin
>Synopsis:       Build failure on Solaris-11.4 for sh/init.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 26 19:15:00 +0000 2025
>Originator:     Sad Clouds
>Release:        NetBSD-10
>Organization:
>Environment:
SunOS t4-node1 5.11 11.4.42.111.0 sun4v sparc sun4v non-virtualized
>Description:
Building NetBSD-10 with build.sh fails:
init.c: In function 'initshellproc':
init.c:502:23: error: missing terminating " character [-Werror]
  502 |     VTRACE(DBG_TRAP, ("SHELLPROC: %d -> hard_ign
      |                       ^
init.c:503:1: error: missing terminating " character [-Werror]
  503 | ",
      | ^
The init.c file is auto generated in:
/opt/netbsd/obj.sparc64/bin/sh/init.c
however for some reason on this platform this results in broken " character on a new line
                for (sm = sigmode ; sm < sigmode + NSIG ; sm++) {
                        if (*sm == S_IGN) {
                                *sm = S_HARD_IGN;
                                VTRACE(DBG_TRAP, ("SHELLPROC: %d -> hard_ign
",
                                    (sm - sigmode)));
                        }
                }
                INTON;
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index