Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (36m)  netbsd-8 (6d)  netbsd-10 (6d)  netbsd-9 (12d)  thorpej-ifq (176d)  thorpej-altq-separation (178d) 

2024-05-10 20:05:54 UTC Now

2016-04-03 08:01:34 UTC MAIN commitmail json YAML

Update root.cache to 2016/3/23 version, l.root-servers.net's AAAA record
has changed.

(taca)

2016-04-03 06:16:02 UTC MAIN commitmail json YAML

add a simple note about GCC 5.3.

(mrg)

2016-04-03 06:13:28 UTC MAIN commitmail json YAML

switch amd64 and i386 to GCC 5.3 by default.

(mrg)

2016-04-03 02:28:46 UTC MAIN commitmail json YAML

implement WCONTINUED, untested
fill out more siginfo fields.
use geteuid instead of getuid

(christos)

2016-04-03 02:08:42 UTC MAIN commitmail json YAML

switch idtype.h to an enum, as required by POSIX.

(christos)

2016-04-03 01:49:51 UTC MAIN commitmail json YAML

2016-04-03 01:22:39 UTC MAIN commitmail json YAML

2016-04-03 01:22:18 UTC MAIN commitmail json YAML

rump needs <sys/idtype.h>

(christos)

2016-04-03 01:01:46 UTC MAIN commitmail json YAML

2016-04-03 01:00:26 UTC MAIN commitmail json YAML

include <sys/idtype.h>

(christos)

2016-04-03 00:48:29 UTC MAIN commitmail json YAML

add idtype.h to mklintstub and say who generates it.

(christos)

2016-04-03 00:20:23 UTC MAIN commitmail json YAML

2016-04-03 00:19:42 UTC MAIN commitmail json YAML

2016-04-03 00:18:01 UTC MAIN commitmail json YAML

renumber to maintain binary compatibility with pset(3), from kre@

(christos)

2016-04-02 22:40:43 UTC MAIN commitmail json YAML

Take a stab at implementing drm_idlelock_take/release.

Evidently needed by VIA DRM/UMS.  Noted and tested by medfly/coypu.

(riastradh)

2016-04-02 22:37:03 UTC MAIN commitmail json YAML

Need to specify mmap_object operation here!

Not sure how I tested this before, or whether I just made this change
locally and forgot to commit it and then lost the change.

(riastradh)

2016-04-02 22:08:14 UTC MAIN commitmail json YAML

add some comments and prefer MACHINE over MACHINE_ARCH when
they're always the same.  no functional change.

(mrg)

2016-04-02 21:21:57 UTC MAIN commitmail json YAML

don't skip values.

(christos)

2016-04-02 21:09:43 UTC MAIN commitmail json YAML

need more includes for siginfo...

(christos)

2016-04-02 21:03:13 UTC MAIN commitmail json YAML

2016-04-02 21:02:40 UTC MAIN commitmail json YAML

2016-04-02 21:01:32 UTC MAIN commitmail json YAML

2016-04-02 20:46:38 UTC MAIN commitmail json YAML

2016-04-02 20:38:40 UTC MAIN commitmail json YAML

Add wait6() to be used to implement waitid, mostly from FreeBSD.
Create idtypes.h shared by wait.h and pset.h

(christos)

2016-04-02 16:18:55 UTC MAIN commitmail json YAML

Add malloc.conf.0 to fix build with MKCATPAGES

(kamil)

2016-04-02 11:18:26 UTC MAIN commitmail json YAML

correct the definition of WSTOPPED

(christos)

2016-04-02 08:54:48 UTC MAIN commitmail json YAML

amiga kernel builds and runs

(mlelstv)

2016-04-02 08:48:35 UTC MAIN commitmail json YAML

PR/51017: VEXPRESS_A15 doesn't compile

Don't pretend to be anything other than A15

(skrll)

2016-04-02 08:16:54 UTC MAIN commitmail json YAML

appease compiler. Fixes options MODULAR build.

(mlelstv)

2016-04-01 20:21:45 UTC MAIN commitmail json YAML

sun4v: Workaround for OpenBoot feature where a 64-bit address is truncated to a 32-bit address. This happends when a write to the console (/virtual-devices@100/console@1) is done. Avoid this by using a static buffer that is mapped below 4GB. Thanks to Tarl Neustaedter for explaining how OpenBoot works. ok martin@

(palle)

2016-04-01 19:59:08 UTC MAIN commitmail json YAML

- if we are freeing cur_term, set it to NULL.
- preserve and free "last" properly.

$ cat foo.c
#include <stdio.h>
#include <termcap.h>

int
main(void)
{
tgetent(NULL, "dumb");
tgetent(NULL, "network");
tgetflag("so");
return 0;
}
$ cc foo.c -lterminfo
$ MALLOC_OPTIONS=J ./a.out
Boom.

XXX: pullup-7

(christos)

2016-04-01 15:13:45 UTC nick-nhusb commitmail json YAML

Revert previous as it needs some work.

(skrll)

2016-04-01 14:20:06 UTC nick-nhusb commitmail json YAML

Deal with ZLP (zero length packets) properly

(skrll)

2016-04-01 14:17:24 UTC nick-nhusb commitmail json YAML

Damn it... whitespace.

(skrll)

2016-04-01 14:13:29 UTC nick-nhusb commitmail json YAML

Guess what... whitspace.

(skrll)

2016-04-01 14:12:17 UTC nick-nhusb commitmail json YAML

2016-04-01 14:11:02 UTC nick-nhusb commitmail json YAML

2016-04-01 14:08:40 UTC nick-nhusb commitmail json YAML

2016-04-01 14:06:14 UTC nick-nhusb commitmail json YAML

2016-04-01 12:58:15 UTC nick-nhusb commitmail json YAML

constify tdflags in ohci_{alloc,reset}_std_chain

(skrll)

2016-04-01 12:37:48 UTC MAIN commitmail json YAML

2016-04-01 09:52:39 UTC MAIN commitmail json YAML

Don't request returning rtentry if not use it

