Commit Graph

4624 Commits

Author SHA1 Message Date
christos 69888ff8ec regen ppc64 2014-06-23 02:14:38 +00:00
christos d1fefe4bb6 regen hppa and sgimips 2014-06-23 01:04:36 +00:00
christos a362d64092 even more detailed logging 2014-06-23 01:00:48 +00:00
christos 78ce218af9 merge changes, partial regen. 2014-06-22 23:52:57 +00:00
christos 03467a24ff ChangeLog:
2013-12-19  Keven Boell  <keven.boell@intel.com>

	* cp-namespace.c (cp_lookup_nested_symbol): Enable
	nested lookups for fortran modules.
	* dwarf2read.c (read_module): Add fortran module to
	the symbol table.
	(add_partial_symbol, add_partial_module): Add fortran
	module to the partial symbol table.
	(new_symbol_full): Create full symbol for fortran module.
	* f-exp.y (yylex): Add new module domain to be parsed.
	* symtab.h: New domain for fortran modules.

2013-12-19  Keven Boell  <keven.boell@intel.com>

	* f-exp.y (yylex): Add domain array to enable lookup
	in multiple domains. Loop over lookup domains and try
	to find requested symbol. Add STRUCT_DOMAIN to lookup
	domains to be able to query for user defined types.

2013-12-13  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>

	* configure.ac: Add user-friendly check for native x86_64-linux
	multilibs.
	* configure: Regenerate.

2013-11-23  Alan Modra  <amodra@gmail.com>

	* config.sub, config.guess: Import from upstream.

2013-11-07  Thomas Schwinge  <thomas@codesourcery.com>

	* Makefile.in: Regenerate.

	* Makefile.tpl: Fix typo.
	* Makefile.in: Regenerate partially.

2013-11-04  Balaji V. Iyer  <balaji.v.iyer@intel.com>

	* configure.ac: Added libcilkrts to noconfig list when C++ is not
	supported.
	* configure: Regenerated.

2013-10-30  Jason Merrill  <jason@redhat.com>

	* Makefile.tpl (STAGE1_CONFIGURE_FLAGS): Pass
	--disable-build-format-warnings.

2013-10-29  Balaji V. Iyer  <balaji.v.iyer@intel.com>

	* Makefile.def: Add libcilkrts to target_modules.  Make libcilkrts
	depend on libstdc++ and libgcc.
	* configure: Regenerate.
	* configure.ac: Added libcilkrts to target binaries.  Also, restrict
	libcilkrts for POSIX and i*86, and x86_64 architectures.
	* Makefile.in: Added libcilkrts related fields to support building it.

2013-10-26  Jeff Law  <law@redhat.com>

	* Makefile.def (target_modules): Remove libmudflap
	(languages): Remove check-target-libmudflap).
	* Makefile.in: Rebuilt.
	* Makefile.tpl (check-target-libmudflap-c++): Remove.
	* configure.ac (target_libraries): Remove target-libmudflap.
	Remove checks which disabled libmudflap on some systems.
	* configure: Rebuilt.
	* libmudflap: Directory removed.

2013-10-16  Jan-Benedict Glaw  <jbglaw@lug-owl.de>

	* configure.ac: Update from GCC.
	* configure: Regenerate.

2013-10-15  Hans-Peter Nilsson  <hp@axis.com>

	* src-release (do-proto-toplevel): Support subdir-path-prefixed
	files in SUPPORT_FILES.
	(SIM_SUPPORT_DIRS): New variable.
	(sim.tar.bz2): New rule.

2013-10-08  Jan-Benedict Glaw  <jbglaw@lug-owl.de>

	* configure.ac: Update from GCC.
	* configure: Regenerate.

2013-10-01  Jeff Johnston  <jjohnstn@redhat.com>

	* COPYING.NEWLIB: Update with new copyright.

2013-09-21  Jan-Benedict Glaw  <jbglaw@lug-owl.de>

	* configure.ac: Update from GCC.
	* configure: Regenerate.

2013-09-20  Alan Modra  <amodra@gmail.com>

	* libtool.m4 (_LT_ENABLE_LOCK <ld -m flags>): Remove non-canonical
	ppc host match.  Support little-endian powerpc linux hosts.

2013-08-16  Joel Brobecker  <brobecker@adacore.com>

	* src-release (VER): When using $(TOOL)/common/create-version.sh,
	strip the "-cvs" suffix from the version number if present.

