aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cc
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | Sync with HEAD.David E. O'Brien2013-02-0813-8/+40
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246555
| * | | | | | | | | | Updated/new Makefile.dependSimon J. Gerraty2012-11-081-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=242788
| * | | | | | | | | | Sync from headSimon J. Gerraty2012-11-044-4/+8
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=242545
| * | | | | | | | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-2215-3/+491
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | | | | | | | | | | Misc fixes from projects/bmakeSimon J. Gerraty2015-06-111-0/+3
| |_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Differential Revision: D2748 Reviewed by: brooks imp Notes: svn path=/head/; revision=284289
* | | | | | | | | | | Add ELF Tool Chain's c++filt to the buildEd Maste2015-04-301-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Differential Revision: https://reviews.freebsd.org/D2408 Reviewed by: brooks, imp Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=282285
* | | | | | | | | | | Remove GNU texinfo from base along with all info pages.Baptiste Daroussin2015-01-022-53/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To be able to info pages consider installing texinfo from ports print/texinfo or via pkg: pkg install texinfo Differential Revision: https://reviews.freebsd.org/D1409 Reviewed by: emaste, imp (previous version) Relnotes: yes Notes: svn path=/head/; revision=276551
* | | | | | | | | | | Remove empty generated file upon gperf failureEd Maste2014-12-151-1/+1
| |_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior to this change the build could fail as follows, if gperf is not available (or fails): - make(1) stops due to the gperf error, but an empty target file (cfns.h) is still created - the empty cfns.h is newer than the source cfns.gperf so it is not regenerated on subsequent builds - the gcc build fails (undefined reference to libc_name_p) Sponsored by: The FreeBSD Foundation MFC after: 3 days Notes: svn path=/head/; revision=275804
* | | | | | | | | | Remove MK_ARM_EABI, the armeb issues have been fixed. The code to supportAndrew Turner2014-10-012-4/+2
| |_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the oabi is still in the tree, but it is expected this will be removed as developers work on surrounding code. With this commit the ARM EABI is the only supported supported ABI by FreeBSD on ARMa 32-bit processors. X-MFC after: never Relnotes: yes Differential Revision: https://reviews.freebsd.org/D876 Notes: svn path=/head/; revision=272350
* | | | | | | | | Make MK_GNUCXX mean "build the libstdc++ and libsupc++ libraries" andWarner Losh2014-07-101-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nothing more. Force it to be "no" when MK_CXX is "no" to simplify usage. It no longer also means "build g++" since we no longer have a platform where that's interesting now that pc98 no longer needs clang and gcc, but not g++. pc98 now just uses clang after boot2 changes. Notes: svn path=/head/; revision=268508
* | | | | | | | | Remove ia64.Marcel Moolenaar2014-07-072-5/+0
| |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This includes: o All directories named *ia64* o All files named *ia64* o All ia64-specific code guarded by __ia64__ o All ia64-specific makefile logic o Mention of ia64 in comments and documentation This excludes: o Everything under contrib/ o Everything under crypto/ o sys/xen/interface o sys/sys/elf_common.h Discussed at: BSDcan Notes: svn path=/head/; revision=268351
* | | | | | | | Use src.opts.mk in preference to bsd.own.mk except where we need stuffWarner Losh2014-05-068-7/+8
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from the latter. Notes: svn path=/head/; revision=265420
* | | | | | | NO_MAN= has been deprecated in favor of MAN= for some time, go aheadWarner Losh2014-04-136-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and finish the job. ncurses is now the only Makefile in the tree that uses it since it wasn't a simple mechanical change, and will be addressed in a future commit. Notes: svn path=/head/; revision=264400
* | | | | | | Add a new ARM TARGET_ARCH, armv6hf. This is considered experimental.Andrew Turner2014-03-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This targets the existing ARMv6 and ARMv7 SoCs that contain a VFP unit. This is an optional coprocessors may not be present in all devices, however it appears to be in all current SoCs we support. armv6hf targets the VFP variant of the ARM EABI and our copy of gcc is too old to support this. Because of this there are a number of WITH/WITHOUT options that are unsupported and must be left as the default value. The options and their required value are: * WITH_ARM_EABI * WITHOUT_GCC * WITHOUT_GNUCXX In addition, without an external toolchain, the following need to be left as their default: * WITH_CLANG * WITH_CLANG_IS_CC As there is a different method of passing float and double values to functions the ABI is incompatible with existing armv6 binaries. To use this a full rebuild of world is required. Because no floating point values are passed into the kernel an armv6 kernel with VFP enabled will work with an armv6hf userland and vice versa. Notes: svn path=/head/; revision=263660
* | | | | | | gcc: Missing makefile changes for r258501.Pedro F. Giffuni2013-11-242-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pointyhat: me Notes: svn path=/head/; revision=258507
* | | | | | | Fix cross compilation after r258428.Andreas Tobler2013-11-212-2/+2
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed by: pfg Notes: svn path=/head/; revision=258445
* | | | | | Bump OS versions in the toolchain triples to 11.0, and bump theDimitry Andric2013-10-101-2/+2
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | __FreeBSD_cc_version predefined macros in clang and gcc. Approved by: re (gjb) Notes: svn path=/head/; revision=256298
* | | | | On platforms where clang is the default compiler, don't build gcc or libstdc++.David Chisnall2013-09-061-1/+6
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To enable them, set WITH_GCC and WITH_GNUCXX in src.conf. Make clang default to using libc++ on FreeBSD 10. Bumped __FreeBSD_version for the change. GCC is still enabled on PC98, because the PC98 bootloader requires GCC to build (or, at least, hard-codes the use of gcc into its build). Thanks to everyone who helped make the ports tree ready for this (and bapt for coordinating them all). Also to imp for reviewing this and working on the forward-porting of the changes in our gcc so that we're getting to a much better place with regard to external toolchains. Sorry to all of the people who helped who I forgot to mention by name. Reviewed by: bapt, imp, dim, ... Notes: svn path=/head/; revision=255321
* | | | add support to gcc for AES and PCLMUL intrinsics... This addes theJohn-Mark Gurney2013-09-033-1/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -maes option, but not the -mpclmul option as I ran out of bits in the 32 bit flags field... You can -D__PCLMUL__ to get this, but it won't be compatible w/ clang and modern gcc... Reviewed by: -current, -toolchain Notes: svn path=/head/; revision=255185
* | | | gcc: install AMD intrinsics header ammintrin.hPedro F. Giffuni2013-06-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This file was included in the changes from r251212 and originated in the pre-GPLv3 gcc43 branch. MFC after: 2 weeks Notes: svn path=/head/; revision=251480
* | | | When gcc 4.2.0 was imported, the 3DNow intrinsics header <mm3dnow.h> wasDimitry Andric2013-05-081-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | not added to the list of intrinsics headers to install, so belatedly (5 years :) add it. MFC after: 1 week Notes: svn path=/head/; revision=250393
* | | | Remove the Fortran directories.Rui Paulo2013-04-253-70/+0
| |_|/ |/| | | | | | | | Notes: svn path=/head/; revision=249880
* | | bsd.own.mk needs to be included before Makefil.inc so MK_ARM_EABI is definedAndrew Turner2013-01-251-3/+3
| | | | | | | | | | | | Notes: svn path=/head/; revision=245898
* | | Reorder so that NO_MAN is declared before bsd.own.mk is included and thusBrooks Davis2013-01-241-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | has an effect (not installed a g++.1 manpage over the g++.1(.gz) link created in ../cc). Notes: svn path=/head/; revision=245882
* | | Add compiler support for the ARM EABI.Andrew Turner2013-01-1712-3/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | ARM EABI support is disabled by default and can be enabled by setting WITH_ARM_EABI when building, however only the kernel-toolchain target will work with this flag until the rest of the support is added. Notes: svn path=/head/; revision=245539
* | | Clean up hardcoded ar(1) flags in the tree to use the global ARFLAGS inEitan Adler2012-12-061-1/+1
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | share/mk/sys.mk instead. This is part of a medium term project to permit deterministic builds of FreeBSD. Submitted by: Erik Cederstrand <erik@cederstrand.dk> Reviewed by: imp, toolchain@ Approved by: cperciva MFC after: 2 weeks Notes: svn path=/head/; revision=243933
* | Add support for bmake. This includes:Marcel Moolenaar2012-10-062-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Don't do upgrade_checks when using bmake. As long as we have WITH_BMAKE, there's a bootstrap complication in ths respect. Avoid it. Make the necessary changes to have upgrade_checks work wth bmake anyway. 2. Remove the use of -E. It's not needed in our build because we use ?= for the respective variables, which means that we'll take the environment value (if any) anyway. 3. Properly declare phony targets as phony as bmake is a lot smarter (and thus agressive) about build avoidance. 4. Make sure CLEANFILES is complete and use it on .NOPATH. bmake is a lot smarter about build avoidance and should not find files we generate in the source tree. We should not have files in the repository we want to generate, but this is an easier way to cross this hurdle. 5. Have behavior under bmake the same as it is under make with respect to halting when sub-commands fail. Add "set -e" to compound commands so that bmake is informed when sub-commands fail. 6. Make sure crunchgen uses the same make as the rest of the build. This is important when the make utility isn't called make (but bmake for example). 7. While here, add support for using MAKEOBJDIR to set the object tree location. It's the second alternative bmake looks for when determining the actual object directory (= .OBJDIR). Submitted by: Simon Gerraty <sjg@juniper.net> Submitted by: John Van Horne <jvanhorne@juniper.net> Notes: svn path=/head/; revision=241298
* | Merging of projects/armv6, part 3Oleksandr Tymoshenko2012-08-152-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r238211: Support TARGET_ARCH=armv6 and TARGET_ARCH=armv6eb This adds a new TARGET_ARCH for building on ARM processors that support the ARMv6K multiprocessor extensions. In particular, these processors have better support for TLS and mutex operations. This mostly touches a lot of Makefiles to extend existing patterns for inferring CPUARCH from ARCH. It also configures: * GCC to default to arm1176jz-s * GCC to predefine __FreeBSD_ARCH_armv6__ * gas to default to ARM_ARCH_V6K * uname -p to return 'armv6' * make so that MACHINE_ARCH defaults to 'armv6' It also changes a number of headers to use the compiler __ARM_ARCH_XXX__ macros to configure processor-specific support routines. Submitted by: Tim Kientzle <kientzle@freebsd.org> Notes: svn path=/head/; revision=239272
* | After the binutils 2.17.50 import, the assembler supports AS_REL16Nathan Whitehorn2012-07-081-1/+1
|/ | | | | | | relocations. Notes: svn path=/head/; revision=238255
* Add src.conf option WITH_SHARED_TOOLCHAIN to enable building theKonstantin Belousov2012-04-293-2/+10
| | | | | | | | | | | toolchain binaries as dynamically linked. Option is disabled by default. Reviewed by: ru (previous version) MFC after: 2 weeks Notes: svn path=/head/; revision=234782
* Assume a big-endian default on MIPS and drop the "eb" suffix from MACHINE_ARCH.Juli Mallett2012-03-291-2/+3
| | | | | | | | | | | | | | | | | | This makes our naming scheme more closely match other systems and the expectations of much third-party software. MIPS builds which are little-endian should require and exhibit no changes. Big-endian TARGET_ARCHes must be changed: From: To: mipseb mips mipsn32eb mipsn32 mips64eb mips64 An entry has been added to UPDATING and some foot-shooting protection (complete with warnings which should become errors in the near future) to the top-level base system Makefile. Notes: svn path=/head/; revision=233644
* Add a WITH_CLANG_IS_CC option for src.conf(5), disabled by default, thatDimitry Andric2012-02-294-7/+951
| | | | | | | | | | | | | installs clang as /usr/bin/cc, /usr/bin/c++ and /usr/bin/cpp. Note this does *not* disable building and installing gcc, which will still be available as /usr/bin/gcc, /usr/bin/g++ and /usr/bin/gcpp. If you want to disable gcc completely, you must use WITHOUT_GCC. MFC after: 2 weeks Notes: svn path=/head/; revision=232322
* Enable TLS support for ARM toolchainOleksandr Tymoshenko2012-02-141-2/+0
| | | | | | | Reviewed by: cognet Notes: svn path=/head/; revision=231620
* * Don't give the impression that this compiler is GPLv3.David E. O'Brien2011-10-241-1/+1
| | | | | | | | | (It is "well known" that GCC 4.2.2 is GPLv3.) * Don't give the impression that this compiler isn't "trustable". * Fix dependency nit. Notes: svn path=/head/; revision=226702
* Update gcc's __FreeBSD__ and __FreeBSD_cc_version macros for FreeBSD 10.Dimitry Andric2011-10-181-2/+2
| | | | Notes: svn path=/head/; revision=226519
* Remove libobjc and other Objective-C related components, as these areDimitry Andric2011-04-174-42/+1
| | | | | | | | | extremely outdated, and not used by anything in the base system. Silence from: current@ Notes: svn path=/head/; revision=220755
* In r219639, SSSE3 instruction set support was backported to our gcc.Dimitry Andric2011-04-141-1/+1
| | | | | | | | | | | Therefore, we also need to install the new tmmintrin.h header containing the related intrinsic functions, similar to xmmintrin.h, emmintrin.h, etc. Reported by: George Liaskos <geo.liaskos@gmail.com> Notes: svn path=/head/; revision=220630
* Now that TLS is supported for sparc64 by both binutils 2.17.50 committedMarius Strobl2011-03-111-1/+1
| | | | | | | in r218822 and rtld(1) committed in r219533 turn on TLS support in GCC. Notes: svn path=/head/; revision=219534
* Merge binutils 2.17.50 to head. This brings a number of improvements toDimitry Andric2011-02-181-7/+5
|\ | | | | | | | | | | | | | | | | | | | | | | x86 CPU support, better support for powerpc64, some new directives, and many other things. Bump __FreeBSD_version, and add a note to UPDATING. Thanks to the many people that have helped to test this. Obtained from: projects/binutils-2.17 Notes: svn path=/head/; revision=218822
| * Fix a missing underscore.Nathan Whitehorn2010-12-091-1/+1
| | | | | | | | Notes: svn path=/projects/binutils-2.17/; revision=216329
| * Sync: merge r215944 through r216132 from ^/head.Dimitry Andric2010-12-021-1/+3
| |\ | | | | | | | | | Notes: svn path=/projects/binutils-2.17/; revision=216133
| * \ Sync: merge r215396 through r215463 from ^/head.Dimitry Andric2010-11-181-1/+1
| |\ \ | | | | | | | | | | | | Notes: svn path=/projects/binutils-2.17/; revision=215464
| * \ \ Sync: merge r215273 through r215318 from ^/head.Dimitry Andric2010-11-141-1/+1
| |\ \ \ | | | | | | | | | | | | | | | Notes: svn path=/projects/binutils-2.17/; revision=215320
| * \ \ \ Sync: merge r214895 through r215140 from ^/head.Dimitry Andric2010-11-114-27/+28
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/binutils-2.17/; revision=215143
| * | | | | In case of powerpc64, enable HAVE_LD_NO_DOT_SYMS in gcc's auto-host.h.Dimitry Andric2010-10-221-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: nwhitehorn Notes: svn path=/projects/binutils-2.17/; revision=214222
| * | | | | Update gcc's auto-host.h header for binutils 2.17: turn onDimitry Andric2010-10-221-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | HAVE_COMDAT_GROUP, HAVE_GAS_WEAKREF and HAVE_LD_SYSROOT. Notes: svn path=/projects/binutils-2.17/; revision=214214
* | | | | | Remove unused support for 64 bit long on 32 bit architectures.Tijl Coosemans2011-01-071-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It was used mainly to discover and fix some 64-bit portability problems before 64-bit arches were widely available. Discussed with: bde Approved by: kib (mentor) Notes: svn path=/head/; revision=217128
* | | | | | Retire TARGET_ABI.Warner Losh2011-01-072-11/+8
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement MACHINE_ARCH=mips64e[lb] to build N64 images. This replaces MACHINE_ARCH=mipse[lb] TARGET_ABI=n64. MACHINE_ARCH=mipsn32e[lb] has been added, but currently requires WITHOUT_CDDL due to atomic issues in libzfs. I've not investigated this much, but implemented this to preserve as much of the TARGET_ABI functionality that I could. Since its presence doesn't affect the working cases, I've kept it in for now. Added mips64e[lb] to make universe, so more kernels build. And I think this (finally) closes the curtain on the tbemd tree. Notes: svn path=/head/; revision=217123
* | | | | Unbreak amd64<->i386 cross builds.Nathan Whitehorn2010-12-021-2/+3
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=216127
* | | | | The driver-XXX.c files used for host CPU detection with -march=nativeNathan Whitehorn2010-12-021-1/+2
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | should not be compiled in the cross-tools case (where -march=native makes no sense). This fixes cross-building x86 toolchains on non-x86 systems. Notes: svn path=/head/; revision=216113