(ozaki-r)

2016-04-01 09:16:02 UTC MAIN commitmail json YAML

Remove unnecessary casts and do s/0/NULL/ for rtrequest

(ozaki-r)

2016-04-01 09:00:27 UTC MAIN commitmail json YAML

Remove unnecessary RTTIMER_CALLOUT macro

rttimer#rtt_func never be NULL.

(ozaki-r)

2016-04-01 08:19:32 UTC MAIN commitmail json YAML

for GCC 5.3 pass -fwrapv as this relies upon well-defined integer overflow.

(mrg)

2016-04-01 08:12:00 UTC MAIN commitmail json YAML

2016-04-01 07:23:15 UTC MAIN commitmail json YAML

' != " so make the condition actually work. (same as r1.30)

(knakahara)

2016-04-01 06:33:19 UTC MAIN commitmail json YAML

Use __func__ in log messages

(ozaki-r)

2016-04-01 06:25:51 UTC MAIN commitmail json YAML

Use __func__ in log messages

(ozaki-r)

2016-04-01 05:23:56 UTC MAIN commitmail json YAML

no need to escape

(ryo)

2016-04-01 05:11:38 UTC MAIN commitmail json YAML

2016-04-01 02:00:14 UTC MAIN commitmail json YAML

Make some global variables static

(ozaki-r)

2016-03-31 23:11:05 UTC MAIN commitmail json YAML

After discussions with Jilles Tjoelker (FreeBSD shell) and
following a suggestion from him, the way the fix to PR bin/50993
was implemented has changed a little.  There are three steps involved
in processing a here document, reading it, parsing it, and then
evaluating it before applying it to the correct file descriptor for
the command to use.  The third of those is not related to this
problem, and has not changed.  The bug was caused by combining the
first two steps into one (and not doing it correctly - which would be
hard that way.)  The fix is to split the first two stages into
separate events.  The original fix moved the 2nd stage (parsing)
to just immediately before the 3rd stage (evaluation.)  Jilles
pointed out some unwanted side effects from doing it that way, and
suggested moving the 2nd stage to immediately after the first.
This commit makes that change.  The effect is to revert the changes
to expand.c and parser.h (which are no longer needed) and simplify
slightly the change to parser.c. (from kre@)

(christos)

2016-03-31 22:49:15 UTC MAIN commitmail json YAML

2016-03-31 20:17:58 UTC MAIN commitmail json YAML

PR/51034: Abhinav Upadhyay: makemandb(8): Close database connection when
failed to commit

(christos)

2016-03-31 20:16:58 UTC MAIN commitmail json YAML

PR/51025: Abhinav Upadhyay: Remove unused includes from apropos-utils.c

(christos)

2016-03-31 20:15:49 UTC MAIN commitmail json YAML

update with the final list

(christos)

2016-03-31 20:14:36 UTC MAIN commitmail json YAML

PR/51018: Abhinav Upadhyay: Update stopwords list for apropos(1)

(christos)

2016-03-31 20:13:37 UTC MAIN commitmail json YAML

PR/51007: Abhinav Upadhyay: apropos.c: Remove unused includes

(christos)

2016-03-31 16:28:23 UTC MAIN commitmail json YAML

replace with standard copyright :-)

(christos)

2016-03-31 16:22:54 UTC MAIN commitmail json YAML

Avoid leaving turds in /tmp. (from kre@)

(christos)

2016-03-31 16:22:28 UTC MAIN commitmail json YAML

