History log of /src/distrib/sets/lists/comp/md.i386
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.214 17-Sep-2025 mrg

various updates for GCC 14. maybe not complete for all ports.

x86 should be complete, arm64 might be.


tested with i386 and evbarm64 builds and HAVE_GCC=12, hopefully
won't break existing builds.


Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base
# 1.213 30-Nov-2024 christos

Create a new header lwp_private.h to contain _lwp_getprivate_fast,
_lwp_gettcb_fast, _lwp_settcb and remove them from mcontext.h, so that:
1. we don't need special hacks to hide them
2. we can include <lwp.h> where needed to get the necessary prototypes
without redefining them locally.


# 1.212 04-Nov-2024 christos

Undo previous lwp.h change.


# 1.211 03-Nov-2024 christos

Split __lwp_getprivate_fast and __lwp_*tcb from mcontext.h into a separate
lwp.h file.


# 1.210 11-Jul-2024 riastradh

distrib/sets/lists: Add a blank comment line between RCS id and body.

This serves as a buffer between RCS id changes and other changes to
the set lists, in an attempt to reduce the pain of merge conflicts
around mass set list changes.

No functional change intended.


Revision tags: perseant-exfatfs-base-20240630
# 1.209 22-Jun-2024 mrg

don't mark the gcc-10 + sanitizer directories obsolete yet.

they're still created by the build, and they're owned by the base set.
i'll clean the up when i delete gcc-10 entirely.


Revision tags: perseant-exfatfs-base
# 1.208 22-Jun-2024 riastradh

