summaryrefslogtreecommitdiffstats
path: root/gnu
Commit message (Collapse)AuthorAgeFilesLines
* Fix cross-building, etc:ru2001-09-297-40/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. To cross-build, one now needs to set TARGET_ARCH, and not the MACHINE_ARCH. MACHINE_ARCH should never be changed manually! 2. Initialize DESTDIR= explicitly for bootstrap-tools, build-tools, and cross-tools stages. This fixes broken header and library dependencies problem. We build them in the host environment, and obviously want them to depend on host headers and libraries. The problem with broken header dependencies for bootstrap-tools and cross-tools was already partially solved (see BOOTSTRAPPING tests in bsd.prog.mk and bsd.lib.mk), but it was still there for build-tools if the user ran "make world DESTDIR=/foo". Also, for all of these stages, the library dependencies were broken because of how bsd.libnames.mk define DPADD members. We still provide a glue to install bootstrap- and cross-tools under the ${WORLDTMP}. Removed PATH overrides for bootstrap-, build-, and cross-tools stages. There is just no reason why we would need to override it, and the hacks to clean up the ${WORLDTMP} in the -DNOCLEAN case are no longer needed with fixes from this step. That is, we now never use ${WORLDTMP} headers and libraries, and we don't use any ${WORLDTMP} installed binaries during these stages. Again, these stages depend solely on the host environment, including compiler, headers, and libraries. 3. Moved "miniperl" back from cross-tools (it has nothing to do with a cross-compiler) to build-tools where it belongs. The change from step 1 let to do this. Also, to make this work, build-tools targets of "cc_tools" and "miniperl" were modified to call "depend". Here follow the detailed explanations. There are two categories of build tools, for now. In the first category there are "cc_tools" and "miniperl". They occupy the whole (sub)directory, and nothing needs to be done in this subdirectory later during the "all" stage. They are also constructed using system makefiles. We must build the .depend early in the build-tools stage because: 1) They use (and depend on) the host environment. 2) If we don't do this in build-tools, the "depend" stage of buildworld will do this for us; wrong library and header dependencies will be recorded (DESTDIR=${WORLDTMP}) and, what's worse, the "all" stage may then clobber the build-architecture format tools (that we built in the build-tools stage) with the target-architecture format ones, breaking cross build. In the second category there are all other build-tools. They share their directory with the "main" module that needs them in the "all" stage, and they don't show up themselves in the .depend file. The portion of this fix was already committed in gnu/usr.bin/cc/cc_tools/Makefile,v 1.52. 4. "libperl" is no longer a build tool, and "miniperl" is the stand-alone application. I had to make this change because build-tools and "all" stages share the same object directory. Without this change, if we cross compile, libperl.a is first built for the build architecture during the build-tools stage (for the purposes of immediate linkage with "miniperl"). Later on, the "all" stage sees this library as up-to-date, and doesn't rebuild it. The effect is that the wrong format static libperl library is installed with installworld. 5. Fixed "includes" to install secure/lib/libtelnet headers if required. Reviewed by: bde
* Add support for 28800 baud to sio.jlemon2001-09-291-0/+1
| | | | | PR: 30906 Submitted by: "Daniel O'Connor" <darius@chowder.dons.net.au>
* We need to build ``.depend'' early in the "build-tools" for the GCCobrien2001-09-271-0/+2
| | | | | | | | | | "build-tools". If we do not do this, the "depend" stage of "buildworld" will build ``.depend'' and it will record the wrong library and header dependencies (DESTDIR=${WORLDTMP}). Even worse, the "all" stage may clobber build-architecture-format build tools built in the "build-tools" stage with target-architecture-format ones. Submitted by: ru
* Unconditionally use basename.c source vs. only doing this if the libc weobrien2001-09-261-2/+1
| | | | | | | | are linking against does not have basename(). There is a buffer overflow bug in lib/libc/gen/basename.c rev 1.1. There is no way for us to test what revision of basename() we have in libc, thus this change. Requested by: ru
* Fixed the buildworld breakage in cross-tools caused byru2001-09-241-1/+8
| | | | | | | | | | misuse of /usr/src/include headers. This REALLY fixes the 20010919 src/UPDATING entry. With this patch the 4.2-RELEASE box was able to survive the 5.0-CURRENT "make world". Beat over the head with this patch: obrien
* [ Very nasty nautical expletive removed ]markm2001-09-212-4/+0
| | | | Remove debugging code that should never have been committed.
* Through some hackery-pokery, allow folks to cd to src/gnu/usr.bin/perlmarkm2001-09-203-3/+22
| | | | | | | and do the usual "make obj && make depend all". This sort of stuff makes my teeth itch, but folks wanted it badly enough, so here it is.
* Fix alpha gdb -k on "live" kernels. Use offsetof() instead of some evilpeter2001-09-201-2/+9
| | | | hand-rolled macros to do the same thing.
* Don't try to dereference a kernel pointer in userland; use offsetof()fenner2001-09-192-2/+2
| | | | | | | | to get the right address. This fixes kernel GDB after KSE2. Reviewed by: jhb, jake
* In FreeBSD, -Z is reserved for zgrep(1), and onlyru2001-09-191-2/+2
| | | | | | a long version of the --null option is supported. PR: gnu/30644
* Rev 1.10 bogusly tested the kernel version, not the libc version.obrien2001-09-141-9/+2
| | | | | | | | | | | | | | The version of the kernel has no bearing on what is in libc. We now search for basename in libc to determin if we need to include the libiberty version in the build. This is all still a bit bogus as it will (like the sysctl method) cause basename.o to be linked into the cross-build as well as the host build. It would probably be better to test if we were doing the initial host build and unconditionally include that. Once we've generated the target libc we know that basename is available. (maybe test for $TOOLS_PREFIX or something). Submitted by: peter
* Update this to compile on the Alpha.peter2001-09-141-2/+2
|
* Fixed some of style bugs.ru2001-09-126-29/+35
|
* KSE Milestone 2julian2001-09-123-29/+26
| | | | | | | | | | | | | | Note ALL MODULES MUST BE RECOMPILED make the kernel aware that there are smaller units of scheduling than the process. (but only allow one thread per process at this time). This is functionally equivalent to teh previousl -current except that there is a thread associated with each process. Sorry john! (your next MFC will be a doosie!) Reviewed by: peter@freebsd.org, dillon@freebsd.org X-MFC after: ha ha ha ha
* I am no longer the FreeBSD GCC maintainer.obrien2001-09-101-4/+0
|
* Make sure that all non-root-owned binaries in standard systemdillon2001-09-095-1/+5
| | | | | | | | | paths are chflaged 'schg' to prevent exploit vectors when run by cron, by a root user, or by a user other then the one owning the binary. This applies to most of the uucp binaries, cu, tip, and man (man was already installed properly). MFC will occur when approved.
* Fix the upgrade path from 4.1 and earlier.obrien2001-09-061-0/+11
|
* SECURITY.ru2001-09-062-33/+18
| | | | | Avoid using setre[ug]id() calls. Removed the setgid stuff we don't need.
* Implement .previous (swap section back to the last section)peter2001-09-043-2/+32
| | | | | | | | This enables: .data .asciz "foo" .previous .. just like on current binutils
* Fixed style bugs in rev.1.4, including clobbering of the "Don't generatebde2001-08-311-1/+2
| | | | y.output" part of rev.1.11.
* Properly move cursor when home and end keys are used.eric2001-08-312-4/+20
|
* Dynamically adapt to kernbase changes on crashdumps, falling back topeter2001-08-242-2/+38
| | | | KERNBASE if the "kernbase" symbol is not present on older kernels.
* Note that submitted patches are assumed to be under the same license asnik2001-08-201-0/+4
| | | | the file they patch.
* Define _KERNEL as this grubs around where no userland should go.obrien2001-08-162-0/+4
|
* Add the `WANT_FORCE_OPTIMIZATION_DOWNGRADE' knob. If set to an integerobrien2001-08-161-0/+4
| | | | | | value, it forces GCC to not optimize above this level. For intance, GCC made with "WANT_FORCE_OPTIMIZATION_DOWNGRADE=1" is a good setting for the Alpha platform when building ports.
* The .Rv macro support zero and more than one arguments.ru2001-08-152-10/+34
|
* mdoc(7) police: s/BSD/.Bx/ where appropriate.ru2001-08-142-2/+4
|
* msg_out is already initializedpeter2001-08-131-1/+1
|
* Turn cvs back on. It seems that there's nothing outright broken, but therepeter2001-08-131-1/+1
| | | | are some odd things I've run into.. eg: log message formatting, etc.
* mdoc(7) police: s/NetBSD/.Nx/ where appropriate.ru2001-08-132-2/+4
|
* Spell "FreeBSD" with "F" and "BSD" in uppercase.ru2001-08-131-1/+2
|
* Removed duplicate VCS ID tags, as per style(9).ru2001-08-133-4/+5
|
* Remove libgmp build infrastructure.dd2001-08-104-287/+0
|
* Use some slightly less horrible make magic for doing the version stuff.peter2001-08-102-17/+12
|
* One more version related tweak after cvs-1.11 -> 1.11.1p1peter2001-08-101-4/+4
|
* Update build rules for .in and tidy up.peter2001-08-101-6/+4
|
* Tools dir is now empty and unusedpeter2001-08-102-20/+1
|
* Generate version.c on the fly rather than using a generated file.peter2001-08-101-0/+12
|
* Get the version source from the (more) correct place.peter2001-08-101-8/+7
| | | | Remove the obsolete cvsbug.sh script
* *** empty log message ***peter2001-08-102-18/+76
|
* Add annotate.c, remove rtag.c for 1.11.1p1peter2001-08-101-2/+2
|
* Temporarily turn off cvs builds for the (short) duration ofpeter2001-08-101-1/+1
| | | | import/verification.
* Skip empty calls in the NAME section after the .Nm macro call.ru2001-08-091-0/+1
| | | | | | | This makes the following difference: -groff_mdoc(7), -(7) - groff_mdoc reference for groff's mdoc implementation +groff_mdoc(7) - reference for groff's mdoc implementation
* An empty request (single dot on the line) is treated as anru2001-08-091-2/+2
| | | | | | | | | | | | | | empty line by troff(1) and is ignored. Teach makewhatis(1) about this. This makes the following difference: -groff_man(7), . groff_man(7) - groff `man' macros to support generation of man pages +groff_man(7) - groff `man' macros to support generation of man pages -groff_mdoc(7), -(7) - . groff_mdoc reference for groff's mdoc implementation +groff_mdoc(7), -(7) - groff_mdoc reference for groff's mdoc implementation -troff(1), . . troff(1) - format documents +troff(1) - format documents Noticed by: yar
* Teach makewhatis(1) about mdoc(7) .Xr macro.ru2001-08-091-3/+9
| | | | | | | | | | % whatis finger.conf finger.conf(5) - finger 1 alias configuration file % whatis finger.conf finger.conf(5) - finger(1) alias configuration file Reviewed by: MAINTAINER timeout
* Handle keys consistently.eric2001-08-092-2/+10
|
* mdoc(7) police:ru2001-08-073-7/+9
| | | | | | | Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text. Not only this slows down the mdoc(7) processing significantly, but it also has an undesired (in this case) effect of disabling hyphenation within the entire enclosed block.
* dialog(3) -> dialog_noyes(3).ru2001-08-071-1/+2
|
* Update man page to actually match the source.eric2001-08-011-55/+73
| | | | PR: 7456
* Enable the new libmp in the build, and disable libgmp and itsdd2001-07-291-1/+1
| | | | henchmen.
OpenPOWER on IntegriCloud