Commit Graph

4501 Commits

Author SHA1 Message Date
christos
c6b4d36c05 kill sprintf 2014-03-26 22:03:26 +00:00
matt
1a3430eb55 Bias the cfi pc expr by nbytes since vax pcrel are relative to end of the
relocation, not the beginning.  By adding the size of relocation, it will
become relative to the start of the relocation.
2014-03-25 16:17:33 +00:00
joerg
9aad7ddd6d Use C version of umul_ppmm for Clang on MIPS. 2014-03-25 15:28:15 +00:00
joerg
9fe3724ad4 Cast to _Unwind_Ptr here as well. 2014-03-25 10:03:51 +00:00
ozaki-r
1339b2cc13 Add MKCTF
This variable separates CTF stuffs from MKDTRACE; we can build DTrace
solely without building and using them. This allows us to use DTrace
even if CTF stuffs have problems (actually they have now).

This variable would be merged into MKDTRACE eventually, once CTF stuffs
work correctly again.
2014-03-25 09:52:55 +00:00
ozaki-r
9a1cd017d1 Cast ptr to the correct return type (_Unwind_Ptr) 2014-03-25 00:50:45 +00:00
joerg
3b142775a7 Cast context->ldsa to the correct return type. 2014-03-24 22:39:06 +00:00
joerg
47a96e3a4d _Unwind_GetLanguageSpecificData is supposed to return a _Unwind_Ptr.
This makes a difference on M68K as it uses a different register for
integer vs pointer values.
2014-03-24 21:26:01 +00:00
pettai
38e493d085 Import mDNSResponder-258.14, merge, fix conflicts 2014-03-24 00:31:13 +00:00
pettai
7f67feba92 Import mDNSResponder-258-14 as per discussion with gdt@ and cristos@ 2014-03-24 00:23:27 +00:00
pettai
e7ba6ce52b Prepare for importing a newer version of mDNSResponder 2014-03-24 00:13:23 +00:00
mrg
c4dae12d14 allow for .pc substitutions to be listed per makefile
(could maybe do per-target, as well.)  fix the remaining
substitutions for xcb-proto, fontconfig and xorg-server.

(XXX: move many per-package-specific parts out of
bsd.x11.mk itself, into the relevant Makefile.)
2014-03-23 20:40:18 +00:00
tron
37e32637e4 Remove auto-generated files in "cleandir" target. 2014-03-23 20:39:40 +00:00
dholland
f6f4f5e81c Change the argument names in the prototypes and discussion for
sub/gsub to match those in gensub. Noted by Kai-Uwe Eckhardt in
PR 48667.
2014-03-23 01:29:12 +00:00
martin
e5db261cf2 Avoid undefined behaviour (which causes traps on VAX). 2014-03-22 20:36:45 +00:00
tron
adbf0b7734 Remove (harmless) debug target committed by accident.
Pointed out by Matthew Green in private e-mail.
2014-03-22 19:52:21 +00:00
tron
0bb5c0ea6c Fix build with "HAVE_GCC=48" and "USE_SSP=yes". 2014-03-22 17:57:47 +00:00
roy
b7fc208426 Crank up the warnings and fortify the build. 2014-03-22 00:04:51 +00:00
joerg
b204cbfda6 For HAVE_LIBGCC_EH=no, skip libgcc's unwind code. 2014-03-21 20:54:13 +00:00
riastradh
677325c920 Build xf86drmMode.c into libdrm. 2014-03-21 18:14:20 +00:00
christos
7f8a26a5c6 fix Big Endian compilation 2014-03-21 01:17:40 +00:00
mrg
8403e51bee substitute %LIBS_CONFIG% and %LIBSSTATIC_CONFIG%. 2014-03-20 22:23:30 +00:00
joerg
c629e629e3 Annotation for the Processor Status Word. Sensible DWARF frame layout. 2014-03-20 16:53:55 +00:00
skrll
584cd3c172 Remove a file that should be generated and fix the build 2014-03-20 15:21:46 +00:00
mrg
44125d6efb regenerate after recent vax specific fixes. 2014-03-20 10:15:13 +00:00
mrg
ac142a8081 merge freetype 2.5.3. 2014-03-20 08:57:48 +00:00
mrg
3022bef933 the host tool relies on scandir now days. (it tries to avoid it,
but needs work for this code to work again.  if this is fixed, we
may want to run ./configure for this tool.)
2014-03-20 08:05:30 +00:00
mrg
caaf2fe122 add a note about builtin_icons.h. 2014-03-20 07:13:53 +00:00
mrg
ddcbe4a79f look for config.h. 2014-03-20 06:18:20 +00:00
mrg
dc923264b6 turn on XAA explicitly for ast.
remove removed sources for mga, and fix the XAA list.
remove redundant defines for tdfx.
2014-03-20 05:32:31 +00:00
joerg
89ecf27180 Always use --eh-frame-hdr, even when linking statically. 2014-03-20 01:46:19 +00:00
mrg
2634b1cf97 find moved man pages. 2014-03-19 23:46:22 +00:00
mrg
89f0129eec remove duplicated -DHAVE_XEXTPROTO_71. 2014-03-19 23:46:05 +00:00
ozaki-r
4ae43925ec Exclude mvsoctmr_* functions from FBT targets
Probing them doesn't work for DTrace/arm for some reason.