branches: 1.208.2;
distrib/lists/sets/comp: Add gcc=12 obsolete entries for gcc-10/*.h.


# 1.207 29-Aug-2023 mrg

mark all previously gcc=9 files as obsolete.

also mark a bunch of obsolete gcc headers as "comp-obsolete" "set".

should fix a 'postinstall fix obsolete' issue reported by uwe@.


# 1.206 01-Aug-2023 mrg

various updates for GCC 12

- bump some shlibs
- add new header files
- add compiler-version header files
- disable sanitizer libraries for gcc12 for now


Revision tags: netbsd-10-1-RELEASE netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base
# 1.205 10-Sep-2022 rillig

distrib/sets: remove more extra keywords from obsolete entries

Found by fmt-list.


# 1.204 16-Sep-2021 christos

Move the sanitizer libraries from 9.0.0 -> 13.0.0 to match our current clang
version.


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1
# 1.203 30-May-2021 joerg

Update LLVM build system for 249b40b558955afe5ac2b549edcf2d7f859c8cc9

This enables the use of modules for a significant build performance gain
when building with clang as host compiler or when using HAVE_LLVM=yes.
Switch libc++ to using the copy from the mono-repo.


Revision tags: cjep_staticlib_x-base
# 1.202 30-Apr-2021 christos

branches: 1.202.2;
Add <x86/gdt.h> (we could gc now the <machine/gdt.h> files if we fix the
sources that use them.


# 1.201 12-Apr-2021 mrg

various updates for GCC 10 support. remove dead gcc7/8 support
and properly mark obsolete files in gcc9/gcc10.

testing on amd64 and shark for GCC 9, and many platforms for GCC 10,
(though not arm yet.)


Revision tags: thorpej-futex-base
# 1.200 06-Sep-2020 mrg

mostly support GCC 9 builds. some what tested with GCC 9 but
tested to not break GCC 8 builds for x86, arm*, vax, and sparc*.


# 1.199 31-Aug-2020 bouyer

Add back <xen/xenio3.h>, it's needed by xentools413


# 1.198 27-Aug-2020 riastradh

Sort and deduplicate set lists.


# 1.197 24-Jul-2020 jdolecek

<xen/xenio.h> is in fact used by the newly imported xentools 4.13,
reinstantiate it

header is for use by xentools only, which define domid_t themselves,
so it should not be a problem the header doesn't define it per PR port-xen/52874


# 1.196 17-Jul-2020 jdolecek

don't install xen/xenio.h and xen/xenio3.h anymore, xentools don't use it

PR port-xen/52874


# 1.195 25-Apr-2020 bouyer

Add /usr/include/xen/intrdefs.h to sets
Add xen to KLINKFILES for amd64/i386


Revision tags: phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406
# 1.194 07-Feb-2020 kamil

Install LLVM sanitizers to /usr/lib/clang/9.0.0

This is the proper location where clang 9.0.0 looks for them.


Revision tags: phil-wifi-20191119
# 1.193 11-Nov-2019 joerg

Update LLVM to 10.0.0git (01f3a59fb3e2542fce74c768718f594d0debd0da)


# 1.192 03-Oct-2019 mrg

gcc 8 set lists updates. i don't appear to have broken gcc 7 builds
but i only tested a couple of them.


# 1.191 13-Sep-2019 martin

Add new multiboot2.h header.


# 1.190 26-Aug-2019 kamil

Correct the build rules of LLVM sanitizers

Fix generation of .a.syms files in LLVM sanitizers. The old rules weren't
functional and sometimes they were fatal in the build.

Add the .a.syms files to distribution sets.
These files are generated only in certain .a files in 64bit version of
sanitizers.

Correct the location of files with LLVM sanitizers. Move the LLVM sanitizer
entries from base to comp files.


Revision tags: netbsd-9-base phil-wifi-20190609
# 1.189 11-May-2019 christos

branches: 1.189.2;
Undo previous


# 1.188 11-May-2019 christos

Add cpufunc.h


# 1.187 03-Apr-2019 joerg

Revert MKLLVMCMDS changes.


# 1.186 20-Mar-2019 mrg

split MKLLVM into MKLLVM and MKLLVMCMDS, like MKGCC and MKGCCCMDS:

- only build clang or clang-tblgen if MKLLVMCMDS != "no"
- move HAVE_MESA_VER earlier so we can detect mesa 18 and enable
MKLLVM on platforms that need it
- move the clang commands and headers into llvmcmds group
- only build the clang specific LLVM libraries if MKLLVMCMDS != "no"

much of this work came from maya@'s github commit
f90685c11d4460d3098fa35f48b58d1893e974e0, reworked for HAVE_MESA_VER
and llvmcmds vs MKCLANG.


build tested on several platforms and on amd64 and i386 with several
different build options (clang build, gcc build, gcc build with llvm
libs).


# 1.185 02-Feb-2019 mrg

- add new entries of gcc=7 and libgomp, libasan, liblsan, libstdc++, libubsan
- add missing header files fpr gcc=7
- add some missing gcc=5 obsolete entries
- create ./usr/include/dev/bluetooth in mtree not make, and move it into the
base set where all other directories are.


Revision tags: pgoyette-compat-20190127
# 1.184 19-Jan-2019 mrg

add basic gcc-7 support in sets lists and filesystem. mips gained
a header. assumes it's otherwise mostly the same as gcc-7.


# 1.183 18-Jan-2019 christos

- mark gcc=5 files obsolete
- make includes always available, not only when gcccmds
- mark files obsolete consistently


Revision tags: pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728
# 1.182 17-Jul-2018 joerg

Update LLVM/Clang build system to r337282.


# 1.181 12-Jul-2018 maxv

Remove the kernel PMC code. Sent yesterday on tech-kern@.

This change:

* Removes "options PERFCTRS", the associated includes, and the associated
ifdefs. In doing so, it removes several XXXSMPs in the MI code, which is
good.

* Removes the PMC code of ARM XSCALE.

* Removes all the pmc.h files. They were all empty, except for ARM XSCALE.

* Reorders the x86 PMC code not to rely on the legacy pmc.h file. The
definitions are put in sysarch.h.

* Removes the kern/sys_pmc.c file, and along with it, the sys_pmc_control
and sys_pmc_get_info syscalls. They are marked as OBSOL in kern,
netbsd32 and rump.

* Removes the pmc_evid_t and pmc_ctr_t types.

* Removes all the associated man pages. The sets are marked as obsolete.


Revision tags: phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.180 17-Feb-2018 mrg

branches: 1.180.2; 1.180.4;
add missing gcc-6/xtestintrin.h


# 1.179 13-Feb-2018 mrg

obsolete some GCC 4.8 files.


# 1.178 04-Feb-2018 mrg

more updates for GCC 6. with other uncommited changes, i386 seems
to work well enough for hello.c, hello.cc and hello.m.


# 1.177 03-Feb-2018 mrg

updates for GCC 6.4: add gcc-6 specific headers, combine some
all-gcc files, bump the shlib versions on new libs.


# 1.176 02-Feb-2018 mrg

convert HAVE_GCC handling to modern GCC release numbering:
- HAVE_GCC=5 is now the default (vs. HAVE_GCC=53 we've been using for
GCC 5.4 and GCC 5.5.)
- remove some more GCC 4.8 code. we don't support GCC 4 here.
- adjust set lists to gcc=5 from gcc=53.

add some basic HAVE_GCC=6 handling (totally unused so far.)


# 1.175 13-Nov-2017 martin

pcommitintrin.h has been removed from gcc 5.5


# 1.174 12-Aug-2017 maxv

Remove vm86.

Pass 4.


# 1.173 09-Aug-2017 maxv

Remove ibcs2_machdep.h on i386, and don't install it.


# 1.172 08-Aug-2017 maxv

Move freebsd_machdep.h into sys/compat/freebsd, and don't install it. Now,
the compat_freebsd files are all contained in sys/compat/freebsd.


# 1.171 01-Aug-2017 joerg

Update LLVM build glue for 5.0RC1.


# 1.170 01-Aug-2017 maya

Restore marking ./usr/include/i386/svr4_machdep.h obsolete
instead of removing

(so it can be removed by postinstall)


# 1.169 01-Aug-2017 maxv

Remove svr4_machdep.h right away, no one should include it.


# 1.168 29-Jul-2017 kre

If i386/svr4_machdep.h is no longer to be installed in /usr/include
it should no longer be listed in the sets lists as installed.
Mark it obsolete (hopefully unbreak builds.)


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320
# 1.167 08-Mar-2017 kre

branches: 1.167.4;

Do it properly. Thanks wiz.


# 1.166 08-Mar-2017 kre

/usr/include/pmc.h is installed on i386 iff src/lib/libpmc/pmc_i386.c exists
(which it no longer does - only arm has a similar .c file so only arm
builds install pmc.h in /usr/include now)

This should unbreak the i386 build.


# 1.165 08-Mar-2017 maxv

Mark as obsolete instead of removing (from Thomas Klausner).


# 1.164 08-Mar-2017 maxv

Remove i386 from libpmc; it has its own interface (sysarch), and we won't
maintain compatibility.

Verily, I cannot build a distribution now, so I'm committing this rather
blindly. This being said, it looks correct enough.


# 1.163 23-Feb-2017 kamil

Introduce PT_GETDBREGS and PT_SETDBREGS in ptrace(2) on i386 and amd64

This interface is modeled after FreeBSD API with the usage.

This replaced previous watchpoint API. The previous one was introduced
recently in NetBSD-current and remove its spurs without any
backward-compatibility.

Design choices for Debug Register accessors:
- exec() (TRAP_EXEC event) must remove debug registers from LWP
- debug registers are only per-LWP, not per-process globally
- debug registers must not be inherited after (v)forking a process
- debug registers must not be inherited after forking a thread
- a debugger is responsible to set global watchpoints/breakpoints with the
debug registers, to achieve this PTRACE_LWP_CREATE/PTRACE_LWP_EXIT event
monitoring function is designed to be used
- debug register traps must generate SIGTRAP with si_code TRAP_DBREG
- debugger is responsible to retrieve debug register state to distinguish
the exact debug register trap (DR6 is Status Register on x86)
- kernel must not remove debug register traps after triggering a trap event
a debugger is responsible to detach this trap with appropriate PT_SETDBREGS
call (DR7 is Control Register on x86)
- debug registers must not be exposed in mcontext
- userland must not be allowed to set a trap on the kernel

Implementation notes on i386 and amd64:
- the initial state of debug register is retrieved on boot and this value is
stored in a local copy (initdbregs), this value is used to initialize dbreg
context after PT_GETDBREGS
- struct dbregs is stored in pcb as a pointer and by default not initialized
- reserved registers (DR4-DR5, DR9-DR15) are ignored

Further ideas:
- restrict this interface with securelevel

Tested on real hardware i386 (Intel Pentium IV) and amd64 (Intel i7).

This commit enables 390 debug register ATF tests in kernel/arch/x86.
All tests are passing.

This commit does not cover netbsd32 compat code. Currently other interface
PT_GET_SIGINFO/PT_SET_SIGINFO is required in netbsd32 compat code in order to
validate reliably PT_GETDBREGS/PT_SETDBREGS.

This implementation does not cover FreeBSD specific defines in their
<x86/reg.h>: DBREG_DR7_LOCAL_ENABLE, DBREG_DR7_GLOBAL_ENABLE, DBREG_DR7_LEN_1
etc. These values tend to be reinvented by each tracer on its own. GNU
Debugger (GDB) works with NetBSD debug registers after adding this patch:

--- gdb/amd64bsd-nat.c.orig 2016-02-10 03:19:39.000000000 +0000
+++ gdb/amd64bsd-nat.c
@@ -167,6 +167,10 @@ amd64bsd_target (void)

#ifdef HAVE_PT_GETDBREGS

+#ifndef DBREG_DRX
+#define DBREG_DRX(d,x) ((d)->dr[(x)])
+#endif
+
static unsigned long
amd64bsd_dr_get (ptid_t ptid, int regnum)
{


Another reason to stop introducing unpopular defines covering machine
specific register macros is that these value varies across generations of
the same CPU family.

GDB demo:
(gdb) c
Continuing.

Watchpoint 2: traceme

Old value = 0
New value = 16
main (argc=1, argv=0x7f7fff79fe30) at test.c:8
8 printf("traceme=%d\n", traceme);

(Currently the GDB interface is not reliable due to NetBSD support bugs)

Sponsored by <The NetBSD Foundation>


Revision tags: bouyer-socketcan-base
# 1.162 11-Jan-2017 joerg

branches: 1.162.2;
Update LLVM build glue for pre-4.0.0 r291444.


Revision tags: pgoyette-localcount-20170107
# 1.161 05-Jan-2017 wiz

Tag cleanup: if the last column contains 'obsolete', the one before should too.


# 1.160 15-Dec-2016 kamil

Add support for hardware assisted watchpoints/breakpoints API in ptrace(2)

Add new ptrace(2) calls:
- PT_COUNT_WATCHPOINTS - count the number of available hardware watchpoints
- PT_READ_WATCHPOINT - read struct ptrace_watchpoint from the kernel state
- PT_WRITE_WATCHPOINT - write new struct ptrace_watchpoint state, this
includes enabling and disabling watchpoints

The ptrace_watchpoint structure contains MI and MD parts:

typedef struct ptrace_watchpoint {
int pw_index; /* HW Watchpoint ID (count from 0) */
lwpid_t pw_lwpid; /* LWP described */
struct mdpw pw_md; /* MD fields */
} ptrace_watchpoint_t;

