Commit Graph

1784 Commits

Author SHA1 Message Date
chs
1f54905796 revert rev 1.2 (disabling split wide types) because it's no longer necessary
after rev 1.6 of m68k.md (which itself reverted a local patch that hadn't
been necessary for over a decade... see gcc bugzilla 12792).
discussed with christos and confirmed no regressions with the atf tests.
2017-02-23 18:43:01 +00:00
rin
d362232877 sorry, fix comment... 2017-02-14 00:20:20 +00:00
rin
78470a5a42 PR port-vax/51967 GCC 5.4 aborts on vax due to SIGILL for cc1
As a workaround, compile dse.c with -O0.
2017-02-13 22:31:09 +00:00
kamil
77d313fc36 Detach libpthread_dbg(3) from gdb(1) and gdbtui (gdb.old)
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...).

pthread_dbg(3) is going to be removed from the base distribution and moved
to pkgsrc.

Patch reviewed by <christos>

Sponsored by <The NetBSD Foundation>
2017-02-08 01:32:37 +00:00
kamil
e361313d33 Detach libpthread_dbg(3) from gdb(1) and gdbtui
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...).

pthread_dbg(3) is going to be removed from the base distribution and moved
to pkgsrc.

Patch reviewed by <christos>

Sponsored by <The NetBSD Foundation>
2017-02-07 22:53:19 +00:00
sevan
cc576e1d8e Update supporting files for components which rely on autoconf to allow systems
introducing since release of software to be recognised. This should hopefully
allow the builds to progress a littles further on systems such as the POWER8
which features a little endian 64-bit PowerPC CPU identified as ppc64le.
2017-02-01 09:26:39 +00:00
christos
e145362bfe use the full attribute syntax 2017-01-17 12:49:26 +00:00
christos
0133d15da2 use the full attribute syntax. 2017-01-17 12:48:39 +00:00
christos
d3da06c622 elide psabi errors on i386 2017-01-15 21:27:38 +00:00
christos
8e7ebb8f8c Handle errors in system headers 2017-01-13 01:14:27 +00:00
christos
78df756bd3 sprinkle __unused 2017-01-12 19:21:09 +00:00
christos
73f4d05a56 revert for now; too many issues. 2017-01-12 19:10:00 +00:00
christos
d0c807d2c9 Our headers are clean, enable warnings caused by them. We want to know
about <ctype_macro>(char) usages.
2017-01-12 17:14:23 +00:00
skrll
3e2d39191a Fix merge botch. arm eabi targets now match properly and we get the
right defaults.
2017-01-11 14:13:05 +00:00
buhrow
d33b37e9a7 Fix problem which prevents cross building on NetBSD systems which predate
NetBSD-6 or non-NetBSD systems.  See discussion on port-arm for details.
2016-12-30 22:40:23 +00:00
kamil
60b1976a76 Revert introduction of FIXME_PR_51139
This change introduced ABI incompatible change with older versions shipped
on NetBSD. This back out code that is currently not working correctly due
to TLS-based std::call_once implementation in GNU libstdc++.

Error when starting gnuchash:

/usr/pkg/lib/libwebkitgtk-1.0.so.0: Undefined symbol "_ZSt15__once_callable" (symnum = 1705)

PR 51139

Reported by <wiz>
2016-12-24 15:48:26 +00:00
kamil
49e3a2363a Add a walkaround for TLS bug in libstdc++ exposed with std::call_once
Currently std::call_once with libstdc++ works only with static linking.
Disable code path using __thread types and introduce FIXME_PR_51139.
Problem discussed in PR 51139

Functional std::call_once is required in LLVM and LLDB codebase.

Example code to test std::call_once:
#include <iostream>
#include <thread>
#include <mutex>
#include <cstdlib>
std::once_flag flag;
int main(int argc, char **argv)
{
        std::call_once(flag, [](){ std::cout << "Simple example: called once\n"; });
        return EXIT_SUCCESS;
}

Sponsored by <The NetBSD Foundation>
2016-12-21 21:55:46 +00:00
rin
36532a0d5a PR port-powerpc/51366 kernel for powerpc/ibm4xx miscompiled by gcc >= 4.8.5
backport fix from upstream:

URL: https://gcc.gnu.org/viewcvs?rev=238789&root=gcc&view=rev
Log:
rs6000: Fix logic for when to emit .machine (PR71216)

The current logic determining whether to use .machine in the generated
asm code puts it there if the compiler is not configured with a default
target cpu, _or_ no -mcpu= was given on the command line.  It should
be "and" instead.

	PR target/71216
	* config/rs6000/rs6000.c (rs6000_file_start): Fix condition for
	when to emit a ".machine" pseudo-op.

Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/config/rs6000/rs6000.c
2016-12-18 03:00:58 +00:00
rin
e31b62ddaa Skip the initial GP load in function prologue when inserting a breakpoint.
GNU ld for alpha is so clever that the redundant GP load in function
entrypoint is skipped. we must therefore skip initial GP loads; otherwise
breakpoints in function entrypoints can also be skipped.

Reported to upstream (Bug 20969):
  https://sourceware.org/bugzilla/show_bug.cgi?id=20969