Anyway with this fix, DTrace/arm works on SHEEVAPLUG
as well as BEAGLEBONE.
2014-03-19 11:14:12 +00:00
matt
b47c61b618 Add support for the .cfi pseudo-ops for VAX. 2014-03-18 23:41:36 +00:00
matt
95d660c12b Make readelf know what the vax pcrel32 reloc number is. 2014-03-18 23:41:02 +00:00
riastradh
6cb10275d0 Merge riastradh-drm2 to HEAD. 2014-03-18 18:20:35 +00:00
skrll
9bf4ee7d90 In fill_fpregset correct the address to grab the register from 2014-03-18 08:40:05 +00:00
mrg
390760f74f merge xmodmap 1.0.8. 2014-03-17 10:11:27 +00:00
mrg
2c8e080f88 merge xrdb 1.1.0, xset 1.2.3, xvinfo 1.1.2, and xwd 1.0.6. 2014-03-17 10:09:18 +00:00
mrg
845dbcb7e6 update for xlsclients 1.1.3. 2014-03-17 09:46:10 +00:00
hannken
33b1d7765e Change zfs_sync() to use vfs_vnode_iterator. 2014-03-17 09:37:41 +00:00
mrg
1495f4c16a updates for xauth 1.0.8 and xconsole 1.0.6. 2014-03-17 09:24:11 +00:00
mrg
b077836fd2 avoid const problems for now. 2014-03-17 09:21:19 +00:00
mrg
d978386d65 updates for makedepend 1.0.5. 2014-03-17 09:07:09 +00:00
mrg
edda2f4b2b update for mkfontscale 1.1.1. 2014-03-17 09:02:16 +00:00
mrg
ae13044ac9 regenerate for xkeyboard-config 2.11. 2014-03-17 09:02:02 +00:00
mrg
ab169b1d85 various updates for libdrm 2.4.52. 2014-03-17 08:01:18 +00:00
mrg
6f16f8b83f merge libxcb 1.10 and libpthread-stubs build.
update the libxcb generated files.
2014-03-17 07:25:34 +00:00
mrg
51d2582a19 updates for pixman 0.32.4 and x86. 2014-03-17 01:41:46 +00:00
mrg
2c51d1ae0f merge xtrans 1.3.3 (deletes Xtranstli.c -- so sad, bye bye.) 2014-03-17 01:09:07 +00:00
mrg
c23d29ea55 updates for libX11 1.6.2, dri3proto and presentproto, and fix
the libXrender build.
2014-03-16 23:25:15 +00:00
mrg
1b6ef8b51a define HAVE__XEATDATAWORDS. (XXX move into ${X11FLAGS.THREADLIB}). 2014-03-16 22:53:17 +00:00
ozaki-r
e2fc5c59a0 Use MACHINE_CPU instead of MACHINE_ARCH with pattern matching
Include bsd.own.mk to use MACHINE_CPU.

Advised by matt@
2014-03-16 06:51:43 +00:00
ozaki-r
f27e224fab Look up arm directory on MACHINE_ARCH=*arm* 2014-03-16 05:11:19 +00:00
uwe
fb3a642893 G/c extraneous TAB. 2014-03-16 00:07:58 +00:00
mrg
9c0370d59c add missing -DGENERATOR_FILE to HOST_CPPFLAGS. 2014-03-15 23:12:58 +00:00
mrg
4d51ddd922 make sure we use the C compiler (not C++) for CC= when running the
configure for auto-build.h.  fixes problems on linux.
2014-03-15 20:46:38 +00:00
christos
a1aa0d7245 Since the sigwait stuff is conditional to isc_bind9, we cannot block
SIGHUP,SIGINT,SIGTERM on startup, so make those also conditional to isc_bind9.
The net effect of this was that dhclient blocked the 3 signals for both
itself and its progeny so /etc/rc.d/dhclient restart would not work.
2014-03-15 18:28:22 +00:00
roy
317e4f34f6 Import ipw2200-fw-3.1 2014-03-15 15:23:22 +00:00
ozaki-r
609ba481a5 Implement DTrace FBT provider for ARM
- Finding probable functions
- Replacing instructions
- Emulating instructions

It is tested only on ARMv7 CPUs yet, for example,
-m evbarm (-a earm) kernel=BEAGLEBONE.
2014-03-15 08:00:19 +00:00
ozaki-r
48e9045322 Enable invop handler on module load
It sets a fbt handler to dtrace_invop_jump_addr on module load,
which is used to call the dtrace probing function from the trap
handler.
2014-03-15 07:49:15 +00:00
ozaki-r
26e6962bfe Make arm/dtrace_isa.c buildable
This is a band-aid for build, but it works anyway.
We have to do a real fix in the future.
2014-03-15 07:43:01 +00:00
christos
14e72322f6 Don't SSP a file that uses alloca. 2014-03-14 12:17:53 +00:00
roy
083b63d1f4 Sync 2014-03-14 11:31:11 +00:00
roy
f19170ec2b Import dhcpcd-6.3.2 with the following changes:
* Improvements to autoconf build emulation
  * CARRIER/NOCARRIER are now run outside of the IPv4 runs
  * validate domains correctly which contain a - on non bash shells
  * don't remove IPv6 addresses from internal state when added as tentative
  * HUP now rebinds, ALRM now releases - the -x and -k flags work as
    they used to
  * Add -M, --master option to force dhcpcd into master mode even if one
    interface is specified on the command line
  * Fix a crash when receiving a reconfigure key
  * Dumping a DHCPv4 lease works again
  * SEND_DAD code removed
  * hoplimit is no longer defined for DHCPv6 messages
  * hoplimit of 255 for IPv6 RS/ND message is now defined at the socket
    instead of ancillary data with the message
2014-03-14 11:27:36 +00:00
christos
e46a69d605 make this compile again 2014-03-14 00:06:52 +00:00
martin
74a4cee79e Help the hack verifying malloc alignment expectations and force the
word size definition on sh* to be a compile time constant. We do not
provide a single library supporting both variants, so we pick the
smaller alignment for now.
2014-03-13 19:33:23 +00:00
gdt
539b747f08 Use -f with cp, for 444 sources. 2014-03-13 16:19:24 +00:00
gdt
4ebed9fad8 Use cp -pf rather than cp -p.
Otherwise, those with sources that are 444 encounter failures.
2014-03-13 16:14:27 +00:00
wiz
7f42001b43 When not built as host tool, define USE_WCHAR to get locale support. 2014-03-13 09:13:32 +00:00
martin
7a16006d41 Try to avoid using float constants out of range 2014-03-12 20:00:22 +00:00
joerg
773779a5e8 __ppc__ is not supported by GCC, so use __powerpc__. 2014-03-12 15:24:08 +00:00
mrg
8075f4b1c8 updaet a little more:
- coldfire release works, but there are no kernels yet
- ia64 port gets much further now
- i386 port runs
2014-03-10 19:55:51 +00:00
mrg
08ea4544e2 update a bit. delete ports that have switched to GCC 4.8. with this
we still need significant work on these ports:

	- mips*
	- powerpc
	- sh*
	- vax
	- m68k*