When embedding a command in a subshell "( ... )" avoid accidentally
producing (( (when the cmd starts with a '(' as that as a reserved
sequence (according to posix) and some shells do treat it specially.
So, force a space after the enclosing '(' to avoid the problem.
For symmetry, put a space before the concluding ')' as well, though
there is nothing special about )). (from kre@)

(christos)

2016-03-31 16:21:52 UTC MAIN commitmail json YAML

Added lots more end delimiter tests (some weird cases...). Also
use printf %s instead of echo, as there are embedded \ chars in
some of the strings, and some other (nameless) shells insist on
treating \ in the args to echo as something special... (from kre@)

(christos)

2016-03-31 16:21:10 UTC MAIN commitmail json YAML

PR bin/51027 - tests for shell positional parameters, including
testing that $10 is correctly parsed as ${1}0 and not as ${10}.
More than that though. (from kre@)

(christos)

2016-03-31 16:20:40 UTC MAIN commitmail json YAML

Added tests collected by Sven Mascheck
http://www.in-ulm.de/~mascheck/various/cmd-subst/
which test cases of ')' being embedded in command substitutions.
(from kre@)

(christos)

2016-03-31 16:19:52 UTC MAIN commitmail json YAML

Don't confuse more capable shells by writing operator combinations
that could be interpreted as something different. That is, for our
shell +4++3 is just (+4)+(+3) and works fine. But others treat ++
as the increment operator.  Same for --. Sprinkle spaces to taste.
(from kre@)

(christos)

2016-03-31 16:18:23 UTC MAIN commitmail json YAML

Document the NETBSD_SHELL variable, the enhancements to export,
the posix option, and a whole bunch of miscellaneous updates and
corrections. (from kre@)

(christos)

2016-03-31 16:16:35 UTC MAIN commitmail json YAML

Implement the NETBSD_SHELL readonly unexportable unimportable
variable (with its current value set at 20160401) as discussed on
current-users and tech-userlevel. This also includes the necessary
support to implement it properly (particularly the unexportable
part) and adds options to the export command to support unexportable
variables. Also implement the "posix" option (no single letter
equivalent) which gets its default value from whether or not
POSIXLY_CORRECT is set in the environment when the shell starts
(but can be changed just like any other option using -o and +o on
the command line, or the set builtin command.) While there, fix
all uses of options so it is possible to have options that have a
short (one char) name, and no long name, just as it has been possible
to have options with a long name and no short name, though there
are currently none (with no long name).  For now, the only use of
the posix option is to control whether ${ENV} is read at startup
by a non-interactive shell, so changing it with set is not usful
- that might change in the future. (from kre@)

(christos)

2016-03-31 16:12:52 UTC MAIN commitmail json YAML

PR bin/51027 - fix the parsing of references to shell parameters
when given without braces (ie: $2 etc).  Only the first 9 shell
parameters ($1 .. $9) and the special parameter ($0) can be
referenced this way, $10 is ${1}0 not ${10}.  Make it so.
This bug brought to notice by Sven Mascheck's web pages which
discuss (among other things) the history of this (and other ash
based) shells .. see http://www.in-ulm.de/~mascheck/ (from kre@)

(christos)

2016-03-31 16:12:09 UTC MAIN commitmail json YAML

This is an internally visible change - no effect visible to the
user is expected. With the previous commits to parser.c, we no
longer need to handle reading here documents in the (massive)
readtoken1() function. That allows its code to be simplified and
made easier to read and understand (several goto's goto goto heaven.
RIP) (from kre@)

(christos)

2016-03-31 15:53:33 UTC MAIN commitmail json YAML

Delay freeing the die where the indirect attribute is found. Found by jemalloc
J, see: https://mail-index.netbsd.org/current-users/2016/03/28/msg029130.html

(christos)

2016-03-31 15:06:39 UTC MAIN commitmail json YAML

"Extended version" of the "mips64 hack" used in gcc 5.3's libgcc.a
build: avoid lots of duplicate symbols on softfloat builds.
Now mac68k is buildable with MKSOFTFLOAT=yes again, finally!

(martin)

2016-03-31 14:33:17 UTC MAIN commitmail json YAML

2016-03-31 13:27:44 UTC MAIN commitmail json YAML

After discussions with Jilles Tjoelker (FreeBSD shell) and following
a suggestion from him, the way the fix to PR bin/50993 was implemented
has changed a little.  There are three steps involved in processing
a here document, reading it, parsing it, and then evaluating it
before applying it to the correct file descriptor for the command
to use.  The third of those is not related to this problem, and
has not changed.  The bug was caused by combining the first two
steps into one (and not doing it correctly - which would be hard
that way.)  The fix is to split the first two stages into separate
events.  The original fix moved the 2nd stage (parsing) to just
immediately before the 3rd stage (evaluation.)  Jilles pointed out
some unwanted side effects from doing it that way, and suggested
moving the 2nd stage to immediately after the first.  This commit
makes that change.  The effect is to revert the changes to expand.c
and parser.h (which are no longer needed) and simplify slightly
the change to parser.c. (from kre@)

(christos)

2016-03-31 06:59:44 UTC MAIN commitmail json YAML

Extend the "mips64 hack" to all MKSOFTFLOAT builds - avoid duplicate
symbols in libgcc.

(martin)

2016-03-30 23:36:45 UTC MAIN commitmail json YAML

Disable stripping pcc tool.

We don't have a tool that strips tools -- we have only a tool that
strips target programs.  $TOOLDIR/bin/$PLATFORM-install supports -s
by invoking the target-stripping tool, which chokes if you try to use
it to strip tools on a sufficiently different cross build.  So let's
just not strip the pcc tool -- it's tiny enough that I'm not worried
about its unstripped size!

(riastradh)

2016-03-30 21:36:48 UTC MAIN commitmail json YAML

Add sqlite3 generated man pages, sort.

(christos)

2016-03-30 21:31:45 UTC MAIN commitmail json YAML

src/external/public-domain/sqlite/Makefile@1.2 / diff / nxr@1.2
src/external/public-domain/sqlite/README@1.1 / diff / nxr@1.1
src/external/public-domain/sqlite/man/Makefile@1.1 / diff / nxr@1.1
src/external/public-domain/sqlite/man/SQLITE_ACCESS_EXISTS.3@1.1 / diff / nxr@1.1
src/external/public-domain/sqlite/man/SQLITE_CHECKPOINT_PASSIVE.3@1.1 / diff / nxr@1.1
src/external/public-domain/sqlite/man/SQLITE_CONFIG_SINGLETHREAD.3@1.1 / diff / nxr@1.1
src/external/public-domain/sqlite/man/SQLITE_CREATE_INDEX.3@1.1 / diff / nxr@1.1
src/external/public-domain/sqlite/man/SQLITE_DBCONFIG_LOOKASIDE.3@1.1 / diff / nxr@1.1
src/external/public-domain/sqlite/man/SQLITE_DBSTATUS_LOOKASIDE_USED.3@1.1 / diff / nxr@1.1
src/external/public-domain/sqlite/man/SQLITE_DENY.3@1.1 / diff / nxr@1.1
src/external/public-domain/sqlite/man/SQLITE_DETERMINISTIC.3@1.1 / diff / nxr@1.1
src/external/public-domain/sqlite/man/SQLITE_FCNTL_LOCKSTATE.3@1.1 / diff / nxr@1.1
src/external/public-domain/sqlite/man/SQLITE_INDEX_CONSTRAINT_EQ.3@1.1 / diff / nxr@1.1
src/external/public-domain/sqlite/man/SQLITE_INTEGER.3@1.1 / diff / nxr@1.1
src/external/public-domain/sqlite/man/SQLITE_IOCAP_ATOMIC.3@1.1 / diff / nxr@1.1
src/external/public-domain/sqlite/man/SQLITE_IOERR_READ.3@1.1 / diff / nxr@1.1
src/external/public-domain/sqlite/man/SQLITE_LIMIT_LENGTH.3@1.1 / diff / nxr@1.1
src/external/public-domain/sqlite/man/SQLITE_LOCK_NONE.3@1.1 / diff / nxr@1.1
src/external/public-domain/sqlite/man/SQLITE_MUTEX_FAST.3@1.1 / diff / nxr@1.1
src/external/public-domain/sqlite/man/SQLITE_OK.3@1.1 / diff / nxr@1.1
      :
(more 138 files)
Add auto-generated sqlite3 man pages

(christos)

2016-03-30 21:30:21 UTC MAIN commitmail json YAML

2016-03-30 21:16:22 UTC MAIN commitmail json YAML

PR/51016: David Binderman: comment out pointless code.

(christos)

2016-03-30 21:14:55 UTC MAIN commitmail json YAML

PR/51015: David Binderman: remove useless code

(christos)

2016-03-30 20:18:18 UTC MAIN commitmail json YAML

turn off MKCOMPAT for arm and GCC 5 (for now).

(mrg)

2016-03-30 17:35:43 UTC MAIN commitmail json YAML

Remove hacks for ancient vax gcc

(martin)

2016-03-30 16:19:06 UTC MAIN commitmail json YAML

Loongson MMI code needs -Wa,-mhard-float now

(macallan)

2016-03-30 13:05:09 UTC MAIN commitmail json YAML

Pass -pie to cc, not -Wl,-pie. This way we have a chance to fix specs
for obscure corner cases like -pie -fPIE -static (used for
/usr/tests/lib/csu/h_initfini2 if building with MKPIE=yes).
While there also replace -fPIC with -fPIE for the PIE case, even if
it should be mostly equivalent.

(martin)

2016-03-30 07:44:06 UTC MAIN commitmail json YAML

No fenv for m68k with SOFTFLOAT for now - so at least it builds.

(martin)

2016-03-30 07:25:33 UTC MAIN commitmail json YAML

Drop fixxfdi.c for m68k (where double == long double and this isn't needed
but causes duplicate symbols with softfloat, if compiling MKSOFTFLOAT=yes)

(martin)

2016-03-30 05:55:04 UTC MAIN commitmail json YAML

2016-03-30 05:45:26 UTC MAIN commitmail json YAML

Document net.inet6.ip6.neighborgcthresh change

(ozaki-r)

2016-03-29 21:23:05 UTC MAIN commitmail json YAML

crt0-common.c is miscompiled by gcc 5.3 on evbarm with -O2 so use -O1.  Do
this for all non-x86 arches.

(skrll)

2016-03-29 18:42:29 UTC MAIN commitmail json YAML

Avoid warnings (signed/unsigned comparision and unused variable)

(martin)

2016-03-29 18:40:32 UTC MAIN commitmail json YAML

make sure we compile mips_fpu.c and fp.S with -mhard-float

(macallan)

2016-03-29 09:20:28 UTC MAIN commitmail json YAML

- clean up some
- i386 atf works
- mipseb kernels and system runs
- mips64* kernels work system runs

(mrg)

2016-03-29 08:42:41 UTC nick-nhusb commitmail json YAML

2016-03-29 06:51:40 UTC MAIN commitmail json YAML

distinguish between partial and failed read, so that "read 0xffffffff bytes failed"
is not output..

(mrg)

2016-03-29 06:36:12 UTC MAIN commitmail json YAML

switch alpha to GCC 5.3.  works just as well on my UP1000.

(mrg)

2016-03-29 04:55:53 UTC MAIN commitmail json YAML

Initialize disk_geom information, DIOCGPARTINFO relies on it.

(mlelstv)

2016-03-28 17:23:47 UTC MAIN commitmail json YAML

Align /proc/<pid>/statm data with /proc/<pid>/stat and
provide RSS information. There is no data about shared
pages.

Helps PR 50801.

(mlelstv)

2016-03-28 17:00:44 UTC MAIN commitmail json YAML

src/external/gpl3/binutils/lib/libbfd/arch/mipseb/bfd.h@1.7 / diff / nxr@1.7
src/external/gpl3/binutils/lib/libbfd/arch/mipseb/bfd_stdint.h@1.5 / diff / nxr@1.5
src/external/gpl3/binutils/lib/libbfd/arch/mipseb/bfdver.h@1.9 / diff / nxr@1.9
src/external/gpl3/binutils/lib/libbfd/arch/mipseb/config.h@1.5 / diff / nxr@1.5
src/external/gpl3/binutils/lib/libbfd/arch/mipseb/defs.mk@1.4 / diff / nxr@1.4
src/external/gpl3/binutils/lib/libbfd/arch/mipsel/bfd.h@1.7 / diff / nxr@1.7
src/external/gpl3/binutils/lib/libbfd/arch/mipsel/bfd_stdint.h@1.5 / diff / nxr@1.5
src/external/gpl3/binutils/lib/libbfd/arch/mipsel/bfdver.h@1.9 / diff / nxr@1.9
src/external/gpl3/binutils/lib/libbfd/arch/mipsel/config.h@1.5 / diff / nxr@1.5
src/external/gpl3/binutils/lib/libbfd/arch/mipsel/defs.mk@1.4 / diff / nxr@1.4
src/external/gpl3/binutils/lib/libiberty/arch/mipseb/config.h@1.5 / diff / nxr@1.5
src/external/gpl3/binutils/lib/libiberty/arch/mipseb/defs.mk@1.5 / diff / nxr@1.5
src/external/gpl3/binutils/lib/libiberty/arch/mipsel/config.h@1.5 / diff / nxr@1.5
src/external/gpl3/binutils/lib/libiberty/arch/mipsel/defs.mk@1.5 / diff / nxr@1.5
src/external/gpl3/binutils/lib/libopcodes/arch/mipseb/config.h@1.5 / diff / nxr@1.5
src/external/gpl3/binutils/lib/libopcodes/arch/mipsel/config.h@1.5 / diff / nxr@1.5
src/external/gpl3/binutils/usr.bin/common/arch/mipseb/config.h@1.5 / diff / nxr@1.5
src/external/gpl3/binutils/usr.bin/common/arch/mipseb/defs.mk@1.7 / diff / nxr@1.7
src/external/gpl3/binutils/usr.bin/common/arch/mipsel/config.h@1.5 / diff / nxr@1.5
src/external/gpl3/binutils/usr.bin/common/arch/mipsel/defs.mk@1.7 / diff / nxr@1.7
      :
(more 10 files)
mknative-binutils for binutils 2.26 and mipse[lb].

(mrg)

2016-03-28 16:45:44 UTC MAIN commitmail json YAML

fix this properly.
uap is supposed to hold init's argv[], so it's 3 * sizeof(char *), the bug
was to copyout(..., sizeof(args)) which is an array of syscallargs, not argv
*

(macallan)

2016-03-28 15:45:18 UTC MAIN commitmail json YAML

do not assume that syscallarg(const char *) and (char *) are the same size
first step to make n32 kernels run binaries again

(macallan)

2016-03-28 15:20:16 UTC MAIN commitmail json YAML

Fix relation in rngtest failure message to match reality.

(riastradh)

2016-03-28 10:35:36 UTC MAIN commitmail json YAML

2016-03-28 10:31:45 UTC MAIN commitmail json YAML

Simplify now that we have an internal toolchain

(martin)

2016-03-28 09:50:40 UTC MAIN commitmail json YAML

Simplify.  No functional change.

(skrll)

2016-03-28 09:01:24 UTC MAIN commitmail json YAML

Add some more mips targets for martin

(skrll)

2016-03-28 08:10:57 UTC MAIN commitmail json YAML

Restrict float format hacks to gcc 4.8

(martin)

2016-03-28 04:38:04 UTC MAIN commitmail json YAML

Remove unused global bridge list

Pointed out by riastradh@

(ozaki-r)

2016-03-28 02:35:43 UTC MAIN commitmail json YAML

Make outputs informative on failure

(ozaki-r)

2016-03-28 01:53:07 UTC MAIN commitmail json YAML

Add tests for "route get"

(ozaki-r)

2016-03-27 21:51:20 UTC MAIN commitmail json YAML

Don't enter infinite loop on big ktr_len values.

Fixes PR 49460.

(alnsn)

2016-03-27 17:17:59 UTC MAIN commitmail json YAML

revert most of the previous and re-do it to be valid, re-fixing i386 psABI
support with -m32.

(mrg)

2016-03-27 14:57:50 UTC MAIN commitmail json YAML

2016-03-27 14:53:17 UTC MAIN commitmail json YAML

Finish these tests (or at least, fill in the place holder tests
with actual code ... tests are never really finished.)  One of these
new tests was how the bug in PR bin/50993 was discovered. (from kre@)

(christos)

2016-03-27 14:52:40 UTC MAIN commitmail json YAML

PR bin/50993 - lots of new here document tests to validate all of
the changes made to fix that PR.  LOTS more tests...  A few general
improvements to the way the tests work and results are reported
as well. (from kre@)

(christos)

2016-03-27 14:50:40 UTC MAIN commitmail json YAML

More tests, add protection against shells that allow wait N
to wait for the same process over and over again (forever) (???)
This test now takes slightly over 20 seconds to complete (elapsed
time) caused by all the waiting on sleep commands being run in
the background. (from kre@)

(christos)

2016-03-27 14:50:01 UTC MAIN commitmail json YAML

Finish TEST_SH - all tests should support it now.
Misc other KNF changes, minor bug fixes, and a few minor
extra tests added. (from kre@)

(christos)

2016-03-27 14:49:07 UTC MAIN commitmail json YAML

Avoid relying on the test shell correctly implementing $(( ))
in order for some of the redirect tests to terminate. (from kre@)

(christos)

2016-03-27 14:40:20 UTC MAIN commitmail json YAML

Move the parseredir internal subroutine out of readtoken1() into being
a real function of its own (also inspired by FreeBSD - though for
this one other sh differences require slightly different code.) (from kre@)

(christos)

2016-03-27 14:39:33 UTC MAIN commitmail json YAML

PR bin/50993 - this is a significant rewrite of the way that here
documents are processed.  Now, when first detected, they are
simply read (the only change made to the text is to join lines
ended with a \ to the subsequent line, otherwise end marker detection
does not work correctly (for here docs with an unquoted endmarker
only of course.)  This patch also moves the "internal subroutine"
for looking for the end marker out of readtoken1() (which had to
happen as readtoken1 is no longer reading the here doc when it is
needed) - that uses code mostly taken from FreeBSD's sh (thanks!)
and along the way results in some restrictions on what the end
marker can be being removed.  We still do not allow all we should.
(from kre@)

(christos)

2016-03-27 14:36:29 UTC MAIN commitmail json YAML

Cease "support" for <redirect> fn() { ...
Any redirect (or redirects) before a function definition were
allowed by the parser, but otherwise totally ignored.  The standard
syntax does not permit redirects there, now, neither do we. (from kre@)

(christos)

2016-03-27 14:35:30 UTC MAIN commitmail json YAML

Finish constifying the new parsebackquote() function.  Save a
variable or two...  Should change nothing. (from kre@)

(christos)

2016-03-27 14:34:46 UTC MAIN commitmail json YAML

General KNF and source code cleanups, avoid scattering the
magic string " \t\n" all over the place, slightly improved
syntax error messages, restructured some of the code for
clarity, don't allow IFS to be imported through the environment,
and remove the (never) conditionally compiled ATTY option.
Apart from one or two syntax error messages, and ignoring IFS
if present in the environment, this is intended to have no
user visible changes. (from kre@)

(christos)

2016-03-27 10:46:41 UTC MAIN commitmail json YAML

Switch hppa to gcc 5.3

(skrll)

2016-03-27 05:14:14 UTC MAIN commitmail json YAML

add a normal kernel that builds with PAE enabled.  this is not yet
hooked into the normal build, but this is a working configuration
and on my 16GB test system, works fine.

(mrg)

2016-03-27 04:18:09 UTC MAIN commitmail json YAML

don't set PREFERRED_STACK_BOUNDARY_DEFAULT, in particular, don't set it
to 64 (8 bytes) for 64-bit targets, where 16 byte alignment is required.
this fixes GCC 5 and ssh on modern intel cpus, and perhaps more.

(mrg)

2016-03-27 00:07:20 UTC MAIN commitmail json YAML

- figured out the ldap/ssh problem.  was miscompiled crtbeginS.o which
  has been worked around.
- update some testing info.
- merge or1k/riscv descriptions that are actually the same problem.

(mrg)

2016-03-27 00:03:06 UTC MAIN commitmail json YAML

add a hack for GCC 5 and non-x86 platforms:

build crtbeginS.o with -O1 as GCC tries to be very smart with the
__DTOR_LIST__ as it believes it knows the size of the array at
compile time (which is not true until link time).  on SPARC and
MIPS, the result was emitting a call to 0.

technically, i believe that GCC isn't "wrong" to make this choice,
as the array is declared with a well-known initialiser size in the
crtbegin.c compilation unit, and we have noticed that the libgcc
version of this code has some hacks added, most likely to avoid
being bitten by this optimisation.

this makes sshd work for me on earm and sparc with GCC 5.

(mrg)

2016-03-26 17:40:02 UTC MAIN commitmail json YAML

Do not touch FP register on softfloat kernels.

(martin)

2016-03-26 17:16:48 UTC MAIN commitmail json YAML

Fix set lists for mips64 and gcc 5.3

(martin)

2016-03-26 17:14:38 UTC MAIN commitmail json YAML

David Binderman in PR port-newsmips/51014:
Move initialization of remain_cnt up to the declaration.
XXX the #ifdef here does not make much sense to me, but I know nothing
about the hardware. I'd guess it could be removed or inverted and #error'd
instead.

(martin)

2016-03-26 17:04:03 UTC MAIN commitmail json YAML

David Binderman in port-arm/51013: masking of rxbdtlen happened before
the value was read - move it down a few lines.

(martin)

2016-03-26 14:58:13 UTC MAIN commitmail json YAML

Whhen spec_strategy() extracts v_rdev take care to avoid a
race with spec_revoke.

Fixes PR kern/50467 Panic from disconnecting phone while reading its contents

(hannken)

2016-03-26 11:57:32 UTC MAIN commitmail json YAML

Do not store FP registers in softfloat userland

(martin)

2016-03-26 11:49:10 UTC MAIN commitmail json YAML

2016-03-26 11:42:44 UTC nick-nhusb commitmail json YAML

2016-03-26 11:40:59 UTC nick-nhusb commitmail json YAML

Re-org for clarity (sparams vs cparams)

(skrll)

2016-03-26 11:39:56 UTC nick-nhusb commitmail json YAML

2016-03-26 10:40:05 UTC MAIN commitmail json YAML

note (belatedly) gdb 7.10 import.

(mrg)

2016-03-26 10:38:22 UTC MAIN commitmail json YAML

switch sparc to GDB 7.10.  works for me.

(mrg)

2016-03-26 10:35:14 UTC MAIN commitmail json YAML

Switch playstation2 over to gcc 5.3, binutils 2.26 and gdb 7.10

(martin)

2016-03-26 10:29:45 UTC MAIN commitmail json YAML

2016-03-26 09:07:31 UTC MAIN commitmail json YAML

2016-03-26 09:02:58 UTC MAIN commitmail json YAML

src/external/gpl3/gcc/usr.bin/gcc/arch/alpha/auto-host.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/usr.bin/gcc/arch/arm/auto-host.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/usr.bin/gcc/arch/armeb/auto-host.h@1.10 / diff / nxr@1.10
src/external/gpl3/gcc/usr.bin/gcc/arch/coldfire/auto-host.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/usr.bin/gcc/arch/earm/auto-host.h@1.10 / diff / nxr@1.10
src/external/gpl3/gcc/usr.bin/gcc/arch/earmeb/auto-host.h@1.8 / diff / nxr@1.8
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhf/auto-host.h@1.9 / diff / nxr@1.9
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhfeb/auto-host.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4/auto-host.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4eb/auto-host.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6/auto-host.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6eb/auto-host.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6hf/auto-host.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6hfeb/auto-host.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7/auto-host.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7eb/auto-host.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hf/auto-host.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hfeb/auto-host.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/usr.bin/gcc/arch/hppa/auto-host.h@1.8 / diff / nxr@1.8
src/external/gpl3/gcc/usr.bin/gcc/arch/i386/auto-host.h@1.9 / diff / nxr@1.9
      :
(more 14 files)
use --with-diagnostics-color=auto-if-env as the default for GCC 5.

(mrg)

2016-03-26 09:01:20 UTC MAIN commitmail json YAML

sparc has the ldap problem

(mrg)

2016-03-26 08:52:22 UTC MAIN commitmail json YAML

2016-03-26 08:42:07 UTC MAIN commitmail json YAML

2016-03-26 08:41:16 UTC MAIN commitmail json YAML

2016-03-26 08:39:55 UTC MAIN commitmail json YAML

2016-03-26 08:09:54 UTC MAIN commitmail json YAML

2016-03-26 07:38:56 UTC MAIN commitmail json YAML

2016-03-26 07:31:11 UTC MAIN commitmail json YAML

Make sure to define __SOFT_FP__ when building a SOFTFLOAT userland

(martin)

2016-03-26 07:21:11 UTC MAIN commitmail json YAML

2016-03-25 23:04:41 UTC MAIN commitmail json YAML

If a protected symbol is defined in a shared library, it should still
provide an implementation. Fix the merging rules.

(joerg)

2016-03-25 22:13:23 UTC MAIN commitmail json YAML

2016-03-25 17:44:00 UTC nick-nhusb commitmail json YAML

2016-03-25 14:58:53 UTC MAIN commitmail json YAML

2016-03-25 10:14:43 UTC MAIN commitmail json YAML

Add support for clac and stac instructions.

(shm)

2016-03-25 09:29:01 UTC MAIN commitmail json YAML

2016-03-25 09:27:43 UTC MAIN commitmail json YAML

2016-03-25 08:34:17 UTC nick-nhusb commitmail json YAML

Re-organise / whitespace

(skrll)

2016-03-25 08:32:57 UTC nick-nhusb commitmail json YAML

2016-03-25 08:32:43 UTC nick-nhusb commitmail json YAML

2016-03-25 08:16:57 UTC MAIN commitmail json YAML

Note Lua patch level.

(mbalmer)

2016-03-25 08:15:20 UTC MAIN commitmail json YAML

2016-03-25 07:48:16 UTC MAIN commitmail json YAML

2016-03-25 03:51:19 UTC MAIN commitmail json YAML

No CRT_HAS_128BIT for pcc, which lacks attribute((mode(TI))).

(riastradh)

2016-03-24 21:46:28 UTC MAIN commitmail json YAML

2016-03-24 21:26:45 UTC MAIN commitmail json YAML

hppa is tested. I think it's "OK"

(skrll)

2016-03-24 21:20:31 UTC MAIN commitmail json YAML

update:
- earmv4 works (atf has one new failure, that seems common)
- mipsel run
- sparc runs
- sparc64 mostly works in UP mode
- add list of actual machines tested on

(mrg)

2016-03-24 21:10:21 UTC MAIN commitmail json YAML

Note hppa status:

- kernel works
- sshd has the ldap problem

(skrll)

2016-03-24 17:28:03 UTC MAIN commitmail json YAML

PR/51006: Abhinav Upadhyay: makemandb(8) should parse escape sequences
in the NAME section

(christos)

2016-03-24 16:07:13 UTC MAIN commitmail json YAML

PR/51004: Abhinav Upadhyay: apropos html mode doesn't handle especial
characters in the short description

(christos)

2016-03-24 15:30:17 UTC nick-nhusb commitmail json YAML

Wait for hardware before removing the TDs from the hash lists.

This is all a bit racey and should be revisited.

(skrll)

2016-03-24 09:15:38 UTC MAIN commitmail json YAML

Switch mips64 over to new gdb - old one doesn't work there either, better
to debug in the newer version.

(martin)

2016-03-24 06:18:27 UTC MAIN commitmail json YAML

Constify rt_newmsg's arguments

(ozaki-r)

2016-03-24 04:28:49 UTC MAIN commitmail json YAML

switch vax to new binutils and gdb.

(christos)

2016-03-24 04:27:29 UTC MAIN commitmail json YAML

new binutils bitch about writable eh_frame relocations; tell it we have
new style ones.

(christos)

2016-03-24 03:49:06 UTC MAIN commitmail json YAML

2016-03-24 03:33:28 UTC MAIN commitmail json YAML

2016-03-24 00:38:40 UTC MAIN commitmail json YAML

2016-03-24 00:04:06 UTC MAIN commitmail json YAML

switch vax to gcc-5.3

(christos)

2016-03-24 00:02:52 UTC MAIN commitmail json YAML

2016-03-23 22:27:48 UTC MAIN commitmail json YAML

2016-03-23 22:18:31 UTC nick-nhusb commitmail json YAML

Whitespace / Update a comment

(skrll)

2016-03-23 22:12:03 UTC nick-nhusb commitmail json YAML

2016-03-23 22:11:20 UTC nick-nhusb commitmail json YAML

sc_intr_lock is protecting against usb callbacks so can be IPL_SOFTUSB

(skrll)

2016-03-23 22:04:18 UTC nick-nhusb commitmail json YAML

2016-03-23 21:43:33 UTC MAIN commitmail json YAML

2016-03-23 21:39:42 UTC MAIN commitmail json YAML

2016-03-23 21:38:51 UTC MAIN commitmail json YAML

2016-03-23 21:24:53 UTC MAIN commitmail json YAML

src/external/gpl3/gcc/lib/libasan/Makefile@1.11 / diff / nxr@1.11
src/external/gpl3/gcc/lib/libbacktrace/arch/vax/backtrace-supported.h@1.4 / diff / nxr@1.4
src/external/gpl3/gcc/lib/libbacktrace/arch/vax/config.h@1.4 / diff / nxr@1.4
src/external/gpl3/gcc/lib/libgcc/arch/vax/auto-target.h@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/lib/libgcc/arch/vax/defs.mk@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/vax/defs.mk@1.3 / diff / nxr@1.3
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/vax/gcov-iov.h@1.8 / diff / nxr@1.8
src/external/gpl3/gcc/lib/libgomp/arch/vax/config.h@1.4 / diff / nxr@1.4
src/external/gpl3/gcc/lib/libgomp/arch/vax/libgomp.spec@1.3 / diff / nxr@1.3
src/external/gpl3/gcc/lib/libgomp/arch/vax/libgomp_f.h@1.3 / diff / nxr@1.3
src/external/gpl3/gcc/lib/libgomp/arch/vax/omp.h@1.3 / diff / nxr@1.3
src/external/gpl3/gcc/lib/libiberty/arch/vax/config.h@1.4 / diff / nxr@1.4
src/external/gpl3/gcc/lib/libstdc++-v3/arch/vax/c++config.h@1.18 / diff / nxr@1.18
src/external/gpl3/gcc/lib/libstdc++-v3/arch/vax/cxxabi_tweaks.h@1.3 / diff / nxr@1.3
src/external/gpl3/gcc/lib/libstdc++-v3/arch/vax/defs.mk@1.4 / diff / nxr@1.4
src/external/gpl3/gcc/lib/libstdc++-v3/arch/vax/gstdint.h@1.10 / diff / nxr@1.10
src/external/gpl3/gcc/lib/libstdc++-v3/arch/vax/gthr-posix.h@1.3 / diff / nxr@1.3
src/external/gpl3/gcc/lib/libstdc++-v3/arch/vax/gthr-single.h@1.3 / diff / nxr@1.3
src/external/gpl3/gcc/lib/libstdc++-v3/arch/vax/gthr.h@1.3 / diff / nxr@1.3
src/external/gpl3/gcc/usr.bin/gcc/arch/vax/auto-host.h@1.7 / diff / nxr@1.7
      :
(more 8 files)
regen vax!

(christos)

2016-03-23 21:21:36 UTC MAIN commitmail json YAML

Drop PSW annotation for now; it is not a real register and we need special
rtl for it (causes an assertion failure)

(christos)

2016-03-23 21:09:04 UTC MAIN commitmail json YAML

2016-03-23 18:45:41 UTC MAIN commitmail json YAML

update the build status for some ppc and mips.

(mrg)

2016-03-23 15:51:37 UTC MAIN commitmail json YAML

2016-03-23 12:52:43 UTC MAIN commitmail json YAML

From Jake Hamby

For several years I've been eager to find the time to fix the bugs
in C++ exceptions on VAX to get them working on NetBSD, because
they穽e been broken for many years and it looked like only a few
changes were needed to get them working. Without C++ exceptions,
the NetBSD test suite can穰 be run. The good news is that I was
able to fix all the bugs in the VAX machine description to make
C++ exceptions work in GCC 4.8.5 (version unimportant). I wrote a
blog post explaining the bugs, with patches:

Here's a short summary, with the diffs in text form at the end of this email.

1) Replace #define FRAME_POINTER_CFA_OFFSET(FNDECL) 0 with #define
ARG_POINTER_CFA_OFFSET(FNDECL) 0 in gcc/config/vax/elf.h and
gcc/config/vax/vax.h. This changes the definition of __builtin_dwarf_cfa()
to return %ap instead of %fp, which correctly points to CFA.
Previously, the stack unwinder was crashing in _Unwind_RaiseException()
trying to follow bad pointers from the initial CFA.

2) Define EH_RETURN_DATA_REGNO(N) to include only R2 and R3 (instead
of R2-R5) and add code to vax_expand_prologue() in gcc/config/vax/vax.c
to add R2-R3 to the procedure entry mask but only if crtl->calls_eh_return
is set. This fixes a crash when the stack unwinder tried to write
values to R2 and R3 in the previous stack frame via
__builtin_eh_return_data_regno (0) and __builtin_eh_return_data_regno (1).

3) Removed definitions of EH_RETURN_STACKADJ_RTX and STARTING_FRAME_OFFSET
from gcc/config/vax/elf.h. It's not necessary to remember the stack
adjustment or to waste four bytes on every stack frame for a value
that's not needed. Also remove the suspicious changes in
gcc/config/vax/vax.md to the definitions of call_pop and call_value
regarding DW_CFA_GNU_args_size and EH unwinding. I reverted to the
previous versions from an older version of GCC, adding a few useful
comments that had been removed.