2013-08-12  Jan-Benedict Glaw  <jbglaw@lug-owl.de>

	* configure.ac: Sync with GCC repo.
	* Makefile.def: Ditto.
	* configure: Regenerate.
	* Makefile.in: Ditto.

2013-07-22  Joel Brobecker  <brobecker@adacore.com>

	* src-release (VER): Use $(TOOL)/common/create-version.sh
	if it exists.

2013-06-22  Richard Sandiford  <rdsandiford@googlemail.com>

	* configure.ac (mips*-*-bsd*, mips*-*-ultrix*, mips*-*-osf*)
	(mips*-*-ecoff*, mips*-*-pe*, mips*-*-irix* [v4 and earlier])
	(mips*-*-lnews*, mips*-*-riscos*): Add gas and ld to noconfigdirs.
	* configure: Regenerate.

2013-06-01  George Thomas <george.thomas@atmel.com>

	* include/opcode/avr.h: Rename AVR_ISA_XCH to AVR_ISA_RMW. Remove
	from AVR_ISA_XMEGA and add new AVR_ISA_XMEGAU

2013-05-06  Sandra Loosemore  <sandra@codesourcery.com>

	* COPYING.NEWLIB: Add Altera Corporation copyright.

2013-04-29  Jan-Benedict Glaw  <jbglaw@lug-owl.de>

	* config.guess: Update from config repo.
	* config.sub: Ditto.

2013-04-22  Jan-Benedict Glaw  <jbglaw@lug-owl.de>

	* Makefile.def: Sync with GCC.
	* Makefile.in: Regenerate.

2013-04-22  Jan-Benedict Glaw  <jbglaw@lug-owl.de>

	* configure.ac: Sync with GCC.
	* configure: Regenerate.

2013-03-22  Mike Frysinger  <vapier@gentoo.org>

	* src-release (VER): Change bfd/configure.in sed to use the new
	`bfd/configure --version` output.
2014-06-22 23:39:42 +00:00
dholland b30059e657 Log some actual information on various failures, so you can tell
what happened.
2014-06-21 04:33:53 +00:00
wiz 03f9b192f3 Update default pkgsrc font path references. 2014-06-20 08:08:58 +00:00
spz 0c0b9daba7 make sure we have a log message at the appropriate level (error) on
why pam is failing in the case of an included pam config file missing.

example: instead of logging with the default log settings:
Jun 17 08:49:37 tucana su: pam_start failed: system error
it will log:
Jun 17 08:55:49 tucana su: in openpam_parse_chain(): failed loading include for service gibbetnich in /etc/pam.d/su(15): No such file or directory
Jun 17 08:55:49 tucana su: pam_start failed: system error
2014-06-17 07:08:47 +00:00
christos 84b1233b4e From Darren Reed: #548 ipfstat hits a bus error on netbsd/sparc64 2014-06-16 12:37:58 +00:00
wiz c44302911e Sort options. Sort option descriptions. Add RCS Id.
New sentence, new line.
2014-06-15 19:41:04 +00:00
tls 8a7e793d06 Update pigz to 2.3.1 2014-06-15 17:53:19 +00:00
tls 3e407a68a6 pigz 2.3.1 2014-06-15 17:37:20 +00:00
roy 11fd74d7c7 Fix for dhcpcd-6.4.0 2014-06-14 21:00:22 +00:00
roy 1578cb1fcc Sync 2014-06-14 20:55:37 +00:00
roy a468f856ed Import dhcpcd-6.4.0 with the following changes:
*  Only fork when the RA has a RDNSS option AND a valid prefix OR no DHCPv6 instruction.
  *  Handle BSD per interface rtadv kernel flag.
  *  Add a reject route for the delegated prefix so that unassigned prefixes don't go back upstream.
  *  If not specified, Delegated Prefixes will get an automatic SLA of the interface index. If the biggest SLA and the assigned prefix fits into a /64 then dhcpcd creates a /64 prefix so that SLAAC works. If bigger than /64 is needed then dhcpcd creates one rounded upto the nearest multiple of 8. Unless a configured SLA of 0 is assigned, a reject route for the Delegated Prefix is installed to stop unassigned addresses trying to be resolved upstream. Addresses added from Delegated Prefixes now have a default address suffix of 1 instead of using a SLAAC style address.
  *  Don't spam timezone updates unless its actually changed.
  *  Support ND6_IFF_OVERRIDE_RTADV on BSD.
  *  Document why we don't send both FQDN and hostname options.
  *  Respect RFC4861 MAX_RTR_SOLICITATION_DELAY as specified in section 6.3.7.
  *  RFC2131 section 4.4.1 states the client SHOULD wait a random time between one and ten seconds to desynchronize the use of DHCP at startup. Instead we wait a random time between zero and one second to mirror the more modern IPv6RS and DHCPv6 standards unless overridden by defining RFC2131_STRICT.
  *  Always send a carrier as it's no longer encapsulated in the IPv4 stack. When stopping and not departed, run with the STOPPED reason but do not process it in hooks.
  *  Poll kernel neighbour reachability (SIOCGNBRINFO_IN6) for each router instead of sending and listening for Neighbour Soliciation/Advertisement packets. The kernel is privy to a lot more reachability information than userland is.
  *  Ensure that ND6_IFF_PERFORMNUD is set.
  *  controlgroup option changes group ownership of the control socket.
  *  Should use arc4random_uniform when wanting a randon number between 1 and N. Improve the compat arc4random function a little and re-stir on fork.
  *  -4 and -6 are now mutually exclusive and when running on a single interface per protocol pidfiles are created. This means that other control options suchs as -x and -n will require the -4 or -6 option as well.
  *  Implement Stable Private Addresses for SLAAC as per RFC7217. Enable this as default in dhcpcd.conf.
  *  Log error condition if a new or changed Router Advertisment to avoid spamming the log.
  *  Add an IPv6 link-local address before upping the interface if needed. Bring an interface up when we start it and not during discovery. As such, stop waiting on carrier for a second if we did.
  *  Add gateway option to enable the gateway or an interface/profile. Ensure the option and require options disable the nooption option - last wins.
  *  Restarting ntp/yp are not critical and their initialisation continues in the background as well so we may as well background the restart commands for faster dhcpcd performance.