For example amd64 defines MD as follows:
struct mdpw {
void *md_address;
int md_condition;
int md_length;
};

These calls are protected with the __HAVE_PTRACE_WATCHPOINTS guard.

Tested on amd64, initial support added for i386 and XEN.

Sponsored by <The NetBSD Foundation>


Revision tags: pgoyette-localcount-20161104
# 1.159 15-Oct-2016 christos

adjust for the latest changes


# 1.158 14-Oct-2016 christos

add ldscripts


Revision tags: localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.157 16-Mar-2016 mrg

branches: 1.157.2;
GCC 5.3 sets (just for i386 so far)


# 1.156 27-Feb-2016 joerg

Update build system for LLVM 3.8.0rc3.


# 1.155 27-Feb-2016 mlelstv

add missing cpu_rng.h includes


# 1.154 10-Aug-2015 mrg

now that we only support gcc 4.8, make all the gcc tags just "gcc".
this should help with next-gcc, when we can add back gcc=48 and
gcc=5x tags, as necessary.


# 1.153 10-Aug-2015 mrg

obsolete and clean up gcc=3 (3.3), gcc=4 (4.1), and gcc=45 (4.5) sets.


# 1.152 29-Jan-2015 joerg

Update set lists for LLVM 3.6RC1.


# 1.151 14-Nov-2014 joerg