the x86 platforms are probably ready to switch, but i'm not in a good
position to test them.  these platforms are probably ready to switch,
as they're still mostly in bringup mode anyway:

	- powerpc64
	- coldfire
	- ia64
2014-03-10 19:06:35 +00:00
mrg
80350e8785 pass $LD and $AS to the auto-build.h generation, so its configure
gets the right answers for many things.  in particular, it enables
HAVE_AS_TLS which the sparc port needs for TARGET_TLS to work.
2014-03-10 18:57:35 +00:00
nakayama
b9eda690b9 Regenerate for sparc's want64=true change.
Native toolchain fix for PR toolchain/48630.
2014-03-10 12:02:36 +00:00
nakayama
8813083ebc Enable 64-bit integer handling for gas even on 32-bit host since
sparc64 kernel now uses 64-bit constant with %hh operator.

Fix for PR toolchain/48630.
2014-03-10 12:01:19 +00:00
mrg
3172b861f6 also look at netbsd.opt and netbsd-elf.opt. 2014-03-10 07:32:18 +00:00
mrg
cee6092acd make elf{32,64}-ia64.c depend upon the right parent. 2014-03-10 07:28:33 +00:00
ozaki-r
18c3aa4966 Fix header inclusions 2014-03-10 06:38:22 +00:00
mrg
5de22a2bb3 mknative-binutils for ia64. 2014-03-10 05:20:48 +00:00
ozaki-r
7ea504b141 Make arm/dtrace_subr.c buildable
The change just imports the code from
http://people.freebsd.org/~gonzo/arm/dtrace-arm.diff
and tweaks for NetBSD.
2014-03-10 03:04:57 +00:00
mrg
855874a0df more ia64 support:
# We have to weed out any existing func.S file that may exist
# from the list of files we create.
2014-03-09 23:23:09 +00:00
christos
60a5bae159 Tidy up paths. 2014-03-09 22:01:31 +00:00
mrg
d06f941d3e mknative-gcc for GCC 4.8 and ia64. 2014-03-09 21:02:44 +00:00
mrg
eeffa0cfc9 update some status:
- ppc port exec stack is fixed
- coldfire, earmv4, ppc64, sparc* updates
2014-03-09 21:01:14 +00:00
mrg
2c740b20c0 find libgcc sources for GCC 4.8. 2014-03-09 20:59:14 +00:00
mrg
aeea229482 rebuild for GMP 5.1.3. 2014-03-09 20:54:01 +00:00
christos
0afc3eb7f2 put back our local fixes:
- don't die on unresolved types.
- it is ok to have 0 sized arrays in structs
- forward enum decls.
2014-03-09 20:48:01 +00:00
christos
cf96d463d6 Temporarily add a -S flag to limit the number of threads. 2014-03-09 19:14:15 +00:00
christos
282742d04b add SHLIB_MINOR 2014-03-09 18:11:37 +00:00
christos
e3afac50d3 fix constant name 2014-03-09 17:07:46 +00:00
martin
09a506f4af Fix variable name, so BUGURL gets properly defined 2014-03-09 17:06:30 +00:00
christos
7016e57516 use merged ctf rules 2014-03-09 17:05:23 +00:00
christos
abe7c4c08a Merge ctf build rules. 2014-03-09 17:05:01 +00:00
christos
381ca28d6d sync with freebsd 2014-03-09 17:04:00 +00:00
christos
e81373b450 put back our changes, RCSIDs, and build glue 2014-03-09 16:58:03 +00:00
christos
9dd9d0cfdb import elftoolchain from FreeBSD head. 2014-03-09 16:25:59 +00:00
mrg
f1823084d1 disable TRANSFER_FROM_TRAMPOLINE for now. 2014-03-09 10:18:30 +00:00
mrg
297c460378 add ia64-netbsd support. 2014-03-09 05:51:26 +00:00
martin
7077fb4b4a Kill the "throw()" on a forward declaration for posix_memalign (it does
not match our base declaration and may cause warnings).
Ok: joerg
2014-03-08 19:15:32 +00:00
ozaki-r
959d62341c Prepare dtrace_isa.c for build
- Tidy up header file inclusions
- Replace curcpu with cpu_number()
- Fix argument of dtrace_getreg
- Tweak for gcc 4.8

Note that the file is still not buildable.
2014-03-08 11:46:01 +00:00
mrg
aca3e771de create a fake libgcc_tm.h. 2014-03-08 02:02:22 +00:00
mrg
07c916cf9f crtstuff.c moved into libgcc. 2014-03-08 01:58:11 +00:00
christos
ed1a42bd3d allow AAAA filtering (from John Baker) 2014-03-07 23:22:26 +00:00
skrll
62a29c0742 No need to provide a Scrt0.o for PIE as crt0.o is PIC 2014-03-07 21:15:49 +00:00
christos
b8f0a3c0e7 change CC to HOST_CC to avoid trying to find <stdarg.h> in an unpopulated
DSTDIR.
2014-03-07 18:37:48 +00:00
matt
a151e62066 Fix (back into) comment 2014-03-07 05:51:44 +00:00
matt
04aa645771 Use new elf32ppc_nbsd emulation. 2014-03-07 05:49:53 +00:00
matt
7412f6d60a Fix MULTILIB variables to match reality. 2014-03-07 04:15:34 +00:00
matt
7e9f53e082 WCHAR_SIZE is always int on NetBSD 2014-03-07 04:14:30 +00:00
matt
b24a2a16b7 Add support for setting LIB_PATH for powerpc*-netbsd* on powerpc64*-netbsd* 2014-03-07 04:13:46 +00:00
ozaki-r
e9ddbe399c Fix build of DTrace with GCC 4.8
Use __diagused for a variable which is only referred by KASSERT.