2014-06-14 20:51:03 +00:00
mrg ac641cb906 remove remaining makefile support for GCC < 45 that i found. 2014-06-14 20:49:36 +00:00
joerg a1fef3e08e Initialise all fields. 2014-06-13 13:38:52 +00:00
christos 819e6405b7 merge conflicts 2014-06-13 02:08:06 +00:00
christos 012fd1339d import file-5.19
2014-06-09   9:04  Christos Zoulas <christos@zoulas.com>

	* Misc buffer overruns and missing buffer size tests in cdf parsing
	  (Francisco Alonso, Jan Kaluza)

2014-06-02  14:50  Christos Zoulas <christos@zoulas.com>

	* Enforce limit of 8K on regex searches that have no limits
	* Allow the l modifier for regex to mean line count. Default
	  to byte count. If line count is specified, assume a max
	  of 80 characters per line to limit the byte count.
	* Don't allow conversions to be used for dates, allowing
	  the mask field to be used as an offset.

2014-05-30  12:51  Christos Zoulas <christos@zoulas.com>

	* Make the range operator limit the length of the
	  regex search.

2014-05-14  19:23  Christos Zoulas <christos@zoulas.com>

	* PR/347: Windows fixes
	* PR/352: Hangul word processor recognition
	* PR/354: Encoding irregularities in text files

2014-05-06  6:12  Christos Zoulas <christos@zoulas.com>

	* Fix uninitialized title in CDF files (Jan Kaluza)

2014-05-04  14:55  Christos Zoulas <christos@zoulas.com>

	* PR/351: Fix compilation of empty files

2014-04-30  17:39  Christos Zoulas <christos@zoulas.com>

	* Fix integer formats: We don't specify 'l' or
	  'h' and 'hh' specifiers anymore, only 'll' for
	  quads and nothing for the rest. This is so that
	  magic writing is simpler.

2014-04-01  15:25  Christos Zoulas <christos@zoulas.com>

	* PR/341: Jan Kaluza, fix memory leak
	* PR/342: Jan Kaluza, fix out of bounds read

2014-03-28  15:25  Christos Zoulas <christos@zoulas.com>

	* Fix issue with long formats not matching fmtcheck