ok martin
2016-12-15 10:01:16 +00:00
skrll
2e2322c9c0 Remove binutils.old as everything has switched. 2016-12-14 21:47:50 +00:00
mrg
899aca2e24 mknative, binutils 2.27, and ia64. 2016-12-12 19:15:15 +00:00
mrg
42a13a4db0 mknative-binutils 2.27 and hppa. 2016-12-11 02:13:34 +00:00
mrg
16e7be53ca regen binutils mknative files for binutils 2.27 on mipsel, mipseb and aarch64. 2016-12-11 01:53:43 +00:00
mrg
30b9303d3c regen mknative-binutils for ppc64 and binutils 2.27 2016-12-10 22:57:41 +00:00
mrg
de41f27e8a rebuild mkantive for ppc and binutils 2.27. 2016-12-10 21:33:53 +00:00
christos
a582531a1a finish arm regeneration 2016-12-08 19:35:10 +00:00
christos
37fdc90f90 regen sun2, earm, earmeb 2016-12-05 22:59:17 +00:00
christos
e33f4e7ec2 Regen sh3 2016-12-04 18:43:07 +00:00
christos
b1a05e3501 switch alpha/sparc/sparc64 to new binutils 2016-12-03 16:01:18 +00:00
christos
5b0871f5ea regen mips64 2016-12-03 00:40:47 +00:00
christos
787b0418af regen m68k 2016-12-02 17:51:07 +00:00
christos
811931c076 on NetBSD we don't have llvm_symbolizer, so try addr2line... 2016-12-01 18:20:25 +00:00
christos
0833d377e3 use the right sysctl to find the main binary name. We don't really need
this since our dl_iterate_phdr DTRT's for objmain, but...
2016-12-01 18:19:19 +00:00
christos
a6a34af0f6 regen for vax 2016-11-27 18:52:05 +00:00
mrg
38ac2f14f5 regen all gdb platforms. 2016-11-20 00:19:55 +00:00
mrg
98abf92201 s/#/$/ in a $NetBSD$ so it actually expands 2016-11-19 09:46:58 +00:00
skrll
0efd40303c mknative re-run 2016-11-19 09:10:33 +00:00
skrll
8d8621a4bd Real mknative re-run 2016-11-19 08:46:03 +00:00
skrll
56b555c863 Mark the alpha options use_secureplt as false... we don't do secure plt
on alpha (yet)
2016-11-19 07:54:19 +00:00
skrll
c7af765c8e Add in netbsd-core.lo for all arm/mips 2016-11-19 07:52:49 +00:00
skrll
f958ae60d4 (simulate) mknative re-run 2016-11-18 12:42:10 +00:00
skrll
3a5e17dcb9 Provide a generic nbsd_skip_solib_resolver and use it in alpha and arm.
Others should follow suit.