4) The last bug is the one I understand the least. I'm hoping
someone reading this can implement a correct fix. What I was seeing
after making all the previous changes to fix the other bugs is that
my test program failed to catch any exceptions, but instead returned
normally to the original return path.

Investigation revealed that GCC was correctly generating the
necessary move instruction to copy the second parameter passed to
__builtin_eh_return() into the return address, because
EH_RETURN_HANDLER_RTX had been defined correctly in config/vax/elf.h.
Here龝 what the call looks like in gcc/except.c:

#ifdef EH_RETURN_HANDLER_RTX
      rtx insn = emit_move_insn (EH_RETURN_HANDLER_RTX, crtl->eh.ehr_handler);
#else
      error ("__builtin_eh_return not supported on this target");
#endif

The problem was that the optimizer is deleting the final move
instruction when I compile with -O or higher. The assembly code at
-O0 (no optimization) generated for the __builtin_eh_return() call
at the end of _Unwind_RaiseException() looked like:

calls $2,_Unwind_DebugHook
movl -12(%fp),%r1
movl %r1,16(%fp)
ret
.cfi_endproc

But then when I compiled with -O1 or -O2, all I saw was:

calls $2,_Unwind_DebugHook
ret
.cfi_endproc

This was a mystery for me and I don穰 know enough about how the
final peephole optimizer works to really track down why it thinks
it can remove the move call to store the previous return address.
My workaround was to add a call to RTX_FRAME_RELATED_P (insn) = 1;
after the emit_move_insn() in gcc/except.c, which was used in
vax_expand_prologue() to mark the procedure entry mask.

