Commit Graph

2185 Commits

Author SHA1 Message Date
christos
6f6e225c3d Switch PPC64 long double to 64 bits until the compiler is fixed.
XXX: This changes the ABI of the libraries.
2019-05-11 02:37:58 +00:00
christos
e0449d2322 Ignore 0 size'd symbols when looking for CMSE veneers.
XXX: Is this correct?
2019-05-05 21:49:53 +00:00
christos
ea8d659759 Everyone has libexpat so enable it. 2019-05-05 20:48:46 +00:00
kamil
51245743fe Improve comment in the GDB NetBSD code 2019-05-03 19:06:50 +00:00
kamil
1c9d9aa474 Overwrite waiton_ptid in nbsd-nat, rather than generic core
This avoids compatibility issues with remote access to !NetBSD platform.
2019-05-03 19:03:57 +00:00
kamil
a26629aac4 Quick clean up the NetBSD support in GDB
Changes:

 - always perform polling on inferior_ptid, never -1
   -1 can cause catching fork/vfork events in random order
   polling on pid will guarantee to report events in expected order

 - assume availability of KERN_PROC_PATHNAME

 - drop dead code for KERN_PROC_AUXV (FreeBSD-specific sysctl)
   AUXV on NetBSD is handled with PIOD_READ_AUXV

 - drop unused nbsd_fetch_kinfo_proc

 - drop unneeded hacks for fork/vfork code

 - drop support for FreeBSD specific flags returned for PT_LWPINFO
   NetBSD uses PT_GET_SIGINFO / PT_GET_PROCESS_STATE for most pieces of
   information

 - port nbsd_thread_name to NetBSD

 - enable LWP and FORK events in nbsd_enable_proc_events

 - use NetBSD new batteries for distinguishing event type in to_wait
   map most events into GDB types
   breakpoint, single step, hw breakpoint/watchpoint ones are still not
   used with the full power here

 - add support for EXEC events

 - clean up

This change makes GDB functional with threaded code and it is good enough
to pass t_regress / threads test.

It's possible to execute and step processes with multiple threads, use
scheduler-lock, follow-fork etc features.


What does not work:

 - the LWP EXIT event and wait() are not synchronized and can deadlock
   this has been observed with exiting go applications

 - GDB VFORK code is still disabled and awaits kernel fixing

Short term goal is to correct LWP EXIT and follow up with VFORK fixes.

Long term goal is to rewrite NetBSD GDB support and write new support in
the remote process plugin (gdb-server) framework.

PR kern/53120
PR port-arm/51677
PR bin/54060
PR bin/49662
PR kern/52548
2019-05-03 07:05:28 +00:00
kamil
f1a9e7560d Backport improvements into GCC's sanitizer_linux.cc from more recent LLVM
Backport fixups for syscall()/__syscall() routines from LLVM compiler-rt
dated October 1st 2018. The commit beffore switching LLVM compiler-rt
sycall calls to libc calls for NetBSD.

GCC8 will get part of these changes from upstream and GCC9 will operate on
libc calls directly for the NetBSD port.

This is intended to correct misuse of parameters of syscall()/__syscall()
that could break !x86 ports in UBSan.
2019-04-27 00:23:17 +00:00
mrg
71f0a1a7ed add missing symver-config.h 2019-04-23 22:22:22 +00:00
christos
bde7252318 Add an ifdef _GLIBCXX_COMPAT_ that removes the versioned symbol nodes from
libstdc++ and enable it for now only for the random archives but not for the
shared object (although it does not break anything that I've tested to enable
it for the shared object too). Fixes static linking, which does not handle
multiple versioned symbols properly.
2019-04-23 20:55:53 +00:00
mrg
d12924f2c9 - use the same set of emulations for riscv* on netbsd as linux does
- for riscv64-*netbsd* hosts and 32 bit target, set LIB_PATH
- build the other target emulations for riscv32 on riscv64
- regen riscv64 mknative for ld updates
2019-04-18 10:07:24 +00:00
mrg
4e3331939d - undef STARTFILE_PREFIX_SPEC, it is wrong for netbsd
- make LINK_SPEC more like other multi-line string defines
- update multilib stuff for GCC 7 riscv -- -m32/-m64 gone, -mabi and
  -march now decide between several options
2019-04-18 10:06:19 +00:00
mrg
4e5e0371b1 delete files no longer present in GCC 7 port of riscv. 2019-04-18 06:32:21 +00:00
mrg
326d89ec21 - define __riscv__ again
- define *intptr_t in terms of 'long int' always
- move fixtfdi.c, fixunstfdi.c, floatditf.c, and floatunditf.c into t-netbsd64
- remove duplicated riscv case in config.gcc, reducing upstream diff as well
- regen riscv64 mknative
2019-04-17 10:07:00 +00:00
mrg
9ba37f97ce mknative-gcc and mknative-binutils for riscv32. mostly builds. 2019-04-17 09:37:49 +00:00
mrg
d1429afe98 fake mknative, mostly enough to build real for mknative. 2019-04-17 08:56:10 +00:00
mrg
3e8847491c fix -I paths for powerpc*. convert amd64 specific hack.
we've been building dp-bit.c and fp-bit.c backwards, but as they
use the same input source, they just had opposite objects and
the right total was provided.  oops.
2019-04-16 08:08:18 +00:00
mrg
a9f3ed48cb mknative-gcc for riscv64. 2019-04-16 08:01:36 +00:00
mrg
1b3d5424d9 list a bunch of soft-fp as present in the current risc64 libgcc defs.mk.
this makes mknative-gcc work without breaking maya's manual work.
2019-04-16 07:50:05 +00:00
mrg
04325e9757 regen mknative-gcc for GCC 7 and ppc64. libgcc still has problems. 2019-04-16 07:37:56 +00:00
mrg
b55068e0f5 avoid differences to linux64.h that aren't needed.
merge the rs6000_abi_name check for netbsd into the linux/freebsd section.
2019-04-16 07:36:55 +00:00
mrg
292122e2f9 no clone() on netbsd. 2019-04-16 07:34:54 +00:00
mrg
b543e834b1 regen for mknative-binutils for riscv64. 2019-04-16 06:19:54 +00:00
mrg
1532ab65e0 fix merge botch - remove duplicated case statement (not in configure) 2019-04-16 02:10:09 +00:00
kamil
ac211f1cad Sync gcc.old GetPcSpBp() with GCC9 (and recent LLVM)
Unify all NetBSD ports in a single ifdef.
2019-04-16 01:44:07 +00:00
kamil
ea81bf5e10 Sync GetPcSpBp() with GCC9 (and recent LLVM)
Unify all NetBSD ports in a single ifdef.
2019-04-16 01:40:16 +00:00
maya
172e5eac59 Remove unused definition. 2019-04-15 21:13:36 +00:00
maya
8684462788 Re-do previous:
emulate the addition of NETBSD_SUBTARGET_EXTRA_SPECS usually done by
SUBTARGET_EXTRA_SPECS (not used in risc-v) with EXTRA_SPECS.
Go back to using %(netbsd_link_spec) in our link spec, now that it's
a valid string.

