version 1.140, 2005/06/03 11:02:59 |
version 1.152, 2006/11/09 18:20:59 |
Line 16 See also: BUILDING, build.sh, Makefile. |
|
Line 16 See also: BUILDING, build.sh, Makefile. |
|
Recent changes: |
Recent changes: |
^^^^^^^^^^^^^^^ |
^^^^^^^^^^^^^^^ |
|
|
|
20061108: |
|
The configure script used in the src/tools/gcc compiler has been |
|
changed to indicate that our libc has ssp support built-in and |
|
does not depend on -lssp and -lssp-nonshared. You'll need to |
|
make clean in src/tools/gcc first to rebuild the compiler. |
|
|
|
20061009: |
|
The sysctl variables net.inet{,6}.tcp{,6}.newreno are no longer |
|
available. Use net.inet{,6}.tcp{,6}.congctl.selected instead. |
|
|
|
20060814: |
|
The vt, vidcconsole, kbd, and rpckbd drivers on acorn32 have been |
|
withdrawn. Use vidcvideo and pckbd instead. See the GENERIC |
|
kernel configuration for an example. X servers from the last |
|
few years should cope. |
|
|
|
20060703: |
|
MPACPI is no more. We always configure PCI interrupts using ACPI |
|
if we have an ACPI kernel. The option MPACPI_SCANPCI has been renamed |
|
to ACPI_SCANPCI. Thanks to work from fvdl. |
|
|
|
20060627: |
|
socket(2) has changed, and its system call has been versioned. |
|
For userlands with the old version of socket(2), make sure that |
|
your kernel has 'options COMPAT_30' set, or else 'bad system call' |
|
errors will result. |
|
|
|
20060526: |
|
The kernel linker scripts for i386 and xen |
|
(sys/arch/i386/conf/kern.ldscript*) were changed to set the |
|
load address correctly, for the benefit of MULTIBOOT boot loaders |
|
(like Grub). If you use a linker (ld) older than from 2006/04/17, it |
|
will be unable to link the kernel because of a bug and ld will fail |
|
with an error like: |
|
../../../../arch/i386/conf/kern.ldscript:45 \ |
|
non constant expression for load base |
|
You need to update at least src/gnu/dist/binutils/ld and recompile |
|
and install the linker. If using the build.sh script, the easiest |
|
way is with a "build.sh tools" command, with any other options |
|
that you use normally. When using build.sh, the linker binary is |
|
installed as ${TOOLDIR}/bin/i386--netbsdelf-ld. |
|
|
|
20060131: |
|
the protocol between the sparc64 bootloader (ofwboot) and |
|
the kernel was changed. Before installing a new kernel, |
|
you need to update ofwboot. After a full build, just copy |
|
/usr/mdec/ofwboot to /, or do a rebuild of |
|
src/sys/arch/sparc/stand/ofwboot and install the result to /. |
|
|
|
20050917: |
|
arch/*/conf/std.* was changed to include conf/std, which |
|
contains MI options previously enabled by default. |
|
If you have kernel config files which doesn't include |
|
arch/*/conf/std.*, you need to edit them to include conf/std |
|
to get the previous configuration. |
|
|
|
20050830: |
|
named.conf was moved from /etc/namedb to /etc. |
|
postinstall(8) migrates this during interactive use. |
|
Users of MKUPDATE=yes will need to manually rectify |
|
this in their DESTDIR. |
|
|
|
20050825: |
|
Some data structures in sys/device.h, related to interface |
|
attributes and locator names, were changed. config(1) was |
|
modified to emit the new data structures. |
|
Thus usr.bin/config must be updated (and run on the kernel |
|
configuration file) before a new kernel can be built. |
|
|
20050531: |
20050531: |
genassym.sh(8) was moved to genassym(8). You need to either build |
genassym.sh(8) was moved to genassym(1). You need to either build |
tools first or install the version of genassym from /usr/sbin before |
tools first or install the version of genassym from /usr/bin before |
you can build a kernel again. |
you can build a kernel again. |
|
|
20050520: |
20050520: |
Line 793 cd $NETBSDSRCDIR && make cleandir |
|
Line 862 cd $NETBSDSRCDIR && make cleandir |
|
|
|
Critical utilities: |
Critical utilities: |
^^^^^^^^^^^^^^^^^^^ |
^^^^^^^^^^^^^^^^^^^ |
gnu/usr.bin/egcs |
|
usr.bin/compile_et |
usr.bin/compile_et |
usr.bin/make |
usr.bin/make |
usr.bin/yacc |
usr.bin/yacc |
usr.bin/lex |
usr.bin/lex |
usr.bin/xlint |
usr.bin/xlint |
usr.sbin/config |
usr.bin/config |
|
|
Other problems and possible solutions: |
Other problems and possible solutions: |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
Symptom:Unreasonable compiler errors. |
|
Fix: Rebuild gnu/usr.bin/egcs |
|
|
|
Symptom:Complaints involving a Makefile. |
Symptom:Complaints involving a Makefile. |
Fix: Rebuild usr.bin/make: |
Fix: Rebuild usr.bin/make: |
cd usr.bin/make && make && make install |
cd usr.bin/make && make && make install |
Line 816 Fix: Make sure .mk files are up to date. |
|
Line 881 Fix: Make sure .mk files are up to date. |
|
cd share/mk && make install |
cd share/mk && make install |
|
|
Symptom:Kernel `config' fails to configure any kernel, including GENERIC. |
Symptom:Kernel `config' fails to configure any kernel, including GENERIC. |
Fix: Rebuild usr.sbin/config |
Fix: Rebuild usr.bin/config |
|
|
Symptom: |
Symptom: |
Fix: Rebuild usr.bin/yacc |
Fix: Rebuild usr.bin/yacc |
Line 842 Fix: Build and install usr.bin/mklocale |
|
Line 907 Fix: Build and install usr.bin/mklocale |
|
Symptom:undefined reference to `__assert13' or `__unsetenv13' |
Symptom:undefined reference to `__assert13' or `__unsetenv13' |
Fix: Rebuild and install lib/libc |
Fix: Rebuild and install lib/libc |
|
|
Symptom:usr.sbin/config fails to build. |
Symptom:usr.bin/config fails to build. |
Fix: Try building with -DMAKE_BOOTSTRAP added to CFLAGS in Makefile. |
Fix: Try building with -DMAKE_BOOTSTRAP added to CFLAGS in Makefile. |
|
|
Symptom:undefined reference to `getprogname' or `setprogname' |
Symptom:undefined reference to `getprogname' or `setprogname' |