Advised by matt@
2014-03-07 02:37:16 +00:00
christos
4044532ae0 fix incorrect overflow test: https://android-review.googlesource.com/#/c/50570/ 2014-03-07 01:04:29 +00:00
skrll
851c716c49 Re-run mknative for hppa space register convention change. twice! 2014-03-06 19:07:13 +00:00
skrll
1b5cff8f1d Move to a flat space register convention. %sr[4-7] are all now the space
number allocated to the process.  gcc produces (slightly) better code
with this convention.

Retain backwards compatiblity.

Welcome to 6.99.36
2014-03-06 19:02:58 +00:00
matt
b2757928d7 If marking a shared image TEXTREL, print out a warning about the section
that caused it.
2014-03-06 09:33:14 +00:00
christos
76024df3a5 bid the libtool.m4 lossage. 2014-03-06 02:12:56 +00:00
matt
d14b4899e6 Don't include corelow.o and solib.o the {powerpc,sh3}*-netbsd cases since
those are provided by Makefile.in.  This allows MKCROSSGDB to build again
for powerpc.
2014-03-05 23:08:58 +00:00
tron
0e150de4df Remove automatically generated file "libgcc-std.ver" while cleaning. 2014-03-05 21:38:59 +00:00
tron
64f116ed07 Get GCC 4.8 closer to build with "USE_SSP" set to "yes". 2014-03-05 21:37:02 +00:00
christos
806892a224 move it to something that does not confuse cvs 2014-03-05 20:37:11 +00:00
tron
f7ff511838 Fix build of DTrace with GCC 4.8. 2014-03-05 20:14:15 +00:00
tron
3c4e02c654 Fix build with "USE_SSP" set to "yes".
Problem reported by B Harder on "current-users" mailing list.
2014-03-05 16:18:41 +00:00
ozaki-r
f6c17acba3 Add cyclic_machdep.c for ARM
The code is still almost same as i386's one.
2014-03-05 06:35:44 +00:00
ozaki-r
bee7b32afb Add defined(__arm__) 2014-03-05 06:12:00 +00:00
ozaki-r
9d2dfffd73 Use native atomic function instead of DTrace's own one
So we don't need to implement it for each architecture.

This change is from FreeBSD (not as-is though).
2014-03-05 06:06:42 +00:00
ozaki-r
7ee4c5ecd0 Fix dtrace_cas32 logic
- compare with cmp, not new
- return old value
2014-03-05 03:09:17 +00:00
ozaki-r
1bf04388c3 Use uint32_t instead of u_int32_t 2014-03-05 02:00:24 +00:00
mrg
cbd3ef8c8a mknative-gcc for GCC 4.8 and coldfire. 2014-03-05 00:14:50 +00:00
mrg
79269683ba coldfire does not want m68k/t-floatlib.
enable powerpc*-netbsd* -- ie, match ppc64.
2014-03-05 00:13:41 +00:00
mrg
bc1bc906ca partial mknative-gcc for gcc 4.8 and ppc64. 2014-03-04 21:07:38 +00:00
joerg
1e03b295f8 Update build glue for LLVM/Clang r202566. News:
- match ARM CPU default of GCC
- better support for SPARC64
- type checkings for abs/fabs
- null pointer checks against struct member
- various other improvements
2014-03-04 21:05:05 +00:00
joerg
f7ecfbd2ed Import LLVM 3.5svn r202566. 2014-03-04 20:49:27 +00:00
joerg
0b1d2313d3 Import LLVM 3.5svn r202566. 2014-03-04 20:32:45 +00:00
joerg
83820d9427 Import Clang 3.5svn r202566. 2014-03-04 19:53:10 +00:00
joerg
985bd56043 Import Clang 3.5svn r202566. 2014-03-04 19:41:04 +00:00
mrg
bf58d1e73a forgotten mknative-gcc 4.8 for mips64el. 2014-03-04 13:47:32 +00:00
ozaki-r
07efccf499 Add missing END for each function 2014-03-04 11:07:40 +00:00
ozaki-r
bc132bbc2a Get rid of unused variable definition za from mount.h
There is no user for it. Even worse, it breaks dtrace build for arm.
2014-03-04 09:24:42 +00:00
mrg
354055da20 bump local pkg version. 2014-03-04 09:16:04 +00:00
mrg
fe6ccc8ae5 don't look for po/Makefile. 2014-03-04 09:12:09 +00:00
mrg
b5a718ea7b mknative-gcc 4.8 for most platforms. missing: ppc64, m68010, ia64, coldfire. 2014-03-04 08:56:52 +00:00
mrg
c9d652c862 include dbxelf.h elfos.h freebsd-spec.h rs6000/sysv4.h netbsd.h
and netbsd-elf.h on powerpc64-netbsd.

