Commit Graph

4432 Commits

Author SHA1 Message Date
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