christos
edf420ad0b
switch ppc to OpenSSL-1.1, use MACHINE_CPU consistently.
2018-03-05 00:24:01 +00:00
christos
be5fb36d0b
last I checked powerpc64 was 64 bits, so it needs _XSERVER64..
2018-03-04 23:47:55 +00:00
mrg
53585d3968
switch powerpc, mips and arm ports to GCC 6.
...
all kernels that build with gcc 5 still build.
several platforms tested in emulators and real hardware.
2018-03-04 22:47:49 +00:00
christos
004b7cf33b
switch sh3 to openssl-1.1
2018-03-04 00:17:05 +00:00
christos
5566d6284a
switch arm to openssl-1.1
2018-03-03 00:22:04 +00:00
snj
28c97c06b5
remove mention of /usr/X11R6
2018-03-01 06:34:23 +00:00
martin
a253d8fa7f
Switch sparc over to openssl 1.1 again - thanks to christos for fixing it!
2018-02-26 12:26:24 +00:00
chs
3084abc1e1
add DTRACE_OPTS and HOST_DTRACE_OPTS to allow disabling various optimizations
...
that interfere with using dtrace. use them when MKDTRACE=yes.
2018-02-25 18:53:23 +00:00
mrg
2e19323388
add LIBKRB5_LDADD/LIBKRB5_DPADD and their static counterparts
...
to bsd.prog.mk. use them instead of hard coding various lists
of libraries for krb5.
this fixes static builds.
2018-02-25 00:16:48 +00:00
skrll
366599d113
Switch hppa to gcc 6.4
2018-02-23 21:16:01 +00:00
martin
32bba72871
Switch sparc back to old openssl - needs more work and testing.
2018-02-20 12:49:40 +00:00
christos
01b941a695
switch sparc to openssl-1.1
2018-02-19 20:52:09 +00:00
mrg
9e8cffe5e6
switch i386, sparc and sparc64 to GCC 6.
2018-02-17 21:46:15 +00:00
christos
c5477af646
switch amd64 to gcc-6. Thanks mrg for all the work!
2018-02-11 03:44:53 +00:00
christos
3fa42dbf15
missing backslash
2018-02-09 04:38:24 +00:00
christos
0c048d5af5
switch everyone to openssl.old
2018-02-04 03:19:51 +00:00
mrg
6d188dd0d7
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.)
2018-02-02 01:02:39 +00:00
christos
dcdb6449b4
explain how to allow coverity to use sysroot
2018-01-27 23:59:17 +00:00
skrll
ac34435581
Remove port-acorn26
...
OK core@
2018-01-24 09:04:40 +00:00
christos
d2f1057c31
white space for readability.
2018-01-22 17:34:01 +00:00
christos
4dca937651
Disgusting and evil hack to elide coverity options that break production
...
of coverity output when present [userland portion]
- --sysroot
- -fstack-protector
- -std=gnu99
- --nostdinc
- -fPIE
The critical one here being --sysroot because this means that we need to
use the actual system headers while building (or chroot/sandbox appropriately)
2018-01-22 17:33:01 +00:00
jmcneill
a5c866b6cf
Import NVIDIA Tegra XUSB firmware for Tegra124 and Tegra210. Installation
...
of this firmware is controlled by the MKTEGRAFIRMWARE option, which
defaults to yes on evbarm and evbarm64 and no everywhere else.
2018-01-07 20:59:24 +00:00
christos
c7928288cb
Instead of checking for obj existance which can be empty for shuttle-rule
...
programs, check for .sh sources.
2017-12-11 13:08:47 +00:00
christos
0c05084375
don't try to build .debug files for shell scripts.
2017-12-10 15:11:47 +00:00
christos
3bc5e25fe7
remove multiple copies of the same logic.
2017-12-06 02:06:45 +00:00
mrg
9754dd2ae1
allow EXTERNAL_GCC_SUBDIR to be overriden.
2017-12-01 22:48:00 +00:00
christos
07fcd7718e
back to gdb 801
2017-11-29 22:40:45 +00:00
christos
ab338241ba
move gdb back to 7.12 for now
2017-11-29 21:43:21 +00:00
christos
ed1de532ee
switch everyone to gdb-8.0.1
2017-11-29 18:15:53 +00:00
christos
f87229fd26
switch amd64 to gdb-8.0.1
2017-11-29 04:25:01 +00:00
christos
7d2bea703b
switch everyone to gdb.old
2017-11-28 18:14:37 +00:00
jmcneill
40017b1be4
Add LIBREFUSE define for DPADD
2017-11-25 23:22:41 +00:00
kre
0844aa3d8b
PR lib/52007
...
Provide a mechanism whereby a test sub-directory can be installed,
without the test being scheduled to run by default (ie: keeping
it out of the Atffile, and Kyuafile if Kyua is enabled.).
The mechanism is perhaps a bit kludgey - anyone with a better idea
how to make it happen, feel free to improve this (the one user as
of about the time of this commit is (or will be) src/tests/lib/Makefile)
2017-11-23 02:39:28 +00:00
khorben
0765185eba
Typo
2017-11-01 15:24:42 +00:00
christos
e480d58dfc
Add general {DP,LD}ADD.rump variables
2017-10-10 19:29:44 +00:00
christos
39eea483b2
add the rump resolver library.
2017-10-10 19:29:22 +00:00
christos
14960968bc
need a few more commits to enable this.
2017-10-08 15:20:32 +00:00
christos
c1bc0fb8a7
Add variables for static PIE
2017-10-08 15:03:50 +00:00
tsutsui
0cd6ed3805
Switch hp300 to HAVE_XORG_SERVER_VER=118.
...
Tested on HP 9000/425t with HP98550 catseye (topcat).
2017-10-06 13:00:57 +00:00
joerg
a46a39a417
Strip .debug_macinfo when converting to a.out, clang may generate it.
2017-08-22 11:14:28 +00:00
tsutsui
484314fdb4
Switch dreamcast to HAVE_XORG_SERVER_VER=118. It just works.
2017-08-16 13:53:54 +00:00
mrg
cab7eb156d
swtich luna68k to xorg-server 1.18. tested by tsutsui@.
2017-08-14 02:21:50 +00:00
mrg
521cb9d122
switch bebox, cats, ibmnsw and prep to xorg-server 1.18.
2017-08-04 22:27:37 +00:00
mrg
611da43091
convert two pairs of MACHINE_ARCH into two single MACHINE_CPU checks.
2017-08-01 21:50:36 +00:00
mrg
73c4e30a68
GCC 5.3 now lives in gcc.old.
...
add Xfont2 to X11 list.
2017-07-23 20:45:31 +00:00
joerg
1f166bfee9
Build PIC libs on MIPS and PPC64. While the normal calling convention is
...
position-independent, real PIC defaults to Global Dynamic as TLS model,
while non-PIC and PIE code can use more restrictive models like Initial
Exec. This is most visible with the thread_local destructor code now
using TLS in libc as it would be clobbered by any other shared library
with TLS due to static offset assignment by ld.
2017-07-18 14:36:43 +00:00
jmcneill
2be84737fc
Latest mandoc no longer supports multiple -O options. Instead it expects
...
option values to be separated by commas. PR toolchain/52402
2017-07-14 17:30:31 +00:00
christos
3634c48306
add MKDTC
2017-06-05 23:41:52 +00:00
christos
703982a7f9
remove ugly profiling hack now that the compiler is fixed.
2017-05-29 03:52:43 +00:00
christos
b71afc21c9
XXX: Remove -fPIE for profiled libraries because this breaks relocations for
...
the call to __mcount.
2017-05-23 00:54:13 +00:00
riastradh
ef315f7931
Remove MKCRYPTO option.
...
Originally, MKCRYPTO was introduced because the United States
classified cryptography as a munition and restricted its export. The
export controls were substantially relaxed fifteen years ago, and are
essentially irrelevant for software with published source code.
In the intervening time, nobody bothered to remove the option after
its motivation -- the US export restriction -- was eliminated. I'm
not aware of any other operating system that has a similar option; I
expect it is mainly out of apathy for churn that we still have it.
Today, cryptography is an essential part of modern computing -- you
can't use the internet responsibly without cryptography.
The position of the TNF board of directors is that TNF makes no
representation that MKCRYPTO=no satisfies any country's cryptography
regulations.
My personal position is that the availability of cryptography is a
basic human right; that any local laws restricting it to a privileged
few are fundamentally immoral; and that it is wrong for developers to
spend effort crippling cryptography to work around such laws.
As proposed on tech-crypto, tech-security, and tech-userlevel to no
objections:
https://mail-index.netbsd.org/tech-crypto/2017/05/06/msg000719.html
https://mail-index.netbsd.org/tech-security/2017/05/06/msg000928.html
https://mail-index.netbsd.org/tech-userlevel/2017/05/06/msg010547.html
P.S. Reviewing all the uses of MKCRYPTO in src revealed a lot of
*bad* crypto that was conditional on it, e.g. DES in telnet... That
should probably be removed too, but on the grounds that it is bad,
not on the grounds that it is (nominally) crypto.
2017-05-21 15:28:36 +00:00
riastradh
1fa400f7fa
Remove some vestiges of MKCRYPTO_IDEA/MKCRYPTO_MDC2.
2017-05-21 14:24:05 +00:00
riastradh
09956316a6
Remove MKCRYPTO_RC5. Unconditionally include RC5 in libcrypto.so.
...
This option existed only because RC5 is covered by patents that, twenty
years ago, we had reason to suspect the patent holder, RSA, Inc., might
litigate. The two US patents in question are 5,724,428 and 5,835,600.
According to the USPTO Patent Term Calculator web site at
<https://www.uspto.gov/patent/laws-and-regulations/patent-term-calculator#heading-5 >
(retrieved 2017-05-21), patents filed after 1995-06-07 expire twenty
years after the filing date.
number filing date
5,724,428 1995-11-01
5,835,600 1997-04-21
Thus, these patents appear to be expired.
As proposed on tech-crypto and tech-security:
https://mail-index.netbsd.org/tech-crypto/2017/05/05/msg000718.html
https://mail-index.netbsd.org/tech-security/2017/05/05/msg000927.html
2017-05-21 14:20:44 +00:00
chs
4da28eb39f
fix another parallel-build race with MKDEBUG=yes by creating the .so.link
...
with a temporary name and renaming to the final name only after
the file is fully written.
2017-04-24 17:09:37 +00:00
ozaki-r
1300188462
Introduce MKSTRIPSYM build option
...
If it's yes, all local symbols of shared libraries are stripped
(default). If it's no, only temporary local symbols are stripped;
for example, symbols of static functions are kept. Keeping such
symbols is useful on using DTrace for userland libraries and
getting a backtrace from a rump server loading modules (shared
libraries).
Proposed and discussed on tech-kern and tech-toolchain
2017-04-20 09:29:10 +00:00
joerg
6a14b8a272
Add netpgpverify to the library list.
2017-04-19 23:41:00 +00:00
chs
7e30e94394
provide a common softfloat fenv implemenation and use it for softfloat builds.
...
restore ABI compatibility with previous releases for ieeefp.h on sh3.
add namespace.h protection for all the fenv interfaces.
use MKSOFTFLOAT on sh3 instead of assuming softfloat.
standardize on comparing MKSOFTFLOAT with "no".
remove the arm-specific softfloat fenv code (which also had several bugs).
fix logic errors in the arm hardfloat feraiseexcept() and feupdateenv().
2017-03-22 23:11:07 +00:00
rin
0b097c4bf6
add missing LIBCXX
2017-02-20 16:05:34 +00:00
snj
1e51c718db
prune duplicate xkeyboard-config and xkbcomp
2017-02-13 16:33:14 +00:00
christos
a4f2a376eb
add MKDIRPERM
2017-02-10 16:46:55 +00:00
christos
609217c32d
Add MKDIRMODE
2017-02-10 16:44:55 +00:00
kamil
0892a29a1a
libpthread_dbg(3) deletion from the base distribution
...
libpthread_dbg(3) is a remnant library from the M:N thread model
(pre-NetBSD-5.0) API to introspect threads within a process and for use
of debuggers.
Currently in the 1:1 model it's not used in GDB neither in LLDB and it's
not either planned to be used. It's current function to read pthread_t
structures is realizable within a regular debugger capable to
instrospect objects within a tracee (GDB, LLDB...).
Remaining users of this API can still use this library from
pkgsrc/devel/libpthread_dbg.
Sponsored by <The NetBSD Foundation>
2017-02-08 03:44:40 +00:00
christos
3048692a87
Kernel build objdirs have a kernel name after the objdir. Use a regex for
...
that. Note that debug-prefix-map and debug-regex-map insert entries in a
linked list in reverse order.
2017-02-07 21:19:13 +00:00
christos
c6003a6601
add sqlite3 to statically linked libraries for pam.
2017-01-29 21:43:56 +00:00
matt
2f6f26dc42
Resort _MKVARS.no
2017-01-18 02:33:25 +00:00
joerg
86b4c819bd
Don't randomly break the build and restrict -Wsystem-headers to gcc.
2017-01-17 11:09:10 +00:00
christos
927c23dd97
enable again system header warnings now amd64 builds.
2017-01-13 14:34:58 +00:00
christos
7ca638644a
disable until we fix the build.
2017-01-12 19:10:34 +00:00
christos
519cf8e7d5
PR/51831: Don't suppress warnings coming from system header macro expansions.
2017-01-12 16:47:18 +00:00
joerg
f9c2736326
Disable a couple of warnings until further investigation.
2017-01-11 12:19:43 +00:00
maya
3b4ebb08a0
-Wa,--fatal-warnings is a GCC flag and unknown to clang. make it
...
GCC specific, so we can (try to) build a kernel with higher WARNS
using clang.
2017-01-10 17:16:19 +00:00
skrll
6093e5eae2
binutils 2.26 is no more.
2017-01-10 13:47:18 +00:00
christos
13da18a371
- centralize setting of MK* vars in bsd.own.mk
...
- make sure that the default setting of all vars is done in _MKVARS.{yes,no}
if possible.
2017-01-08 17:40:44 +00:00
christos
44ed840a46
add nsd
2017-01-07 22:27:36 +00:00
christos
ffa88d505d
Add to lint flags for MKREPRO
2016-12-24 17:44:22 +00:00
christos
41f4de4258
Don't attempt to shorten resolved path names (via realpath) because it could
...
lead to inconsistencies between different builds.
2016-12-23 21:11:45 +00:00
christos
45fd52509c
wildcard obj dirs
2016-12-21 03:13:00 +00:00
christos
50b4b37dbe
Don't remap mkdep, otherwise we add dependencies for /usr/include instead
...
of ${DESTDIR}/usr/include and things go south.
2016-12-21 03:00:51 +00:00
scole
975ce79004
Make ia64 considered 64bit for the _XSERVER64 define so a release with x11 will at least build.
2016-12-14 16:03:19 +00:00
christos
e04e53e08d
complete the transition to binutils-2.27
2016-12-11 06:37:49 +00:00
mrg
9aed0f5ab2
aarch64 builds work with binutils 2.27. switch it. hppa builds,
...
just needs a run time test if someone wants. then we're done!
2016-12-11 03:40:57 +00:00
mrg
692b61f19e
switch mips (32 bit) and arm to binutils 2.27. hppa and aarch64 left.
2016-12-11 02:38:54 +00:00
mrg
d3581646bd
revert binutils check polarity. now we know that only these are
...
not updated to binutils 2.27: aarch64*, *arm*, hppa, mipse[lb]
2016-12-10 23:40:03 +00:00
mrg
8d6d8e66db
switch ppc* to binutils 2.27.
2016-12-10 23:19:26 +00:00
christos
34152e53bb
Back in 1993 ${MACHINE} was a unique way to define objdirs for
...
every platform. Thus setting OBJMACHINE, allowed one to keep
in-tree objdirs with multiple builds. With the advent of evb*, this
has become impossible until now. Introduce OBJMACHINE_ARCH that
adds ${MACHINE_ARCH} to the objdir so that we have unique objdirs
per build again. Until we restructure things to that this is not
necessary, it is the simplest fix.
2016-12-10 23:12:39 +00:00
christos
db332cd014
factor out expression.
2016-12-08 03:25:35 +00:00
christos
86dd6d287c
move sh3 to new binutils
2016-12-08 03:22:36 +00:00
christos
c4cb6918e1
switch sparc/sparc64 to binutils 227
2016-12-03 16:02:10 +00:00
christos
1b08d10df9
move alpha to new binutils
2016-12-03 04:06:25 +00:00
christos
2de9513676
switch mips64 to new binutils and gdb.
2016-12-03 02:18:38 +00:00
christos
0ab93415f3
switch m68k to new binutils and gdb
2016-12-02 17:54:35 +00:00
christos
787783f1e0
switch vax to new binutils and gdb.
2016-11-27 18:53:05 +00:00
snj
7ae8358cfa
nuke xf86-video-nvxbox, as xbox support went away in 2011.
2016-11-21 17:00:32 +00:00
joerg
30cf47a558
Drop remarks about AArch64 ABI being PIC following a discussion with Tim
...
Northover. The default code model is small and globals are expected to
be within the lower 4GB if not explicitly using -fPIC.
2016-11-14 20:42:46 +00:00
joerg
cbf73e02bf
Define the MKPICLIB default for aarch64 and powerpc64 only for native
...
builds, not inside src/compat.
2016-11-13 22:13:55 +00:00
skrll
00c98aaf30
enable xorg-server 1.18 for evbarm
2016-11-01 14:21:30 +00:00
christos
3dbb75efa9
add NODEBUGLIB
2016-11-01 14:01:25 +00:00
christos
ffe585daf7
switch x86 to the new binutils
2016-10-27 01:21:16 +00:00
christos
b7c2c2ac85
switch everyone to binutils.old
2016-10-26 17:32:46 +00:00
skrll
336fa725c9
Switch hppa to gdb 7.12... passes basic tests
2016-10-22 11:06:15 +00:00
mrg
ad34764861
flip the polarity of the xorg-server version: list the unconverted ports.
...
i distilled this list from the old list and the MKXORG_SERVER list, but
there may be some build fallout.
2016-10-21 06:04:16 +00:00
mrg
4f6d093233
sh3 (le) gdb 7.12 works. switch it.
...
sun2 gdb probably doesn't work any less bad. switch it.
2016-10-20 08:11:38 +00:00
mrg
de0a3ccb6a
turn off MKCOMPAT for aarch64eb builds for now.
2016-10-19 20:56:22 +00:00
mrg
b11e2a5651
set {_LIBC_COMPILER_RT,MKGDB,_NEEDS_LIBCXX}.aarch64eb=yes.
2016-10-19 20:29:58 +00:00
mrg
7793157d87
switch evbcf and powerpc64 to GDB 7.12.
...
remaining ports: hppa, sun2, vax, m68k, sh3, mips64*
2016-10-17 22:42:34 +00:00
mrg
baa792517e
reverse the HAVE_GDB test - list the unconverted ports.
2016-10-17 21:42:54 +00:00
mrg
c3c016d002
switch i386 and 32 bit mips to GDB 7.12.
2016-10-17 20:25:34 +00:00
mrg
8ff6613533
switch alpha to GDB 7.12. it works just as featureful as 7.7/7.10.
...
'step' and 'stepi' both fail, but 'next' and break points are ok,
so a sufficiently determined user can get somewhere..
someone should try to fix 'step'. it appears to loop forever inside
ld.elf_so for me in an atomic cas function.
2016-10-16 19:20:02 +00:00
mrg
017dc3205b
switch sparc, sparc64, arm and powerpc to gdb 7.12.
2016-10-16 05:08:59 +00:00
joerg
b0fa2ba3de
Consider aarch64 a 64bit architecture for the purpose of crappy long use
...
in X.
2016-10-14 20:34:29 +00:00
joerg
9aa54f9b23
Build the new X server on AArch64, it is slightly less offensive.
2016-10-13 11:57:55 +00:00
christos
87fea08a4e
amd64 switches to gdb 7.12
2016-10-12 20:22:05 +00:00
christos
8e9ca2acba
switch to gdb.old
2016-10-12 16:44:31 +00:00
macallan
c1b0d6addd
switch evbmips to new xorg
2016-10-11 17:10:22 +00:00
christos
5ddec21141
bye {gcc,gdb,binutils}.old
2016-10-07 16:14:28 +00:00
christos
1d9b0ba763
switch mips64 to pie/gcc53/binutils226/gdb710
...
switch ppc64 to binutils226/gdb710 (gcc/pie pending to toc issue)
2016-10-05 20:02:03 +00:00
mrg
254b21d863
convert the old binutils and gdb lists to only contain the
...
unconverted ports:
ppc64/mips64 for both
2016-10-04 04:58:11 +00:00
mrg
afbc10d797
enable xorg-server 1.18 for sparc64. minor consistency
2016-09-29 03:53:13 +00:00
mrg
715ec0646c
set X11SRCDIR.xf86-video-modesetting correctly for xorg-server 1.18.4.
...
should fix build errors for x86.
2016-09-27 16:47:01 +00:00
macallan
cb427fba27
switch sparc to new Xorg
2016-09-23 21:30:49 +00:00
christos
f1ff7f773f
switch arm to new binutils.
2016-09-17 15:58:21 +00:00
kre
64d9c1f971
YAF
2016-09-17 06:06:15 +00:00
kre
2d14a70f84
Fix the fix...
2016-09-17 04:01:43 +00:00
christos
bdfe760495
add \
2016-09-17 02:50:08 +00:00
christos
28b551a543
switch m68k to new gcc/gdb/binutils and pie. Tested with sun3 and tmesh.
...
Too bad there is not enough memory for ASLR :-)
2016-09-17 00:59:59 +00:00
mrg
be6cccaf0c
switch amd64, i386, shark, ofppc and macppc to xorg-server 1.18.
...
add a note to UPDATING about needing a clean objdir and destdir.
2016-09-15 07:49:08 +00:00
tsutsui
4579274562
Switch NetBSD/x68k to Xorg server 1.18 by default.
...
Build confirmed by build.sh -x release.
2016-09-11 04:59:54 +00:00
mrg
f0286f687e
oops, put mips32 back to gcc 5.3.
2016-09-05 05:58:29 +00:00
mrg
6c540367a2
reverse the GCC 5 test and only list the platforms not using it:
...
${MACHINE_CPU} == "mips" || \
${MACHINE_CPU} == "m68k" || \
${MACHINE_ARCH} == "coldfire" || \
${MACHINE_ARCH} == "m68000" || \
${MACHINE} == "or1k" || \
${MACHINE} == "riscv"
and considering riscv and or1k both need to either wait for GCC 6
or have someone who cares port their 5.x patches to our tree, that
really only means we have mips and m68k left.
2016-09-04 18:57:39 +00:00
jakllsch
e964957707
Switch shark to Xorg server 1.18.
...
The igs driver no longer builds against 1.10.
2016-09-03 16:10:34 +00:00
christos
815243be44
Switch mips32 to new binutils/gcc/gdb/pie. Tested with gxemul+pmax
2016-09-03 12:32:12 +00:00
christos
93c8afea2b
gcc-5.3 for sh3
2016-09-03 09:08:28 +00:00
christos
10aee9c29f
switch all arm to new binutils
2016-08-31 17:31:22 +00:00
mrg
8e7f733949
move some flags from dix-config.h into X11FLAGS.DIX
2016-08-30 08:34:43 +00:00
christos
e14ccc6701
Turn on PIE for all arm and sh3
2016-08-28 14:22:35 +00:00
nonaka
8b67f0d04d
Add TOOL_GPT
2016-08-26 16:57:50 +00:00
christos
6cb75cb515
block sun2 from MKPIE!
2016-08-26 15:41:02 +00:00
christos
f9ebca8e6a
mention the default for MKUNBOUND
2016-08-20 16:11:07 +00:00
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