2014-06-13 01:48:18 +00:00
mrg 26f35dd6b6 remove the build support for GCC 4.1, and any hacks i found for it.
there could still be more -- i only looked for lines matching
both "HAVE_GCC" and "4" as words (grep -w.)
2014-06-13 01:17:45 +00:00
joerg ca8a9c6fc0 Fix build. 2014-06-12 22:15:25 +00:00
christos 10ed35f153 From Darren Reed:
This patch fixes "ipfstat" not displaying group rules and fixes problems
being able to remove individual rules using ipf/ipnat.

#547 rule parsing puts junk at the end of ipf rules
#546 ipfstat -io does not list rules in groups aside from 0

Due to unforeseen circumstances I'm not able to commit this myself.
2014-06-12 17:23:06 +00:00
wiz 5c327eed5f Add missing Nm section which was breaking makemandb indexing of the man page.
From Abhinav Upadhyay.
2014-06-10 11:36:41 +00:00
christos 98aafcec91 include relative to the parse directory. 2014-06-08 02:23:46 +00:00
matt ce9623f76a Fix a problem with reloading the inner reg of a subreg when it's a
mode dependent address.
2014-06-05 21:00:36 +00:00
wiz 5fcc88689f Also look in new pkgsrc default path, /usr/pkg/share/fonts.
Noted by tsutsui.
2014-06-05 10:45:39 +00:00
tron d734beeb2c Fix build with stack smash protection enabled. 2014-06-04 19:07:22 +00:00
matt 4ed1ab1100 Don't match an indexed address of the form val[reg]. 2014-06-04 16:11:32 +00:00
matt b870133566 Add some peepholes to help pushing of adjacent registers or memory locations
on the stack.  Add a peephole to translate two pushes on integers into
one push of a DImode register.
2014-06-03 22:34:28 +00:00
matt f8174f3ae5 Fix tpyo. 2014-06-03 22:31:48 +00:00
christos 175b819734 For consistency, handle REQUISITE modules the same way as we handle REQUIRED
and BINDING.
2014-06-03 20:22:54 +00:00
christos dab998a96b CVE-2014-3879: Incorrect error handling in PAM policy parser:
Missing module files were treated as soft failures leading to
unexpected behavior if policy files were copied between hosts with
differently installed modules or in the short period during upgrades
when module files were being replaced.
2014-06-03 20:21:32 +00:00
riastradh c1c5dda87a libdrm_intel needs libpciaccess (kinda spuriously, but whatever). 2014-06-03 13:51:52 +00:00
joerg b319e84295 Re-add -cxx-isystem and -iremap, lost in the GCC 4.8 transition. 2014-06-02 10:14:35 +00:00
mrg 2c6fc41c81 catch up with GCC_SUBDIR changes for new-to-gcc 4.8 directories. 2014-06-01 20:24:45 +00:00
mrg 5beaf704be port over 3 changes made here in the GCC 4.5 tree that we'll need
when GCC 4.8 becomes "gcc.old" eventually.

this tree still needs to be tested for more, but this should be the
bulk of the work.

----
Log Message:
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.

----
Log Message:
oops, avoid re-setting DIST to something that might be wrong now.