Install cpuid.h on X86 and arm_neon.h on ARM.


# 1.150 22-Aug-2014 apb

sort


Revision tags: netbsd-7-base tls-maxphys-base
# 1.149 10-Aug-2014 joerg

branches: 1.149.2;
Update build glue for LLVM/Clang 3.6svn r215315. Changes include various
performance improvements across all backends and a much improved PPC32
backend.


Revision tags: tls-earlyentropy-base
# 1.148 23-Jul-2014 alnsn

Rename sljitarch.h to sljit_machdep.h.


# 1.147 05-Jul-2014 joerg

Drop entries for LLVM/Clang older than 3.4.


# 1.146 30-May-2014 joerg

Update build system for LLVM/Clang snapshot r209886. This brings in the
merged AArch64 backend and the move of eARM to DWARF exception handling
for NetBSD. C++11 is required for building.


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 1.145 12-Feb-2014 dsl

branches: 1.145.2;
Change i386 to use x86/fpu.c instead of i386/isa/npx.c
This changes the trap10 and trap13 code to call directly into fpu.c,
removing all the code for T_ARITHTRAP, T_XMM and T_FPUNDA from i386/trap.c
Not all of the code thate appeared to handle fpu traps was ever called!
Most of the changes just replace the include of machine/npx.h with x86/fpu.h
(or remove it entirely).


# 1.144 11-Feb-2014 dsl

Add x86/fpu.h
Nothing in i386 uses it yet, but it ends up in destdir so it has to be
released.


# 1.143 07-Feb-2014 dsl

Add cpu_extended_state.h


# 1.142 05-Jan-2014 joerg

Update LLVM family to 3.5svn r198450. Interesting changes include:
- Improvements in the SPARC64 support
- ARM backend can almost build a full NetBSD/EABI system with the
integrated assembler
- PowerPC grows disassembler support
- LLD supports copy relocation, beginning of MIPS backend
- New diagnostic for use of bool expression as size_t argument for
strncmp and friends


# 1.141 02-Jan-2014 tho

Mark all _pic.a archive files with the 'picinstall' flag.

This fixes checkflist with MKPICINSTALL=no.

ok christos@.


# 1.140 08-Nov-2013 christos

fix gcc-4.8 sets


# 1.139 01-Nov-2013 mrg

add support for GCC 4.8 sets.


# 1.138 14-Oct-2013 joerg

Update LLVM/Clang snapshot to r192551 for various bug fixes.


# 1.137 21-Sep-2013 joerg

Update LLVM/Clang snapshot to r191105. This brings in a better detection
of unused static variables and functions. Disable this for some external
code and for ioconf.c in the kernel.


# 1.136 11-Aug-2013 joerg

Sort entries in strcmp order.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base
# 1.135 28-May-2013 joerg

Update LLVM/Clang snapshot to r182734. Brings initial support for
integrated PowerPC assembler.


# 1.134 25-Apr-2013 joerg

Update LLVM/Clang snapshot to r180004. This brings in the last pieces of
C++11 support in Clang as well as initial SPARC64 support.


Revision tags: agc-symver-base
# 1.133 23-Jan-2013 joerg

Update LLVM/Clang snapshot to r172366. Catch up with the move past 3.2
release.


Revision tags: yamt-pagecache-base8
# 1.132 16-Jan-2013 christos