Try to mimic other riscv OSes in our LINK_SPEC. they all start with
"-melf" XLEN_SPEC "lriscv" LD_EMUL_SUFFIX

and a definition of LD_EMUL_SUFFIX,
let's copy the LD_EMUL_SUFFIX linux uses.

Now we can link executables.
2019-04-15 18:49:07 +00:00
maya
dbcdc1e748 Provide riscv implementation.
XXX this is MI, why not use it for everyone?
2019-04-15 15:58:23 +00:00
maya
04b98926d2 more fake mknative 2019-04-15 14:51:23 +00:00
maya
ab65834a8e don't redefine types.
UINTMAX_TYPE / INTMAX_TYPE are mostly not redefined on netbsd.
These choices contradict typical 64bit archs, perhaps we don't want them.

XXX is the SIZE_TYPE default for riscv reasonable?
(long unsigned int for 64bit abi, unsigned int for 32bit abi)
2019-04-15 14:19:20 +00:00
maya
fc3e881944 Fake mknative 2019-04-15 14:02:23 +00:00
christos
213dbbf596 add missing files 2019-04-13 18:04:23 +00:00
christos
6e1bd08549 regen 2019-04-13 18:04:04 +00:00
christos
d02c3a6c2b fix typo, unused variable 2019-04-13 18:02:37 +00:00
christos
c9793efd5f fix core stack traces (missing register 25) 2019-04-13 18:02:05 +00:00
maya
fe5c6b2efc Fake mknative. enough to build libc, with other changes pending 2019-04-13 15:54:07 +00:00
maya
76f8d190e0 use NETBSD_LINK_SPEC_ELF rather than netbsd_link_spec.
My current guess as to why it makes a difference is that riscv, unlike other
targets, doesn't use the macro SUBTARGET_EXTRA_SPECS for anything meaningful

Fixes linking libgcc_s.so, which is now emitted as a dynamic library, not
a static object (which fails, as it has undefined references)

XXX there might be a better way of doing this
2019-04-13 15:53:32 +00:00
mrg
b73d549731 be sure to keep cc1_cpu the CC1*_SPEC.
fixes x86 -mtune=native without killing -cxx-isystem.
2019-04-11 00:17:44 +00:00
maya
7845a6d414 revert previous 2019-04-10 20:06:26 +00:00
maya
d3f779a9e1 Remove lingering references to NETBSD_CC1_AND_CC1PLUS_SPEC.
Not actually tested.
2019-04-10 16:15:11 +00:00
maya
6ad38d9708 remove bogus specs redefinition.
fixes the use of -march=native
2019-04-10 16:11:06 +00:00
maya
575b128d66 Claim ifunc support on a number of architectures.
(Architecture list taken from src/tests/libexec/ld.elf_so/t_ifunc.c)

This is needed for attribute target_clones to work.