I even tested it.
2016-11-18 09:52:33 +00:00
joerg
c4414c4118 Merge r1.10 from the main in-tree binutils version:
More detailed error messages for text relocations on ppc code. Tested by
joerg@
2016-11-06 23:46:01 +00:00
joerg
d74117acef Merge r1.11 from the main in-tree binutils version:
Tail calls can use the PLT without a nop after the branch. Since the
callee won't return to the next instruction anyway, it wouldn't work
anyway.
2016-11-06 23:44:44 +00:00
christos
096c8b23c8 follow suit (add missing d) 2016-11-04 15:31:45 +00:00
martin
ed3eda7194 Add NODEBUGLIB here as well (sync with binutils directory) 2016-11-04 13:29:38 +00:00
joerg
374e459041 Tail calls can use the PLT without a nop after the branch. Since the
callee won't return to the next instruction anyway, it wouldn't work
anyway.
2016-11-04 00:19:32 +00:00
christos
f47de02583 More detailed error messages for text relocations on ppc code. Tested by joerg@ 2016-11-03 01:22:59 +00:00
christos
3d63ec494e need an = 2016-11-01 15:58:41 +00:00
christos
24c043b8d9 bump both (belatedly) 2016-11-01 14:02:15 +00:00
christos
ed77187f53 Add NODEBUGLIB, perhaps LIBISPRIVATE is better here? 2016-11-01 14:02:01 +00:00
martin
226fa8b9ee Add a skip_solib_resolver, from Rin Okuyama, fixes single stepping for
shared binaries.
2016-10-29 17:02:06 +00:00
christos
6ffca6ccd9 it might not be a breakpoint, so make the message what it actually is. 2016-10-27 14:30:55 +00:00
skrll
4b15477c73 .mt files are dead 2016-10-27 11:48:24 +00:00
christos
f5b8191dd4 regen x86 2016-10-26 20:39:27 +00:00
christos
944e10e55a restore the initfini array tests 2016-10-26 20:26:20 +00:00
christos
2f15a542cc merge conflicts, disable testsuite 2016-10-26 18:42:52 +00:00
christos
be8325a0f7 for next time 2016-10-26 18:00:56 +00:00
christos
c05b68c164 use the real top 2016-10-26 18:00:46 +00:00
christos
eb46678fb2 use our real top 2016-10-26 17:58:48 +00:00
christos
8cbf5cb7c4 Import binutils-2.27 minus the testsuites 2016-10-26 17:29:32 +00:00
christos
9b818ce2b0 merge conflicts 2016-10-26 17:08:37 +00:00
christos
8450a7c426 Import current binutils 2016-10-26 17:02:27 +00:00
christos
8d3ec8c9f8 Don't fail silently if we can't set a breakpoint 2016-10-24 21:22:33 +00:00
mrg
7b28f87c3c regen. 2016-10-24 03:02:48 +00:00
mrg
647468f389 regen after config.bfd fix. 2016-10-23 18:51:55 +00:00
skrll
f1c7b5d7e5 Sync with external/gpl3/binutils/dist/bfd/config.bfd for mips so we build
in the right vector set
2016-10-23 12:46:57 +00:00
skrll
628b30c419 Sync with external/gpl3/binutils/dist/bfd/config.bfd for arm so we build
in the right vector set
2016-10-23 12:43:01 +00:00
skrll
33576f34ff Trailing whitespace 2016-10-23 07:40:08 +00:00
skrll
074ac3ce32 PR toolchain/51557: gdb can't read core files
Register an iterate_over_regset_sections methods for armnbsd
2016-10-23 07:33:15 +00:00
christos
bbf41bf8ef use LIBGCC_MACHINE_ARCH for the compat build 2016-10-22 20:33:28 +00:00
skrll
a6174a4ba0 Add -lkvm for bsd-kvm.o 2016-10-22 14:57:50 +00:00
skrll
d2624817ef No need for corelow.o here now as it is in COMMON_OBS 2016-10-22 14:38:07 +00:00
skrll
4f5401ddf9 Fix HPPANBSD_SIZEOF_GREGS to match sizeof(struct reg) 2016-10-22 11:04:16 +00:00
christos
f6383fc60c regen and include the proper directory for x86_64 2016-10-22 03:55:03 +00:00
christos
6d0f30fd53 enable tf math (__float128) 2016-10-22 03:33:03 +00:00
christos
5300379ae6 Mark this -z nodelete, so that it does not get unloaded before other shared
libraries do, since they destructors need to still call millicode.
The problem this time was with /usr/pkg/bin/gdk-pixbuf-query-loaders
calling glib2's g_log...
2016-10-21 23:44:09 +00:00
mrg
e7aef7676b basic support for -static -pie: use -dynamic-linker.
doesn't work for all ports (reloc startup issues.)
2016-10-21 07:24:30 +00:00
mrg
a1169008f0 match aarch64* for the ldscripts generation. 2016-10-19 20:55:44 +00:00
mrg
31caae3a77 mknative-binutils for binutils 2.26 and arm64eb 2016-10-19 20:31:28 +00:00
mrg
b54003801f regen again after fixing the armeb-netbsdelf list.
evbarm-armeb builds again.
2016-10-19 19:10:33 +00:00
mrg
4a685cb277 fix the armeb target list. 2016-10-19 19:09:42 +00:00
mrg
8beef5983a regen to remove the accidental freebsd files 2016-10-19 19:02:38 +00:00
christos
bca50078b8 fix typo. 2016-10-18 12:52:32 +00:00
mrg
07ee0c7402 regen mknative for all ports and GCC 5.4 and -current. many ports
were using 5.3 data, and none of them had <stdalign.h>.
2016-10-18 01:32:56 +00:00
mrg
7b202c5d1e fix earmhf and earmhfeb builds. 2016-10-18 00:16:58 +00:00
mrg
c78a23b309 mknative-gdb for GDB 7.12 and coldfire/m68000. untested.
this completes our regularly scheduled mknative-gdb for all ports.
until next time enjoy your flight and have a nice day.
2016-10-17 18:44:43 +00:00
mrg
fbe48ae2ff remove unused files. 2016-10-17 18:32:33 +00:00
mrg
400d1a1689 mknative-gdb for GDB 7.12 and sh3*. untested. 2016-10-17 18:19:06 +00:00
mrg
e110ade75c mknative-gdb for GDB 7.12 for m68k and vax. untested. 2016-10-17 17:38:07 +00:00
mrg
15077f1b3c add some missing casts and make these build. 2016-10-17 17:37:44 +00:00
christos
a417a46e02 regen powerpc64 2016-10-17 14:02:20 +00:00
mrg
c1e10f7755 mknative-gdb for GDB 7.12 and i386 (untested) 2016-10-17 06:26:37 +00:00
mrg
fe0f2a5492 add missing i386bsd_supply_gregset() and i386bsd_collect_gregset() protos 2016-10-17 06:26:20 +00:00
mrg
3caff98623 mknative-gdb for GDB 7,12 and mips64*. untested (but builds.) 2016-10-17 04:15:35 +00:00
mrg
c9be6ee8d6 mknative-gdb for GDB 7.12 and alpha, mipsel and mipseb.
alpha and mipseb build (mipsel should), nothing is tested.
2016-10-16 08:23:05 +00:00
mrg
c03f037c58 define _KMEMUSER so that necessary things become visible always. 2016-10-16 05:12:20 +00:00
mrg
b0273061d2 move the GDB_MACHINE_ARCH setting into a separate file so tools can
access it.  modify it such that it's "arm" or "armeb" for all arm,
but only in new gdb, not gdb.old (avoid changing gdb.old as much
as possible now.)
2016-10-16 04:36:51 +00:00
mrg
47f5dba6de gdb only needs on arm and on armeb set, for all the 32 bit arm ports.
regen arm and armeb for gdb 7.12, and delete the rest.
2016-10-16 04:30:04 +00:00
maya
aa71315a69 this rule shouldn't be specific to little endian 2016-10-15 12:30:55 +00:00
mrg
23a8d08d85 mknative-gdb for GDB 7.12 and sparc, sparc64 and powerpc. sparc
works, the others aren't yet tested but do build.
2016-10-15 03:11:47 +00:00
christos
d1f6f311d5 multiple include protection 2016-10-14 23:49:23 +00:00
mrg
cce0131c9c go back to only installing ldscripts for ports that need them (multi-abi) 2016-10-14 23:27:00 +00:00
christos
b3faa1f1b4 Add new path for arm 2016-10-14 16:38:27 +00:00
christos
f424392a52 regen earm 2016-10-14 16:19:23 +00:00
christos
d11c4303f8 Remove hacks and depend on the files being built to decide wha'ts being
installed.
2016-10-14 15:58:34 +00:00
christos
9ff2fcdd59 fix some aarch64 nits 2016-10-14 14:41:32 +00:00
skrll
f4ea3389b0 We have our own popcount 2016-10-14 14:14:58 +00:00
skrll
e6e32b5f39 Make this compile 2016-10-14 14:12:48 +00:00
mrg
3c9887d690 mknative for gdb 7.12 and sparc*, and earmv4. sparc64 doesn't build yet.
others not yet tested.
2016-10-14 05:37:44 +00:00
skrll
2920ca48d3 mknative for hppa gdb 7.12 2016-10-13 21:09:13 +00:00
martin
a61a76c709 Install the arm ldscripts for big endian variants too 2016-10-13 13:29:39 +00:00
christos
5c86dbca0a And one more level 2016-10-13 01:18:59 +00:00
christos
0c04591cf1 One more level down 2016-10-13 01:10:15 +00:00
christos
bb16d22702 Add more directories 2016-10-13 00:55:20 +00:00
christos
c358683dff Merge conflicts and regen amd64 2016-10-12 20:20:32 +00:00
christos
ba340e457d import gdb-7.12 2016-10-12 16:47:08 +00:00
christos
a5a4af3bd3 re-add all the removed files 2016-10-12 15:36:05 +00:00
christos
4e00368f12 import current gdb-7.10.1 as gdb.old 2016-10-12 15:15:22 +00:00
mrg
4685143ff5 build and install the arm ldscripts. now i can build oabi again. 2016-10-11 07:23:52 +00:00
mrg
9535eb5451 fix the previous - the emul names don't tend to include "32".
tested on shark, though fixes to make compiling for oabi work
remain uncommited.

now an aarch64 build almost completes!
2016-10-11 07:05:29 +00:00
mrg
ba759bad89 revert previous - was fixed in the mknative. 2016-10-11 04:10:13 +00:00
mrg
de6fd971d9 regen with mostly fixed. 2016-10-11 03:57:15 +00:00
christos
8897404ec7 more HAVE stuff. 2016-10-11 03:09:37 +00:00
christos
be6cc8d4b9 regen and fix aarch64 2016-10-11 03:08:14 +00:00
christos
b885939ba2 fix emulation path 2016-10-11 02:49:38 +00:00
skrll
b51620c841 Remove gcc.old now it is no longer used. 2016-10-09 09:26:45 +00:00
skrll
d99781d3c9 Remove binutils.old now it is no longer used 2016-10-09 08:21:35 +00:00
skrll
cf81abf893 Remove gdb.old not it is unused. 2016-10-09 07:31:17 +00:00
christos
84670d8d34 fix ppc64 2016-10-06 20:29:33 +00:00
christos
bcc92e9b65 fix ssp build on amigappc 2016-10-06 02:58:32 +00:00
christos
0e20c92e52 The NetBSD libc provides the softfloat support which is duplicated in libgcc
and we prefer ours.
2016-10-05 19:24:44 +00:00
christos
93731ee132 regen 2016-10-05 14:30:18 +00:00
christos
cb24a47c16 regen 2016-10-05 14:16:56 +00:00
uwe
c3674760a3 Run configure with MAKE=${TOOL_GMAKE:Q} - otherwise "checking
dependency style" test fails on non-netbsd hosts where nbmake can't
find share/mk.

