Current-Users archive

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

Build break on amd64



With sources updated just a few minutes ago, I get

In file included from /build/netbsd-local/src/sys/kern/exec_elf32.c:39:0:
/build/netbsd-local/src/sys/kern/exec_elf.c: In function 'exec_elf32_makecmds':
/build/netbsd-local/src/sys/kern/exec_elf.c:739:2: error: 'p' undeclared 
(firstuse in this function)
/build/netbsd-local/src/sys/kern/exec_elf.c:739:2: note: each undeclared 
identifier is reported only once for each function it appears in

This references the following code:

#if defined(PAX_MPROTECT) || defined(PAX_SEGVGUARD) || defined(PAX_ASLR)
        p->p_pax = epp->ep_pax_flags;
#endif /* PAX_MPROTECT || PAX_SEGVGUARD || PAX_ASLR */


I suspect the following commit:

Module Name:    src
Committed By:   skrll
Date:           Mon Apr  8 21:12:33 UTC 2013

Modified Files:
        src/sys/dev/usb: dwc_otg.c
        src/sys/kern: exec_elf.c sys_descrip.c uipc_socket.c
        src/sys/miscfs/fifofs: fifo_vnops.c
        src/sys/ufs/ext2fs: ext2fs_vfsops.c

Log Message:
Remove some set but unused variables



-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index