Commit Graph

1191 Commits

Author SHA1 Message Date
mrg 26c43e3543 move the GMP_MACHINE_ARCH definition into external/lgpl3/gmp/Makefile.arch.
soon to be GMP 6 allows us to have only two arm copies.
2017-08-22 09:17:50 +00:00
joerg 7c192b2a5e Update LLVM build glue for 5.0RC1. 2017-08-01 20:07:37 +00:00
jmcneill 055f044508 --disable-nls does not work in gdb subdir, so add am_cv_func_iconv=no to
configure env. Fixes build on FreeBSD.
2017-07-01 12:23:09 +00:00
skrll 48a2d8bd72 Update for new libfdt location 2017-06-08 17:16:44 +00:00
skrll be32318492 New libfdt location 2017-06-08 17:09:29 +00:00
skrll ee83b6cae4 Hook in dtc/libfdt now that it builds for me 2017-06-07 10:38:33 +00:00
skrll e846b19637 Disable dtc/libfdt for now 2017-06-06 08:21:53 +00:00
skrll 03dcb730d4 Add libfdt 2017-06-06 07:45:39 +00:00
christos 85cf7cedea No need to set dtc twice. 2017-06-05 23:55:43 +00:00
christos 484e2f7c2e Add dtc 2017-06-05 23:24:29 +00:00
christos 74d52999c0 tools build glue. 2017-06-05 22:44:40 +00:00
riastradh ef315f7931 Remove MKCRYPTO option.
Originally, MKCRYPTO was introduced because the United States
classified cryptography as a munition and restricted its export.  The
export controls were substantially relaxed fifteen years ago, and are
essentially irrelevant for software with published source code.

In the intervening time, nobody bothered to remove the option after
its motivation -- the US export restriction -- was eliminated.  I'm
not aware of any other operating system that has a similar option; I
expect it is mainly out of apathy for churn that we still have it.
Today, cryptography is an essential part of modern computing -- you
can't use the internet responsibly without cryptography.

The position of the TNF board of directors is that TNF makes no
representation that MKCRYPTO=no satisfies any country's cryptography
regulations.

My personal position is that the availability of cryptography is a
basic human right; that any local laws restricting it to a privileged
few are fundamentally immoral; and that it is wrong for developers to
spend effort crippling cryptography to work around such laws.

As proposed on tech-crypto, tech-security, and tech-userlevel to no
objections:

https://mail-index.netbsd.org/tech-crypto/2017/05/06/msg000719.html
https://mail-index.netbsd.org/tech-security/2017/05/06/msg000928.html
https://mail-index.netbsd.org/tech-userlevel/2017/05/06/msg010547.html

P.S.  Reviewing all the uses of MKCRYPTO in src revealed a lot of
*bad* crypto that was conditional on it, e.g. DES in telnet...  That
should probably be removed too, but on the grounds that it is bad,
not on the grounds that it is (nominally) crypto.
2017-05-21 15:28:36 +00:00
chs 7e30e94394 provide a common softfloat fenv implemenation and use it for softfloat builds.
restore ABI compatibility with previous releases for ieeefp.h on sh3.
add namespace.h protection for all the fenv interfaces.
use MKSOFTFLOAT on sh3 instead of assuming softfloat.
standardize on comparing MKSOFTFLOAT with "no".
remove the arm-specific softfloat fenv code (which also had several bugs).
fix logic errors in the arm hardfloat feraiseexcept() and feupdateenv().
2017-03-22 23:11:07 +00:00
christos 3e2605f3b9 refresh 2017-02-24 03:44:54 +00:00
maya c3094abd94 GC more gcc 4.8 specific (dead) logic 2017-02-22 12:34:49 +00:00
jakllsch 55e4d28c1e Fix host tools build for asn1_compile, compile_et, and slc. 2017-01-30 02:38:50 +00:00
christos 05e8aa4695 don't try to build links when cleaning or making obj dirs 2017-01-29 22:16:51 +00:00
christos 4f6547fec0 make a symlink to krb5 for the tools build. 2017-01-29 19:23:52 +00:00
joerg 501cd18a74 Sync tools build glue with LLVM pre-4.0.0. 2017-01-11 12:08:34 +00:00
christos b8eef4082a regen 2017-01-07 21:31:07 +00:00
christos 4c2e361d5c strmode on MacOS/X is in string.h 2017-01-07 21:30:42 +00:00
christos 6b3772867a adjust for SSP (MacOS/X) 2017-01-07 21:29:30 +00:00
christos cf6cbc80c5 need ctype.h 2017-01-07 02:55:19 +00:00
christos 621e8732cd Check for declarations, not the existance of functions since some are
visible only when _NETBSD_SOURCE is defined. This avoids || defined(__NetBSD__)
hacks.
2017-01-07 02:52:04 +00:00
christos 81c11d5f0f handle the case where we don't have the files built yet 2017-01-06 20:27:19 +00:00
christos 792fa3b107 don't run grep if we don't have the Makefile, like when we are building
objdirs
2017-01-06 17:22:51 +00:00
christos 0a3c283ede regen 2016-10-19 21:55:26 +00:00
christos 883488e64e try to fix missing decls 2016-10-19 21:54:20 +00:00
mrg 4141e03cf9 pass GDB_MACHINE_ARCH to mknative-gdb and use that as the subdir.
obtain GDB_MACHINE_ARCH from the new gdb Makefile.gdb_arch.
2016-10-16 04:37:42 +00:00
christos 17fc55e9e9 Fix the host build of aarch64 with clang 2016-10-14 14:41:59 +00:00
christos 60788873f5 Define __STDC_{LIMIT,CONSTANT,FORMAT}_MACROS in CXXFLAGS.
The problem is that the gnulib interception of <stdint.h> and <inttypes.h>
does not really work because we implement those internally with
<sys/inttypes.h> and <sys/stdint.h> and those internal headers are used
by other internal headers *before* they get a chance to be intercepted
(where the __STDC_ macros are defined).