Ok phone@
2016-09-29 20:08:25 +00:00
christos
e4026cc8ea __NetBSD__ -> SANITIZER_NETBSD 2016-09-22 13:13:09 +00:00
christos
0b7ade5bd2 Avoid definining a prototype for signal(3) from <sys/param.h> because the
INTERCEPTOR macro cannot handle function returns easily.
TODO: fix <sys/param.h> to avoid this kind of name pollution.
2016-09-22 03:43:07 +00:00
christos
1fab549d94 Find bin.h 2016-09-22 01:53:39 +00:00
christos
2e3ca227c0 need <sys/param.h> 2016-09-21 23:18:42 +00:00
christos
9c3dcc6f8b move from /usr/src/usr.sbin/mdsetimage 2016-09-21 21:52:26 +00:00
christos
37b1f1d690 Check the NetBSD version 2016-09-21 21:30:56 +00:00
christos
a75c439d9f add new field 2016-09-21 19:18:01 +00:00
christos
a8b83ade53 remove dup 2016-09-21 16:26:18 +00:00
christos
5cafd780cd fix printf format. 2016-09-21 01:33:42 +00:00
christos
639759bc47 Print more info. 2016-09-20 20:57:45 +00:00
christos
f4001fd30b XXX: manually add uniform_int_dist.h because everyone else has it and
it breaks the build!
2016-09-18 02:03:16 +00:00
christos
d120f5b7a3 undo the attempt to figure out mult clobbering; breaks compilation; revert
to the fsf version
2016-09-17 00:55:40 +00:00
christos
f47e9f5683 turn off split wide types to avoid gcc bug. Arguably this should be fixed
in m68k.md, but I will leave this to someone more qualified.
2016-09-16 20:31:00 +00:00
christos
7f119c296e put the clobber after the instruction. 2016-09-16 20:30:14 +00:00
christos
8514813e35 more errors for text relocations 2016-09-05 14:25:33 +00:00
christos
118ae671e7 sync error with x86_64. 2016-09-05 09:17:35 +00:00
christos
6f1abd5174 gcc generates incorrect jump tables with -fPIE 2016-09-03 15:47:54 +00:00
christos
1eb0ac3f07 regen for alpha and sh now that they have fenv.h 2016-08-26 17:28:54 +00:00
christos
6b98bddc8a the heuristic for the cpu dependent file atomicity.h is unusable for little
endian sh. For big-endian it happens to work because host_cpu!=sh. Elide it
2016-08-26 17:28:32 +00:00
christos
388d69f323 XXX stop gap fix for atomicity.
U __gnu_cxx::__atomic_add(int volatile*, int)
U __gnu_cxx::__exchange_and_add(int volatile*, int)
2016-08-25 13:17:09 +00:00
mrg
56058dff13 canonicalise the netbsd spec functions in NETBSD_SUBTARGET_EXTRA_SPECS:
netbsd_cpp_spec
   netbsd_link_spec
   netbsd_entry_point
   netbsd_endfile_spec

use this in all netbsd targets.

XXX: 3 ports set this to EXTRA_SPECS instead of SUBTARGET_EXTRA_SPECS.
2016-08-19 05:11:09 +00:00
tls
b139dbeb03 Disable iconv in host-libcpp autoconf: fixes build on Mac OS X.
Thanks to joerg@ for the diagnosis and proposed fix.
2016-08-14 16:04:50 +00:00
scole
6afc3b56dd PR port-ia64/51261
Change JEMALLOC_TINY_MIN_2POW for ia64
2016-08-05 16:25:18 +00:00
mrg
95d9a2c7e1 regen for binutils 2.26.1 and *. 2016-08-02 08:05:05 +00:00
skrll
e084e74ccf Re-run mknative 2016-08-01 11:22:34 +00:00
christos
4f619fea3a regen; Left: earm, armeb, earmeb, riscv64, earmhf, earmhfeb, aarch64. 2016-07-28 14:17:58 +00:00
christos
9180686841 regen amd64. 2016-07-28 12:25:24 +00:00
christos
4a4d5be6eb merge conflicts 2016-07-28 12:25:07 +00:00
christos
09ac01bf76 Import 2.26.1; please see the individual ChangeLogs for bug fixes. 2016-07-28 12:18:51 +00:00
christos
d78413be59 more stack protector 2016-07-21 16:47:50 +00:00
christos
466a5d87d2 don't die printing a name we don't have 2016-07-21 00:10:57 +00:00
mrg
6c93c005b3 find gcov.1 again. 2016-07-07 03:15:58 +00:00
mrg
703c8b8111 missed from previous:
remove old generated versions of man pages.
update the dist versions of man and info pages to include local changes.
2016-07-06 11:37:26 +00:00
mrg
e292c2206e remove old generated versions of man pages.
update the dist versions of man and info pages to include local changes.
2016-07-06 11:21:17 +00:00
mrg
2e7e02f388 avoid the default TARGET_INIT_LIBFUNCS (i think) and XFmode. 2016-07-01 14:48:51 +00:00
mrg
1e2fcaaf47 enable some soft-fp for ia64, needed for libgcc. re-mknative-gcc. 2016-06-30 09:06:35 +00:00
mrg
70e5fb7477 mknative-gcc for GCC 5.4 and ia64. 2016-06-30 01:44:48 +00:00
mlelstv
f72ec5db06 Drop extra argument not used by format string. 2016-06-26 15:46:42 +00:00
mlelstv
ec520c2878 fix build 2016-06-26 14:44:10 +00:00
skrll
a38b18bd73 arm-builtins needs insn-opinit.h
I had this sitting in my tree already, but prompted by Michael Plass on
port-arm
2016-06-17 03:27:50 +00:00
christos
874963f630 Harmonize the error messages about dynamic relocations. 2016-06-15 14:47:23 +00:00
christos
dbe760216f small progress. 2016-06-11 23:10:01 +00:00
christos
fae93e9b6d fix compilation and getdents. 2016-06-11 20:45:07 +00:00
christos
9cc7345716 More fixed from Rin Okuyama
fix waitpid, getdents, explain ptrace, cleanup redefinitions
2016-06-11 13:39:26 +00:00
mrg
4218af5e5e for the eabi targetted compiler, if not compiling libgcc for eabi ensure
that libgcc doesn't try to define __[CD]TOR_LIST__[].
2016-06-10 01:14:00 +00:00
mrg
36b9a4317d add missed file for ppc64 gcc5.4 mknative. 2016-06-10 01:13:05 +00:00
mrg
121c341c36 update powerpc64 info 2016-06-09 23:36:53 +00:00
mrg
2059bccd1a mknative-gcc for powerpc64 and GCC 5.4. 2016-06-09 23:30:18 +00:00
mrg
2303aa3bf1 enable checks for no dot syms on netbsd ppc64, fixes build issues
in libutil where the opd() function conflicts with the .opd section.

