Commit Graph

3665 Commits

Author SHA1 Message Date
joerg
3657cb7f1d Update LLVM/Clang snapshot to r191105. This brings in a better detection
of unused static variables and functions. Disable this for some external
code and for ioconf.c in the kernel.
2013-09-21 22:28:12 +00:00
wiz
bd0fe7cd58 Remove trailing whitespace. 2013-09-20 21:40:56 +00:00
wiz
e21b239272 Sort, fix Dt. 2013-09-20 21:39:59 +00:00
roy
4c3f4f7853 Fix building dhcpcd-6.1.0 2013-09-20 10:58:16 +00:00
roy
f6e48aaf0c Sync 2013-09-20 10:56:32 +00:00
roy
71f31e7121 Import dhcpcd-6.1.0 with the following changes:
* Fixed a segfault when configuring a static route in dhcpcd.conf
* Merged IPv6 ND and RA codebases
* Persistent configuration is now a default option in dhcpcd.conf
* Store configured IPv4 addresses against the interface so we only add
  them if actually missing to avoid RTM_DELADDR/NEWADDR loops on some OS's
* waitip now supports waiting for any, IPv4, IPv6 or both protocols
* DHCPv6 addresses are added with a /128 prefix and should not attempt to
  associate with any existing prefix or make one up as per RFC 5942
* Fix initial carrier status
* Fix requesting >1 DHCPv6 address

Fixes PR bin/48140
2013-09-20 10:51:29 +00:00
joerg
711cd67c1d Add missing minus. 2013-09-13 18:53:29 +00:00
joerg
41e5f81261 Mark yysccsid as used when compiling with GCC 3.1 or compatible. 2013-09-13 17:38:17 +00:00
joerg
36a6d19157 Handle dependency on libstdc++ / libc++ in bsd.lib.mk. 2013-09-12 17:14:20 +00:00
joerg
4d12bfcd15 Pass PICFLAGS down to cc-as-as and use __PIC__ to decide if it is small
vs big PIC mode. Retire -DPIC and -DBIGPIC.
2013-09-12 15:36:14 +00:00
dholland
ec390d2346 Fix MKPAM=no build. 2013-09-12 04:42:49 +00:00
joerg
975a152cfc If a library needs a symbol from another library, pull that library in
explicitly, even if the DT_NEEDED closure would normally already ensure
the presence.
2013-09-11 23:04:09 +00:00
matt
92fd66d6e7 Teach readelf how to interpet netbsd notes.
Notes at offset 0x00000128 with length 0x00000018:
  Owner         Data size       Description
  NetBSD        0x00000004      IDENT 699002300 (6.99.23)

Notes at offset 0x00000154 with length 0x00000020:
  Owner         Data size       Description
  NetBSD        0x00000009      MARCH <earmv7hf>
2013-09-11 18:53:54 +00:00
drochner
4d518571b9 add a patch from upstream, fixing a regression which obstructed link
status detection on BSD virtual interfaces (observed with xennet)
2013-09-11 18:50:00 +00:00
khorben
725c35c2a7 Fixed installation of signed packages. Some variables part of struct
signature_archive were not initialized properly, therefore randomly failing
in the verify_signature_read_cb() callback.

Partly closes PR pkg/48194; pkgsrc needs to be updated as well.

"please commit" agc@

XXX pull-up to netbsd-6
2013-09-11 12:59:19 +00:00
joerg
ab327b931c Needs libm. 2013-09-11 09:59:52 +00:00
joerg
ac35abab0f Drop now redundant assignment from the MKPIC=no case. 2013-09-11 09:59:13 +00:00
joerg
912713b9c5 Explicitly link against liblber as various symbols from it are used. 2013-09-11 09:58:02 +00:00
christos
b964869221 -D and -I are CPPFLAGS 2013-09-10 11:23:20 +00:00
skrll
53914b01fc Disable USE_ARM_SIMD for now. It crashes Xorg. 2013-09-07 09:22:37 +00:00
tron
2733e622de Don't ring the terminal bell if the user forward-searches for a string
that appears in the first displayed line.

This patch was supplied by M. Levinson in PR bin/45451.
2013-09-04 20:02:10 +00:00
tron
ec18bca04f Resolve conflicts from last import. 2013-09-04 19:44:21 +00:00
tron
749ad2fa00 Import version 458 of "less". Changes since version 444:
* Allow backslash escaping of metacharacters in LESS environment variable
  after the --use-backslash option.
* Don't quit if syntax errors are found in command line options.
* Increase sizes of some internal buffers.
* Fix configure bug with --with-regex=none.
* Fix crash with "stty rows 0".
* Fix display bug when using up/down arrow on the command line.
* Add ESC-F command to keep reading data until a pattern is found.
* Use exit code of LESSOPEN script if LESSOPEN starts with "||".
* When up/down arrow is used on the command line immediately after
  typing text, the next command starting with that text is found.
* Add support for GNU regex.
* Add configure option --with-regex=none and fix compile errors
  when compiling with no regex library.
* Fix possible crashes caused by malformed LESSOPEN or
  LESSCLOSE variables.
* Fix bug highlighting text which is discontiguous in the file
  due to backspace processing.
* Fix bug in displaying status column when scrolling backwards
  with -J and -S in effect.