Add a new "debug" set that gets built when ${MKDEBUG} is set. On evbarm:
-rw-r--r-- 1 root src 35806068 Jan 16 10:47 base.tgz
-rw-r--r-- 1 root src 57374069 Jan 16 10:48 comp.tgz
-rw-r--r-- 1 root src 101286193 Jan 16 10:49 debug.tgz
...
This allows always building the debugging code and libraries but not
installing it (although now it is placed in the default sets if ${MKDEBUG}
is set


Revision tags: yamt-pagecache-base7
# 1.131 17-Nov-2012 joerg

Update LLVM/Clang snapshot to r168187 for various bug fixes.


# 1.130 05-Nov-2012 alnsn

Include sljitarch.h even when MKSLJIT=no.


# 1.129 05-Nov-2012 alnsn

Build sljit test when MKSLJIT != no and set MKSLJIT to yes on amd64 and i386.


Revision tags: yamt-pagecache-base6
# 1.128 28-Oct-2012 joerg

Update LLVM/Clang snapshot to r166772. Now builds without RTTI and
exceptions. Also features the first round of a loop vectorizer.


# 1.127 29-Aug-2012 drochner

branches: 1.127.2;
Extend the CPU microcode update framework to support Intel x86 CPUs.
Contrary to the AMD implementation, it doesn't use xcalls to distribute
the update to all CPUs but relies on cpuctl(8) to bind itself to the
right CPU -- to keep it simple and avoid possible problems with
hyperthreading.
Also, it doesn't parse the vendor supplied file to pick the right
part for the present CPU model but relies on userland to prepare
files with specific filenames. I'll commit a pkg for this in a minute
(pkgsrc/sysutils/intel-microcode).
The ioctl interface changed; compatibility is provided (should be
limited to COMPAT_NETBSD6 as soon as this is available).


# 1.126 08-Aug-2012 drochner

on x86, <machine/cpufunc.h> only pulls in <x86/cpufunc.h>. The latter
is not installed to userland and noone missed it, so the former ones
can not be useful either. Don't install them.


# 1.125 16-Jun-2012 joerg

Update LLVM/Clang snapshot to r158533. This brings in support for
stack-realignment in functions using alloca on x86. Move to
/usr/include/clang-3.2 to reflect the version.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base
# 1.124 11-Jan-2012 joerg

Update LLVM/Clang snapshot to r147888. Most importantly, this fixes a
number of ABI issues for i386 and provides the correct
__FLT_EVAL_METHOD__ when using i387.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.123 15-Aug-2011 wiz

branches: 1.123.2;
Mark a few gcc-4.1 entries as obsolete with gcc-4.5.


# 1.122 17-Jul-2011 joerg

Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.


# 1.121 17-Jul-2011 dyoung

We no longer install <machine/bus.h> on amd64 and i386, so mark it
obsolete in the set lists.


# 1.120 07-Jul-2011 mrg

- un-obsolete a pair of files we want to remain installed (XXX i wonder
if a way to have "clean builds" not run "postinstall fix obsolete" in
the $DESTDIR so that these sorts of errors will appear as set list
errors instead of being skipped
- fix the list of headers to install for GCC 4.5, based upon the mknative
${G_EXTRA_HEADERS}. XXX move the location of G_EXTRA_HEADERS.


# 1.119 01-Jul-2011 mrg

various updates for GCC 4.5. finally obsolete some very old gcc stuff.


Revision tags: cherry-xenmp-base
# 1.118 12-May-2011 joerg

Update LLVM and Clang snapshot


# 1.117 15-Apr-2011 joerg

Install clang's MD headers into /usr/include/clang-3.0 similar to GCC.


# 1.116 15-Apr-2011 joerg

Move the headers for compiler and platform specific intrinsincs from
/usr/include to /usr/include/gcc-4.1.


Revision tags: bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
# 1.115 20-Dec-2010 christos

To use x86/cpu.h struct cpu_info from userland, we need via_padlock.h installed.


# 1.114 31-Jul-2010 joerg

Add support for fenv.h interface for i386 and amd64.

Submitted by Stathis Kamperis as part of GSoC 2010 and ported from
FreeBSD.


# 1.113 07-Jul-2010 njoly

Install x86/pte.h


# 1.112 27-Apr-2010 lukem

Add usr/libdata/debug entries for shared libraries on i386 with Xorg


# 1.111 06-Jan-2010 skrll

libpmc_g is only available on i386 and arm. Fixes MKDEBUGLIB builds on
other platforms.


# 1.110 14-Dec-2009 skrll

MKDEBUGLIB=yes fixes.


Revision tags: matt-premerge-20091211
# 1.109 25-Aug-2009 njoly

+iasl.debug


Revision tags: jym-xensuspend-nbase jym-xensuspend-base
# 1.108 31-Oct-2008 mrg

make MKPIC=no builds work on i368, shark, vax, pmax, sgimips, sparc,
maybe all mips and all arm as well.


# 1.107 31-Oct-2008 mrg

fix MKPIC=no builds.


Revision tags: netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-base2 wrstuden-revivesa-base mjf-devfs2-base
# 1.106 11-May-2008 ad

branches: 1.106.4;
Share cpu.h between the x86 ports.


Revision tags: yamt-pf42-baseX yamt-pf42-base keiichi-mipv6-base matt-armv6-nbase hpcarm-cleanup-base
# 1.105 26-Feb-2008 drochner

branches: 1.105.2; 1.105.4;
install pmmintrin.h for SSE3


Revision tags: mjf-devfs-base
# 1.104 17-Feb-2008 bouyer

branches: 1.104.2; 1.104.4; 1.104.6;
Install xenio.h and xenio3.h in /usr/include/xen, for the benefit
of xentools3.

XXX ignore those in Makefile.ioctl-c, they don't compile properly outside
of the Xen context and the ioctls from xenio.h conflicts with
soundcard.h


# 1.103 20-Jan-2008 yamt

add x86/pmap_pv.h


Revision tags: pc532-eol-2008 matt-armv6-base
# 1.102 20-Dec-2007 ad

- Make __cpu_simple_lock and similar real functions and patch at runtime.
- Remove old x86 atomic ops.
- Drop text alignment back to 16 on i386 (really, this time).
- Minor cleanup.


Revision tags: cube-autoconf-base
# 1.101 14-Nov-2007 ad

Remove pccons.


# 1.100 18-Oct-2007 yamt

sync with kernel after the merge of yamt-x86pmap branch.


Revision tags: matt-mips64-base
# 1.99 16-Apr-2007 ad

branches: 1.99.4;
+ x86/sysarch.h


# 1.98 09-Feb-2007 ad

Sync with changes introduced by merging the newlock2 branch.


# 1.97 08-Feb-2007 dbj

add some missing .debug files for acpidump, smldb, srtconfig
also fix my previous botch on lfs_cleanerd.debug moving
from /usr/libexec to /libexec


# 1.96 02-Jan-2007 dbj

add ./usr/include/x86/cputypes.h


Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 abandoned-netbsd-4-base netbsd-4-base
# 1.95 26-Jul-2006 drochner

branches: 1.95.4; 1.95.6;
obsolete db_machdep.h


# 1.94 23-Jul-2006 lukem

Implement MKDEBUG:
If "no", don't build and install separate debugging symbols
into /usr/libdata/debug.
Default: no


# 1.93 12-Jul-2006 lukem

* Provide new keywords:
gcc=<n> <n> = value of ${HAVE_GCC}
gdb=<n> <n> = value of ${HAVE_GDB}

* Support extra keywords on lines with "obsolete" keywords to allow
keyword-specific obsolete files.
(Primarily intended for use with gcc=<n> and gdb=<n>, although
it could be use for other items).

* Use the above features to collapse the gcc.* and gcc4.* lists into
the appropriate set lists.

* Deprecate the tc.* lists as all platforms are either HAVE_GCC=3 or HAVE_GCC=4.

* Update set lists for HAVE_GDB=6.


# 1.92 17-May-2006 tron

Put "mm_malloc.h" into GCC 4.x specific set.


# 1.91 17-May-2006 mrg

install new header mm_malloc.h that the mmx/sse headers use now.
fixes 3rd party app build problems reported by dogcow@.


Revision tags: peter-altq-base
# 1.90 04-Feb-2006 jmmv

Revert yesterday's change that attempted to fix the detection of the
boot device when using a Multiboot boot loader. It couldn't work because
these boot loaders do not pass a checksum of the disk so matchbiosdisk()
cannot really find any matches. I should have gone to sleep before
commiting...

Found by xtraeme@.


# 1.89 03-Feb-2006 jmmv

When booting an i386 kernel with Multiboot, properly detect the boot device
by looking it up in the x86_alldisks table (instead of trying to match it
to 'wd*' manually).

In order to do this, move the cpu_rootconf function from x86 common code
to amd64 and i386 specific one. This way, i386 can do an extra step (call
the appropriate Multiboot code) in the appropriate place (after
x86_matchbiosdisks and before findroot()).


# 1.88 03-Feb-2006 jmmv

Implement support for 'The Multiboot Specification' so that i386 kernels
can be booted directly from Multiboot-compliant boot loaders (e.g. GRUB).
See the added multiboot(8) manual page for more information.

No objections in tech-kern@; only positive comments.


# 1.87 03-May-2005 tron

"loadfile_machdep.h" should not be installed as pointed out by
Izumi Tsutsui. This needs to be fixed in the build process.


# 1.86 02-May-2005 tron

Install "loadfile_machdep.h" to fix build of "libsa".


Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-3-base
# 1.85 21-Jan-2005 dyoung

Exclude additional files from the set lists if MKGCCCMDS=no.


Revision tags: rtr-xorg-branch-base
# 1.84 12-Aug-2004 lukem

Move the lib<foo>.so entry (link) from comp to base, so that
applications on systems without the `comp' set installed can
dlopen() a library without supplying the major number.


# 1.83 08-May-2004 kleink

Add <machine/wchar_limits.h>.


# 1.82 08-May-2004 martin

Add emmintrin.h.


Revision tags: netbsd-2-0-base
# 1.81 11-Jan-2004 lukem

branches: 1.81.2;
MKLINT=no support


# 1.80 11-Jan-2004 lukem

reformat whitespace


# 1.79 03-Jan-2004 lukem

Support MKPROFILE=no


# 1.78 29-Dec-2003 lukem

Significant overhaul of how the sets are used:

* Add an optional third field to the sets file which is a list of
comma separated keywords that control if the line is printed.
Currently supported keywords
kerberos4 ${MKKERBEROS4} != no
kerberos ${MKKERBEROS} != no
lint ${MKLINT} != no
obsolete ${obsolete} != 0.
In this case, non obsolete files are not printed.
(This will allow future support for builds with variables such as
MKHESIOD and MKYP set to "no".)

* Use sh(1)'s getopts where appropriate, and otherwise cleanup the
various scripts.

* Move defaults for sets.subr from sets.defaults into sets.subr.
Move replicated code for determining stuff such as shlibs type
from various scripts into sets.subr.

* Merge the obsolete.*, krb.*, krb4.* and lint.* into the appropriate
main lists with the relevant third field keyword(s).


# 1.77 05-Dec-2003 matt

Add MMX/SSE (i386,amd64) and Altivec (powerpc) include files.


# 1.76 22-Oct-2003 kleink

Add <x86/math.h>.


# 1.75 19-Sep-2003 mrg

switch i386, sparc, sparc64 & alpha to GCC 3.3.1.


# 1.74 05-Jun-2003 jwise

Fix syspkg names on some libraries (these are under comp-, not base-).


# 1.73 15-May-2003 wiz

Don't install machine/mouse.h on i386 and prep; there are no users for
the old busmouse interface any longer, we use wsmouse now.


# 1.72 26-Apr-2003 fvdl

Add x86/cacheinfo.h


# 1.71 01-Mar-2003 fvdl

cpuvar.h addition


# 1.70 28-Feb-2003 fvdl

Update for x86 include file changes.


# 1.69 26-Feb-2003 thorpej

Back out change that made libpthread per-platform. It is *intentional*
that the build fails on platforms which do not yet have libpthread support.


# 1.68 13-Feb-2003 jmc

Not all ports/archs have pthread support. So split this up by the proper arch's
for determining which ones get the libraries. Tested on dreamcast, macppc
and i386 builds to cover non builds, ad and md mods


# 1.67 18-Jan-2003 thorpej

Update for nathanw_sa merge.


Revision tags: fvdl_fs64_base
# 1.66 23-Nov-2002 lha

install intrdefs.h so it can be used by intr.h (and libkvm)


# 1.65 02-Oct-2002 grant

sync with reality: add ./usr/include/i386/atomic.h.


# 1.64 22-Sep-2002 lukem

Enable MKDYNAMICROOT=yes by default.
This means that:
+ /bin and /sbin (and the few programs in /usr/* which were statically
linked) are now dynamically linked.
+ The shared libraries that are needed by the /bin and /sbin programs
are now installed into /lib (with compatability symlinks from
/usr/lib). These are:
c crypt edit ipsec kvm m m387 termcap termlib util z
+ The shared linker is now in /libexec/ld.elf_so, and
/usr/libexec/ld.elf_so is a symlink to the former.

If you want the prior behaviour of "some applications statically linked,
the rest dynamically linked", set MKDYNAMICROOT=no in your mk.conf(5).

If you have a philosophical objection to dynamic libraries, continue
to set LDSTATIC=-static in your mk.conf(5), and please don't waste any
more time in trying to convince us why dynamic libraries are 3v1l.


# 1.63 07-Sep-2002 gehenna

Obsolete machine/conf.h


# 1.62 13-Aug-2002 wiz

libpmc lint files are only for i386 and arm for now.
Reported in misc/17923 by FUKAUMI Naoki.


# 1.61 09-Aug-2002 thorpej

Add libpmc.


# 1.60 04-Jul-2002 lukem

revert a chunk of the previous; we only need foo.so.x and foo.so.x.y moved
from comp to base; foo.so, and foo*.a stay in comp.


# 1.59 04-Jul-2002 itojun

move lib[mi]387.so and friends to base/md.i386. PR 17452


Revision tags: netbsd-1-6-base
# 1.58 24-Jan-2002 jwise

branches: 1.58.2;
Move link-time shlib links for libi386 and libm387 to comp set, as with other
shlibs.


# 1.57 10-Sep-2001 fvdl

Add new include files for agp/mtrr.


# 1.56 15-Apr-2001 kleink

Add <machine/int_fmtio.h>.


# 1.55 15-Apr-2001 kleink

Add <machine/int_limits.h>.


# 1.54 14-Apr-2001 kleink

Add <machine/int_const.h>.


# 1.53 14-Apr-2001 kleink

Add <machine/int_mwgwtypes.h>.


# 1.52 17-Feb-2001 ragge

<ieeefp.h> must be installed in a machine-dependent fashion; it should
not exist on VAX.


# 1.51 30-Jan-2001 jwise

Catch a few more stragglers from an older change.


# 1.50 05-Nov-2000 thorpej

Add <machine/pmc.h>


# 1.49 26-Jun-2000 kleink

Add <machine/int_types.h>.


Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base
# 1.48 20-Jun-2000 minoura

branches: 1.48.2;
Sort.


# 1.47 13-Jun-2000 wiz

move pcvt files and devices to obsolete lists


Revision tags: minoura-xpg4dl-base
# 1.46 29-Apr-2000 thorpej

Add <machine/lock.h>


# 1.45 17-Mar-2000 tron

Add "./usr/include/i386/endian_machdep.h".


# 1.44 03-Feb-2000 jwise

Add package names. Later tonight or tomorrow AM, I will post a writeup of
this to tech-{pkg,install}. In short, the pkg names in (new) second
field will be used by the build process under basesrc/src/dist/pkg to
generate PLISTs. The package divisions here may be two finely or coarsely
grained, although I think they're a happy medium -- I will give more
detail/justification in the writeup.


# 1.43 27-Dec-1999 jlam

s/libm386/libm387/


# 1.42 23-Dec-1999 kleink

Add <machine/math.h>.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.41 13-Dec-1999 christos

add libm387.*


Revision tags: comdex-fall-1999-base
# 1.40 25-Oct-1999 simonb

Remove ./usr/include/i386/loadfile_machdep.h


# 1.39 04-Jul-1999 fvdl

branches: 1.39.2;
Bring setlists up to date for i386 switch to ELF and ipv6.


# 1.38 17-Jun-1999 thorpej

Goodbye pmap.new.h


# 1.37 10-Jun-1999 simonb

Move the last of the arch/machine-dependant man pages to the MI set.
Woohoo!


# 1.36 11-May-1999 veego

Add ./usr/include/i386/loadfile_machdep.h


# 1.35 19-Apr-1999 simonb

Add a NetBSD RCS tag to each distrib list file.


Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.34 16-Mar-1999 he

Sync to reality. gcov, rc.wscons, queue/list man pages, i386/ieee.h.


# 1.33 23-Jan-1999 mycroft

They're moving pretty fast...


# 1.32 19-Jan-1999 bouyer

Update for bswap.h and byte_swap.h includes.


# 1.31 16-Dec-1998 tv

Set cleanup:
- make all ports egcs; move stuff to mi and shl.*
- fix m68k-based comp sets to use usr/include/$MACHINE (as
usr/include/machine is now a symlink); add directory entries where missing


# 1.30 18-Nov-1998 he

Bring into sync with what's being installed: egcs manpages, raidctl++,
mbrlabel and collect2 for i386.


# 1.29 04-Nov-1998 hubertf

oops - move libkeycap.so.0.0 back from comp to base


# 1.28 01-Nov-1998 hubertf

move keycap libs from base to comp set


# 1.27 14-Sep-1998 tv

Switch i386 to egcs 1.1.


# 1.26 13-Sep-1998 tv

More egcs updates: MD-split objc headers, and add egcs compilers and
static libraries where applicable.


# 1.25 13-Sep-1998 tv

MD-split the libstdc++ binaries and includes to reflect the state of
egcs/non-egcs default compiler on each platform.


# 1.24 22-Jul-1998 perry

1) move lint libs to the mi list -- all architectures will be building
lint libs.
2) on some md.* files, change "/machine/" to "/$ARCH/" to reflect the
new way we do /usr/include/machine include files.

Note that some archs probably need md lint libs added, and some
machines probably still need their /usr/include/machine support
frobbed, but it is a good start.


# 1.23 02-Jul-1998 jonathan

Do datbase normalization on sets/lists/*/* containing shared-library
related files. Partition into three categories:
* shl.mi -- MI sharedlib files present on all ports with shared libs
* shl.aout -- MI sharedlib files present on all ELF ports
* shl.elf -- MI sharedlib files present on all a.out ports

Add rudimentary shl* support to makeflist.
Remove files left empty after shlib normalization.
Add ad.mips where appropriate.
Make libc, libedit numbers consistent (libc.so.12.29, libedit.2.1).


# 1.22 30-Jun-1998 ross

Move c++rt0 from mi to md files, except for 68K where it goes into ad.68k.


# 1.21 30-May-1998 veego

Sync it with the reality.


# 1.20 12-May-1998 thorpej

libtermlib_pic.a is installed.


# 1.19 12-May-1998 thorpej

libamu_pic is no longer installed


# 1.18 14-Apr-1998 frueauf

Add some missing files.


# 1.17 17-Nov-1997 veego

Sync with the reality of the trunk.


# 1.16 07-Nov-1997 mikel

back out last change


# 1.15 01-Nov-1997 mikel

remove libossaudio_pic.a


# 1.14 26-Oct-1997 mikel

update; from Steve Allen in PR misc/4345, with some additions by myself.


Revision tags: netbsd-1-3-base
# 1.13 22-Sep-1997 veego

branches: 1.13.2;
Sync.


# 1.12 31-Jul-1997 veego

Sync.


# 1.11 18-May-1997 kleink

Add libposix.


# 1.10 30-Apr-1997 pk

Synchronize.


# 1.9 18-Feb-1997 scottr

YARC (Yet Another Reality Check):

- Update libc, libg++, and libstdc++ shared library versions where
appropriate
- Move LKMs to base/mi (except union and compat_sunos, which are broken
and currently not part of the set lists)
- Add /usr/bin/fdformat to base/md.i386, from PR 3116
- Add /etc/fstab.sd to etc/md.i386, inspired by PR 3116


# 1.8 04-Dec-1996 mikel

add libwrap, fix libz.


# 1.7 13-Sep-1996 perry

Add missing i386 include files, etc.


Revision tags: netbsd-1-2-BETA netbsd-1-2-base
# 1.6 25-Mar-1996 mrg

branches: 1.6.4;
update all of these to reality (at least, for the sparc). changes
include:
libg++, bind, less, zoneinfo, lots of headers, and a pc532 man page.


# 1.5 28-Nov-1995 jtc

merge in changes from 1.1 release branch


Revision tags: netbsd-1-1-base
# 1.4 24-Jul-1995 cgd

branches: 1.4.2;
add scrt0.o for ports that have it


# 1.3 11-May-1995 cgd

update for the current state of the world.


# 1.2 16-Apr-1995 mycroft

Update these for ~one month ago. From Greg Hudson.


# 1.1 29-Aug-1994 cgd

branches: 1.1.1;
Initial revision