remove a couple of tainted defines that are handled differently now.

this, with mknative-gcc as well, enables ppc64 world to build again.
2016-06-09 23:28:22 +00:00
christos
32f250035b Fix syscall argument passing from Ryn Okuyama (with minor changes; hope I did
not make it worse :-)
2016-06-09 14:37:06 +00:00
christos
b95d940b2e Disable glibc workaround for non linux. Rin Okuyama 2016-06-09 14:30:57 +00:00
mrg
a884da9efe add netbsd padding to 'struct addrinfo' copy.
eeew, this is really horrible
2016-06-09 07:38:45 +00:00
mrg
64bc63915b mknative-gcc for sparc64 and GCC 5.4 (and a bit of missed vax, too) 2016-06-09 07:37:49 +00:00
mrg
ed02bbe8b6 mknative-gcc for vax and GCC 5.4. 2016-06-09 07:13:10 +00:00
mrg
4eeb3be5f4 apply -O1 more liberally for vax. fixes build. 2016-06-09 07:11:08 +00:00
mrg
daaf4abadd regen (minor version updates) 2016-06-09 04:42:50 +00:00
mrg
bc64ec48e6 mknative-gcc for all but sparc64, vax and sun2 and GCC 5.4. 2016-06-07 18:53:01 +00:00
mrg
bf2dc96f03 merge GCC 5.4.0. (needs mknative, may not build yet.) 2016-06-07 06:14:16 +00:00
mrg
f30ff5883e import GCC 5.4.0 release. there's not a lot of new info though at
least these 135 (!) GCC PRs have been fixed by the update:

68730 69714 67550 70209 71254 70839 69737 70067 67355 67172 69239
65779 69546 70272 70421 65985 67339 67411 68309 68585 68679 68890
68949 69009 70139 70494 68162 69135 70306 68965 70297 70635 66786
69098 70347 69719 70526 70941 69400 69577 69447 65689 65886 65932
66655 68269 68789 69614 69648 69666 69764 69794 70044 70052 65726
68910 64289 68671 68835 69669 70329 71204 69355 67364 68049 68998
69323 69743 69995 69146 68651 67755 67484 68790 68907 69099 69496
69509 69516 70393 69222 69703 69939 70609 71004 71005 71036 71037
71038 68636 69013 69606 70115 70333 70430 60290 70356 69305 70024
67781 69414 69140 70510 60164 66635 67896 68106 68298 68449 68779
68921 68986 69037 69147 69194 69366 69399 69705 69917 69969 70613
71317 69268 70269 69032 65702 69219 69484 65996 66680 68283 69603
70350 67451 61397
2016-06-07 05:57:41 +00:00
martin
5de48bab33 Build fix for big endian arm, from Rin Okuyama.
Still not working, but other details still under discussion.
2016-06-06 21:06:33 +00:00
christos
5cbcac72ef Don't re-define standard types! 2016-06-05 20:09:00 +00:00
christos
86941a45f0 add glue for unimplemented platforms 2016-06-05 20:08:26 +00:00
christos
e6053aea0a comment out the ones we don't have 2016-06-05 19:17:23 +00:00
christos
543c8f279f Don't play type games with size_t for NetBSD. It is either 32 bits for ILP32
or 64 bits for LP64.
2016-06-05 16:43:10 +00:00
christos
d10a0033d8 add ubsan to the build 2016-06-05 01:17:57 +00:00
christos
8511b0d02a PR/50773: Rin Okuyama: Fix single stepping on dynamically linked binaries
by skipping dynamic linker calls (from OpenBSD)
2016-06-04 16:14:29 +00:00
christos
08cb3c9559 Fix compilation on non-x86 2016-06-03 15:53:18 +00:00
christos
bd2adf4ebf Fix ILP32 build. 2016-06-02 19:54:38 +00:00
christos
63a24122d2 Add ubsan (not enabled, not tested, compiling)
Update tsan (not enable, not tested, not compiling)
Merge common infrastructure.
XXX: Perhaps the common code should be made into a separate library?
Or always require asan?
2016-06-01 22:48:55 +00:00
christos
d94aad05fc Put the sanitizer libraries before everything else, since it needs to be
the first shared object.
2016-06-01 22:27:49 +00:00
christos
214e23d4e1 Put back asan now it works. 2016-06-01 17:07:13 +00:00
christos
860d3f06d6 deal with rename lossage 2016-06-01 17:03:26 +00:00
christos
8c05e0f285 Don't intercept things we don't have. 2016-06-01 17:02:54 +00:00
christos
3711470d09 Handle wrapping the same way as FreeBSD does. 2016-06-01 17:02:19 +00:00
christos
294de9a807 missing space 2016-06-01 04:20:20 +00:00
christos
78fc04143a use the default offsets since gcc hardcodes them (TARGET_ASAN_SHADOW_OFFSET ->
ix86_asan_shadow_offset)
2016-06-01 04:07:51 +00:00
christos
997b5166e9 use the correct array size. 2016-06-01 04:06:15 +00:00
christos
c4250a9276 zero pad syscall. 2016-06-01 01:54:06 +00:00
christos
725f9292f8 more flags. 2016-06-01 00:54:20 +00:00
christos
97989743a7 Ignore the first dlpi entry which is ourselves on NetBSD instead of having
a NULL name as on linux.
2016-06-01 00:53:35 +00:00
christos
33b321f304 - hack BlockingMutex
- add NetBSD procmaps
- remove old unused source
2016-05-31 21:35:11 +00:00
christos
2a35c413e0 Add procmaps for NetBSD 2016-05-31 21:34:13 +00:00
christos
0fda9a31a2 Update sources and flags (compiles but missing stuff) 2016-05-31 20:47:52 +00:00
christos
0761ebe8d9 First steps to port this to NetBSD (compiles now but missing stuff) 2016-05-31 20:47:25 +00:00
kamil
13f6226486 Fix building GCC-5.3 with GCC-6.1
Cherry-pick upstream patch:

From 1e5f1089dec3af328fd03125d6778f666d0bd4e4 Mon Sep 17 00:00:00 2001
From: edlinger <edlinger@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Thu, 25 Feb 2016 15:33:50 +0000
Subject: [PATCH] 2016-02-25  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        Backported from mainline
        2016-02-19  Jakub Jelinek  <jakub@redhat.com>
                    Bernd Edlinger  <bernd.edlinger@hotmail.de>

        * Make-lang.in: Invoke gperf with -L C++.
        * cfns.gperf: Remove prototypes for hash and libc_name_p
        inlines.
        * cfns.h: Regenerated.
        * except.c (nothrow_libfn_p): Adjust.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-5-branch@233720 138bc75d-0d04-0410-961f-82ee72b054a4


Verified to work with GCC 5.3 and 6.1.
2016-05-25 20:57:34 +00:00
skrll
60330fb799 Sync and allow arm to natively build 2016-05-24 21:25:25 +00:00
christos
63ea08216d Fix armv3 segv compiling mDNS.c, from:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62254
    https://gcc.gnu.org/ml/gcc-patches/2016-02/msg01095.html
2016-05-24 15:42:17 +00:00
skrll
fa15d5d3a4 More mknative re-runs 2016-05-24 13:00:00 +00:00
skrll
1afd582e81 More mknative re-run. 2016-05-24 10:46:13 +00:00
skrll
6e3cf83f8e Re-tun mknative for earm gdb 2016-05-24 09:16:56 +00:00
christos
2a2068fd64 Read and load the aux vector from a core file 2016-05-24 00:50:53 +00:00
christos
06c5bf7f1c PIE in the face! 2016-05-21 16:23:10 +00:00
christos
da360e79eb Fix infinite recursion when building i386 -fPIE in
src/external/mit/xorg/lib/libxcb/xkb.

https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=231599

PR debug/67355
* var-tracking.c (reverse_op): Don't add dummy zero to reverse
  ops that simplify back to the original value.
* alias.c (refs_newer_value_p): Cut off recursion for
  expressions containing the original value.
2016-05-19 20:27:36 +00:00
skrll
11d5fda1b2 Preserve the arm architecture version (if present) 2016-05-12 15:27:54 +00:00
skrll
c384c5b3fa For earm use the compiler to determine sf vs hf 2016-05-12 12:51:53 +00:00
skrll
74f1f7b042 Doh... don't add the ABI to 'os'. Hopefully arm is really fixed now. 2016-05-12 10:55:03 +00:00
skrll
8a8024b50c Sync config.guess with upstream, but maintain earm* stuff.
Fixes tools build on arm platform.
2016-05-12 08:43:49 +00:00
mrg
729e5a7e04 use AC_USE_SYSTEM_EXTENSIONS in libiberty autoconf, which arranges for
_GNU_SOURCE to be defined for systems that need it (like glibc ones.)

be sure to find the right config.h for host programs.

these fixes combined make builds on debian 7 complete for me.
2016-05-04 00:28:23 +00:00
christos
9da9a79f42 search for the proper variable in the sysroot case. 2016-05-02 23:22:39 +00:00
joerg
a114fff726 Revert. For whatever reasons, the ELF visibility attributes are not
meant to be a useful indicator of what an object expects, so for linking
against a protected symbol, it must be declared as normal.
2016-04-29 16:25:55 +00:00
christos
75518e7407 Propagate PLT fix from our gcc-5.3 tree:
Some functions like __udivsi3 are used in other assembly files like __umodsi3.
Use PLT linkage to avoid text relocations.

XXX: pullup-7
2016-04-22 18:05:52 +00:00
christos
17ab1145c9 Undo previous; wrong tree. 2016-04-22 18:05:13 +00:00
christos
6d71bd475a Propagate PLT fix from our gcc-5.3 tree:
Some functions like __udivsi3 are used in other assembly files like __umodsi3.
Use PLT linkage to avoid text relocations.