port netbsd64.h forward from GCC changes.  (it's a pity that
a vast portion of linux64.h isn't in some common header that
netbsd64.h and freebsd64.h could also used.  there's 100s of
lines of copypasta here, oh well.)
2014-03-04 08:43:12 +00:00
ozaki-r
ad5eab92b9 Fix wrong conditional statement in dtrace_debug_output
Reported in PR kern/48547 by ozaki-r.
2014-03-04 03:20:49 +00:00
mrg
5047c1c416 apply netbsd not rebuilding to mips-tables.opt; fixes r/o src builds. 2014-03-03 21:01:40 +00:00
jmmv
ba38cec1e2 Avoid running a helper program for atf-sh as a test.
Should fix failures observed in PR bin/48624.
2014-03-03 19:56:32 +00:00
mrg
e76a6f196c merge GCC r208254. 2014-03-03 03:28:55 +00:00
mrg
3002e98e60 import GCC 4.8.3 at r208254. these GCC PRs are fixed since r206687:
c++/37140 c++/41174 c++/54652 c++/55800 c++/57043 c++/57524 c++/57899
c++/58466 c++/58504 c++/58606 c++/58632 c++/58639 c++/58672 c++/58812
c++/58814 c++/58835 c++/58837 c++/58845 c++/58873 c++/58965 c++/59097
c++/59224 c++/59646 c++/59838 c++/59989 c++/60046 c++/60108 c++/60146
c++/60182 c++/60187 c++/60216 c++/60219 c++/60248 c++/60272 c++/60274
c/59891 driver/60233 ipa/55260 libgcc/60166 middle-end/58809 middle-end/59860
middle-end/60004 middle-end/60221 middle-end/60291 objc/56870 other/56653
rtl-optimization/57422 rtl-optimization/60116 target/55426 target/57896
target/58710 target/59142 target/59379 target/59462 target/59695 target/59718
target/59777 target/59794 target/59826 target/59880 target/60017 target/60193
target/60207 tree-optimization/59903 tree-optimization/60115
tree-optimization/60183 tree-optimization/60276
2014-03-03 02:42:38 +00:00
christos
0d8247f549 Don't core-dump if a type cannot be resolved. Still gives an error. 2014-03-03 00:09:52 +00:00
jmmv
285456ed54 Fix bundling of the atf version into pkgconfig files and atf-version.
Sigh; one more attempt.  This time I'm sure I've verified that the
.pc files contain the right number and that atf-version also outputs
the right stuff...  Both with a clean and non-clean obj directory.

Should fix part of the problems reported in PR bin/48624.
2014-03-02 22:50:13 +00:00
mrg
0788cf0c43 - set DIST based upon EXTERNAL_GCC_SUBDIR
- set GNUHOSTDIST
- move gthr-default.h to BUILDINCS, and add glue to add it to COPYHEADERS
- adjust COPYHEADERS to cope with files outside of dist/libstdc++-v3/.
2014-03-02 04:31:53 +00:00
mrg
aebfe59c86 rearrange the code to copy renamed files to have more explicit paths. 2014-03-02 03:47:57 +00:00
mrg
6fed287581 delete files we know the source of and don't need to collect with
mknative anymore.
2014-03-02 03:16:20 +00:00
christos
752e86217f fix indentation 2014-03-01 22:53:11 +00:00
christos
a65528eb10 remove blank line 2014-03-01 22:52:19 +00:00
christos
dedba65ce7 fix indentation 2014-03-01 22:49:49 +00:00
mrg
edba7f6736 add a caveat about a construct in this makefile:
# XXX these rules don't always work if the ${.TARGET} ends up being the
#     copy in ../../arch/$arch/ and that version is older.  (but will
#     only break read-only source builds.)
2014-03-01 22:49:43 +00:00
christos
1f9947ec5c fix indentation 2014-03-01 22:45:32 +00:00
christos
001b5d71b5 remove local init 2014-03-01 22:43:35 +00:00
christos
0a9fbeb5aa put back init that got accidentally removed. 2014-03-01 22:42:46 +00:00
christos
6563301284 remove local init stuff 2014-03-01 22:41:50 +00:00
mrg
f2a2d440c1 revert the previous; it doesn't work. 2014-03-01 21:03:01 +00:00
tsutsui
ac4c90f708 Enable "SUBDIR+=netbsd/x68k" if ${XSERVER_X68K} != "no".
Now we've got it after this glue Makefile was initially added back in 2008.
2014-03-01 19:45:29 +00:00
tsutsui
31f3a188ec Add a reachover Makefile to build X11R7'fied MD X68k server.
See my post on port-x68k@ for details:
http://mail-index.netbsd.org/port-x68k/2014/02/27/msg000043.html
2014-03-01 19:39:03 +00:00
dsl
6a3f865843 Add missing #endif 2014-03-01 12:12:57 +00:00
roy
7c6da338a5 Sync 2014-03-01 11:04:21 +00:00
roy
4595db4b43 Import dhcpcd-6.3.1 with the following changes
* all issuses reported by clang static analyser have been resolved.
2014-03-01 11:00:41 +00:00
mrg
63a98c9a0a convert BUILDSYMLINKS to INCSNAME_*. one less step to take. 2014-03-01 10:28:02 +00:00
mrg
49d8c9ecf4 merge GCC 4.8 build. 2014-03-01 10:00:31 +00:00
mrg
6ae4e21064 merge gcc 4.8.2 r206687 (part 3). 2014-03-01 09:44:50 +00:00
mrg
19d950f76d merge gcc 4.8.2 r206687 (part 3). 2014-03-01 09:26:00 +00:00
mrg
d77920ccb7 merge gcc 4.8.2 r206687 (part 2). 2014-03-01 09:04:12 +00:00
mrg
23da6d05af merge gcc 4.8.2 r206687 (part 1). 2014-03-01 08:58:28 +00:00
mrg
48fb7bfab7 import GCC 4.8 branch at r206687.
highlights from: http://gcc.gnu.org/gcc-4.6/changes.html

   GCC now has stricter checks for invalid command-line options
   New -Wunused-but-set-variable and -Wunused-but-set-parameter
      warnings
   Many platforms have been obsoleted
   Link-time optimization improvements
   A new switch -fstack-usage has been added
   A new function attribute leaf was introduced
   A new warning, enabled by -Wdouble-promotion
   Support for selectively enabling and disabling warnings via
      #pragma GCC diagnostic has been added
   There is now experimental support for some features from the
      upcoming C1X revision of the ISO C standard
   Improved experimental support for the upcoming C++0x ISO C++
      standard
   G++ now issues clearer diagnostics in several cases
   Updates for ARM, x86, MIPS, PPC/PPC64, SPARC
   Darwin, FreeBSD, Solaris 2, MinGW and Cygwin now all support
      __float128 on 32-bit and 64-bit x86 targets. [*1]

