summaryrefslogtreecommitdiff
path: root/gnu
AgeCommit message (Collapse)Author
2017-01-22Always provide clang as cc, c++ and cpp, and lld as ld.Patrick Wildt
Per discussion with deraadt@
2017-01-22On clang architectures cc, c++ and cpp are provided by clang. Also,Patrick Wildt
ld is provided by lld.
2017-01-22Compile and install lld as ld.lld, since that's what the ecosystemPatrick Wildt
is expecting. Prompted and ok by kettenis@
2017-01-22Include bsd.own.mk in a few more places to pick up mk.conf overrides.Jonathan Gray
ok patrick@ tb@ kettenis@ phessler@
2017-01-22Disable COFF and Mach-O for OpenBSD to reduce build dependencies.Patrick Wildt
Only having ELF is perfectly fine for us. ok kettenis@
2017-01-22Add build infrastructure for lld.Patrick Wildt
ok kettenis@
2017-01-21Only build gcc4 libs if COMPILER_VERSION is gcc4.Jonathan Gray
ok kettenis@ patrick@
2017-01-21Nuke whitespace foolish enough to expose itself during the greatKenneth R Westerback
"warning:" rectification.
2001-03-18GNU readline-4.1Todd C. Miller
2017-01-21Make LLVM create strict aligned code for OpenBSD/arm64. We currentlyPatrick Wildt
don't enforce it yet, but we want to go down that road. Additionally the Pine64 seems to boot up with strict alignment on by default, so this also implicitly fixes efiboot on that hardware. ok kettenis@ phessler@ visa@
2017-01-20Restore setting the visibility of __guard_local to hidden for betterPhilip Guenther
code generation. Use dyn_case_or_null instead of a static cast to solve the crashes in the previous code. ok stefan@ kettenis@
2017-01-20Take gcc's suggestions about parenthesis around assignments usedKenneth R Westerback
as truth values. Change a parameter to 'const'. All without making promises about any further cleanup in /gnu/. ok deraadt@
2017-01-20Nuke some excess whitespace.Kenneth R Westerback
2017-01-14Disable the Load Stack Guard for OpenBSD on AArch64. We don't use itPatrick Wildt
on any other platform and it causes a segfault in combination with our IR Stack Guard. "looks reasonable" kettenis@ "looks good to me" stefan@
2017-01-14Update clang build infrastructure for LLVM 3.9.1Patrick Wildt
"go ahead" kettenis@ "just go ahead" deraadt@ "sounds good to me" stefan@
2017-01-14Merge LLVM 3.9.1Patrick Wildt
2017-01-14Import LLVM 3.9.1 including clang and lld.Patrick Wildt
2017-01-08Revert the addition of PROMOTE_MODE. This breaks libobjc; I guess theMiod Vallat
true reason of objc still being in-tree is to expose compiler issues.
2017-01-07Only install header files relevant for the architecture we're targeting.Mark Kettenis
ok patrick@, jsg@
2017-01-06Don't install standard C headers for which we already have a proper systemMark Kettenis
version. Also don't install vadefs.h which is a microsoft invention. ok patrick@
2017-01-04With clang as cross-compiler we need to make it pass the library pathPatrick Wildt
to our linker. Additionally, we need to make sure the library path is prefixed with the cross directory, which is sysroot. ok kettenis@
2017-01-01Switch the arm default config from arm9e (armv5te) to mpcore (armv6k).Jonathan Gray
The same change was made in ports gcc 4.9 already. This is is most recent arm architecture version base gcc has support for. This changes builtin defines from __ARM_ARCH_5TE__ to __ARM_ARCH_6K__. These defines are often used to select between inline assembly paths. Note that base gcc still lacks support for atomic builtins available in ports gcc and clang however. ok patrick@ kettenis@
2016-12-30Prevent scheduling from interfering with the epilogue instructions, as soonMiod Vallat
as any of the stack or frame pointers are modified. Allow narrower-than-register types to be kept in registers in wider modes, as was the case with gcc 3. This now seems to produce reliable code with -O1. -O2 is not safe yet.
2016-12-20Compile clang with clang by default instead of egcc. This allows ourPatrick Wildt
build system to selfhost itself after the initial clang bootstrap without relying on an external compiler. Setting BOOTSTRAP_CLANG allows bootstrapping clang with egcc. ok kettenis@
2016-12-19Convert the gcc 3 scheduling information to the gcc 4 model.Miod Vallat
2016-12-19A couple more unused variables.Kenneth R Westerback
tweak & ok kettenis@
2016-12-11Create perl directories 0775 in OBJDIRAndrew Fresh
Allows user to clean up after a noperm build requested and makes sense to tb@
2010-09-24Perl 5.12.2 from CPANTodd C. Miller
2016-11-28Setup clang to use OpenBSD settings and defines for our AArch64Patrick Wildt
(little-endian) target. ok phessler@
2016-11-27Add Octeon coprocessor 2 instructions.Visa Hankala
No objection from kettenis@
2016-11-24Add AArch64 backend build infrastructure.Patrick Wildt
ok pascal@
2016-11-16Set permissions of /usr/share/info/dir explicitly, so they don't depend onTheo Buehler
the umask. ok millert
2016-11-09Remove /usr/libdata/perl5/site_perl from sitelib and sitearch, nowTodd C. Miller
that we don't install .ph files we only want to search for these under /usr/local/libdata/perl5/site_perl. OK afresh1@
2016-11-09Stop installing perl .ph filesAndrew Fresh
It's finally time
2016-11-08Set the permissions of the specs file explicitly so that they don'tTheo Buehler
depend on the umask. Install headers and info files with group bin like all the other headers and info files. ok stefan
2009-10-15Import a BSD make based infrastructure for building gcc, based on theRobert Nagy
same solution from FreeBSD. Don't even try to build it at the moment. This is commited so people can work on it in tree.
2016-10-19Don't warn about shadowing a global function unless the localPhilip Guenther
variable or parameter is a pointer to a function. ok kettenis@
2016-10-16Move libcrypto, librpcsvc and gnu/usr.bin/cc/include from RDIRS to PRDIRS,Theo Buehler
and add prereq targets, so some header files are generated by BUILDUSER during 'make prereq' instead of by root during 'make includes'. Switch the order of 'make cleandir' and 'make includes' during 'make build' so we don't generate many files twice. Except for some machine@ symlinks from ${MACHINE}/stand, /usr/obj is now clean from files generated by root during 'make build'. Those will be cleaned up in a second step. help, testing & ok deraadt, input from natano, further testing rpe
2016-10-03Fix ownership for install on a noperm filesystem.Martin Natano
joint work with tb
2016-09-29Set correct owner for installed files. Required for noperm release.Martin Natano
ok tb
2016-09-27Set owner for /usr/lib/gcc-lib and /usr/include/g++ on install.Martin Natano
initial diff and ok tb
2016-09-27Disable -fstrict-aliasing per default on OpenBSD.Pascal Stumpf
cluebat & ok kettenis@
2016-09-24Build install Config_heavy.pl during build not installAndrew Fresh
Needed for noperm builds OK natano@
2016-09-20Revert previous, I didn't intend to commit this (yet).Martin Natano
2016-09-20Set correct owner for installed files. One step closer to nopermMartin Natano
builds. initial diff and ok millert
2009-10-12import perl 5.10.1Todd C. Miller
1995-12-19raw import of cvs-1.6Theo de Raadt
2016-09-20Support a few more relocations, most notably R_ARM_MOVW_ABS_NC andMark Kettenis
R_ARM_MOVT_ABS that clang creates in its default configuration. From FreeBSD. ok jsg@
2016-09-19Add PowerPC backend build infrastructure.Pascal Stumpf
ok kettenis@
2016-09-18On arm, set the "triple" to armv7-unknown-openbsdX.Y-gnueabi. This makes theMark Kettenis
compiler generate code for armv7 by default (giving us proper atomic operations) and selects the right default ABI. ok patrick@, tom@