XXX: pullup-7
2016-04-22 18:03:54 +00:00
christos
4c876db4b4 Print the symbol that caused the text relocation for m68k like we do for
other platforms.
2016-04-22 17:40:36 +00:00
christos
97bb42372a Some functions like __udivsi3 are used in other assembly files like __umodsi3.
Use PLT linkage to avoid text relocations.
2016-04-22 17:39:38 +00:00
mrg
8398abcc05 mknative for GCC 5.3 and *arm* after netbsd-elf.h order fix. 2016-04-22 01:45:26 +00:00
skrll
6e4fa334ab Re-order includes so that ARM_TARGET2_DWARF_FORMAT takes effect
Fixes PR/51066: C++ text relocations
2016-04-21 16:09:16 +00:00
mrg
0010df8996 regenerate mknative-gcc for GCC 4.8 and *arm* 2016-04-21 07:24:09 +00:00
christos
d5fc259be3 WARNS=1 2016-04-20 17:18:52 +00:00
skrll
a7d674ca52 Re-order includes so that ARM_TARGET2_DWARF_FORMAT takes effect
Fixes PR/51066: C++ text relocations
2016-04-20 06:51:03 +00:00
christos
dc12ea256d The gcc diagnostic formats handle %m 2016-04-19 21:11:44 +00:00
christos
3a8ea6fb2d Enable minimal warnings, disabling the unused and narrowing ones that gcc
authors don't seem to pay attention to.
2016-04-19 21:11:05 +00:00
skrll
fde887dff0 binutils 2.26 mknative for aarch64 2016-04-05 09:54:26 +00:00
skrll
ded2b1e2a4 Set ELFSIZE to 64 2016-04-05 09:52:22 +00:00
mrg
0a5e3dc2e5 sgimip is big endian, noted by @nisimura.
minor updates.
2016-04-05 00:43:48 +00:00
skrll
744cc1c471 binutils 2.26 mknative for alpha 2016-04-04 13:45:40 +00:00
skrll
b1a9918244 Don't use secureplt on alpha yet 2016-04-04 06:58:48 +00:00
mrg
c8af37f927 remove platforms successful switched and update some of the mips testing 2016-04-04 01:47:18 +00:00
mrg
0e34d6d47b note shark (earmv4) works including atf. 2016-04-04 01:32:21 +00:00
skrll
590b4bf8cc binutils 2.26 mknative for mipseb 2016-04-03 18:24:03 +00:00
skrll
4af6e95a2b binutils 2.26 mknative for mipsel 2016-04-03 14:34:22 +00:00
mlelstv
338689a6b9 amiga kernel builds and runs 2016-04-02 08:54:47 +00:00
martin
f9c9a2217e "Extended version" of the "mips64 hack" used in gcc 5.3's libgcc.a
build: avoid lots of duplicate symbols on softfloat builds.
Now mac68k is buildable with MKSOFTFLOAT=yes again, finally!
2016-03-31 15:06:39 +00:00
martin
91839179d9 Extend the "mips64 hack" to all MKSOFTFLOAT builds - avoid duplicate
symbols in libgcc.
2016-03-31 06:59:44 +00:00
mrg
768e59d75f - clean up some
- i386 atf works
- mipseb kernels and system runs
- mips64* kernels work system runs
2016-03-29 09:20:28 +00:00
mrg
f46b30aacc mknative-binutils for binutils 2.26 and mipse[lb]. 2016-03-28 17:00:43 +00:00
skrll
d176304fc0 Add some more mips targets for martin 2016-03-28 09:01:24 +00:00
mrg
0bcf063564 revert most of the previous and re-do it to be valid, re-fixing i386 psABI
support with -m32.
2016-03-27 17:17:59 +00:00
mrg
d993c21bf1 don't set PREFERRED_STACK_BOUNDARY_DEFAULT, in particular, don't set it
to 64 (8 bytes) for 64-bit targets, where 16 byte alignment is required.
this fixes GCC 5 and ssh on modern intel cpus, and perhaps more.
2016-03-27 04:18:09 +00:00
mrg
3bd6f79dca - figured out the ldap/ssh problem. was miscompiled crtbeginS.o which
has been worked around.
- update some testing info.
- merge or1k/riscv descriptions that are actually the same problem.
2016-03-27 00:07:20 +00:00
mrg
1353e79727 mknative-gdb for sparc and gdb 7.10 2016-03-26 10:29:44 +00:00
mrg
c6df9b1e81 use --with-diagnostics-color=auto-if-env as the default for GCC 5. 2016-03-26 09:02:56 +00:00
mrg
fbf2aacce9 sparc has the ldap problem 2016-03-26 09:01:20 +00:00
mrg
2a660b745c mknative-binutils for mips64* and binutils 2.26. 2016-03-26 08:52:22 +00:00
skrll
b5a4e0ca09 Too many ;; in previous 2016-03-26 08:41:16 +00:00
skrll
fe5f2f1cd4 Attempt to fix mergo for mips 2016-03-26 08:39:55 +00:00
mrg
a9eeed2076 mknative-gdb for mips64eb. 2016-03-26 08:09:54 +00:00
mrg
813ae8862d mknative-gdb for mips64el. 2016-03-26 07:38:55 +00:00
joerg
f6d6965b37 If a protected symbol is defined in a shared library, it should still
provide an implementation. Fix the merging rules.
2016-03-25 23:04:41 +00:00
skrll
48d314007f Match with binutils 2016-03-25 09:29:01 +00:00
skrll
40c9ab5d24 Fix mergo for mips 2016-03-25 09:27:43 +00:00
christos
204c2b27e8 update VAX 2016-03-24 21:46:28 +00:00
skrll
6b15b11db2 hppa is tested. I think it's "OK" 2016-03-24 21:26:45 +00:00
mrg
6d053978a6 update:
- earmv4 works (atf has one new failure, that seems common)
- mipsel run
- sparc runs
- sparc64 mostly works in UP mode
- add list of actual machines tested on
2016-03-24 21:20:31 +00:00
skrll
9f1adecae2 Note hppa status:
- kernel works
	- sshd has the ldap problem
2016-03-24 21:10:21 +00:00
christos
dd00c10363 new binutils bitch about writable eh_frame relocations; tell it we have
new style ones.
2016-03-24 04:27:29 +00:00
christos
8d5dde7eda adapt to new api 2016-03-24 03:49:06 +00:00
christos
199e801a7d regen 2016-03-24 03:33:28 +00:00
christos
3c9ee4e32a adapt for vax. 2016-03-24 00:38:40 +00:00
christos
3261c90968 XXX: gcc -O0 for vax 2016-03-24 00:02:52 +00:00
christos
73357d78a2 regen vax! 2016-03-23 21:24:52 +00:00
christos
d418ed3dfa Drop PSW annotation for now; it is not a real register and we need special
rtl for it (causes an assertion failure)
2016-03-23 21:21:36 +00:00
christos
3404205800 need stdbool.h 2016-03-23 21:09:04 +00:00
mrg
13c73075bd update the build status for some ppc and mips. 2016-03-23 18:45:41 +00:00
christos
214b89d952 Revert previous changes until we can test them better. 2016-03-23 15:51:36 +00:00
christos
0db9e20bfb From Jake Hamby
For several years I've been eager to find the time to fix the bugs
in C++ exceptions on VAX to get them working on NetBSD, because
theyâve been broken for many years and it looked like only a few
changes were needed to get them working. Without C++ exceptions,
the NetBSD test suite canât be run. The good news is that I was
able to fix all the bugs in the VAX machine description to make
C++ exceptions work in GCC 4.8.5 (version unimportant). I wrote a
blog post explaining the bugs, with patches:


Here's a short summary, with the diffs in text form at the end of this email.

1) Replace #define FRAME_POINTER_CFA_OFFSET(FNDECL) 0 with #define
ARG_POINTER_CFA_OFFSET(FNDECL) 0 in gcc/config/vax/elf.h and
gcc/config/vax/vax.h. This changes the definition of __builtin_dwarf_cfa()
to return %ap instead of %fp, which correctly points to CFA.
Previously, the stack unwinder was crashing in _Unwind_RaiseException()
trying to follow bad pointers from the initial CFA.

2) Define EH_RETURN_DATA_REGNO(N) to include only R2 and R3 (instead
of R2-R5) and add code to vax_expand_prologue() in gcc/config/vax/vax.c
to add R2-R3 to the procedure entry mask but only if crtl->calls_eh_return
is set. This fixes a crash when the stack unwinder tried to write
values to R2 and R3 in the previous stack frame via
__builtin_eh_return_data_regno (0) and __builtin_eh_return_data_regno (1).