highlights from: http://gcc.gnu.org/gcc-4.7/changes.html

   The -fconserve-space flag has been deprecated
   Support for a new parameter --param case-values-threshold=n
      was added
   Interprocedural and Link-time optimization improvements
   A new built-in, __builtin_assume_aligned, has been added
   A new warning option -Wunused-local-typedefs was added
   A new experimental command-line option -ftrack-macro-expansion
      was added
   Support for atomic operations specifying the C++11/C11 memory
      model has been added
   There is support for some more features from the C11 revision
      of the ISO C standard
   Improved experimental support for the new ISO C++ standard,
      C++11
   Updates for ARM, x86, MIPS, PPC/PPC64, SH, SPARC, TILE*
   A new option (-grecord-gcc-switches) was added

highlights from: http://gcc.gnu.org/gcc-4.8/changes.html

   GCC now uses C++ as its implementation language.  This means
      that to build GCC from sources, you will need a C++
      compiler that understands C++ 2003
   DWARF4 is now the default when generating DWARF debug
      information
   A new general optimization level, -Og, has been introduced
   A new option -ftree-partial-pre was added
   The option -fconserve-space has been removed
   The command-line options -fipa-struct-reorg and
      -fipa-matrix-reorg have been removed
   Interprocedural and Link-time optimization improvements
   AddressSanitizer, a fast memory error detector, has been
      added  [*2]
   A new -Wsizeof-pointer-memaccess warning has been added
   G++ now supports a -std=c++1y option for experimentation
      with features proposed for the next revision of the
      standard, expected around 2014
   Improved experimental support for the new ISO C++ standard,
      C++11
   A new port has been added to support AArch64
   Updates for ARM, x86, MIPS, PPC/PPC64, SH, SPARC, TILE*


[*1] we should support this too!
[*2] we should look into this.
     https://code.google.com/p/address-sanitizer/
2014-03-01 08:41:18 +00:00
christos
93e69cc3fd resolve conflicts; undo many local changes that have been done upstream
differently.
2014-03-01 03:24:32 +00:00
christos
83a8544b1b Introduction
BIND 9.10.0b1 is the first beta development release of BIND 9.10,
   a new branch of BIND 9.

   This document summarizes features added or significantly changed
   since the previous major release, BIND 9.9. Items that were not
   in the previous development release, BIND 9.10.0a2, are marked
   with asterisks (**). Bug fixes since the previous development
   release are also summarized.

   Please see the CHANGES file in the source code release for a
   complete list of all changes.

Download

   The latest versions of BIND 9 software can always be found on
   our web site at http://www.isc.org/downloads/. There you will
   find additional information about each release, source code, and
   pre-compiled versions for Microsoft Windows operating systems.

Support

   Professional support is provided by Internet Systems Consortium,
   Inc., doing business as DNSco.  Information about paid support
   options is available at http://www.dns-co.com/solutions/.  Free
   support is provided by our user community via a mailing list.
   Information on all public email lists is available at
   https://www.isc.org/community/mailing-list/.

