ryo
f989f9625c
revert previous: http://mail-index.netbsd.org/source-changes/2021/10/25/msg133295.html
...
going to add __always_inline to the functions called from _mcount()
discussed on http://mail-index.netbsd.org/source-changes-d/2021/10/25/msg013480.html
2021-10-27 03:06:59 +00:00
ryo
843ce00650
In some arch, _mcount() would be called recursively when built with COPTS=-O0.
...
Normally, functions called from mcount.c are expected to be expanded inline,
so _mcount() will never be called recursively. But when build with COPTS=-O0,
`static inline' functions aren't inlined, and _mcount() will be called
recursively.
Even if _mcount() has `__attribute__((__no_ instrument_function__))',
it has no effect on the calling external (no-inlined) function.
To avoid this, PROF.<fn> is added can be set the profiling flag of any file.
"PROF.mcount.c" is set to blank by default, mcount.c itself is compiled
without -pg.
2021-10-25 07:54:44 +00:00
nia
7d6fba5f3f
mk: Enable MKPIE on aarch64 (it's already enabled on 32-bit arm)
2021-10-14 12:58:30 +00:00
nia
ac33538813
mk: Enable MKRELRO on aarch64 to match x86.
2021-10-14 11:46:45 +00:00
nia
2088d9efba
mk: Enable MKARGON2 now that this stuff works.
2021-10-14 11:45:46 +00:00
jmcneill
2017b9f914
efiboot: Build and install bootriscv64.efi for riscv64 builds.
2021-09-30 20:02:54 +00:00
maya
f9d97969cb
Restore MKNOUVEAUFIRMWARE and MKRADEONFIRMWARE and make gpufw set unconditional
...
Simplifies logic.
(Second commit - first one was partial)
Restoring MK* requested by mrg on tech-kern discussion
https://mail-index.netbsd.org/tech-kern/2021/09/25/msg027695.html
2021-09-26 15:52:40 +00:00
maya
f54624bd74
Move DRM-driver firmware from base to its own set, gpufw
...
This set is only installed on amd64,i386,evbarm.
This set is installed on minimal installs and on install media, in
case someone needs it for basic driver functionality.
Comments:
Switched to a single MK tunable for it - that is probably unneeded.
An upcoming DRM update will include even fatter firmware, and we'd
like to minimize the impact of it.
2021-09-25 08:54:29 +00:00
andvar
80f2027016
sysinst/partitions.h: fix typos comments, also fix same typos in other files.
2021-09-11 21:30:46 +00:00
mrg
d07aa01e08
xorg-server is now at 1.20.13.
2021-08-24 06:29:18 +00:00
mrg
2fa4170300
define variables for the libxcb-* libraries.
2021-08-23 22:13:27 +00:00
andvar
8324be4c9b
fix some more typos in comments/log messages, improve wording as well.
2021-08-21 11:55:24 +00:00
mrg
ab57e84c1b
fix arm64 builds: turn off MKCOMPAT for GCC
...
no idea why it was enabled as we can't easily target 32 bit.
if we figure this out for aarch32, the subdir names etc will
probably be different, or we can just revive the deleted
files no longer referenced with this commit.
2021-08-19 06:52:37 +00:00
mrg
344668bab1
switch sh3 to GCC 10. buh bye GCC 9!
...
thanks to everyone who helped (most espcially rin@.)
2021-08-16 17:40:16 +00:00
christos
9aa9806a13
Fix sun2 build for ldap/gssapi
2021-08-15 10:30:39 +00:00
christos
7377d9de8f
Centralize the ldap libraries
2021-08-14 16:16:32 +00:00
mrg
fc1fab36bb
switch Mesa 19 to use MesaLib.old subdir.
2021-07-11 22:07:35 +00:00
mrg
6579c40d91
xorg-server is now 1.20.12.
2021-07-11 00:13:49 +00:00
mrg
5be704ed29
switch m68000, m68k and 32 bit arm to GCC 10. just sh3 left!
...
special thanks to rin for fixing arm32.
2021-06-19 06:19:35 +00:00
rin
99f59e4c4b
Switch amiga to Xorg server 1.20; wsfb(4) is only graphic driver both for
...
1.10 and 1.20 (Xamiga was gone a long ago...), and there is no reason to
stay with 1.10.
At least, 1.20 works fine on wsdisplay(4) at amidisplaycc(4).
2021-06-03 07:40:48 +00:00
jmcneill
d3b931e31a
Add support for installing a copy of dtb files to the base dtb directory
...
when DTBSUBDIR is defined.
2021-06-02 10:28:21 +00:00
rin
f49ee5462d
Switch mac68k to Xorg server 1.20. Only available driver is wsfb(4) both
...
for 1.10 and 1.20, and there is no reason to stay with 1.10.
XXX
1.20 works fine on WSFB* kernels with genfb(4), whereas both 1.10 and
1.20 fail for GENERIC* kernels with macfb(4) as some mandatory ioctl's
are missing. It would be better to make genfb(4) default before netbsd-10
is branched.
2021-05-29 12:25:08 +00:00
christos
357005ef43
mips has switched already.
2021-05-27 21:02:56 +00:00
christos
69d62fbbf7
mips64 only works with gcc-10
2021-05-27 20:29:24 +00:00
christos
be33763f2d
switch to MACHINE_ARCH i386 to include xen (thanks mlelstv)
2021-05-27 17:41:28 +00:00
christos
e5a1a244b0
Switch "xen" to gcc 10 too, otherwise xen kernel builds fail because they
...
"think" we have gcc-9 where we have gcc-10 in reality (since MACHINE=xen),
and we don't add ${GCC_NO_RETURN_LOCAL_ADDR} COPTS.in_pcb.c
2021-05-27 17:13:20 +00:00
christos
949385b148
remove dup line (thanks rillig)
2021-05-27 11:24:58 +00:00
mrg
41b9942230
switch mips* and i386 to GCC 10.
...
arm32 (significant issues remaining), m68k (seems fine, but x68k
needs to reduce support in loadbsd), and sh3 remaining.
2021-05-27 06:58:27 +00:00
christos
adc3e0c6e2
Add date as a tool
2021-05-26 20:21:25 +00:00
rin
735b9693ea
PR port-mvme68k/56146
...
Build wrtvid as tools.
2021-05-06 13:23:36 +00:00
mrg
842d17106a
xorg-server 1.20.11 is now current.
2021-04-27 04:02:09 +00:00
christos
ef70f9b69b
Revert the AFLAGS change since it affects kernels.
2021-04-26 00:38:23 +00:00
christos
617e25cc45
make MACHINE_MIPS a boolean not a condition
2021-04-25 21:55:58 +00:00
rin
3fce5ffb9d
Add missing \ for previous.
2021-04-25 15:33:15 +00:00
christos
8c4355e24e
- since we are using regex already, shorten by merging arm and mips entries
...
- add a MACHINE_MIPS64 macro shorthand
- pass -m{soft,hard}-float to the assembler when we are passing it to the
compiler
2021-04-25 14:32:20 +00:00
mrg
9aab5f6a62
switch powerpc and arm64 to GCC 10.
2021-04-25 08:01:54 +00:00
skrll
eea8ca29ae
Switch hppa to gcc 10
2021-04-18 20:32:49 +00:00
mlelstv
34c5ec62b8
Use GCC10 for all amd64 including XEN kernels.
2021-04-17 09:39:33 +00:00
mrg
2c7f7c1589
switch alpha, ia64, sparc*, riscv*, amd64 and vax to GCC 10 default.
2021-04-17 04:07:16 +00:00
mrg
ed979dc750
add GCC_NO_IMPLICIT_FALLTHRU, GCC_NO_MAYBE_UNINITIALIZED, and
...
GCC_NO_RETURN_LOCAL_ADDR.
2021-04-12 04:18:38 +00:00
mrg
eca8198938
switch HAVE_GCC=9 to gcc.old.
2021-04-10 00:35:24 +00:00
simonb
0e41d78f21
Reenable kernel modules for MIPS now that they work.
2021-03-31 06:35:35 +00:00
simonb
566f9e2cfa
On MIPS if we compile C files as N64, compile assembly with the same ABI.
2021-03-29 05:22:49 +00:00
simonb
8d4bbb0957
Make columns nicely aligned.
2021-03-27 02:46:45 +00:00
simonb
a82a6a8354
Add aarch64 and sparc64 to MKZFS yes.
...
Sort the machine names for the "Default: yes on ..." lines.
2021-03-24 04:36:57 +00:00
christos
7f9d45e9ac
From Greg A. Woods:
...
- add LDSTATIC to all the LINK rules, replacing CPPFLAGS which should not be
used
- create new COMPILE_LINK rules that are like LINK rules but have CPPFLAGS
where appropriate
2021-03-23 22:02:44 +00:00
simonb
5f1014a3da
Work in progress for MIPS modules. Only tested on mipseb64, not yet
...
enabled anywhere.
2021-03-23 13:22:40 +00:00
christos
3b02207a1b
Fix the shuttle rules by defining a new EXEC_TARGET instead of re-using
...
OBJECT_TARGET which adds an extra .o sometimes. Noticed by Greg A. Woods
2021-03-22 21:52:26 +00:00
rin
e31cf72b5a
Build Xorg server for evbppc with minimum wsfb(4) support for Explora.
2021-03-07 10:42:26 +00:00
rin
d4ac66a3c1
Build modules for PPC_OEA64 on evbppc64.
2021-03-07 07:37:35 +00:00