version 1.259, 2014/10/27 11:21:28 |
version 1.270, 2016/04/18 18:58:04 |
Line 19 See also: BUILDING, build.sh, Makefile. |
|
Line 19 See also: BUILDING, build.sh, Makefile. |
|
Recent changes: |
Recent changes: |
^^^^^^^^^^^^^^^ |
^^^^^^^^^^^^^^^ |
|
|
|
20160418: |
|
libedit needs manual removal of all autogenerated files since |
|
some of them are not autogenerated anymore. |
|
|
|
20160410: |
|
amd64 needs full "make cleandir" or deletion of objdir now that |
|
PIE has been enabled for amd64. PIE, or position-independent |
|
executables, means all code, including executables and not just |
|
shared libraries, is position-independent and hence able to be |
|
relocated by ASLR, address space layout randomization. |
|
|
|
The change was made in Makefile variables for compiler and |
|
linker flags, for which make(1) does not record dependencies, |
|
hence it is unable to detect that all .o files need rebuilding. |
|
|
|
Partial rebuilds with some modified source files will likely |
|
fail when linking executables, since the linker refuses to mix |
|
position-independent code with position-dependent code in |
|
position-independent executables: |
|
|
|
.../x86_64--netbsd/bin/ld: foo.o: relocation R_X86_64_32 against `...' cannot be used when making a shared object; recompile with -fPIC |
|
|
|
20160401: |
|
Ports switching to GCC 5.3 will need a full "make cleandir". |
|
Some people have found that cleandir is not sufficient, so if |
|
in doubt delete the entire object directory tree for gcc. |
|
|
|
20160306: |
|
NetBSD's regexp implementation is now part of libnbcompat. |
|
Nblex, nbm4, nbpax, nbsed use it and they may crash on |
|
non-NetBSD hosts if linked with stale object files produced |
|
while they included a non-NetBSD regex.h. |
|
In any case, you should "make cleandir" at least these tools |
|
before updating your toolchain. |
|
|
|
20160125: |
|
Dtrace has been enabled by default on some architectures. |
|
When doing an update build, make sure to clean the etc/mtree |
|
object directory before starting the build - otherwise the |
|
needed directories in destdir will not be created. |
|
An easy way to do this is: |
|
cd src/etc/mtree && $TOOLDIR/bin/nbmake-$arch cleandir |
|
|
|
20150818: |
|
New acpica requires "make cleandir" in src/external/bsd/acpica |
|
again. |
|
|
|
20150413: |
|
New acpica requires "make cleandir" and reinstalling yacc |
|
in /usr/src/external/bsd/byacc and /usr/src/tools/yacc and |
|
also "make cleandir" in /usr/src/external/bsd/acpica. |
|
|
|
20150404: |
|
Lint changes require a full rebuild of the tool, so make |
|
sure to build without -u option to build.sh, or manually |
|
do a make cleandir in src/tools/lint1 and |
|
src/usr.bin/xlint. |
|
|
|
20150310: |
|
Improvements to openssl for arm mean that update builds of |
|
the openssl libraries will fail. A make cleandir in |
|
external/bsd/openssl/lib is needed |
|
|
20141026: |
20141026: |
A mishap during the import of pppd may cause your corruption |
A mishap during the import of pppd may cause your corruption |
in your cvs directory if you happened to do a cvs update |
in your cvs directory if you happened to do a cvs update |