New Features

   DNS Response-rate limiting (DNS RRL), which blunts the impact
   of reflection and amplification attacks, is always compiled in
   and no longer requires a compile-time option to enable it.

   An experimental "Source Identity Token" (SIT) EDNS option is now
   available.  Similar to DNS Cookies (as invented by Donald Eastlake
   III and described in draft-eastlake-dnsext-cookies-04), these
   are designed to enable clients to detect off-path spoofed
   responses, and to enable servers to detect spoofed-source queries.
   Servers can be configured to send smaller responses to clients
   that have not identified themselves using a SIT option, reducing
   the effectiveness of amplification attacks.  RRL processing has
   also been updated: clients proven to be legitimate via SIT are
   not subject to rate limiting.  Use "configure --enable-sit" to
   enable this feature in BIND 9.  [RT #35389]  **

   A new zone file format, "map", stores zone data in a format that
   can be mapped directly into memory, allowing significantly faster
   zone loading. [RT #25419]

   "delve" (domain entity lookup and validation engine) is a new
   tool with dig-like semantics for looking up DNS data and performing
   internal DNSSEC validation.  This allows easy validation in
   environments where the resolver may not be trustworthy, and
   assists with troubleshooting of DNSSEC problems. (Note: not yet
   available on Windows.) [RT #32406] **

   The new "prefetch" option can improve recursive resolver
   performance: when it is in use, cache records that are still
   being requested by clients will automatically be refreshed from
   the authoritative server before they expire, reducing or eliminating
   the time window in which no answer is available in the cache.
   [RT #35041]

   Improved EDNS processing allows better resolver performance and
   reliability over slow or lossy connections. [RT #30655]

   Substantial improvements have been made in response-policy zone
   (RPZ) performance.  Up to 32 response-policy zones can now be
   configured.  Performance loss due to adding additional RPZs is
   minimal.

   RPZ now allows response policies to be configured based on the
   IP address of the client.

   ACLs can now be specified based on geographic location using the
   MaxMind GeoIP databases. Use "configure --with-geoip" to enable
   this feature in BIND 9. Thanks to Ken Brownfield for the
   contribution. [RT #30681]

   The version 3 XML schema for the statistics channel, including
   new statistics and a flattened XML tree for faster parsing, is
   no longer optional. The version 2 XML schema is now deprecated.
   [RT #30023]

   Improvements have been made to the XSL stylesheet used for XML
   statistics: The stylesheet can now be cached by the browser;
   section headers are omitted when the sections have no data to
   display; counter readability has been improved. Also, broken-out
   subgroups of XML statistics (server, zones, net, tasks, mem, and
   status) can now be requested. Thanks to Timothe Litt for the
   assistance.  [RT #35115] [RT #35117]

   The statistics channel can now provide data in JSON format as
   well as XML.

   Per-zone stats counters have been added to track TCP and UDP
   queries. [RT #35375] **

   Server-wide stats counters have been added to track EDNS options
   received. [RT #35447] **

   The new "in-view" zone option allows zone data to be shared
   between views, so that multiple views can serve the same zones
   authoritatively without storing multiple copies in memory. [RT #32968]

   A new compile-time option, "configure --enable-native-pkcs11",
   allows the BIND 9 cryptography functions to use the PKCS#11 API
   natively, so that BIND can drive a cryptographic hardware service
   module (HSM) directly instead of using a modified OpenSSL as an
   intermediary.  This has been tested with the Thales nShield HSM
   and with SoftHSMv2 from the OpenDNSSEC project. [RT #29031]

   When re-signing a zone, the new "dnssec-signzone -Q" option drops
   signatures from keys that are still published but are no longer
   active. Thanks to Pierre Beyssac for the contribution.  [RT #34990]

   New options have been added to "dnssec-coverage": -z and -k
   indicate whether to limit coverage checks to ZSK's or KSK's, and
   -l limits coverage checking to a specified duration.  Thanks to
   Peter Palfrader for the contribution. [RT #35168]

   "named-checkconf -px" will print the contents of configuration
   files with the shared secrets obscured, making it easier to share
   configuration (e.g. when submitting a bug report) without revealing
   private information. [RT #34465]

   Added a "no-case-compress" ACL, which causes "named" to use
   case-insensitive compression for specified clients. This is
   useful when dealing with broken client implementations that use
   case-sensitive name comparisons, rejecting responses that fail
   to match the capitalization of the query that was sent.

   "named" now preserves the capitalization of names when responding
   to queries: for instance, a query for "example.com" may be
   answered with "example.COM" if the name was configured that way
   in the zone file.  Some clients have a bug causing them to depend
   on the older behavior, in which the case of the answer always
   matched the case of the query, rather than the case of the name
   configured in the DNS.  Such clients can now be specified in the
   new "no-case-compress" ACL; this will restore the older behavior
   of "named" for those clients only. [RT #35300] **

   On operating systems that support routing sockets, including Mac
   OSX, *BSD and Linux, network interfaces are re-scanned automatically
   whenever they change.  Use "automatic-interface-scan no;" to
   disable this feature. [RT #23027] **

   Added "rndc scan" to trigger an interface scan manually. [RT #23027] **

   A new compile-time option, "configure --with-tuning=3Dlarge", tunes
   various compiled-in constants and default settings to values
   suited to large servers with abundant memory. This can improve
   performance on such servers, but will consume more memory and
   may degrade performance on smaller systems. [RT #29538] **

   The new "max-zone-ttl" option enforces maximum TTLs for zones.
   If loading a zone containing a higher TTL, the load fails. DDNS
   updates with higher TTLs are accepted but the TTL is truncated.
   (Note: Currently supported for master zones only; inline-signing
   slaves will be added.) [RT #38405] **

   Added a new "dig +subnet" option to send an EDNS CLIENT-SUBNET
   option (as described in draft-vandergaast-edns-client-subnet-02)
   containing the specified address/prefix when querying. Thanks
   to Wilmer van der Gaast for the contribution. [RT #35415] **

   Partially implemented the EDNS EXPIRE option (as described in
   draft-andrews-dnsext-expire-00).  "dig +expire" sends an EXPIRE
   option when querying.  When this option is sent with an SOA query
   to a slave zone running on a server that supports the option,
   the response will report the time until the slave zone expires.
   EXPIRE uses an experimental option code (65002), which is subject
   to change when a permanent code is assigned by IANA. [RT #35416] **

   Multiple DLZ databases can now be configured, and are searched
   in order to find one that can answer an incoming query.  Individual
   zones can now be configured to be served from a specific DLZ
   database.  DLZ databases can serve zones of type "master" and
   "redirect".

   "named-checkzone" and "named-compilezone" can now read journal
   files, allowing them to process dynamic zones without the zones
   needing to be frozen first.

   The "rndc" command now supports new key algorithms in addition
   to HMAC-MD5, including HMAC-SHA1, -SHA224, -SHA256, -SHA384, and
   -SHA512.  The -A option to rndc-confgen can be used to select
   the algorithm for the generated key. (The default is still
   HMAC-MD5; this may change in a future release.) [RT #20363]

   The internal and export versions of the BIND libraries (libisc,
   libdns, etc) have been unified so that external library clients
   can use the same libraries as BIND itself. [RT #33131]

   Added a "Configure" script for Windows to simplify enabling or
   disabling optional features. All versions of Visual Studio up
   to 2013 are now supported, and support has been added for 64-bit
   builds. Zip files containing pre-compiled 64-bit versions of
   BIND 9 are now included with releases. [RT #34160] **

   "rndc zonestatus" reports information about a specified zone.

   "named" now listens on IPv6 as well as IPv4 interfaces by default.

Feature Changes

   The default setting for the -U option (setting the number of UDP
   listeners per interface) has been adjusted to improve performance.
   [RT #35417] **

   Updated zkt and nslint in the contrib directory to the newest
   versions: zkt 1.1.2 and nslint-3.0a2. **

   The isc_bitstring API is no longer used and has been removed
   from the libisc library. [RT #35284] **

   The word "never" can now be used as a synonym for "none" when
   configuring key event dates in the dnssec tools.  [RT #35277]
   **

   The new libiscpk11 library, introduced in the previous development
   release to support native PKCS#11, has been merged into libisc
   to simplify dependencies. [RT #35205] **

   Documentation of native PKCS#11 has been expanded, specifically
   to describe the new pkcs11: URI format used in key labels. [RT #35287] *=
*

   The Windows installer now places files in the Program Files area
   rather than system services. [RT #35361] **

   The timestamps included in RRSIG records can now be read as
   integers indicating the number of seconds since the UNIX epoch,
   in addition to being read as formatted dates in YYYYMMDDHHMMSS
   format. [RT #35185]

   The irs_resconf_load() function, used for reading /etc/resolv.conf,
   now returns ISC_R_FILENOTFOUND when the file is missing or
   unreadable.  However, it will still initialize an irs_resconf
   structure as if the file had been configured with nameservers
   at the IPv4 and IPv6 localhost addresses.  Existing code that
   uses irs_resconf_load() will need to be updated to treat
   ISC_R_FILENOTFOUND as a qualified success, or it may leak memory
   due to treating the result as a failure even though an irs_resconf
   structure was allocated; see CHANGES for sample C code that
   implements the correct behavior [RT #35194]

Bug Fixes

   "dnssec-keygen" could set the publication date incorrectly when
   only the activation date was specified on the command line. [RT #35278]

   Fixed a type mismatch causing the ODBC DLZ driver to dump core
   on 64-bit systems. [RT #35324]

   Improved building with libtool. [RT #35314]

   When a server is specified by name in "nsupdate", all addresses
   for that name will be tried before giving up.  Previously, if
   the first address for the server name was not reachable the
   update would fail. [RT #25784]

   Fixed an assertion failure caused by using "rndc retransfer"
   with inline-signing zones. [RT #35353]

   Fixed a build failure from using "./configure --enable-openssl-hash".
   [RT #35343]

   The "delegation-only" flag now works in zones of type "forward".
   (This had previously been documented to work, but this was
   actually rejected by the configuration parser.)  [RT #35392]

   Fixed a race condition which could lead to a core dump when
   destroying a resolver fetch object. [RT #35385]

   Addressed a potential REQUIRE failure that could occur when
   printing out an rdataset using a format that includes comment
   data.

   The "allow-notify" ACL formerly ignored TSIG keys; this has been
   corrected. [RT #35425]

   Fixed an uninitialized pointer in log.c that could potentially
   have caused a core dump on some platforms. [RT #35260]

Thank You

   Thank you to everyone who assisted us in making this release
   possible. If you would like to contribute to ISC to assist us
   in continuing to make quality open source software, please visit
   our donations page at http://www.isc.org/donate/.

(c) 2001-2014 Internet Systems Consortium
2014-02-28 17:40:04 +00:00
joerg
f866147165 offs_from_utc is known to be small, so explicitly cast it to int. 2014-02-27 18:12:41 +00:00
joerg
39ea0713df Use abs for difference of integers. 2014-02-27 18:12:11 +00:00
joerg
7088bf673b Use labs for long arguments and fabs for double ones. 2014-02-27 18:11:41 +00:00
joerg
f95f4dd350 time_t is larger than int, so don't use abs. 2014-02-27 18:11:04 +00:00
joerg
937ce279d6 Timestamps can be quite large, so use llabs. 2014-02-27 17:42:23 +00:00
mrg
6095fc3e45 re-import GCC 4.5* with latest fixes to build as gcc.old.
should be the last time we need to do this.
2014-02-27 09:11:34 +00:00
mrg
da20665cd1 fix some paths. 2014-02-27 09:08:49 +00:00
martin
2475eadfda Explicitly remove .note.netbsd.mcmodel sections (eroneously generated
on sparc64 during intermediate linking)
2014-02-27 09:05:08 +00:00
mrg
1d17fc7d57 fix another dated DIST. 2014-02-27 07:35:04 +00:00
mrg
ab9e33f305 delete 'difz' as well, in case i've left it.
XXX: consider running 'cvs up -dPA -I\! -I.CVS -ICVS' first?
2014-02-26 22:29:40 +00:00
mrg
076dfc8240 oops, avoid re-setting DIST to something that might be wrong now. 2014-02-26 22:27:10 +00:00
mrg
9fa1c2f8d5 oops, did not mean to commit this. 2014-02-26 22:04:17 +00:00
mrg
8c809a251b fix a typo (from cegger)
fix the date call (from tn)
2014-02-26 21:18:14 +00:00
christos
884d1bf4a2 powerpc64 support. 2014-02-26 15:35:05 +00:00
christos
8bd2f7ae4f powerpc64 support 2014-02-26 15:34:23 +00:00
mrg
6acb51a6d4 update gcc.old from GCC 4.5 versions that build with EXTERNAL_GCC_SUBDIR,
should be identicaly for the 'dist' subdir.
2014-02-26 10:56:10 +00:00
mrg
7c65b26638 script to copy gcc to gcc.old, ready for importing. 2014-02-26 10:50:23 +00:00
mrg
afa90f2bf5 prepare for moving GCC 4.5 into gcc.old:
- convert to using ${EXTERNAL_GCC_SUBDIR}
- define base-external-gpl3-gcc* subdir as GCC_SUBDIR
- use <bsd.init.mk> over <bsd.own.mk> for a bunch of places; mostly
  because it arranges for ../Makefile.inc to be included earlier, and
  don't bother including the latter if the former is already included.
- move all .PATH: settings after <bsd.{own,lib}.mk> so that all
  valid variables are set before it is evaluated
- rename mknative-gcc* to match their subdir name.

XXX the relationship between the Makefile.inc/Makefile.gcc_path files
    is kind of sketchy, it would be great if this was fixed.
2014-02-26 09:54:32 +00:00
christos
08ee8ae311 regen powerpc64 2014-02-26 03:11:37 +00:00
mrg
07ece4eabb import the -current GCC 4.5 sources as gcc.old in preparation for
upgrading the normal GCC to 4.8.

this tree has had ChangeLog entries removed, as well as all the
other components we delete, and "only" weighs in around 140MB now.
2014-02-25 18:38:34 +00:00
roy
41cab36847 Build with FORTIFY_SOURCE 2014-02-25 14:10:09 +00:00
roy
edb7c05f00 Sync 2014-02-25 13:20:23 +00:00