christos
c90b9921a5
unbound additions
2016-08-20 11:21:50 +00:00
mrg
3766ee0de2
HAVE_XORG_SERVER_VER is always set, if not earlier, immediately above.
2016-08-20 00:36:03 +00:00
mrg
34102114fc
fix up X11FLAGS.LOADABLE for modern xorg.
2016-08-20 00:35:37 +00:00
mrg
e0eda581f2
- introduce HAVE_XORG_GLAMOR which is set to yes on xorg-server 1.18
...
and x86 ports only so far.
- build glamor extension.
- fix debug set lists for xorg-server 1.18
- install xf86-video-amdgpu driver on xorg-server 1.8 and x86
- clean up radeon-kms Makefile and enable glamor xorg-server 1.8
- clean up various obsolete makefile parts
2016-08-19 03:59:30 +00:00
mrg
9612351379
x11: add amdgpu driver, libepoxy and remove radeonhd driver
2016-08-18 08:06:53 +00:00
mrg
9f5c81fc6e
add a HAVE_XORG_SERVER_VER for use in sets. clean up the x11
...
defines a little for modern xorg, particularly the version.
2016-08-16 01:03:07 +00:00
mrg
ba43d274eb
add libxshmfence.
2016-08-15 21:52:46 +00:00
scole
3bee3bfd27
PR port-ia64/51261
...
For ia64, don't build elf32, disable MKDYNAMICROOT and MKRUMP.
ld.elf_so and rump are not implemented yet
2016-08-05 16:44:31 +00:00
matt
1c4b7019be
Add placeholder for compiing earmv7* with -mthumb.
...
Preserve $d/$a/$t for all ARM binaries regardless of endian.
2016-07-07 20:52:53 +00:00
martin
6f4dc43cbd
Switch sparc64 to gcc 5.4, binutils 2.26 and gdb 7.10.
2016-07-07 07:52:24 +00:00
martin
845cb86246
Switch ia64 and alpha to latest gcc/binutils(alpha was there already)/gdb.
2016-07-01 20:05:28 +00:00
christos
e7090289a4
Add and document MKRELRO and set x86 to partial by default.
2016-06-14 13:26:45 +00:00
mrg
1d82783598
switch sparc to GCC 5.4 and powerpc to GDB 7.10
2016-06-10 08:59:26 +00:00
mrg
97765f71bb
re-enable MKCOMPAT for arm eabi platforms, as it now works again.
2016-06-10 05:45:27 +00:00
mrg
91fd2cfd0c
switch all arm (vs just evbarm) to GDB 7.10.
2016-06-10 05:35:33 +00:00
mrg
73c1f479da
switch to using xorg-server.old for everyone.
2016-06-10 05:31:24 +00:00
mrg
1fcfc09354
define XORG_SERVER_SUBDIR to either xorg-server or xorg-server.old.
2016-06-10 03:36:55 +00:00
mrg
174d6dd4ed
switch powerpc64 to GCC 5.
2016-06-10 00:17:48 +00:00
mrg
12a5427819
allow earm* platforms to *try* to enable MKCOMPAT=yes, since it only
...
is a build failure, not an entirely unavailable feature.
2016-06-09 00:20:53 +00:00
mrg
aad330ff83
switch all arm platforms to GCC 5, not just evbarm.
2016-06-08 19:28:47 +00:00
nakayama
d454cfbd16
Add missing transform for xpresent.pc.
2016-05-29 03:02:07 +00:00
christos
28b1bdeb54
switch evbarm to gdb-7.10.1
2016-05-21 19:56:52 +00:00
christos
ab6e20171f
Switch evbarm to gcc-5.3 and turn on PIE.
2016-05-21 18:34:52 +00:00
christos
4f7caacd6a
i386 is PIE now since I am turning PaX ASLR/MPROTECT on.
2016-05-20 01:36:16 +00:00
christos
c06cfbd050
Turn on PIE for sparc64 so we can use ASLR effectively.
2016-05-19 15:38:13 +00:00
martin
61342e9f06
Switch alpha and sparc64 back to gcc 4.8 and old binutils for now - too much
...
fallout from gcc 5.3 and no quick solution, it needs more work.
Binutils 2.26 does not play well with old gcc and causes random fallout
when building pkgs (e.g. /usr/pkg/lib/libgthread-2.0.so.0:
Trying to call undefined weak symbol `__deregister_frame_info' when
build gstremeer0.10)
2016-05-11 13:41:56 +00:00
martin
da2aed28fa
Switch sparc64 to gcc 5.3. OK: mrg
2016-04-28 18:29:20 +00:00
mrg
7413dbb65a
switch powerpc to GCC 5.3.
2016-04-26 05:18:22 +00:00
christos
da4293831e
Add --warn-shared-textrel for the linker.
2016-04-12 18:50:45 +00:00
martin
0568072811
Add missing .if so MKPIE is only defaulting to yes on amd64 for now
2016-04-11 11:46:17 +00:00
christos
714503dcd7
Enable PIE binaries on amd64 by default.
2016-04-10 15:32:27 +00:00
joerg
a3bc99b827
If the per-target LDSTATIC flag is set, don't include the PIE linker
...
flags as we currently don't support static PIE.
2016-04-04 15:06:16 +00:00
skrll
dc636fed66
Switch alpha to binutils 2.26
2016-04-04 07:02:31 +00:00
mrg
978e15c3ef
switch amd64 and i386 to GCC 5.3 by default.
2016-04-03 06:13:28 +00:00
mrg
f39108e148
add some comments and prefer MACHINE over MACHINE_ARCH when
...
they're always the same. no functional change.
2016-04-02 22:08:14 +00:00
mrg
9fb12ec9aa
turn off MKCOMPAT for arm and GCC 5 (for now).
2016-03-30 20:18:18 +00:00
martin
e27f028ff5
Remove hacks for ancient vax gcc
2016-03-30 17:35:43 +00:00
martin
cb4d6b868c
Pass -pie to cc, not -Wl,-pie. This way we have a chance to fix specs
...
for obscure corner cases like -pie -fPIE -static (used for
/usr/tests/lib/csu/h_initfini2 if building with MKPIE=yes).
While there also replace -fPIC with -fPIE for the PIE case, even if
it should be mostly equivalent.
2016-03-30 13:05:09 +00:00
mrg
877929762e
switch alpha to GCC 5.3. works just as well on my UP1000.
2016-03-29 06:36:12 +00:00
skrll
420f6b0097
Switch hppa to gcc 5.3
2016-03-27 10:46:41 +00:00
mrg
f9dc4a2c0b
switch sparc to GDB 7.10. works for me.
2016-03-26 10:38:22 +00:00
martin
251567c563
Switch playstation2 over to gcc 5.3, binutils 2.26 and gdb 7.10
2016-03-26 10:35:14 +00:00
martin
be206a20bc
Switch mips64 over to new gdb - old one doesn't work there either, better
...
to debug in the newer version.
2016-03-24 09:15:38 +00:00
christos
92a1851e6c
switch vax to new binutils and gdb.
2016-03-24 04:28:49 +00:00
christos
958fe28bf4
switch vax to gcc-5.3
2016-03-24 00:04:05 +00:00
mrg
6c936e99ad
apply -Wno-error=stack-protector in the same places for GCC 5.3 as 4.8.
...
fixes sh3 and m68k issues, at least. (vax and or1k are also included.)
2016-03-22 08:17:27 +00:00
christos
54d5052a6c
Add NO{SSP,FORTIFY}
2016-03-13 17:56:56 +00:00
mrg
8872ffd0f4
remove some more GCC 4.5 code. make GCC 5.3 be HAVE_GCC=53, so that,
...
for example, HAVE_GCC >= 48 works properly.
2016-03-13 01:06:51 +00:00
mrg
e2bee4685a
remove conditionals that are always true with GCC >= 4.8.
2016-03-12 23:08:58 +00:00
uwe
ce76f88f8f
Switch sh3 to the new binutils and gdb. Lightly tested on landisk.
...
sh3eb compile-tested only.
2016-03-01 10:29:40 +00:00
martin
dd8e547b10
Switch sparc64 over to new binutils
2016-02-28 20:47:01 +00:00
christos
0048ede9cd
Revert and leave broken.
2016-02-27 23:51:34 +00:00
christos
16fbfcab6b
Don't build archive libs with -fPIC breaks static binaries and profilig.
2016-02-27 20:36:17 +00:00
joerg
17feded366
Sparc/Sparc64 also support libc++ and compiler-rt in libc with Clang.
2016-02-27 18:56:33 +00:00
joerg
df799ca7a5
Avoid syntax errors if HAVE_GCC is not defined.
2016-02-27 18:55:15 +00:00
macallan
ddcf74ce02
switch sparc to new binutils
2016-02-23 18:03:31 +00:00
christos
6c0101debe
Add NODEBUG
2016-02-21 03:34:27 +00:00
christos
a481ce46bc
Unbreak LLVM MKREPRO=yes builds (since the build system sets MKREPRO now)
2016-02-20 16:36:08 +00:00
christos
678012db01
Provide a variable MKTOOLSDEBUG to build debugging versions of tools.
2016-02-20 15:18:46 +00:00
macallan
c04b415846
switch powerpc ports to new binutils
2016-02-19 18:47:24 +00:00
plunky
a4a650b6a4
use pcpp front end rather than libexec/cpp directly, since commandline
...
options may not be handled by the latter
2016-02-09 20:44:26 +00:00
skrll
d0d6f47d6b
Remove the .SUNW_ctf sections when converting form ELF -> a.out by
...
updating OBJCOPY_ELF2AOUT_FLAGS
2016-02-08 10:39:09 +00:00
christos
180d9e44e1
fix pasto
2016-02-07 14:31:21 +00:00
riz
91a33a8e4a
Back out unintended changes committed with last.
2016-02-06 16:58:31 +00:00
riz
50bf67899c
Don't test dtrace-related variables until after they've been set.
2016-02-06 16:56:23 +00:00
christos
523945ce28
switch i386 to gdb-7.10.1
2016-02-03 15:28:02 +00:00
christos
28342b84d6
switch amd64 to gdb-7.10.1
2016-02-03 03:26:02 +00:00
christos
c82b466b59
everyone, back to gdb.old
2016-02-02 22:35:46 +00:00
christos
a9d0c035fe
Switch i386 to new binutils.
2016-02-02 20:23:24 +00:00
christos
869efc6e11
Add the missing CTFMERGE step.
2016-02-02 18:38:10 +00:00
christos
8d0597fca7
Document NOCTF, NOPIE.
2016-02-01 15:00:43 +00:00
skrll
d3cd10ccbc
Switch hppa to binutils 2.26
2016-02-01 12:56:06 +00:00
christos
cb68fe56e3
flip amd64 and evbarm to the new binutils
2016-01-31 18:47:14 +00:00
christos
dc084e400e
Introduce NOPIE and NOCTF so that standalone programs build properly.
2016-01-31 15:30:14 +00:00
christos
e1356d5e2a
Make ctfconvert remove the debugging symbols after it is done converting them.
2016-01-30 04:07:27 +00:00
christos
3495c5242f
If we are building CTF, keep debugging symbols.
2016-01-30 03:38:39 +00:00
christos
33f4505796
new binutils will be 2.26
2016-01-29 15:33:51 +00:00
christos
3873a83aa9
back to binutils.old now that it works.
2016-01-26 21:19:20 +00:00
christos
4a9e204fe8
back to use binutils since the path is hard-coded everywhere!
2016-01-26 19:09:56 +00:00
christos
4bab817c32
external binutils and gdb variables.
2016-01-26 17:47:06 +00:00
christos
c84bade02b
Add tool cvslatest
2016-01-24 20:15:11 +00:00
christos
ffeb8dbf4e
Define _KERNTYPES for things that need it.
2016-01-23 21:22:45 +00:00
riz
673c699d5d
Build DTrace userland by default on i386, amd64 and earm*
2016-01-22 21:55:51 +00:00
christos
edabda5336
group by directory.
2016-01-10 16:22:57 +00:00
dholland
acb0b70b4a
Apparently it's important to do
...
-Wp,-iremap,${DESTDIR}:
and not
-Wp,-iremap,${DESTDIR}/:/
Why this should matter for strings where the trailing slash is
present, I dunno. But it does.
Fixes the MKREPRO problem where the unfixed path to lfs_accessors.h
appears ina bunch of bins.
2016-01-10 06:13:21 +00:00
dholland
2e9c8f6e0f
For MKREPRO, substitute DESTDIR before NETBSDSRCDIR; then it has a
...
chance of working if DESTDIR is under NETBSDSRCDIR (as happens with
default objdirs when building someplace random other than /usr/src...)
2016-01-10 03:59:34 +00:00
christos
3619260b5b
- use -fdebug-regex-map to remap one style of object dirs. There are others.
...
- change DESTDIR to nothing so that we don't get // in the front
- apply the mappings to both c and c++
2016-01-09 02:06:22 +00:00
christos
9b4e848824
Add the pthread libraries, documented already in bsd.README; sort
2016-01-01 17:06:21 +00:00
christos
6b4079e461
Add a prefix translation map for debugging symbols. Note the use of variable
...
indirection so that DW_at_producer that contains the compilation command
remains the same: readelf --debug-dump foo.debug
2015-12-22 16:46:56 +00:00
wiz
2279c2dafc
Fix pasto.
2015-12-19 00:25:50 +00:00
christos
72e3b03409
Sort texinfo dir file for MKREPRO
2015-12-18 18:57:56 +00:00
joerg
be2d9aaa80
Don't set TOOL_GREP to something which doesn't exist, just use the host
...
tool for now.
2015-12-01 22:18:26 +00:00
kamil
1d5ce4bbb4
Add new predefined value for DPADD: LIBPANEL
2015-11-22 04:59:15 +00:00
pooka
33a1fe2a2d
describe => rumpdescribe
2015-11-15 13:50:10 +00:00
christos
3e50f3c769
LIBEXECINFO
2015-11-07 23:53:28 +00:00
joerg
0bc53a588b
LIBEXECINFO
2015-11-07 23:41:58 +00:00
jmcneill
01606544ce
Build xf86-video-modesetting on evbarm
2015-11-06 01:17:08 +00:00
phx
d188e23f41
Build a wsfb Xorg server for amiga.
2015-11-04 17:06:23 +00:00
dholland
3adc6f5a85
because I'm feeling tetchy, implement "make describe" for everything that
...
has man pages.
2015-10-19 17:08:11 +00:00
pooka
fd591903fa
Allow "make describe" to descend into SUBDIRs.
2015-10-19 16:17:14 +00:00
rjs
5f50d03486
Add Xorg server to ibmnws build.
2015-10-13 20:12:03 +00:00
mrg
ef952a545a
add xf86-video-nouveau
2015-10-13 03:14:16 +00:00
rjs
5d347183ce
Build Xorg server and wsfb driver for mac68k.
2015-09-30 22:58:02 +00:00
mrg
a5c0f21e52
move GCC 4.8 users to using gcc.old. should be no functional change.
2015-09-25 08:24:20 +00:00
uebayasi
45ccdffc42
Revert previous. It was not wrong, but not necessary for everyone.
...
(If really wanted, *.a generation rule can be easily overriden locally.)
2015-09-08 16:06:42 +00:00
uebayasi
463bd4e74c
Order object build alphabetically.
2015-09-07 06:42:07 +00:00
christos
70adad9195
switch everyone to gdb 7.9.1
2015-08-17 17:36:06 +00:00
christos
f88da81e7d
switch powerpc to gdb 7.9.1
2015-08-17 12:50:00 +00:00
christos
6e6c9ec1c4
switch vax to gdb-7.9.1
2015-08-17 10:16:47 +00:00
christos
3c54d3912b
add sun2
2015-08-17 10:12:29 +00:00
christos
9a44f62457
switch sparc64 to gdb-7.9.1
2015-08-17 10:06:29 +00:00
christos
320e0a7f78
switch alpha to gdb-7.9.1
2015-08-17 09:58:52 +00:00
christos
f12867365f
switch m68k to gdb-7.9.1
2015-08-17 09:08:03 +00:00
christos
339d78c1ab
add sparc
2015-08-17 08:54:55 +00:00
christos
6db8f24a8e
switch i386 to gdb-7.9.1
2015-08-17 08:31:45 +00:00
christos
c0ef042b29
switch amd64 to gdb 7.9.1
2015-08-16 09:13:30 +00:00
dholland
ba69475758
Remove CreationDate from the header of output postscript. Also, feed -n
...
to gzip when compressing so it doesn't store the timestamp in the file
header. For MKREPRO, but unconditional as the information omitted isn't
particularly useful. PR 50116.
2015-08-04 08:36:14 +00:00
tsutsui
e2c773cb5b
Revert rev 1.359 which broke libsa builds. PR/50101
2015-07-29 14:35:04 +00:00
mrg
cf4dd8937a
remove the xfree86 reachover makefiles and the vast majority of
...
the support in the rest of the source tree.
X11 sets could use some cleaning up perhaps (just deletion, as
we've never really marked the old X11R6 as obsolete for native
xorg using platforms so far either.)
2015-07-23 08:03:24 +00:00
mrg
08c866994a
add rstart and showfont.
2015-07-23 07:44:46 +00:00
mrg
8e27198081
add libXpresent.
2015-07-23 05:44:26 +00:00
joerg
a7c9fae5a0
Simplify the build of library archives by no longer doing a topological
...
sort.
2015-07-20 12:20:26 +00:00
matt
613066da23
Add _MKTARGET_LINK
2015-07-09 14:50:08 +00:00
chs
f047745321
reapply some fixes to make multi-threaded ctfmerge work
...
that were lost in the overzealous resync with freebsd.
remove the hacks which were applied to work around those problems.
2015-07-06 00:21:51 +00:00
matt
30074b3e8a
Add MKCOMPATX11 knob for making X11 compat libraries.
2015-06-27 16:21:07 +00:00
matt
589b128fbc
Support building the xorg X11 libraries under MKCOMPAT.
...
Add XORG_MACHINE_ARCH to compat's bsd.*.mk
Turn xorg makekeys and makestrs into real host tools which are installed into
${TOOLSDIR}
2015-06-24 22:20:24 +00:00
matt
a517e85e1a
Don't add anything to CFLAGS/LDFLAGS on mips64 is BSD_MK_COMPAT_FILE is set.
2015-06-24 13:42:53 +00:00
matt
8056744aa6
Default MKPICLIB on powerpc64 to yes
2015-06-23 01:38:17 +00:00
matt
eebdf6214d
Default MKCOMPATMODULES to yes for mips64e{b,l}
2015-06-22 06:47:26 +00:00
matt
0499097e0e
Add MKCOMPATTESTS knob to enable building and installing the NetBSD test
...
suite as part of doing MKCOMPAT
2015-06-19 18:13:52 +00:00
pooka
0dcc02b3ce
add READELF and STRINGS
2015-06-18 22:29:12 +00:00
matt
6811dc67f2
Make LIBCRT* depend on the right files if MLIBDIR from MKCOMPAT is defined.
2015-06-07 15:04:28 +00:00
mrg
69443c441c
fix MKDEBUG vs parallel builds. split the creation of the final
...
.so file from the main link of it, and use the main file as the
input for both the .so output and the .so.debug file. for MKDEBUG
builds we now:
(a) create the (new) .so.full file
(d) create the .so.debug file
(c) create the (installable) .so file
for other builds, we simply use the same rule for (a) to create (c).
this stops the .so.debug rule from modifying the .so rule's target
and leading to mayhem.
see this thread for more details:
http://mail-index.netbsd.org/tech-toolchain/2015/06/03/msg002616.html
2015-06-04 06:01:24 +00:00
martin
dbff044260
Cosmetics: simplify MKCOMPAT default settings
2015-06-04 05:56:23 +00:00
christos
acb599fdb6
Strip the debug symbols via a temporary file, atomically replacing the full
...
random access archive to avoid races.
2015-06-02 23:00:25 +00:00
martin
fd0a6d9af6
Enable MKCOMPAT for earm*, now that it works. Ok: matt@
2015-05-29 14:15:14 +00:00
rjs
550917d61d
Build both xf86-video-radeon drivers for amd64 and i386, just build the
...
old one for other ports.
2015-05-28 14:36:44 +00:00
matt
350927cf34
Compile ARM apcs with -marm (no thumb).
2015-05-28 04:08:48 +00:00
rjs
b596b9b9be
Add xf86-video-intel-old to the build.
2015-05-21 00:12:10 +00:00
martin
a7b45466db
No kernel modules for acorn26
2015-05-12 08:25:28 +00:00
matt
f1588c096e
For mips64, build kmodules using N64 ABI
2015-05-02 18:18:13 +00:00
mrg
aaabec45f9
two changes to radeon drm firmware:
...
- only install it by default on x86, set new MKRADEONFIRMWARE variable
- install in /libdata, so that separate /usr systems work
(this still doesn't solve PR#49811, which possibly could be handled by
having them being a kernel module loaded by /boot.)
2015-04-26 21:37:22 +00:00
pooka
70483504a1
Build ZFS by default only for amd64, not i386.
...
If we build i386 for 486 (i.e. no 64bit atomic ops) and as a substitute
for the modern hardware that the code was designed to run on use solid
workarounds like external/cddl/osnet/lib/libzpool/atomic.c, there's not
much point in anything.
2015-04-22 19:43:45 +00:00
mrg
df9c189fea
remove support to look for GCC 4.5 in gcc.old.
2015-04-08 06:03:09 +00:00
mrg
22ccd76416
fix the description of MKX11RADEONKMS, as pointed out in PR#49753.
2015-03-17 01:58:29 +00:00
mrg
50e581ea01
add build framework to choose between xf86-video-ati 6.x (UMS/KMS)
...
and 7.x (KMS only), and switch x86 to the latest (KMS only) version.
(if someone can make x86 install both radeon_drv.so.[67] and leave
the default symlink to .7, that would be nice. renaming it so that
it's easier to choose via xorg.conf is a little more tricky..)
2015-03-01 07:46:04 +00:00
snj
9235716d61
prune a number of now-nonexistent xorg components
2015-02-26 04:49:16 +00:00
jmcneill
889ad2c6eb
Build and install Mesa GBM buffer management library (libgbm).
2015-02-23 00:09:30 +00:00
chs
b0a14f469c
switch m68k to use gcc48.
2015-01-23 03:43:24 +00:00
mrg
0e4eb59327
sets.subr:
...
support machine=<xxx>, machine_arch=<xxx>, machine_cpu=<xxx> tags.
dri7: build Mesa 7 r300_dri.so for x86 platforms.
2015-01-05 03:45:31 +00:00