By making this change, the optimizer no longer removes the call to
write the value to the previous stack pointer, but it adds an extra
line of .cfi exception info, which seems unnecessary since the code
is immediately going to return from the call and any adjustment
made by the DWARF stack unwinder will already have been done. Here龝
what the optimized code looks like with the patch (%r6 had been
loaded earlier):

calls $2,_Unwind_DebugHook
movl %r6,16(%fp)
.cfi_offset 6, -36
ret
.cfi_endproc

With that final change, C++ exception handling now finally works
on NetBSD/vax, and I was able to successfully run the vast majority
of the tests in the ATF testsuite, which had been completely
inaccessible when I started due to both atf-run and atf-report
immediately dumping core due to the bad pointers that I fixed. Now
I have a bunch of new bugs to track down fixes for, but I think
this was the hardest set of problems that needed to be solved to
bring NetBSD on VAX up to the level of the other NetBSD ports.

Here are the diffs I have so far. They should apply to any recent
version of GCC (tested on GCC 4.8.5). With the exception of the
hack to gcc/except.c, the other diffs are ready to submit to NetBSD
as well as to upstream GCC. The fix I稘 like to see for the final
problem I discovered of the emit_move_insn() being deleted by the
optimizer would be another patch to one of the files in the
gcc/config/vax directory to explain to the optimizer that writing
to 16(%fp) is important and not something to be deleted from the
epilogue (perhaps it thinks it龝 writing to a local variable in
the frame that's about to be destroyed?).

I didn't see any indication that any other GCC ports required
anything special to tell the optimizer not to delete the move
instruction to EH_RETURN_HANDLER_RTX, so the other suspicion I have
is that there may be a bug specific to VAX's peephole optimizer or
related functions. Any ideas?

(christos)

2016-03-23 12:45:50 UTC MAIN commitmail json YAML

Fix vax build, now we fail in:
/usr/src/lib/csu/common/crt0-common.c: In function '___start':
/usr/src/lib/csu/common/crt0-common.c:184:1: internal compiler error: in dwf_regno, at dwarf2cfi.c:988
}
  ^

(christos)

2016-03-23 10:14:07 UTC MAIN commitmail json YAML

2016-03-23 09:56:40 UTC MAIN commitmail json YAML

Note wpa_supplicant interface matching addition

(roy)