Commit Graph

2603 Commits

Author SHA1 Message Date
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