summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/cc
Commit message (Collapse)AuthorAgeFilesLines
* MFC r312899: add octeon+ as an alias for octeon in GCC & binutilsemaste2017-03-031-1/+1
| | | | | | | | | | | | | | | | | | r208737 added support for the "mips64r2" architecture and "octeon" CPU, and the saa/saad instructions. Upstream binutils also added the "octeon+" CPU, and the saa/saad instructions are only available in octeon+, not octeon. Since our base system tool chain already accepts saa/saad with -march=octeon, just allow octeon+ as an alias. This allows the use of octeon+ in kernel config files, for use with both external tool chain and in-tree GCC/binutils. Also includes GCC FBSD_CC_VER bump (r313041 in HEAD) PR: 216516 Sponsored by: The FreeBSD Foundation
* WITH_META_MODE: Don't expect a .meta file for side-effect generated files.bdrewery2016-06-151-1/+1
| | | | | | | This is the same as r301285. Approved by: re (implicit) Sponsored by: EMC / Isilon Storage Division
* Convert to new FAST_DEPEND syntax for guessed dependencies.bdrewery2016-06-152-37/+35
| | | | | | | | | | | | | This OBJS_DEPEND_GUESS is needed since each target gets its own .depend.target.o file but also because it is spelled .meta.target.o with WITH_META_MODE. The OBJS_DEPEND_GUESS will apply the dependency if the required file is missing. Also remove redundant .c files while here to avoid prolems with targets using .ALLSRC and getting multiple source files. Approved by: re (implicit) Sponsored by: EMC / Isilon Storage Division
* DIRDEPS_BUILD: Update GCC dependencies.bdrewery2016-06-047-4/+7
| | | | Sponsored by: EMC / Isilon Storage Division
* gcc42: Fix minor C99 parse bugcem2016-05-271-1/+1
| | | | | | | | | | | | | | | | | | | | | DR #289[0] came down and gcc4.2.1 was on the wrong side of history. Partially revert GCC r42574 (just remove the error) to rectify the parse bug to match Clang and other compliant C99 compilers. An example declaration gcc tripped on before this fix: void foobar(int [static 1]); An example declaration gcc did not trip on before this fix: void foobar(int name[static 1]); Bump __FreeBSD_cc_version. [0]: http://www.open-std.org/JTC1/SC22/WG14/www/docs/dr_289.htm Reported by: allanjude Sponsored by: EMC / Isilon Storage Division
* WITH_META_MODE: Avoid rebuilds of cc_tools during target build.bdrewery2016-05-211-17/+19
| | | | | | This is the same as r299289 and r297997. Sponsored by: EMC / Isilon Storage Division
* Make armv6 hard float abi by default. Kill armv6hf.imp2016-05-181-1/+1
| | | | | | | Allow CPUTYPE=soft to build the current soft-float abi libraries. Add UPDATING entry to announce this. Approved by: re@ (gjb)
* Follow-up r297842: Rework header generation to fix always rebuilding.bdrewery2016-04-182-113/+135
| | | | | | | | | | This reworks the handling of common headers to just include the needed logic rather than invoke MAKE. This avoids the problem listed in r297842 and avoids other dependency tracking issues. Pointyhat to: bdrewery Reported by: Nikolai Lifanov <lifanov@mail.lifanov.com> Sponsored by: EMC / Isilon Storage Division
* DIRDEPS_BUILD: Regenerate without local dependencies.bdrewery2016-02-244-238/+0
| | | | | | | | These are no longer needed after the recent 'beforebuild: depend' changes and hooking DIRDEPS_BUILD into a subset of FAST_DEPEND which supports skipping 'make depend'. Sponsored by: EMC / Isilon Storage Division
* Use LIBEXECDIR for /usr/libexec.bdrewery2015-11-262-2/+2
| | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* META MODE: Don't create .meta files when symlinking sources into the obj ↵bdrewery2015-11-251-2/+2
| | | | | | | | | | | directory. Tracking these leads to situations where meta mode will consider the file to be out of date if /bin/sh or /bin/ln are newer than the source file. There's no reason for meta mode to do this as make is already handling the rebuild dependency fine. Sponsored by: EMC / Isilon Storage Division
* Add more SUBDIR_PARALLEL.bdrewery2015-10-151-1/+11
| | | | | MFC after: 3 weeks Sponsored by: EMC / Isilon Storage Division
* Remove directories disconnected since r169718.bdrewery2015-10-152-32/+0
| | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Remove redundant .NOPATH.bdrewery2015-09-261-2/+0
| | | | | | All of these are already in CLEANFILES which is added to .NOPATH in bsd.obj.mk. Sponsored by: EMC / Isilon Storage Division
* META_MODE: Remove DEP_RELDIR from Makefile.depend files.bdrewery2015-09-2512-24/+0
| | | | | | This has not been needed since r284171 in projects/bmake. Sponsored by: EMC / Isilon Storage Division
* Remove old GNU Binutils tools now provided by ELF Tool Chainemaste2015-08-053-45/+0
| | | | | | Reviewed by: bapt, brooks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D3238
* Add META_MODE support.sjg2015-06-1313-0/+497
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * Merge sync of headsjg2015-05-274-56/+9
| |\
| * \ Merge from head@274682sjg2014-11-192-4/+2
| |\ \
| * \ \ Merge head from 7/28sjg2014-08-193-11/+1
| |\ \ \
| * | | | Updated dependenciessjg2014-05-106-0/+11
| | | | |
| * | | | Merge from headsjg2014-05-088-7/+8
| |\ \ \ \
| * \ \ \ \ Merge headsjg2014-04-2811-12/+13
| |\ \ \ \ \
| * | | | | | Merge head@256308sjg2013-10-141-2/+2
| | | | | | |
| * | | | | | Merge headsjg2013-09-111-1/+6
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merge from headsjg2013-09-056-72/+111
| |\ \ \ \ \ \ \
| * | | | | | | | Updated dependenciessjg2013-03-178-14/+8
| | | | | | | | |
| * | | | | | | | Updated dependenciessjg2013-02-166-12/+0
| | | | | | | | |
| * | | | | | | | Sync with HEAD.obrien2013-02-0813-8/+40
| |\ \ \ \ \ \ \ \
| * | | | | | | | | Updated/new Makefile.dependsjg2012-11-081-0/+3
| | | | | | | | | |
| | | | | | | | | |
| | \ \ \ \ \ \ \ \
| *-. \ \ \ \ \ \ \ \ Sync from headsjg2012-11-044-4/+8
| |\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-2215-3/+491
| | |/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | | | | | | | | Misc fixes from projects/bmakesjg2015-06-111-0/+3
| |_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Differential Revision: D2748 Reviewed by: brooks imp
* | | | | | | | | | Add ELF Tool Chain's c++filt to the buildemaste2015-04-301-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Differential Revision: https://reviews.freebsd.org/D2408 Reviewed by: brooks, imp Sponsored by: The FreeBSD Foundation
* | | | | | | | | | Remove GNU texinfo from base along with all info pages.bapt2015-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
* | | | | | | | | | Remove empty generated file upon gperf failureemaste2014-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
* | | | | | | | | Remove MK_ARM_EABI, the armeb issues have been fixed. The code to supportandrew2014-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
* | | | | | | | Make MK_GNUCXX mean "build the libstdc++ and libsupc++ libraries" andimp2014-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.
* | | | | | | | Remove ia64.marcel2014-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
* | | | | | | Use src.opts.mk in preference to bsd.own.mk except where we need stuffimp2014-05-068-7/+8
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | from the latter.
* | | | | | NO_MAN= has been deprecated in favor of MAN= for some time, go aheadimp2014-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.
* | | | | | Add a new ARM TARGET_ARCH, armv6hf. This is considered experimental.andrew2014-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.
* | | | | | gcc: Missing makefile changes for r258501.pfg2013-11-242-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | pointyhat: me
* | | | | | Fix cross compilation after r258428.andreast2013-11-212-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Reviewed by: pfg
* | | | | | Bump OS versions in the toolchain triples to 11.0, and bump thedim2013-10-101-2/+2
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | __FreeBSD_cc_version predefined macros in clang and gcc. Approved by: re (gjb)
* | | | | On platforms where clang is the default compiler, don't build gcc or libstdc++.theraven2013-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, ...
* | | | add support to gcc for AES and PCLMUL intrinsics... This addes thejmg2013-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
* | | | gcc: install AMD intrinsics header ammintrin.hpfg2013-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
* | | | When gcc 4.2.0 was imported, the 3DNow intrinsics header <mm3dnow.h> wasdim2013-05-081-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | not added to the list of intrinsics headers to install, so belatedly (5 years :) add it. MFC after: 1 week
* | | | Remove the Fortran directories.rpaulo2013-04-253-70/+0
| |_|/ |/| |
OpenPOWER on IntegriCloud