----
Log Message:
fix another dated DIST.
2014-06-01 19:51:01 +00:00
mrg d26da1a6c3 make sure that files containing version numbers are rebuilt when
the version actually changes.
2014-05-31 22:55:16 +00:00
joerg 0cfeec7c2c Mark files without llvm-209886 tag as dead. 2014-05-31 22:42:11 +00:00
joerg 7429e1daf1 Mark files without clang-209886 tag as dead. 2014-05-31 22:40:30 +00:00
christos 3ad0225b3d Add different defines to force weak pthread symbols.
XXX: I think these should be generated automatically.
XXX[2]: Why:
gthr-default.h -> $NETBSDSRCDIR/external/gpl3/gcc/dist/libgcc/gthr-posix.h
and wes still have old arch/*/gthr* files?
2014-05-31 20:09:15 +00:00
christos 9fc719f12e use weak symbols instead of linking against libpthread. 2014-05-31 14:03:08 +00:00
joerg 7632431698 Switch eARM to using normal DWARF exception handling. 2014-05-30 18:31:31 +00:00
joerg b1bb3099bf Update build system for LLVM/Clang snapshot r209886. This brings in the
merged AArch64 backend and the move of eARM to DWARF exception handling
for NetBSD. C++11 is required for building.
2014-05-30 18:28:13 +00:00
joerg 571e46f85f Import Clang 3.5svn r209886. 2014-05-30 18:13:37 +00:00
joerg 4b590142ed Import LLVM 3.5svn r209886. 2014-05-30 18:09:54 +00:00
joerg 366c7b7f38 Import libc++ r209785. Fix a regression with std::bind exposed by recent
Clang improvements.
2014-05-30 11:39:48 +00:00
skrll f73bb013ae Remove unused files. 2014-05-29 16:28:26 +00:00
mrg 955b6c1f27 commonize the netbsd local version string. (the native one wasn't
updated, and now that won't be a problem again.)
2014-05-29 07:40:37 +00:00
mrg 1b1872cba4 make LINK_EH_SPEC match other usage. fixes powerpc build. 2014-05-29 07:05:10 +00:00
mrg 04408297e6 move the -std=gnu++0x code from Makefile to Makefile.common.
fixes the remaining 2/3 link issues.
2014-05-28 17:09:18 +00:00
mrg 271c711fb0 add -pthread to compiler/linker flags. fixes 1/3 of the link issues. 2014-05-28 16:41:06 +00:00
christos 2ef91ead3c CID 272959: NULL deref 2014-05-28 14:36:41 +00:00
tron 590e1f0cee Update for building OpenLDAP 2.4.39. 2014-05-28 11:32:19 +00:00
tron 4f4766a6be Re-generate after import of OpenLDAP 2.4.39. 2014-05-28 11:09:18 +00:00
tron 4385776513 Apply patch to fix CVE-2013-4449. This shouldn't be necessary as we don't
build the server or its plug-ins. But it is better to be safe in case
this changes.
2014-05-28 10:14:13 +00:00
tron cb54be06bf Resolve conflicts from last import. 2014-05-28 10:12:43 +00:00
tron d11b170b90 Import OpenLDAP version 2.4.39. The list of changes since version 2.4.23
is too long to put here (over 650 lines of changelog).
2014-05-28 09:58:17 +00:00
mrg a878343648 re-run mknative-gcc after threading fixes by skrll and myself. 2014-05-28 09:09:35 +00:00
mrg 295c54e235 apply patch from skrll@: allow netbsd host=target to configure
GLIBCXX_IS_NATIVE.
2014-05-28 07:03:27 +00:00
mrg 5b741f074a rerun mknative-gcc for GCC 4.8.3 release.
XXX:  still not 100% right, but we're getting close.
2014-05-28 06:54:48 +00:00
skrll 6fac5056c2 Resolve conflicts 2014-05-27 09:18:53 +00:00
skrll 9c8f586f64 Import gcc 4.8.3 which has 98 bugs fixed on gcc-4-8-3-pre-r208254 2014-05-27 08:50:03 +00:00
skrll 0f2e98845a Import gcc 4.8.3 which has 98 bugs fixed on gcc-4-8-3-pre-r208254 2014-05-27 08:39:52 +00:00
skrll 5f4cdc7d41 Import gcc 4.8.3 which has 98 bugs fixed on gcc-4-8-3-pre-r208254 2014-05-27 08:29:46 +00:00
christos 02cb0c6eaf Introduce a selector function to the vfs vnode iterator so that we don't
need to vget() vnodes that we are not interested at, and optimize locking
a bit. Iterator changes reviewed by Hannken (thanks), the rest of the bugs
are mine.
2014-05-24 16:34:03 +00:00
dholland 94efa53a98 PR toolchain/48833: Ilia Zykov: nvi build fails if under /common
When autogenerating headers from source (yuck) use a more selective
pattern to avoid selecting anything if part of the current absolute
path happens to match part of the nvi source tree.
2014-05-23 19:59:17 +00:00
matt bc43ee9904 Add LEGITIMATE_PIC_OPERAND_P(X) to prevent global symbol + offset from
being a legitimate pic operand (because it's not).
2014-05-23 13:35:26 +00:00
mrg c16f810189 apply -fimplicit-templates instead of forcing -O2. fix the
build fix on platforms that don't use -O2 by default, and
also enables building with -O0.
2014-05-16 09:36:51 +00:00
joerg 9b139c3c53 Remove some more CMakeLists.txt files. 2014-05-15 23:59:12 +00:00
joerg 534cb174a5 Import libcxxrt revision 4eb349088dda15d2de9a8c7b144c3f2d5f390269.
Restore support for 32bit architectures without 64bit CAS.
Support DWARF exception handling on ARM.
2014-05-15 23:56:01 +00:00
joerg e6132fe847 Import libc++ r208870. Improves const use, fixes a few cases of missing
assign-to-self support and increase support for GCC.
2014-05-15 23:53:10 +00:00
joerg 9af9cc70aa Skip assembler helpers when using HAVE_LIBGCC_EH=no. Always use the
generic unwind.h version in that case, even on ARM.
2014-05-15 14:37:08 +00:00
christos 21314e18fb When running as root and wanting to write a file and not having CAPNG, don't
drop privs, because we cannot open the file if we drop privs.
2014-05-13 20:29:59 +00:00
christos 02160989ff Don't die if we resize to smaller than Y_LINES. The display could do better,
but it recovers if we grow.
2014-05-13 20:06:41 +00:00
macallan c999b0e1d9 on mips64* use generic C functions instead of assembly routines when building
n32 binaries. Should work around PR48696
ok mrg@
2014-05-13 18:46:48 +00:00
martin 0b6a7ee607 Fix comment pointing at the source of the list of functions and add
two missing ones: _clrsbsi2 and _clrsbdi2
2014-05-03 16:43:10 +00:00
dogcow cd6db90cfd fix munged patch: xcompilation on linux/non-arm systems -> netbsd/arm works again. 2014-04-30 02:04:11 +00:00
christos 7081cf9a59 need bsd.own.mk 2014-04-28 21:56:20 +00:00
joerg 0af4f3b8a9 Don't use inline in C sources, it will certainly not work correctly with
a C99 compiler.
2014-04-26 22:38:09 +00:00
martin 17480df656 Pull up upstream revision 209789: remove the *ashlsi3_extend pattern.
This fixes gcc [Bug target/60941] and resolves a firefox crash for me.
2014-04-25 11:06:52 +00:00
christos 0b24109d1b make compilable from the kernel 2014-04-22 15:12:35 +00:00
christos c8ad22d607 Add fake atomic 64 ops for those who don't have them.
XXX: used to be arm, now it is also i386.
2014-04-22 15:02:38 +00:00
christos 538614fe8f Put back MKLINT=no for now
- unnamed unions [c99]
    - __builtin_offsetof [gcc]
    - typeof [gcc]
2014-04-21 21:57:03 +00:00
christos 2d59a755a9 Returning in the middle of a TRY_CATCH macro gives heartburns since the
jump buffer is not being reset.
2014-04-21 17:32:14 +00:00
apb 3ff1cdf566 Set ac_install_sh="$SHELL $ac_aux_dir/$ac_t -c"
instead of ac_install_sh="$ac_aux_dir/$ac_t -c"
in all configure scripts in the gcc.old/dist tree.
This ensures that the install-sh script is always run
under the correct shell.
2014-04-19 15:57:46 +00:00
apb 7f226bea47 Set ac_install_sh="$SHELL $ac_aux_dir/$ac_t -c"
instead of ac_install_sh="$ac_aux_dir/$ac_t -c"
in all configure scripts in the gcc/dist tree.
This ensures that the install-sh script is always run
under the correct shell.
2014-04-19 13:00:57 +00:00
apb 441c2cf2f8 Use $(SHELL) to run move-if-change. 2014-04-19 12:41:31 +00:00
wiz c07d6dcd59 At least event(3) looks better when passed through tbl(1), so set USETBL. 2014-04-19 08:03:21 +00:00
christos 903821805f lint has __alignof__ too. 2014-04-18 02:28:06 +00:00
maxv 23f76b6d00 An (un)privileged user can easily make the kernel dereference a NULL
pointer.

The kernel allows 'data' to be NULL; it's the fs's responsibility to
ensure that it isn't NULL (if the fs actually needs data).

ok christos@
2014-04-16 18:55:17 +00:00
christos 035ceafe9d It is not nice to fake things we don't have; instead check explicitly
that we can get CS.
2014-04-16 02:14:44 +00:00
christos 07009f7010 take constant expressions out of the loop. 2014-04-16 00:34:10 +00:00
christos b8c0fcebe9 supply a fake cs that has has not have SEL_UPL set, so that our trapframe
sniffer works.
2014-04-16 00:32:33 +00:00
joerg 68aeaa009b Use correct library path for -m32 on sparc64. 2014-04-14 21:09:02 +00:00
christos 2e8a2b3a38 oops missed one instance of fixman 2014-04-11 13:18:35 +00:00
christos 7a4471249a PR/48722: David H. Gutteridge: use HOST_SH to execute fixman 2014-04-10 23:28:11 +00:00
riastradh 418e8d3033 Don't forget ZFS_EXIT after ZFS_ENTER. 2014-04-09 22:41:38 +00:00
riastradh c83470498f Try vflush, which may fail, before we mark the file system mounted. 2014-04-09 22:40:32 +00:00
rjs c5389c7a73 The SNA code builds with gcc 4.8 on i386 so enable it again.
ok riastradh@
2014-04-07 17:06:47 +00:00
pooka 7489153341 Re-add cloning bpf definition that got lost in rev 1.4.
Needed at least for wpa_supplicant against a rump kernel (which does
not create the old-style bpf0000 device nodes).
2014-04-07 01:29:12 +00:00
christos 897d836e1d Handle assembly code built with -g 2014-04-05 23:33:15 +00:00
tron eeaeb54957 Force "USE_SSP" to "no" when compiling xauth(1) for now. This avoid the
program to fail with error messages like this one:

/usr/X11R7/bin/xauth:  file /home/tron/.Xauthority does not exist
/usr/X11R7/bin/xauth:  unable to link authority file /home/tron/.Xauthority, use /home/tron/.Xauthority

This seems to be some weird compiler bug. If you add a debug printf(3) call
before the line in "xsrc/external/mit/xauth/dist/process.c" that calls
link(2) the target and source filename have the correct value and
the call works. Without the printf(3) call it fails.
2014-04-05 17:01:55 +00:00
christos ebffd37d96 remove extra 2014-04-04 01:19:57 +00:00
christos 19f79caf6f Add NOCTF 2014-04-04 01:19:14 +00:00
riastradh b0d53a8085 Skip SNA on i386 for now, since it triggers a GCC ICE. 2014-04-03 18:17:52 +00:00
riastradh ed2e9169d8 Update reachover makefiles and set lists for xf86-video-intel 2.21.15. 2014-04-03 02:51:19 +00:00
riastradh eb051fdbc0 Link Xorg with -lpthread on x86.
This will be needed by the new xf86-video-intel, which uses pthreads
in SNA (SandyBridge New Acceleration).  It shouldn't hurt, but is not
needed, on any other architecture.
2014-04-03 02:40:45 +00:00
riastradh 93797f6cf7 Install compositeext.h and shmint.h from X.org. 2014-04-02 01:22:11 +00:00
kardel b538a8f986 remove stray 'return 0;' that effectively disabled atouint().
Hi Christos!
2014-04-01 17:34:44 +00:00
pettai 3b429a7601 Import mDNSResponder-320.16, merge, fix conflicts 2014-03-31 23:26:30 +00:00
pettai e28a8d2c02 Import mDNSResponder-320.16, as previous import (258.14) is quite old 2014-03-31 23:21:21 +00:00
christos 0cfae56217 Convert to the new thread safe gethostby{name,addr} nsswitch ABI. 2014-03-31 02:03:38 +00:00
joerg b7b04e0e6d Match #if change in task.c. 2014-03-29 22:44:20 +00:00
joerg 0e80d9e124 Before messing with macros from stdio.h, include cstdio. Some parts of
the backend would include it afterwards and the macro changes conflict
with libc++'s version of cstdio.
2014-03-29 21:33:39 +00:00
christos 2cad6262db add missing #else Takahiro Hayashi 2014-03-29 19:34:23 +00:00
pettai 4754343be0 Fix lost merges 2014-03-28 07:01:49 +00:00
ozaki-r b7c3845c47 Complete migrating to snprintf_blkptr 2014-03-28 03:46:56 +00:00
ozaki-r c5002aae34 Fix migrating to snprintf_blkptr 2014-03-28 03:18:24 +00:00
ozaki-r 2821606826 Add missing 4th argument of ddt_object_name 2014-03-28 03:11:00 +00:00
ozaki-r 4e2e658100 Fix some snprintf 2014-03-28 02:58:36 +00:00
ozaki-r bc3ce11eda Add missing 3rd argument of nicenum 2014-03-28 02:50:18 +00:00
apb 6713b766dd format is a pointer, so sizeof(format) is not a good length
to pass to snprintf.  Try to calculate the correct length,
taking into account the amount of space already used.
2014-03-27 19:34:39 +00:00
christos a2d437b386 kill sprintf 2014-03-27 15:50:48 +00:00
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