3) Removed definitions of EH_RETURN_STACKADJ_RTX and STARTING_FRAME_OFFSET
from gcc/config/vax/elf.h. It's not necessary to remember the stack
adjustment or to waste four bytes on every stack frame for a value
that's not needed. Also remove the suspicious changes in
gcc/config/vax/vax.md to the definitions of call_pop and call_value
regarding DW_CFA_GNU_args_size and EH unwinding. I reverted to the
previous versions from an older version of GCC, adding a few useful
comments that had been removed.

4) The last bug is the one I understand the least. I'm hoping
someone reading this can implement a correct fix. What I was seeing
after making all the previous changes to fix the other bugs is that
my test program failed to catch any exceptions, but instead returned
normally to the original return path.

Investigation revealed that GCC was correctly generating the
necessary move instruction to copy the second parameter passed to
__builtin_eh_return() into the return address, because
EH_RETURN_HANDLER_RTX had been defined correctly in config/vax/elf.h.
Hereâs what the call looks like in gcc/except.c:

#ifdef EH_RETURN_HANDLER_RTX
      rtx insn = emit_move_insn (EH_RETURN_HANDLER_RTX, crtl->eh.ehr_handler);
#else
      error ("__builtin_eh_return not supported on this target");
#endif

The problem was that the optimizer is deleting the final move
instruction when I compile with -O or higher. The assembly code at
-O0 (no optimization) generated for the __builtin_eh_return() call
at the end of _Unwind_RaiseException() looked like:

	calls $2,_Unwind_DebugHook
	movl -12(%fp),%r1
	movl %r1,16(%fp)
	ret
	.cfi_endproc

But then when I compiled with -O1 or -O2, all I saw was:

	calls $2,_Unwind_DebugHook
	ret
	.cfi_endproc

This was a mystery for me and I donât know enough about how the
final peephole optimizer works to really track down why it thinks
it can remove the move call to store the previous return address.
My workaround was to add a call to RTX_FRAME_RELATED_P (insn) = 1;
after the emit_move_insn() in gcc/except.c, which was used in
vax_expand_prologue() to mark the procedure entry mask.

By making this change, the optimizer no longer removes the call to
write the value to the previous stack pointer, but it adds an extra
line of .cfi exception info, which seems unnecessary since the code
is immediately going to return from the call and any adjustment
made by the DWARF stack unwinder will already have been done. Hereâs
what the optimized code looks like with the patch (%r6 had been
loaded earlier):

	calls $2,_Unwind_DebugHook
	movl %r6,16(%fp)
	.cfi_offset 6, -36
	ret
	.cfi_endproc

With that final change, C++ exception handling now finally works
on NetBSD/vax, and I was able to successfully run the vast majority
of the tests in the ATF testsuite, which had been completely
inaccessible when I started due to both atf-run and atf-report
immediately dumping core due to the bad pointers that I fixed. Now
I have a bunch of new bugs to track down fixes for, but I think
this was the hardest set of problems that needed to be solved to
bring NetBSD on VAX up to the level of the other NetBSD ports.

Here are the diffs I have so far. They should apply to any recent
version of GCC (tested on GCC 4.8.5). With the exception of the
hack to gcc/except.c, the other diffs are ready to submit to NetBSD
as well as to upstream GCC. The fix Iâd like to see for the final
problem I discovered of the emit_move_insn() being deleted by the
optimizer would be another patch to one of the files in the
gcc/config/vax directory to explain to the optimizer that writing
to 16(%fp) is important and not something to be deleted from the
epilogue (perhaps it thinks itâs writing to a local variable in
the frame that's about to be destroyed?).

I didn't see any indication that any other GCC ports required
anything special to tell the optimizer not to delete the move
instruction to EH_RETURN_HANDLER_RTX, so the other suspicion I have
is that there may be a bug specific to VAX's peephole optimizer or
related functions. Any ideas?
2016-03-23 12:52:43 +00:00
christos
5ea3c1df8c Fix vax build, now we fail in:
/usr/src/lib/csu/common/crt0-common.c: In function '___start':
/usr/src/lib/csu/common/crt0-common.c:184:1: internal compiler error: in dwf_regno, at dwarf2cfi.c:988
 }
  ^
2016-03-23 12:45:50 +00:00
mrg
8258e9ec7a update a bunch:
- explain the columns
- update arm status:
  - MKCOMPAT problems with oabi
- coldfire builds as much as GCC 4.8
- sun2, m68k builds
- most mips builds now (mips64 has generic build issues)
- update sparc64 and ppc problems (sshd)
  - there is something very very odd in linking libldap.so.4.3 where
    using the GCC 4.8 compiler to link the GCC 5.3 compiled objects
    works, or using GCC 5.3 compiler to link the 4.8 compiled objects
    fails -- ie, the compiler output seems fine, but the interactions
    between GCC and ld(1) are broken.
- add or1k, riscv*, ia64 and ppc64 columns:
  - or1k and riscv* both fail, they need to have their support
    ported to GCC 5.x (i understand that at least one of them
    has a GCC 5.x tree.)
- expand the list of actually tested to complete "build.sh release"
  to include machines, not just cpus.
2016-03-23 07:34:37 +00:00
mrg
b025ea285a avoid unused variables. 2016-03-23 06:59:59 +00:00
mrg
017e647d1f hackaround a problem on mips64 in soft-fp between libgcc and our libc.
i'm not 100% sure how this should work (matt?), as now we have some
functions coming from libc and some from libgcc, but this at least
builds now.
2016-03-23 05:28:01 +00:00
mrg
7e10c3bf91 workaround a problem in old binutils and GCC 5.3. 2016-03-23 05:24:54 +00:00
mrg
6faa8aa178 slightly rearrange the generation of SRCS. 2016-03-23 00:20:18 +00:00
mrg
b1835b1ee7 mknative-gcc for coldfire and GCC 5.3. 2016-03-22 10:09:01 +00:00
mrg
4696acf403 updates to latest -current:
- sshd problem is libldap.so.4.3, at least on sparc64.  placing with 4.8 one works
- alpha mostly works fine, 7 new failures in atf, plus sshd problem
- update release build info for many *earm*, hppa, i386, amd64, mipsel, sh3*
- *mips* now at least completes mknative-gcc
- sh3eb has a mknative-gcc problem
2016-03-22 08:22:04 +00:00
mrg
f64fc53ba7 mips64 does not get (all?) the non sw-float version. fixes double symbol issues. 2016-03-22 08:18:27 +00:00