Another way to fix this is to move the inclusion of the other headers
in <stdint.h> and <inttypes.h> outside multiple inclusion protection.
2016-10-12 18:43:40 +00:00
mrg 203d3087cb pass -L in LDFLAGS. clang complains about it to stderr, and configure
checks for headers fail if there are unexpected stderr.
2016-10-11 03:57:00 +00:00
christos 9d29ca0833 revert our changes; softfloat removal is now done in libgcc/config.host 2016-10-05 19:25:49 +00:00
christos ca4d0436a9 We provide our own soft-float implementation in libc, so elide the libgcc
sources for it.
2016-10-05 14:16:12 +00:00
christos c232bb11c5 Add exec_ecoff.h 2016-09-14 00:41:04 +00:00
christos e0f345fa97 use the nbcompat copies for those files 2016-09-03 11:34:05 +00:00
mrg 7e5bd89da2 set gcc 5.4 netbsd version to 2016-06-06 2016-06-07 08:12:13 +00:00
mrg 814d336214 set _OUTDIR and _OUTDIRBASE properly for gcc.old, and fix a sed. 2016-04-21 07:22:15 +00:00
riastradh e1fdad5e8b Disable stripping pcc tool.
We don't have a tool that strips tools -- we have only a tool that
strips target programs.  $TOOLDIR/bin/$PLATFORM-install supports -s
by invoking the target-stripping tool, which chokes if you try to use
it to strip tools on a sufficiently different cross build.  So let's
just not strip the pcc tool -- it's tiny enough that I'm not worried
about its unstripped size!
2016-03-30 23:36:45 +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 1e7ce98d0d set NETBSD_GCC_VERSION for GCC 5.3 separately.
don't collect crtstuff anymore.
2016-03-17 23:41:21 +00:00
christos 816f40abde Add DPADD's 2016-03-17 18:43:29 +00:00
mrg 6550c74580 grab insn-modes.h, and do the libgcc bootstrap from gcc as well. 2016-03-16 11:16:05 +00:00
mrg a37431532b unwind.h has a new problem, and fix the grabbing of x86 specific files. 2016-03-16 05:47:43 +00:00
mrg df62ea31af - pull i386-builtin-types.inc automatically on x86
- reenable cxx rt support
- don't grab insn-modes.h, we build it
- rename the c98 and c11 subdir codecvt.cc files while extracting
  them with mknative
- grab GGC_H as well, and use it in dependency lists
2016-03-15 21:38:32 +00:00
mrg e008877335 update for GCC 5.3 libgcov and libstdc++ 2016-03-15 06:10:13 +00:00
mrg 334c303b3a very first baby steps towards GCC 5.3 mknative. 2016-03-15 03:22:06 +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
aymeric a3838ae30d add our libc's regex implementation to libnbcompat.
This way, nbsed picks it up and it unbreaks the build of xf86-video-intel-old's
man page under Linux and probably other future changes which rightfully expect
the (net)bsd behaviour.

Full release tested on ArchLinux and NetBSD 7.0_STABLE
2016-03-06 10:19:01 +00:00
martin 7493d9dc28 Remove regexp.h here temporarily 2016-03-01 10:11:07 +00:00