aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cc/cc_tools/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* remove GCC 4.2.1 build infrastructureEd Maste2020-02-291-445/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | As described in Warner's email message[1] to the FreeBSD-arch mailing list we have reached GCC 4.2.1's retirement date. At this time all supported architectures either use in-tree Clang, or rely on external toolchain (i.e., a contemporary GCC version from ports). GCC 4.2.1 was released July 18, 2007 and was imported into FreeBSD later that year, in r171825. GCC has served us well, but version 4.2.1 is obsolete and not used by default on any architecture in FreeBSD. It does not support modern C and does not support arm64 or RISC-V. Thanks to everyone responsible for maintaining, updating, and testing GCC in the FreeBSD base system over the years. So long, and thanks for all the fish. [1] https://lists.freebsd.org/pipermail/freebsd-arch/2020-January/019823.html PR: 228919 Reviewed by: brooks, imp Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D23124 Notes: svn path=/head/; revision=358454
* Don't use CCACHE for linking.Bryan Drewery2018-06-271-4/+4
| | | | | | | | MFC after: 2 weeks Sponsored by: Dell EMC Notes: svn path=/head/; revision=335733
* build-tools: De-special-case the gcc tools build.Bryan Drewery2017-10-311-0/+1
| | | | | | | | | | | It merely wanted to use 'all' rather than 'build-tools' so just add a build-tools target to the Makefile. MFC after: 2 weeks Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325243
* WITH_META_MODE: Don't expect a .meta file for side-effect generated files.Bryan Drewery2016-06-151-1/+1
| | | | | | | | | | This is the same as r301285. Approved by: re (implicit) Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=301936
* Convert to new FAST_DEPEND syntax for guessed dependencies.Bryan Drewery2016-06-151-2/+0
| | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=301934
* WITH_META_MODE: Avoid rebuilds of cc_tools during target build.Bryan Drewery2016-05-211-17/+19
| | | | | | | | | This is the same as r299289 and r297997. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=300347
* Follow-up r297842: Rework header generation to fix always rebuilding.Bryan Drewery2016-04-181-113/+3
| | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=298218
* META MODE: Don't create .meta files when symlinking sources into the obj ↵Bryan Drewery2015-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 Notes: svn path=/head/; revision=291320
* Remove redundant .NOPATH.Bryan Drewery2015-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 Notes: svn path=/head/; revision=288267
* Misc fixes from projects/bmakeSimon J. Gerraty2015-06-111-0/+3
| | | | | | | | Differential Revision: D2748 Reviewed by: brooks imp Notes: svn path=/head/; revision=284289
* Remove MK_ARM_EABI, the armeb issues have been fixed. The code to supportAndrew Turner2014-10-011-3/+1
| | | | | | | | | | | | | | | 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
* Use src.opts.mk in preference to bsd.own.mk except where we need stuffWarner Losh2014-05-061-1/+1
| | | | | | | from the latter. Notes: svn path=/head/; revision=265420
* Add compiler support for the ARM EABI.Andrew Turner2013-01-171-0/+9
| | | | | | | | | 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
* Remove libobjc and other Objective-C related components, as these areDimitry Andric2011-04-171-9/+0
| | | | | | | | | extremely outdated, and not used by anything in the base system. Silence from: current@ Notes: svn path=/head/; revision=220755
* Let gcc and ld know where to find 32 bit libraries on amd64.Tijl Coosemans2010-11-171-1/+1
| | | | | | | | Reviewed by: arch@ Approved by: kib (mentor) Notes: svn path=/head/; revision=215439
* Complete the integration of tbemd branch into head.Warner Losh2010-11-101-11/+11
| | | | | | | | | | | | | | | | | | | TARGET_BIG_ENDIAN is now completely dead, except where it was originally supposed to be used (internally in the toolchain building). TARGET_ARCH has changed in three cases: (1) Little endian mips has changed to mipsel. (2) Big endian mips has changed to mipseb. (3) Big endian arm has changed to armeb. Some additional changes are needed to make 'make universe' work on arm and mips after this change, so those are commented out for now. UPDATING information will be forthcoming. Any remaining rough edges will be hammered out in -current. Notes: svn path=/head/; revision=215082
* Teach our toolchain how to generate 64-bit PowerPC binaries. This fixesNathan Whitehorn2010-07-101-2/+16
| | | | | | | | | | | a variety of bugs in binutils related to handling of 64-bit PPC ELF, provides a GCC configuration for 64-bit PowerPC on FreeBSD, and associated build systems tweaks. Obtained from: projects/ppc64 Notes: svn path=/head/; revision=209867
* Add FreeBSD/MIPS support to GCC.David E. O'Brien2008-09-011-1/+2
| | | | Notes: svn path=/head/; revision=182627
* Turn cc_tools/Makefile and Makefile.tgt into a "linear" read. SharedDavid E. O'Brien2008-08-311-8/+11
| | | | | | | | parts of the configuration aren't duplicated, and arch-specific exceptions are made "in-place". Also clean up the FreeBSD/amd64 config a little. Notes: svn path=/head/; revision=182579
* Use LC_ALL=C before awk generating "optionlist"Andrey A. Chernov2007-11-181-3/+3
| | | | | | | | | (and before two other awk calls, just to be safe) Without it sorting is broken for locales with ASCII collating equivalence like (v,w) in sv_SE Notes: svn path=/head/; revision=173731
* Fix compiles when user chooses to disable both ObjC and C++ support inAlexander Kabaev2007-05-281-1/+2
| | | | | | | | | GCC. Reported by: bz Notes: svn path=/head/; revision=170039
* Back out the addition of -static to LDFLAGS; I'm pretty confidentRuslan Ermilov2007-05-211-1/+0
| | | | | | | | | | | | | | | | | | | that the build failure was caused by a computer/sources date/time mismatch that caused GCC tools to be mistakenly rebuilt again at an inappropriate time during buildworld, re-linking them against new libraries instead of host's installed libraries and thus making them not runnable by the host. Normally they are only built in the early stage of buildworld (build-tools) that links them against shared libraries of the host, but if either the system clock or modification date/time on source files is set incorrectly, make(1) can be foolished into thinking that tools are stale and will rebuild them again, now in the "target" environment which is not suitable for building helper apps that are to be run during buildworld. OK'ed by: kan Notes: svn path=/head/; revision=169828
* Work-around for upgrading from a pre-symbol-versioned world.Scott Long2007-05-191-0/+1
| | | | | | | Blame-to: cperciva Notes: svn path=/head/; revision=169740
* Update bmake glue to build GCC 4.2.Alexander Kabaev2007-05-191-407/+390
| | | | | | | | | | | | | | | | | | | | | | | | Also: Switch FreeBSD to use libgcc_s.so.1. Use dl_iterate_phdr to locate shared objects' exception frame info instead of depending on older register_frame_info machinery. This allows us to avoid depending on libgcc_s.so.1 in binaries that do not use exception handling directly. As an additional benefit it breaks circular libc <=> libgcc_s.so.1 dependency too. Build newly added libgomp.so.1 library, the runtime support bits for OpenMP. Build LGPLed libssp library. Our libc provides our own BSD-licensed SSP callbacks implementation, so this library is only built to benefit applications that have hadcoded knowledge of libssp.so and libssp_nonshared.a. When linked in from command line, these libraries override libc implementation. Notes: svn path=/head/; revision=169718
* Add additional support for generating code for the arm. There's stillWarner Losh2006-09-181-0/+34
| | | | | | | | | | | | a few issues in other parts of the tree, but those will be resolved separately. Submitted by: cogenet@ Reviewed by: kan@, obrien@ MFC After: 5 days Notes: svn path=/head/; revision=162417
* Fix three whitespace nits.Warner Losh2006-09-111-3/+2
| | | | | | | I think these are from kan@... Notes: svn path=/head/; revision=162209
* Reimplementation of world/kernel build options. For details, see:Ruslan Ermilov2006-03-171-4/+6
| | | | | | | | | | | http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html The src.conf(5) manpage is to follow in a few days. Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine) Notes: svn path=/head/; revision=156813
* Update bmake glue for GCC 3.4.4.Alexander Kabaev2005-06-031-1/+3
| | | | Notes: svn path=/head/; revision=146910
* A fix from rev. 1.52 of gnu/usr.bin/cc/cc_tools/Makefile was lostRuslan Ermilov2004-08-181-10/+0
| | | | | | | | | | | | in rev. 1.57. Fix this regression by making cc_tools a new-style build-tool in Makefile.inc1. For details of what has been fixed, please see the gnu/usr.bin/cc/cc_tools/Makefile,v 1.52 commit log. Caught this by accidentally touching param.h while in the process of cross-buildworld for amd64. Notes: svn path=/head/; revision=133956
* Consolidate libiberty files in one place and avoid listing someAlexander Kabaev2004-08-121-11/+9
| | | | | | | | | of them in several places. Noticed by: bsdimp Notes: svn path=/head/; revision=133581
* Bmake glue for GCC 3.4.2-prerelease.Alexander Kabaev2004-07-281-76/+171
| | | | Notes: svn path=/head/; revision=132751
* Revise previous commit - I managed to mess up a 1-line change and brokePeter Wemm2004-06-111-1/+1
| | | | | | | amd64 world. The csu code evalues this Makefile with a different origin. Notes: svn path=/head/; revision=130325
* The gcc/config/i386/freebsd64.h file neglects to override the defaultPeter Wemm2004-06-101-0/+1
| | | | | | | | | | | | | | | | (bogus, application name space) mcount function name on amd64. Override it here instead. I've done it this way to avoid touching gcc source while 3.4 is in progress, and this is the smallest, lowest impact I could come up with. Adding a patch touches about 10-14 lines of Makefile, this touches only 1. This will likely go away with the 3.4 import. I spoke with Alexander about this a few days ago, but waited until after sorting out some of the other bugs in the userland profiling. Notes: svn path=/head/; revision=130324
* Backed out the residue of rev.1.13 (bogus addition of -static to CFLAGS).Bruce Evans2004-02-261-2/+5
| | | | | | | | | | | Makeworld will add -static in the correct place if needed and possible. Self-hosted builds can just use the system default. Fixed some nearby style bugs (code unrelated to its comment, and comment formatting). Notes: svn path=/head/; revision=126266
* Do not treat make variables as Perl variables.Alexander Kabaev2004-01-261-4/+4
| | | | Notes: svn path=/head/; revision=125040
* Fixed "make clean".Ruslan Ermilov2004-01-151-0/+1
| | | | Notes: svn path=/head/; revision=124547
* Removed duplicate SRCS.Ruslan Ermilov2004-01-121-1/+1
| | | | Notes: svn path=/head/; revision=124417
* Update bmake bits to build GCC 3.3.1-prerelease.Alexander Kabaev2003-07-111-54/+237
| | | | Notes: svn path=/head/; revision=117429
* Add missing quote after cut/paste error in last commit. :-(Peter Wemm2003-06-261-1/+1
| | | | Notes: svn path=/head/; revision=116891
* Configure gcc in biarch mode for amd64 so that the -m32 flag is enabledPeter Wemm2003-06-261-2/+1
| | | | | | | | | for things like boot blocks etc. Reviewed by: kan Notes: svn path=/head/; revision=116859
* Lock GCC w/o -m32 into 64-bit mode.David E. O'Brien2003-05-011-0/+4
| | | | Notes: svn path=/head/; revision=114425
* We're changing the platform name from x86[_-]86 to amd64.David E. O'Brien2003-04-261-4/+4
| | | | Notes: svn path=/head/; revision=114083
* Add multilib_options variable definition.Alexander Kabaev2002-10-101-0/+1
| | | | | | | Approved by: obrien Notes: svn path=/head/; revision=104770
* We're going to have to use a TARGET_ARCH of "x86_64" rather than "x86-64"David E. O'Brien2002-09-121-3/+4
| | | | | | | to make building GCC happy. Notes: svn path=/head/; revision=103257
* Use a more API denoting way to handle what is in libc and what isn't.David E. O'Brien2002-05-181-4/+0
| | | | Notes: svn path=/head/; revision=96833
* Make it possible to build a cross compiler for alpha,Ruslan Ermilov2002-05-161-0/+4
| | | | | | | | ia64 and sparc64 on systems that do not have atoll(3). The "cross" here doesn't necessarily mean cross-arch. Notes: svn path=/head/; revision=96734
* Add x86-64 bits.David E. O'Brien2002-05-151-0/+3
| | | | Notes: svn path=/head/; revision=96699
* The IA-64 config needs to know that we are using GNU ld & as.David E. O'Brien2002-05-151-0/+3
| | | | | | | Submitted by: peter Notes: svn path=/head/; revision=96697
* Touching the sjlj setting on IA-64 makes things not build.David E. O'Brien2002-05-101-0/+2
| | | | | | | Submitted by: peter Notes: svn path=/head/; revision=96360