Non-functional until a mknative run. Tested by doing a regular GCC build.
2019-04-07 14:26:26 +00:00
maya
b5a049a897 don't append to nbsd_tm_file. This is the sole definition so fine to do.
Only done to reduce diff to upstream.
2019-04-07 14:14:05 +00:00
maya
518582be7b Reduce diff to upstream (in config.gcc):
Make the NETBSD_ENABLE_PTHREADS unconditional (we don't use the else case)
2019-04-07 14:11:23 +00:00
maya
2cea6cc9bf Make the post-netbsd 2.0 case the only case. NFC.
(Reducing diff to upstream)
2019-04-07 14:08:35 +00:00
mrg
36f30ad7ad switch hppa to GCC 7.
note vax atf fails same as GCC 6.  hppa mostly works but has an
atf issue also unrelated to the compiler version

note ia64 mostly builds, but the kernel fails earlier than GCC 6.
2019-04-04 21:31:28 +00:00
mrg
af34d1bb77 - fix missing else in SUBSUBTARGET_OVERRIDE_OPTIONS
- remove obsolete defines, and move stuff to be more like freebsd64.h
- remove common / already correctly defined overrides
2019-04-03 08:31:57 +00:00
mrg
13f13ab7f0 fix error in previous 2019-04-03 02:13:56 +00:00
mrg
5436994bfb make ia64 build with gcc7:
- catch up tmake_file list for ia64-netbsd to gcc 7 standards
- don't build the "tf" extra size version on ia64 like x86.
- regen mknative files
2019-04-02 21:29:46 +00:00
christos
3f8860fbac regen 2019-04-02 14:17:55 +00:00
christos
c3d72cab2c add a missing file 2019-04-02 14:17:36 +00:00
christos
c745dd35cf remove debugging code 2019-04-02 03:47:30 +00:00
christos
b7ade174e0 Compiling some files with -fPIC and -O2 ends up having global
symbols classified as local in pic mode, and that ends up with PC32
relocations "movl *psp, %rx" (/bin/sh parse.c). Treat pic code as
shared libraries to avoid classifying common initialized symbols
as local. Thanks to thorpej@ for his help.
2019-04-02 02:59:50 +00:00
rin
1d1632b562 Fix usage of STACK_ALIGNBYTES in our local change.
Tested on amd64 and i386:
- binaries generated by "gcc -fsanitize=address" work fine
- /usr/tests/usr.bin/{cc,c++}/t_asan_* do not fail
2019-03-24 00:23:59 +00:00
mrg
e5309b49fe bump libstdc++.so.
unfortunately, we attempted to do this for netbsd-8 but we did
not actually end up having any ABI incompatibility with that,
as turning off dual ABI in libstdc++ means *only* enabling the
old ABI.  however, enabling dual ABI with C11 defaults (ie,
a forward looking ABI) *is* an ABI-change for some special
cases and thus we should have bumped this a couple of weeks
ago when we re-enabled dual ABI.

call this "nb3 20190319".

mknative-gcc regen all switched ports and almost all of the
unswitched ports.
2019-03-20 05:09:26 +00:00
mrg
cc64e9ea3d default oabi to strongarm. fixes build.sh -a arm builds. 2019-03-19 23:55:28 +00:00
mrg
44d3eb23e0 enable the workarounds for cortex a53 errata 835769 and 843419 by default. 2019-03-19 05:55:00 +00:00
mrg
7cace13896 update reality on switched ports and commited fixes. 2019-03-04 01:16:33 +00:00
mrg
adef1dae34 #if 0 the x and y symbols in GLIBCXX_3.4 namespace. they cause
duplicate symbols on netbsd.  see PR#54027.

with this disabled, turn on using the symver-config.h for the
gnu.ver processing so that other defines are handled.

fix some depends for gnu.ver processing.
2019-03-01 08:15:23 +00:00
mrg
e97586ab89 basic mknative bootstrap-libgcc for riscv64 2019-02-28 09:49:14 +00:00
mrg
32c963babf rework some commented code so it is easier to enable. 2019-02-28 01:11:04 +00:00
mrg
ee6b12caee partial mknative-gcc for riscv32/64. 2019-02-27 08:22:43 +00:00
mrg
c8240a8d80 avoid hand maintained lists but use values mknative pulls out.
unfortunately, somefiles have hand coded rules.
2019-02-27 08:21:42 +00:00
mrg
2b0e069250 mknative-gcc for most platforms again after recent tools/gcc/Makefile change. 2019-02-27 08:19:49 +00:00
christos
06535a6e22 regen i386 2019-02-26 21:24:44 +00:00
christos
fd53ae5e9e regen 2019-02-26 21:16:03 +00:00
joerg
be7b2c4eb4 Properly extract the emulation path from the linker script template. 2019-02-25 19:55:35 +00:00
mrg
9709f9a6a8 various updates for reality.
- arm64, powerpc switched
- arm, hppa, sh3 is ready to switch
- vax dynamic binaries have a problem
2019-02-17 06:22:58 +00:00
mrg
36422d2e0c regen mknative with symver no longer disabled. 2019-02-17 00:24:15 +00:00
mrg
70e3d17cd2 apply -std=gnu++98 to some more files.
state that some hard coded stuff here should be pulled out with mknative.
2019-02-17 00:05:11 +00:00
mrg
5b04a93ad5 put joerg's varasm.c patch back with additional upstream fixes. now
crtbegin.o has a read-only .eh_frame, and libstdc++ builds.


2017-09-01  Joerg Sonnenberger  <joerg@bec.de>
            Jeff Law  <law@redhat.com>

        * varasm.c (bss_initializer_p): Do not put constants into .bss
        (categorize_decl_for_section): Handle bss_initializer_p returning
        false when DECL_INITIAL is NULL.

2017-11-27  Jakub Jelinek  <jakub@redhat.com>

        PR target/83100
        * varasm.c (bss_initializer_p): Return true for DECL_COMMON
        TREE_READONLY decls.

2018-02-09  Jakub Jelinek  <jakub@redhat.com>

        PR middle-end/84237
        * output.h (bss_initializer_p): Add NAMED argument, defaulted to false.
        * varasm.c (bss_initializer_p): Add NAMED argument, if true, ignore
        TREE_READONLY bit.
        (get_variable_section): For decls in named .bss* sections pass true as
        second argument to bss_initializer_p.
2019-02-14 10:29:58 +00:00
mrg
d5c4011b2c partial mknative-gcc for gcc7 and riscv. only libgcc-bootstrap works so
far as libgcc-bootstrap actually doesn't work so building real libs fails.
2019-02-10 07:57:22 +00:00
mrg
8dc00095fb remove stuff provided by netbsd-stdint.h. 2019-02-10 07:56:21 +00:00
mrg
0276ea74da riscv wants netbsd-stdint.h's CHAR_FAST8=1 and SHORT_FAST16=1. 2019-02-10 07:55:57 +00:00
maya
2d1c9dccee Fake mknative for riscv64, enough to complete a tools build. 2019-02-09 21:03:24 +00:00
maya
71bd56fe32 s/TARGET_HARD_FLOAT_ABI/TARGET_HARD_FLOAT, the latter has the
benefit of existing. Inspired by mips/netbsd.h.

remove some redefinitions. There are still a few left, but these ones
seem to match.
2019-02-09 21:00:41 +00:00
maya
c43be0834e We also need t-riscv (for riscv-builtins.o) 2019-02-09 20:57:17 +00:00
maya
dd2e62178a Revert all riscv-related local patches.
As for the libbfd.h change: the definitions seem to mostly exist, but we
had duplicated them.

Fixes riscv64 binutils build.
2019-02-09 19:40:32 +00:00
mrg
7f3d4089fc make sure Makefile.inc is included before Makefile.driver.
allows removing a depend hack and may also fix dtrace/ctf builds.
2019-02-09 07:32:50 +00:00
mrg
bbaa4a4045 - build the gthr*.h files to be installed on the fly, instead of
having dozens of copies of the same thing in the tree.
- don't fetch any gthr*.h files.
- delete ancient gthr-tpf.h that was removed in GCC 4.8 or so.

this should fix the call_once tests for real now.
2019-02-09 03:57:00 +00:00
mrg
db06f203b4 fix the previous - it's __NetBSD__, not __NetBSD. 2019-02-09 02:43:11 +00:00
mrg
f2b804bcea remove old comment. 2019-02-09 02:36:56 +00:00
mrg
5b0105b4d4 update switched lists. 2019-02-09 01:29:38 +00:00
christos
0166c051fe Follow suit with FreeBSD and solaris for the __gthread_active_p()
implementation. Fixes the atf call_once unit tests.
2019-02-09 01:27:43 +00:00
mrg
07cbfd6044 put config/posix first in the path so that the right lock.c is used. 2019-02-09 00:48:59 +00:00
mrg
928cce347f define CAN_SANITIZE_UB properly: libasan and libtsan need to not
have it set, libubsan needs to have it set.

fixes almost all the new atf failures from GCC 7 switch.
2019-02-08 22:06:12 +00:00
mrg
3330ae4f37 IA64_NO_LIBGCC_TFMODE is no more. 2019-02-08 09:42:13 +00:00
mrg
424610db8d clean all the temporary and other files in a build. 2019-02-08 03:59:34 +00:00
mrg
053817057e - earm* seems to work now
- sun2 an vax build now
- mips*, powerpc, and sparc64 are ready to switch
- mac68k has an untested and an uncommited change to build
- everything else except ia64 and powerpc64 builds
2019-02-08 02:04:29 +00:00
mrg
1aa3d81bd8 regen to give "earm" a v5 default again. 2019-02-08 01:29:44 +00:00
mrg
bd3caebfe8 give netbsd/arm a v5 default again. 2019-02-08 01:29:11 +00:00
mrg
290f0433dd regen mknative-gcc and GCC 7 for earm targets: use generic unwind 2019-02-07 10:46:32 +00:00
mrg
bcf3b19768 - don't use arm unwind code for netbsd/earm. conflicts with native unwind. 2019-02-07 10:45:48 +00:00
mrg
d12e291051 - don't just undefine INIT_SECTION_ASM_OP and FINI_SECTION_ASM_OP,
define them to "" so that libgcc doesn't define __CTOR_LIST__.
2019-02-07 10:45:17 +00:00
mrg
7eece953b5 apply -O0 to a few more files for vax. 2019-02-07 05:28:38 +00:00
mrg
4b4e7cf07c fix merge botch. 2019-02-07 05:28:12 +00:00
mrg
8e0b68cd52 add mips ecoff vectors to netbsd-mips64. for objcopy. 2019-02-07 04:32:12 +00:00
mrg
7ca4b28c3b mknative-gcc and GCC 7 and sun2. 2019-02-07 04:25:47 +00:00
mrg
3bbb90819b don't lose the netbsd general tmake_file values for m68010. 2019-02-07 04:12:27 +00:00
christos
4142dc03cc fix stack protector build 2019-02-06 16:57:30 +00:00
mrg
6a90450ac2 - sanitizers are updated
- add 'switched' column to port list
- update many working ports
- add a second list of cpus vs. ports that have been tested to build

remaining issues:

- eabi arm vs libgcc
- vax-gcc ICE
- ppc64-gcc ICE
- sun2 build
- ia64 libgcc
- sh3 vs. compiler_rt: udivmoddi4.c:190: undefined reference to `abort'
- x68k memswitch triggers new warnings
- sun3 bloated
- mips64* has ./usr/lib/64/libgomp.so.2 as a missing file in sets
2019-02-06 11:54:02 +00:00
mrg
2ce4187fc5 update the sanitizer source lists for gcc 7. 2019-02-06 04:00:43 +00:00
mrg
ce6b781ad1 add sanitizer_procmaps_netbsd.cc 2019-02-06 03:59:09 +00:00
christos
703ff33d7c revert, somehow I got the generated file in the wrong directory. 2019-02-06 02:57:39 +00:00
christos
951a692637 fix objdir build 2019-02-06 02:55:54 +00:00
mrg
b6d4a8b2d9 mknative-gcc for GCC 7 and earm targets. 2019-02-05 21:50:10 +00:00
mrg
788862effb - arm64 works
- alpha seems to work in simple testing
- armeb builds
- powerpc64 has ICE building libgcc2.
2019-02-05 14:07:24 +00:00
mrg
4e57bba316 re-port host_detect_local_cpu() to netbsd. 2019-02-05 14:01:46 +00:00
mrg
62aa7e873f provide empty version of Aarch64GetESR() for non-linux arm64. 2019-02-05 12:56:43 +00:00
mrg
5808b8ea5a regen mknative-gcc gcc7 and arm64. 2019-02-05 12:42:08 +00:00
mrg
e803a145ed update ppc64 status: mknativeg-gcc worked. 2019-02-05 12:08:12 +00:00
mrg
52aaee15a8 mknative-gcc for GCC 7 and ppc64. 2019-02-05 12:01:43 +00:00
mrg
e9814784dc update for GCC 7 - mirror changes in freebsd64.h in recent times. 2019-02-05 12:01:11 +00:00
mrg
97b7d44928 arm (oabi) works.
ppc64 has tools/gcc build failure.
2019-02-05 11:44:18 +00:00
mrg
5042235ddc arm and armeb are mostly done. earmv4 kernels build.
(still have earm vs libgcc issue.)
2019-02-05 11:02:44 +00:00
mrg
c8794eb6f3 mknative-gcc for arm and armeb. 2019-02-05 09:21:03 +00:00
mrg
5d54618051 from the new comment:
/*
 * NetBSD/sparc64 long ago defined signed and unsigned fast{8,16,32} to be
 * different to the common sparc64 definitions, and they are not the same
 * size for the same bitsize.  GCC 7 introduced checks that they are the
 * same size below that trigger here.
 *
 * NETBSD_TOOLS/NETBSD_NATIVE is wrong for this, but it will do for now.
 */
2019-02-05 08:53:50 +00:00
mrg
31af5ebbaa update status:
- alpha, i386, powerpc, sparc64 all seem to work too, though sparc64
  has a caveat with signed vs. unsigned "fast" integer types, and its
  ramdisk overflows.
- hppa almost works.  1 uncommited change, ramdisk overflows.
- m68k begins to work.
2019-02-05 07:43:08 +00:00
mrg
72517f18b7 mknative-gcc for m68k and GCC 7, also the files missed for sparc64 previously. 2019-02-05 06:46:47 +00:00
mrg
820af48434 include sparc/default64.hon netbsd/sparc64. 2019-02-05 04:45:50 +00:00
mrg
845040028e remove 'common/' prefix from sources. 2019-02-05 04:45:07 +00:00
mrg
160871239b mknative-gcc for gcc7 and sparc64.
replies upon an uncommited (yet) change to not assert if the size
of unsigned and signed 'fast' integer types are not the same.
we don't have them as the same for 8, 16 and 32 bit for some reason.

otherwise seems to work.
2019-02-05 04:43:44 +00:00
mrg
ddb2c4ae77 ira-color.c needs -Wno-error=int-in-bool-context for now. 2019-02-04 08:15:51 +00:00
mrg
d7ba93f750 it's memory-block.cc in this case, not memory-block.c. 2019-02-04 04:49:20 +00:00
mrg
5410c2531f - sanitizer source list is not properly updated yet
- several platforms have progressed.  in particular, evbmips64-eb works.
2019-02-04 03:19:23 +00:00
mrg
6fd6bf609b move libgomp, libcommon and libcommon-target source lists into the
generated files.  libcommon-target has a per-arch list, but the
other two are the same.
2019-02-04 03:01:52 +00:00
mrg
74f2a2fbba make the internal_fstat() for netbsd be like the others.
fixes powerpc (at least) builds.
2019-02-04 03:00:11 +00:00
mrg
998662531c mknative-gcc for alpha, hpaa, ia64, mips*, sh3*, and vax.
re- for powerpc, sparc, i386, and amd64.
2019-02-04 02:58:39 +00:00
mrg
2f1525e2dc update status: i386 builds (not properly tested), arm64 fails to build,
sparc64 has ICE in compiler startup (hopefully easy fix)
2019-02-03 12:14:45 +00:00
mrg
07814c265d - fix the sources list.
- since a few functions disappear, call this libgomp.so.2 now.
2019-02-03 12:11:11 +00:00
mrg
d55b4962dc disable SignalContext::GetWriteFlag() for netbsd/arm (for now). 2019-02-03 11:12:01 +00:00
mrg
9a5c1defe3 make structure that demands alignment be that alignment. 2019-02-03 11:10:58 +00:00
mrg
1e66be5ef8 - perform some CSE on NETBSD_LIB_SPEC
- remove some #if 0 code
2019-02-03 11:10:26 +00:00
mrg
9ca6bdff4b more mknative-gcc for gcc7 and arm/arm64. 2019-02-02 12:12:04 +00:00
mrg
55fccfafc7 update status.
status is:  with uncommited changes, some ports (amd64, sparc) work.
2019-02-02 12:09:55 +00:00
mrg
3eb0897352 regen for earmv4 and GCC 7. 2019-02-02 01:13:18 +00:00
mrg
b9c25d2c43 fix merge botch. 2019-02-01 13:12:22 +00:00
mrg
7d798d96e5 regen mknative for ppc and sparc. 2019-02-01 12:49:21 +00:00
mrg
0f7ab0c2e3 - update source lists
- XXX: pull out OBJS-libcommon-target and OBJS-libcommon-target
  in mknative
2019-02-01 10:39:48 +00:00
mrg
ce4fd745ec use -Wno-error=maybe-uninitialized for one of the new ubsan files. 2019-02-01 10:39:03 +00:00
mrg
44a4653fe8 regen 2019-02-01 10:37:38 +00:00
mrg
75b1676ff7 - new shlib minor
- move -std=* handling, besides the list in CXX11_ALWAYS, to
  libsupc++/Makefile.common
- include the arch defs.mk to obtain ${G_*_SOURCES} and use them
  for -std= setting
2019-02-01 10:37:13 +00:00
mrg
437aa6a459 - use ADD_FRONTEND_LIBRARY to avoid linking libfrontend
- add a hack to ensure driver-i386.c gets built before linking
2019-02-01 10:36:33 +00:00
mrg
ed4bd2e275 - be sure bsd.own.mk has been included 2019-02-01 10:35:09 +00:00
mrg
88241950de - move various stuff into Makefile.prog
- make sure VER_CPPFLAGS is applied to all required files
- add ADD_FRONTEND_LIBRARY to avoid linking libfrontend, while
  using the rest of this fragment
2019-02-01 10:34:18 +00:00
mrg
ccf5bd012a - move driver file config to Makefile.driver. 2019-02-01 10:32:32 +00:00
mrg
7c87265e53 - new shlib majors 2019-02-01 10:31:55 +00:00
mrg
e27558b901 remove our riscv changes in gcc.old. they were obsolete with GCC 5
update, let alone GCC 6.  new GCC 7 has native support again.

this is really about trying to avoid conflicts when we next have
gcc become gcc.old.
2019-01-31 20:44:46 +00:00
mrg
75c0f414f8 revert these two changes which cause various parts of libstdc++ to fail
to build with GCC7:

revision 1.3
date: 2017-07-22 13:52:52 -0700;  author: joerg;  state: Exp;  lines: +2 -1;  commitid: gesFYL8PorhYCg0A;
One more missing check for DECL_INITIAL being non-NULL.

revision 1.2
date: 2017-07-17 12:53:10 -0700;  author: joerg;  state: Exp;  lines: +2149 -1573;  commitid: fxGaJg3EuIcnsCZz;
branches:  1.2.2;
A const declaration with explicit section attribute should create a
read-only section, whether it is initialized or not.


XXX:  i may have merged them wrongly into gcc7, but AFAICT, they're
expecting to use named BSS sections, so this seems wrong now anyway.


joerg, please feel free to check :-)
2019-01-31 08:53:07 +00:00
mrg
92869bcb74 fix a bunch of merge botches. libasan now builds. 2019-01-31 08:44:14 +00:00
mrg
ee5ee6ce23 only a relatively small number of files that aren't in the c++98/ dir
need to be compiled in gnu++98 mode.  list them explicitly instead of
assuming anything with no -std should be gnu++98.
2019-01-31 08:42:03 +00:00
mrg
fffd49d1e5 - remove stale comment
- remove i386 a.out support
- use ${nbsd_tm_file} for all netbsd targets
- remove duplicated (old) riscv stuff
2019-01-31 06:59:31 +00:00
mrg
a28a78f624 reduce diff to upstream 2019-01-31 06:58:10 +00:00
mrg
bfcaede5f1 add missing files 2019-01-31 06:53:21 +00:00
mrg
a7c41bca14 regen for new filesystem changes. fix auto-host.h generation. 2019-01-31 06:53:00 +00:00
mrg
fdd0358caf - add new filesystem/ sources.
- sync paths.
- remove -Wno-error, doesn't seem to be needed anymore
2019-01-31 06:50:51 +00:00
mrg
7eeb305428 don't build the ditf files on x86 anymore. they come from soft-fp now. 2019-01-31 06:47:21 +00:00
mrg
9636f37f61 revert local changes to riscv that come from the early gcc 4.8 era
patch for riscv that is now obsolete.

leave netbsd.h in place in case it is useful for the next re-porter.
2019-01-31 06:46:16 +00:00
mrg
a33f30a5e9 set md_unwind_header=aarch64/aarch64-unwind.h for netbsd arm64. 2019-01-24 22:00:28 +00:00
mrg
0a9044b05b mknative gcc7 for ppc and arm64. 2019-01-24 08:56:43 +00:00
mrg
571b11f4e9 - fix Makefile.gthr CONFIG_LINKS handling. demand only that
gthr-default.h source be found.  fix installing the symlink.
- -Wno-error=incompatible-pointer-types needed for libgomp/lock.c
- build new libsupc++ files with -std=gnu++1z
- install new libstdc++ bits files. (XXX use bits_sup_headers
  from libstdc++/include/Makefile.am with mknative-gccm)
- start to get libstdc++ to build: various flag updates.
2019-01-22 23:55:54 +00:00
mrg
77affcd9b5 mostly mknative-gcc for i386 and sparc and gcc 7.4.
sparc gets to libstdc++, and i386 has the same libgcc issue as amd64.
2019-01-22 23:52:21 +00:00
mrg
cba7a6aaf9 make includes works now.
pull out more data needed for headers and fix gthr-defaults.h.

libgcc_s has multiple symbols.
2019-01-19 20:02:06 +00:00
mrg
40c539ae8c first cut mknative-gcc for gcc7 amd64. i've hand edited some
libgcc files to ease mknative updates.

not functional yet.
2019-01-19 17:11:52 +00:00
mrg
ac39157870 begin to handle new unwind.h and gthr-default.h stuff.
put gthr stuff in a common makefile.

remove ancient unused Makefile.srcs.
2019-01-19 17:11:02 +00:00
mrg
1887939342 regen these for <GCC 7.4.0. 2019-01-19 17:04:06 +00:00
mrg
56f09d6642 gcc 7 will use gcc-7 subdir. 2019-01-19 12:57:32 +00:00
mrg
62ffddee45 disable new s-selftest rule that relies upon missing testsuite. 2019-01-19 12:32:06 +00:00
mrg
a41324a9f3 first pass at merging GCC 7.4.0. unlikely to compile.. 2019-01-19 12:10:03 +00:00
mrg
b17d1066a7 import GCC 7.4.0. main changes include:
The non-standard C++0x type traits has_trivial_default_constructor,
has_trivial_copy_constructor and has_trivial_copy_assign have been
removed.

On ARM targets (arm*-*-*), a bug introduced in GCC 5 that affects
conformance to the procedure call standard (AAPCS) has been fixed.

Many optimiser improvements

DWARF-5 support.

Many new and enhanced warnings.

Warnings about format strings now underline the pertinent part of
the string, and can offer suggested fixes.

Several new warnings related to buffer overflows and buffer
truncation.

New __builtin_add_overflow_p, __builtin_sub_overflow_p,
__builtin_mul_overflow_p built-ins added that test for overflow.

The C++ front end has experimental support for all of the current
C++17 draft.

The -fverbose-asm option has been expanded to prints comments
showing the source lines that correspond to the assembly.

The gcc and g++ driver programs will now provide suggestions for
misspelled arguments to command-line options.


AArch64 specific:

GCC has been updated to the latest revision of the procedure call
standard (AAPCS64) to provide support for parameter passing when
data types have been over-aligned.

The ARMv8.2-A and ARMv8.3-A architecture are now supported.

ARM specific:

Support for the ARMv5 and ARMv5E architectures has been
deprecated (which have no known implementations).

A new command-line option -mpure-code has been added. It does not
allow constant data to be placed in code sections.

x86 specific:

Support for the AVX-512 4FMAPS, 4VNNIW, VPOPCNTDQ and Software
Guard Extensions (SGX) ISA extensions has been added.

PPC specific:

GCC now diagnoses inline assembly that clobbers register r2.

RISC-V specific:

Support for the RISC-V instruction set has been added.

SH specific:

Support for SH5/SH64 has been removed.

Support for SH2A has been enhanced.
2019-01-19 10:13:58 +00:00
christos
a9dc9217bb Descend and build includes even if mkgcccmds=no because we need the header
files during cross build too.
2019-01-18 17:31:39 +00:00
christos
76718fd7da Use the proper stack aligment for the architecture. Fixes broken asan
tests on i386.
2019-01-17 20:36:51 +00:00
christos
3e93b12a17 now that our profiled c library is pic, we can use it in shared objects 2019-01-06 18:15:53 +00:00
christos
a493019100 now that our profiled c library is pic we can use it in shared objects 2019-01-06 18:15:18 +00:00
christos
5ebdac6786 propagate profiling fix from gcc.old:
g++ needs the profiling libraries for stdc++ and math to work.
2019-01-04 18:36:50 +00:00
christos
9b7d2d5975 Specify that we need the profiled libraries when we are linking c++ with
profiling.
2019-01-04 18:35:45 +00:00
christos
ee77022a0d remove the new 2.31 netbsd mips vectors and use the ones we used before
(regen)
2018-12-31 20:57:13 +00:00
christos
5daa785cd5 forgot to commit compilation fix. 2018-12-30 22:48:31 +00:00
rin
dee7fb843d PR toolchain/53810
PR toolchain/53684
PR toolchain/53685

No one defines TARGET_DEFAULT_CPU anymore. Use ENABLE_SHARED_LIBGCC
instead to determine whether GCC is configured for m68k or m68000.
This fixes C++ binaries on m68k, that require libgcc_s.

OK mrg
2018-12-28 21:30:20 +00:00
christos
8005419b95 regen 2018-12-28 21:22:44 +00:00
christos
12b7d692ce remove armnbsd which is not supported anymore. 2018-12-28 20:43:25 +00:00
christos
7e4a484d9f remove m68k a.out/4k and sh64 vectors that are not supported anymore. 2018-12-28 15:46:30 +00:00
christos
dd94f3d50b remove sparc a.out emulations (not supported anymore) 2018-12-28 15:28:36 +00:00
christos
1bcb226eab Remove initfini array rest (restore original FSF version). 2018-12-27 14:53:05 +00:00
mrg
f98fc28f8b make savecore for arm64 basically work.
- move MD lwp "md_ktf" member into struct pcb.  the pcb is used by
  the gdb "bsd-kvm" target code to find the stack of each thread
  and needs to be available in a well known location.
- implement aarch64_nbsd_supply_pcb() in GDB.  makes basic gdb work
  on a crash dump.
- remove '#if L_MD_KTF + 8 == L_MD_CPACR' conditional code, as there
  is no more L_MD_KTF.

with this gdb has minimal working functionality with "target kvm",
and crash can at least "ps" on a crash dump.

ok skrll.
2018-12-27 09:55:27 +00:00
mrg
361b5e9a25 s/Free/Net/; s/amd64/aarch64/. 2018-12-21 11:11:40 +00:00
mrg
0e9d255287 rewrite the CPU identification on arm64:
- publish per-cpu data
- publish a whole bunch of info in struct aarch64_sysctl_cpu_id
  instead of various individual nodes (there are 16 total.)
- add MIDR extractor bits
- define ARMv8.2-A id_aa64mmfr2_el1 and id_aa64zfr0_el1 regs,
  but avoid using them until we make sure they exist.  (these
  members are added to aarch64_sysctl_cpu_id to avoid future
  compat issues.)

the arm32 and aarch32 version of these need to be adjusted as
well (and aarch32 data published at all.)  still trying to
work out how to make the same userland binary running on a
real arm32 or an aarch32 system can work sanely here.

ok ryo@.
2018-11-20 01:59:51 +00:00
mrg
9977f8ab49 pull across from gcc/: regen after GCC 6.5. 2018-11-11 23:14:16 +00:00
mrg
b8bf2b1845 regen after GCC 6.5. 2018-11-11 23:13:10 +00:00
mrg
cb0339e943 merge GCC 6.5.0 into gcc.old. 2018-11-11 22:49:37 +00:00
mrg
e9afa17a23 merge GCC 6.5 into gcc.old (properly this time.) 2018-11-11 20:59:07 +00:00
christos
bbcc6d539d regen 2018-11-08 02:30:14 +00:00
christos
73124e42b8 delete i386 aout vec which has been removed 2018-11-08 02:30:06 +00:00
christos
7c6f6726e3 merge conflicts 2018-11-07 01:13:51 +00:00
christos
c1a2098819 2018-07-18 Nick Clifton <nickc@redhat.com>
2.31.1 Release point.

2018-07-18  Nick Clifton  <nickc@redhat.com>

	* (DEVO_SUPPORT): Fix typo in previous delta.
	(do_proto_toplev): Add --quiet option to configure command line.

2018-07-16  Nick Clifton  <nickc@redhat.com>

	* src-release.sh (DEVO_SUPPORT): Add test-driver and ar-lib.

2018-07-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>

	* config.sub: Sync with upstream version 2018-07-03.

2018-07-05  Sebastian Huber  <sebastian.huber@embedded-brains.de>

	* config.guess: Sync with upstream version 2018-06-26.
	* config.sub: Sync with upstream version 2018-07-02.

2018-06-24  Nick Clifton  <nickc@redhat.com>

	* configure: Regenerate.

2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>

	* libtool.m4: Use AC_LANG_SOURCE.
	* configure.ac: Remove AC_PREREQ, use AC_LANG_SOURCE.
	* README-maintainer-mode: Update version requirements.
	* ar-lib: New file.
	* test-driver: New file.
	* configure: Re-generate.

2018-06-18  Eric Botcazou  <ebotcazou@adacore.com>

	* Makefile.def (fortran): Add check-target-libgomp-fortran.
	* Makefile.tpl (check-target-libgomp-fortran): New phony target.
	* Makefile.in: Regenerate.

	* configure: Regenerate.

2018-06-18  Simon Marchi  <simon.marchi@ericsson.com>

	* configure.ac: Sync with GCC, remove MPX-related things.

2018-05-01  Nick Clifton  <nickc@redhat.com>

	* config.guess: Synchronize with config project master sources.
	* config.sub: Likewise.

2018-05-01  Francois H. Theron  <francois.theron@netronome.com>

	* configure.ac: Added "nfp" target.
	* configure: Regenerate.

2018-02-13  Maciej W. Rozycki  <macro@mips.com>

	* configure.ac <wasm32-*-*> (noconfigdirs): Add `ld'.
	* configure: Regenerate.

2018-01-30  Nick Clifton  <nickc@redhat.com>

	* src-release.sh (do_proto_toplev): Add patterns for more junk files
	to delete before creating the tarball.

2018-01-29  Nick Clifton  <nickc@redhat.com>

	* src-release.sh (do_proto_toplev): Strip patch remnant files from
	the sources before creating the tarball.

2018-01-13  Nick Clifton  <nickc@redhat.com>

	* src-release.sh: Update copyright notice.  Change reference to devo
	to be a reference to root.
2018-11-06 21:18:32 +00:00
mrg
c9de0e081b - make the build depend upon the BASE-VER file.
- workaround a problem only see with -O2 in ipa-inline.c: it can't
  convince itself that an integer underflow can't happen.
2018-11-06 06:17:29 +00:00
mrg
13795cc727 regenerate everything for GCC 6.5.
sh3eb and sh3el had a problem wtih libstdc++ i had to work around for now.
2018-11-05 08:46:31 +00:00
mrg
52c8e45302 GCC 6.5 ios_failure.cc needs to be compiled with cxx mode. 2018-11-05 08:45:32 +00:00
mrg
d64c77df5f merge GCC 6.5. needs mknative as some new files appeared. 2018-11-04 00:38:12 +00:00
mrg
d79abf0858 import GCC 6.5.0. this is largely a maint release with no
particularly features listed here:

   http://gcc.gnu.org/gcc-6/changes.html

this fixes over 250 PRs in the GCC bugzilla:

   https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=6.5
2018-11-04 00:12:20 +00:00
martin
cd54eb5ef0 VAX does not fully populate the register move costs table, so do not
access it w/o checks.
Hack to work around PR toolchain/53176.
2018-10-29 10:22:56 +00:00
christos
0bee54c3d5 The syslog format attribute is a superset of the printf format attribute
so allow functions marked with the printf format attribute to call syslog
without producing warnings with -Wmissing-format-attribute.
2018-09-14 20:46:46 +00:00
christos
0883f3731a fix the build; this was mis-generated before to an empty file. 2018-09-07 18:41:39 +00:00
mrg
866b3c4cbe merge in missing changes from gcc to gcc.old (both GCC 6.4.):
--
redo mknative-gcc for all ports.  main changes include:
- "#define HAVE_CC_TLS 1" for most/all ports, thanks maya@
- "#define _GLIBCXX_HAVE_LDEXPL 1" and "#define _GLIBCXX_HAVE_TGMATH_H 1"
  for many ports
- arm64 and amd64 had a broken c++config.h that disabled many things
- configargs.h has more normalisation
- ppc64 has a few things fixed, must have missed several mknative rounds
--
regen to pull out INTERNAL_CFLAGS.
--
pull -DHAVE_CC_TLS out of $(INTERNAL_CFLAGS) if it is there, and add
it to CPPFLAGS.

this fixes PR#53567 for me.
2018-09-05 06:26:58 +00:00
mrg
7ef108d600 pull -DHAVE_CC_TLS out of $(INTERNAL_CFLAGS) if it is there, and add
it to CPPFLAGS.

this fixes PR#53567 for me.
2018-09-05 00:51:42 +00:00
mrg
8d0a685795 regen to pull out INTERNAL_CFLAGS. 2018-09-05 00:22:07 +00:00
mrg
82c55164cb redo mknative-gcc for all ports. main changes include:
- "#define HAVE_CC_TLS 1" for most/all ports, thanks maya@
- "#define _GLIBCXX_HAVE_LDEXPL 1" and "#define _GLIBCXX_HAVE_TGMATH_H 1"
  for many ports
- arm64 and amd64 had a broken c++config.h that disabled many things
- configargs.h has more normalisation
- ppc64 has a few things fixed, must have missed several mknative rounds
2018-09-04 18:52:49 +00:00
maya
9e53aadb1c Correct missing paren and regen for gcc.old, too.
Now HAVE_CC_TLS will be defined in confdefs.h.
2018-09-03 22:52:00 +00:00
maya
73c0b39422 Correct extra parens, regen configure (selectively)
Fixes root cause of PR toolchain/53567
2018-09-03 22:41:00 +00:00
mrg
2dd16a5c31 consolidate path for gcc-version specific into GCC_INCSDIR, and
have it derived from the HAVE_GCC value so it does not need to
be modified for newer GCCs.
2018-08-12 21:48:56 +00:00
mrg
4877c284cc fix the sanitizer include path. 2018-08-02 07:47:30 +00:00
mrg
63ce0b47ae merge GCC 6.4 into gcc.old. 2018-08-02 00:02:46 +00:00
mrg
f13786ea7f import GCC 6.4 srcs into gcc.old in preparation for GCC 7.x.
these are netbsd GCC srcs from 20180801.
2018-08-01 22:18:23 +00:00
christos
f664a8d563 Go back to using int for wchar_t as all the rest of the archs; using unsigned
int is complicated specially when it comes to comparing with WEOF etc.
2018-07-16 00:04:47 +00:00
christos
0b925243f2 Give aarch64 the "special treatment", since mknative does not include the
target-specific build file.
2018-07-15 16:37:04 +00:00
christos
6e6520b9c5 There is no more SUBTARGET_EXTRA_SPECS, so hijack the EXTRA_SPECS. 2018-07-15 16:35:47 +00:00
christos
277061c241 Handle aarch64 jemalloc constant 2018-07-15 01:02:15 +00:00
christos
f83135cfef Aarch64 specific generated files. 2018-07-15 00:59:49 +00:00
christos
8254ea8c8b aarch64 sanitizer bits 2018-07-15 00:32:40 +00:00
christos
1fa371c02e c++config for 32/64 arm 2018-07-15 00:18:13 +00:00
christos
8352b2ec75 First pass at mknative for aarch64, based on mrg's work. 2018-07-14 23:47:31 +00:00
christos
d6b79c318e clang does not like the c-like definition of alignof 2018-07-14 23:42:23 +00:00
christos
985fdf2eac clang does not like auto in c++ 2018-07-14 23:41:43 +00:00
christos
c26d2ba97d avoid dups for aarch64 2018-07-14 23:40:19 +00:00
joerg
8ac3438f55 Reapply with fixed condition:
PT_PHDR is useful without PT_INTERP, i.e. for static PIE. It removes the
need for platform-specific computations of _DYNAMIC and friends.
2018-07-13 19:54:13 +00:00
maya
de537c69f3 stopgap fix: revert bfd PT_PHDR without PT_INTERP changes.
This currently results in most binaries being broken. Give more time to
debug without -current being badly broken.

The reverted commit message was:
PT_PHDR is useful without PT_INTERP, i.e. for static PIE. It removes the
need for platform-specific computations of _DYNAMIC and friends.

ok martin, mrg
2018-07-13 10:49:17 +00:00
christos
b2c71d2ddb aarch64 does not have PT_STEP so we start from 0. 2018-07-12 23:18:28 +00:00
joerg
44317eea7c Static PIE should have no linker, otherwise it isn't really static. 2018-07-12 21:39:24 +00:00
joerg
e897e0bb41 PT_PHDR is useful without PT_INTERP, i.e. for static PIE. It removes the
need for platform-specific computations of _DYNAMIC and friends.
2018-07-12 21:38:16 +00:00
christos
cc9713c527 regen aarch64 2018-07-12 00:16:32 +00:00
christos
0eedf677ec it is not xx but nn that we want. also add missing dependencies. 2018-07-11 14:51:34 +00:00
christos
b28c7e7ccb fix signness issues. 2018-07-11 13:52:35 +00:00
christos
d5e850450b Add another elfxx conversion. 2018-07-11 13:44:04 +00:00
christos
45cf9d8189 new config files for aarch64 but no progress in getting it to work. 2018-07-11 13:34:27 +00:00
christos
70306f7025 FIx reproducible builds for EFI boot blocks (from HEAD) 2018-07-09 12:15:31 +00:00
kre
3b6b60d23d Apply the change made to binutils:
Committed By:   christos
  Date:           Sun Jul  8 16:53:56 UTC 2018

  Modified Files:
        src/external/gpl3/binutils/dist/bfd: config.bfd
        src/external/gpl3/binutils/lib/libbfd/arch/i386: defs.mk

  Log Message:
  enable coff/pe executable vectors for i386 for the efi bootblocks.
  XXX: pullup-8

to binutils.old (which is what i386 is using).  Should unbreak the build.
2018-07-09 11:55:45 +00:00
christos
4522373d91 enable coff/pe executable vectors for i386 for the efi bootblocks.
XXX: pullup-8
2018-07-08 16:53:56 +00:00
christos
9951f8b9e4 vaxinate the sanitizer build. 2018-07-01 17:41:49 +00:00
christos
46e5459c53 disable one more size check for _LP32 to make pcc build. 2018-07-01 14:20:23 +00:00
kre
cb552d924c Remove (recently) commented out (recently added) liblsan SUBDIR
(it has been added a different way.)
2018-06-28 14:01:12 +00:00
christos
0fd9ea3645 put back lsan 2018-06-28 10:14:01 +00:00
christos
ecf509af59 Reduce sizes for non _LP64 and compiler checks so that the code compiles
(but it will not work, since there is not enough address space to implement
the shadow space required).
2018-06-27 15:57:20 +00:00
christos
3a31568ee3 use the proper types for operator new 2018-06-27 15:56:30 +00:00
martin
9a2749bc95 Disable liblsan for now - it seems to be 64bit only - all 32bits are
failing and the 64bit ones with compat 32bit do not work either.
2018-06-27 06:06:39 +00:00
kre
94c5c83f44 Since liblsan has been added to the sets already, we should build it. 2018-06-27 01:25:49 +00:00
christos
ae60fed3bd remove temp hack. 2018-06-26 21:06:45 +00:00
christos
92d3d99452 Add support for lsan (Leak Sanitizer), crashes on exit, but works from gdb... 2018-06-26 20:55:37 +00:00
christos
748fe90b99 Add lsan support. 2018-06-26 20:54:32 +00:00
christos
18b55cf995 Fix thread debugging. 2018-06-23 03:15:55 +00:00
christos
3306a1539a match our number of registers. 2018-06-22 19:41:40 +00:00