Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/UPDATING,v rcsdiff: /ftp/cvs/cvsroot/src/UPDATING,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.199 retrieving revision 1.207 diff -u -p -r1.199 -r1.207 --- src/UPDATING 2009/07/09 07:50:24 1.199 +++ src/UPDATING 2009/12/26 11:00:46 1.207 @@ -1,4 +1,4 @@ -$NetBSD: UPDATING,v 1.199 2009/07/09 07:50:24 dholland Exp $ +$NetBSD: UPDATING,v 1.207 2009/12/26 11:00:46 mbalmer Exp $ This file (UPDATING) is intended to be a brief reference to recent changes that might cause problems in the build process, and a guide for @@ -16,6 +16,27 @@ See also: BUILDING, build.sh, Makefile. Recent changes: ^^^^^^^^^^^^^^^ +20091101: + After updating, it may be necessary to make the 'cleandir' + target in src/tools/yacc/ and in src/usr.bin/yacc/ before a + 'build.sh -u tools' or 'build.sh -u distribution'. Ditto + src/tools/lex/ and src/usr.bin/lex/. + +20091001: + On amd64 you must rebuild tools (to get the new binutils) + before building a kernel, or the build fails on cpufunc.S. + +20091001: + An error will create a ./usr/X11R7/lib/X11/xkb/compiled/xkb + symlink, failing the build. Delete the link, and the subdir + it is in, and retry your build. + +20090718: + libc build changed so that strchr() provides the extra entry + point for index(). Update build of libc.a (and libc_pic.a) + may fail because the archive contains the unwanted index.o. + (Similarly for strrchr() and rindex().) + 20090709: Native Xorg was upgraded again. Builds will probably fail again without a clean objdir, at least for src/external/mit/xorg. @@ -40,9 +61,9 @@ Recent changes: cleaning your src/tools directory and $TOOLDIR and rebuilding them. 20090126: - The __posix_fadvise50 system call changed assembly stub type. You need to - 'rm -f __posix_fadvise50.*' in the libc build directory to avoid using - the old assembly stub. + The __posix_fadvise50 system call changed assembly stub type. You + need to 'rm -f __posix_fadvise50.*' in the libc build directory + to avoid using the old assembly stub. 20090202: pkg_install now depends on the pkgdb cache for automatic conflict @@ -124,6 +145,20 @@ Recent changes: MKDEBUG build was broken because the .depend files did not know about .go files. You need to remove all .depend files and rebuild. +20080802: + A regression in binary compatibility for pthread_mutex_t has + been fixed. Unfortunately, the price is breaking compatibility + for -current. + + Threaded programs (using libpthread) and C++ programs (using + libstdc++) compiled after 20070907 and before 20080802 need to + be recompiled. + + One way to find affected pkgsrc packages: + + $ grep REQUIRES=/usr/lib/libpthread /var/db/pkg/*/+BUILD_INFO + $ grep REQUIRES=/usr/lib/libstdc++ /var/db/pkg/*/+BUILD_INFO + 20080731: WAPBL (metadata journaling support) has been added, but at this time isn't backwards compatible with pre-WAPBL aware kernels @@ -421,7 +456,8 @@ Fix: Try the following sequence of comma (If you built the tree without "make obj" in the past, obsolete files may remain. The command tries to clean everything up) -Symptom:.../sysinst/run.c:xx: warning: initialization from incompatible pointer type +Symptom:.../sysinst/run.c:xx: warning: initialization from incompatible + pointer type Fix: Rebuild and install usr.bin/menuc Symptom:mklocale not found during build in share/locale/ctype