2013-09-04 19:35:02 +00:00
joerg
acdab5428b Use CPPFLAGS.src and not COPTS.src to override -std=c++11 flag. The
latter doesn't help make depend.
2013-09-03 14:54:00 +00:00
joerg
6c440ed37c Update LLVM/Clang snapshot to r189662. This includes many improvements
to the new SLP vectorizer, fast codegen support for PPC and using
terminfo for the color sequences. In addition, add (optional) build
infrastructure for lld to allow easier testing. This is controlled by
MKLLD.
2013-09-02 14:34:55 +00:00
matt
ae05909c70 Even though both gas and ld support .cfi_personality, gcc fails to emit
them so we get DT_TEXTREL problems.
So if pic && SHARED, we force EH_FRAME to be writeable (which is what would
happen if .cfi_personality was not supported).
2013-08-26 14:24:22 +00:00
matt
cc666660e5 More evbarmv5 fixes. 2013-08-23 05:02:46 +00:00
matt
bea0daea2f If we want unwind tables, defined __UNWIND_TABLES__ 1 2013-08-23 00:22:16 +00:00
matt
56e7d6a06d Make earmv5 work. 2013-08-22 16:03:30 +00:00
matt
6e02d04301 Add MACHINE_ARCH's evbearmv5-e[bl] to work 2013-08-22 00:17:48 +00:00
matt
7ecefb12d5 Add MACHINE_ARCH's evbearmv5-e[bl] to work
Don't build _muldi3 _negdi2 _lshrdi3 _ashldi3 _ashrdi3 on earm and coldfire
2013-08-22 00:16:54 +00:00
matt
79d6dc9d9c When compiling use @PLTPC to generate PLT relocs for NetBSD.
When building libgcc_s.so for m68k, this gets rid of
m68k--netbsdelf/4.5.4/../../../../m68k--netbsdelf/bin/ld: warning: creating a DT_TEXTREL in a shared object.
2013-08-21 21:11:30 +00:00
tron
5ffceba539 esolve conflicts from last import. 2013-08-21 20:12:30 +00:00
tron
d6384a751f Import Postfix 2.9.7. Changes since version 2.9.5:
- Thanks to OpenSSL documentation, the Postfix 2.9.0..2.9.5 SMTP
  client and server used an incorrect procedure to compute TLS
  certificate PUBLIC-KEY fingerprints (these may be used in the
  check_ccert_access and in smtp_tls_policy_maps features). Support
  for certificate PUBLIC-KEY finger prints was introduced with Postfix
  2.9; there is no known problem with the certificate fingerprint
  algorithms available since Postfix 2.2.
  Specify "tls_legacy_public_key_fingerprints = yes" temporarily,
  pending a migration from configuration files with incorrect Postfix
  2.9.0..2.9.5 certificate PUBLIC-KEY finger prints, to the correct
  fingerprints used by Postfix 2.9.6 and later.
- Bugfix (introduced: Postfix 2.0): when myhostname is not listed in
  mydestination, the trivial-rewrite resolver may log "do not list in both
  mydestination and ". The fix is to re-resolve a domain-less address after
  adding $myhostname as the surrogate domain, so that it pops out with the
  right address-class label. Reported by Quanah Gibson-Mount.
- Bugfix (introduced: Postfix 2.3): don't reuse TCP connections when
  smtp_tls_policy_maps is specified. TLS policies may depend on the remote
  destination, but the Postfix <2.11 SMTP connection cache client does not
  distinguish between different destinations that resolve to the same
  IP address. Victor Duchovni. Found during Postfix 2.11 code maintenance.
- Bugfix (introduced: Postfix 2.2): don't reuse TCP connections when
  SASL authentication is enabled. SASL passwords may depend on the
  remote SMTP server hostname, but the Postfix <2.11 SMTP connection
  cache client does not distinguish between different hostnames that
  resolve to the same IP address. Found during Postfix 2.11 code
  maintenance.
2013-08-21 20:09:37 +00:00
matt
2959ac0b5b Add dropped v 2013-08-20 00:20:55 +00:00
matt
0e6587832d always compile GMP and MPFR as ARM 2013-08-19 22:25:32 +00:00
matt
6d142d8571 Add cortex-a7 2013-08-19 22:23:12 +00:00
matt
0cd90176f0 Enable sdiv/udiv instructions for both Thumb2 and ARM if hwdiv is supported. 2013-08-17 05:43:02 +00:00
matt
01eac15926 If hardware divide is supported on the CPU, predefine __ARM_ARCH_EXT_IDIV__ 2013-08-17 05:42:06 +00:00
matt
a3659d97dc Fix botch. 2013-08-16 21:59:01 +00:00
matt
699e28bb7d Teach gcc to recognize a7 & a15 as a9 but with hwdiv. 2013-08-16 21:04:07 +00:00
joerg
d22d8112fa Import libc++ r188413. More support for current C++ development and
various bugfixes.
2013-08-15 22:38:25 +00:00
joerg
a3a22d9cef Import libc++ r188413. More support for current C++ development and
various bugfixes.
2013-08-15 22:38:19 +00:00
drochner
4902aed8dd remove some files which will be regenerated during build, avoids
writes into $BSDSRCDIR
2013-08-13 20:38:08 +00:00
drochner
debeb3b18a add to CLEANFILES at some places, for generated files 2013-08-13 19:29:45 +00:00
joerg
2004814a3c Enable unwind tables by default. Assert the default in target-def.h to
make sure that it sticks.
2013-08-12 21:22:18 +00:00
joerg
8c1edcc065 Disable STABS and MIPS SDB extensions. This enables the use of CFI
instructions for the DWARF2 emission.
2013-08-12 21:04:17 +00:00
matt
83b2ab469f Match arm*-*-netbsdelf*-* 2013-08-12 05:14:24 +00:00
tsutsui
0e4d43cb3e List all required libraries by libgssapi and libkrb5 for NOPIC builds. 2013-08-11 14:42:04 +00:00
matt
51863888cd GCC configury for earmv4eb earmv6eb earmv6hfeb 2013-08-06 16:09:13 +00:00