Commit Graph

2263 Commits

Author SHA1 Message Date
obrien
a7e1e1dfde A little more reorg. 2002-04-05 10:23:19 +00:00
obrien
d7029930bd Minor reorg. 2002-04-04 19:36:33 +00:00
obrien
e9552ebd90 Minor style tweak. 2002-04-04 19:26:13 +00:00
des
65f1a8018b Document new categories.
Submitted by:	Hiten Pandya <hiten@uk.FreeBSD.org>
MFC after:	3 days
2002-04-04 18:31:36 +00:00
obrien
3de82df67b Remove some local cruft that snuck in yesterday. 2002-04-04 18:24:56 +00:00
obrien
af123fcfc4 Make the sed line a little bit more clear (it will get messier later). 2002-04-04 01:25:26 +00:00
obrien
05b07d79e3 Set NOSHARED conditionally. 2002-04-04 00:50:14 +00:00
obrien
45bdc4c8cc Clean up the YACCing. I don't know why we cannot leave the .y's as .y's.
So lets see if doing so causes anyone trouble.
Also use make(1)'s assistance in using the right file.  It knows the
dependency, so lets just ask it.
2002-04-04 00:26:20 +00:00
obrien
d481c3c6fd Remove duplicate objc-parse.h. While we are at it, just spell it correctly
as c-parse.h since that is how the consumers spell it.
2002-04-04 00:14:58 +00:00
obrien
7826a0319a Get rid of GCC_ARCH, and just use plain TARGET_ARCH.
We got rid of the MIPS le/be stuff that needed this a long time ago.
2002-04-04 00:11:00 +00:00
obrien
8cae6e209f Remove some 1996 GCC 2.6.3 cruft for building a shared cc_int lib. 2002-04-03 03:18:15 +00:00
ru
0ac094baaf Restore the correct CLEANFILES that got damaged in rev. 1.15. 2002-03-30 17:37:43 +00:00
obrien
fab7c9a460 Allow to build with GCC 3.1. 2002-03-30 10:04:50 +00:00
markm
b7241ccef0 Boot this into the Attic. We now have (Net)BSD sort. 2002-03-29 09:11:38 +00:00
obrien
c288340e80 Make it easier to change the native emulation.
Tested on:	alpha, i386, sparc64
2002-03-29 00:41:01 +00:00
joe
3f16f46fdb Install libusbhid, and use it instead of libusb.
MFC after:	6 days
2002-03-28 18:44:25 +00:00
obrien
4865cbe281 Enhance GDB's abillity WRT stack traces where signal handlers are involved.
Correct backtrace was made more complex when the new signal trampoline
was introduced to support more than 32 signals, while keeping a modified
version of the old signal trampoline.

The 'where' command will now show:

	#2  <signal handler called>

where appropiate.

Submitted by:	Tor.Egge@fast.no
2002-03-27 04:55:43 +00:00
ru
856f433789 Upgrade to GNU texinfo 4.1. 2002-03-25 13:20:03 +00:00
markm
f3401792a8 Remove GNU sort from the build. BSD sort is coming. 2002-03-24 16:01:17 +00:00
obrien
a931cab879 GDB 4.18 does not use the mmalloc library by default. So GC a little. 2002-03-23 17:15:49 +00:00
obrien
c22315924b Fix setting of CLEANFILES. 2002-03-23 04:52:02 +00:00
brian
96ddf92eb2 Update perl's man path for 5.6.1 2002-03-23 00:04:15 +00:00
ru
73f0331a9f Revision 1.45 of gnu/usr.bin/man/man.c obviated the need to link
manpages in machine-specific subdirectories (like man4/i386/) to
"../".  This change didn't propagate here resulting in a loss of
whatis(1) database entries.  Fix this.

Reviewed by:	tobez
MFC after:	1 week
2002-03-22 09:59:16 +00:00
obrien
1dac03fb5e Properly get the version number after the 2.95.4 upgrade. 2002-03-21 01:34:56 +00:00
obrien
0b0025a202 Update to Binutils 2.12.0 release. 2002-03-20 23:05:19 +00:00
des
37ff43589e Add www category 2002-03-20 18:40:40 +00:00
des
c02c5341ce Rename the (not really new but so far unused) sparc category to sparc64. 2002-03-19 00:39:55 +00:00
des
e9ce8c6613 Uncomment the powerpc category. It maps to the freebsd-ppc mailing list. 2002-03-19 00:28:25 +00:00
des
90b4c207a2 Add a "standards" category at mike@'s request. 2002-03-19 00:22:03 +00:00
des
0457205a00 Add an ia64 category; we'll need it sooner or later. Also add a commented-
out entry for powerpc; I'll enable it when the powerpc port gets its own
mailing list.
2002-03-18 23:56:04 +00:00
ru
c088f915ba FreeBSD 4.x bootstrapping aid (no eaccess(2) syscall).
Reviewed by:	markm
2002-03-18 10:10:55 +00:00
markm
61d98ae128 Update for Perl 5.6.1. 2002-03-16 21:36:08 +00:00
obrien
adb0b230b1 GCC 3.1's cpp no longer searches for includes using hints from #line. 2002-03-16 20:45:01 +00:00
obrien
08a17b70d3 Fix unaligned access in the GDB binary on Alpha.
Submitted by:	gallatin
2002-03-16 19:33:23 +00:00
markm
1c67ec15d8 Allow the use of the NO_PERL as well as NOPERL. The latter is
going to go.
2002-03-16 14:53:47 +00:00
obrien
2609492c80 Minor style nit. 2002-03-15 07:45:42 +00:00
obrien
5fc784ab8a Update for binutils_2_12_anoncvs_20020221. 2002-03-15 07:45:18 +00:00
obrien
cc9bd022cd Uggg!! LD ME HARDER!!
Rev 1.2 changed the default emulation from ``elf64_sparc'' to ``elf32_sparc''
and I never noticed it after my review of rev 1.1.  Backing the change of
the default emulation out, and Wa-la!, I can now build a native [and usable]
binutils.  WTF, the "-m elf64_sparc" parameter handed to `ld' by `gcc'
wasn't DTRT is beyond me.
2002-03-15 07:42:47 +00:00
obrien
2ca8fb58ab Tune WARNS for Alpha. 2002-03-14 02:24:25 +00:00
obrien
908b6d102f Support linking with -z combreloc (combine and sort reloc sections) and with
--shared -z combreloc (shared library, combine & sort relocs)

Submitted by:		peter
Bribed by:		peter
Fixes:			IA-64, Kaffe, and QT
Doesn't fix ports by:	kris
Tested on:		make(1) release w/docproj
Desired for:		5.0-DP#1
Approved by:		murray
Seconded by:		jhb
2002-03-13 18:26:59 +00:00
obrien
d1cc970280 Turn up WARNS as high as possible.
Tested by:	gcc31, gcc32, /usr/bin/cc
2002-03-13 05:14:31 +00:00
charnier
915168b6f7 RETURN VALUES is for sections 2, 3 and 9, but here in section 1 man page,
DIAGNOSTICS should be used instead.

Reviewed by:	wosch
2002-03-12 20:00:52 +00:00
obrien
76fa25cebd Wrong spelling of PIC.
Submitted by:	jake
2002-03-11 02:50:03 +00:00
wosch
4421a07f1d apropos(1) manual page doesn't tell that keyword can be regular expression
PR:	gnu/31685
Submitted by: Andrey Simonenko <simon@simon.org.ua>
2002-03-09 20:00:08 +00:00
dd
7449050591 The -a switch didn't cause send-pr to attach the specified file if the
PR template was obtained from the environment variable $PF_FORM.

PR:		34831
Submitted by:	Mike Makonnen <mike_makonnen@yahoo.com>
2002-03-09 04:29:00 +00:00
obrien
2e6dedc4ea On the sparc64 platform we install this as "gawk" as Gawk is currently
borked on the sparc64.  We are using BWK's AWK at the moment.
2002-03-05 19:40:25 +00:00
obrien
b95af4f5a3 Move the creation of the insn-*.c files from cc_tools to cc_int.
This gets rid of a cross build problem we have because we build
everything in cc_tools during the `make build-tools' (or `make depend')
stage.
2002-03-02 08:53:36 +00:00
obrien
a5b1c0acfa Use libgcc_p.a when -pg is in effect.
I am committing this here rather than in gcc/config/freebsd.h because the
profiled libgcc only exists with the native system compiler.  It is not
created by a stock FSF build and we will never be able to get these bits
committed to the FSF CVS repo.  Thus this is very much a FreeBSD "native"
issue.
2002-02-24 06:05:22 +00:00
deischen
af798d036c Sync this up to recent changes to our (userland) thread structure. 2002-02-23 19:28:01 +00:00
obrien
431d88d32d Update for binutils_2_12_anoncvs_20020221. 2002-02-22 18:49:37 +00:00
obrien
5539274514 Update for binutils_2_12_anoncvs_20020221. 2002-02-22 05:35:18 +00:00
obrien
a323589d85 Allow for better control over the GCC front-end when building a cross
compiler.

* Undo the diking out of cross compiler logic from gcc.c rev 1.16.
* Add the `CROSS_STARTFILE_PREFIX' knob.
* Add our own definition of `STANDARD_INCLUDE_DIR'.  This should have been
  included in freebsd-native.h rev 1.5.
* Minimize a little bit more, things we dike out in the FREEBSD_NATIVE case.

Submitted by:	ru & obrien
2002-02-20 19:41:54 +00:00
obrien
0795caf042 Clean up the style a little bit. 2002-02-20 03:57:21 +00:00
obrien
c7a17383fd Do not define a 'MD_EXEC_PREFIX'. It is not needed, not used in the
cross case, and just ends up causing "/usr/libexec" being added to the
library search path.

Also remove misleading comment about 'STANDARD_EXEC_PREFIX'.  It is needed
if one does not set 'MD_EXEC_PREFIX'.

Submitted by:	ru
2002-02-20 03:10:54 +00:00
gallatin
7a2c2b4bb1 Fix kgdb in the face of the last round of KSE commits.
The alpha world may actually build now..
2002-02-18 14:13:59 +00:00
des
20742f460a Add some verbiage to the comments at the top of the PR template:
- point at the FDP article rather than GNU's send-pr documentation
 - warn the user that PRs are public information and will be published in
   mailing lists and on the web
 - suggest that the user contact security-officer@ directly if the report
   concerns sensitive security issues.
2002-02-18 09:13:44 +00:00
deischen
030cf60aac Don't rely on <sys/signal.h> to include <sys/ucontext.h>. 2002-02-17 17:19:14 +00:00
markm
9c03bd91c5 Nice set of fixes to use SCRIPT instead of PROG, thus fixing up
a lot of nasty STRIP= problems. This has the added side effect
if neatening up some leaf makefiles very nicely.

Submitted by:	ru
2002-02-10 19:48:19 +00:00
obrien
cb0b12fb00 Update this to 5.006. 2002-02-10 12:37:52 +00:00
ru
fe2d1dffd3 FreeBSD 4.1 bootstrapping aid (setproctitle(3) is in -lutil).
This backs out (sort of) delta 1.18 to perl/miniperl/Makefile.
Update to the ld(1) comment by peter in this revision:

ld(1) built as part of the cross-tools stage of buildworld has
been fixed to look for dynamic dependencies in the right place,
${WORLDTMP}/usr/lib, effective binutils/ld/Makefile,v 1.20.

Approved by:	markm
2002-02-08 13:09:08 +00:00
ru
d9ac691aac Fixed RCSLOCALID buffer overflow (by making an overflow condition fatal).
Spotted by:	John Johnson <bio.metrix@gte.net>
2002-02-08 11:57:43 +00:00
peter
7afb7d6d36 Add missing & 2002-02-08 04:17:33 +00:00
peter
67d2168b44 Make this part compile and try and use the p_threads tailq. It might work
but I am not sure, I haven't been able to compile the rest of gdb yet.
2002-02-08 03:19:56 +00:00
mike
d3aa0af1fe Add -i option (SUSv3) to patch(1). This allows one to specify a
patch file on command line instead of stdin.

Submitted by:	Joseph Mallett <jmallett@xMach.org>
MFC after:	1 month
2002-02-08 02:05:32 +00:00
obrien
66ecc74328 We do not need to use -I- any longer.
Presumably the issue was with arparse.[ch].  Those are now in FREEBSD-Xlist
and FREEBSD-deletelist.  So we do not import the Bison produced files that
was causing the problem.

Submitted by:	ru
2002-02-07 17:35:49 +00:00
sobomax
53e0d06e7b When unpacking compressed archive check exit status of the child (gzip or bzip)
and exit with error code if that status != 0.

PR:		30876
Submitted by:	Simon Gerraty <sig@juniper.net>
2002-02-07 10:38:16 +00:00
obrien
3f914f4d77 Set the SCRIPTDIR to be rooted at TOOLS_PREFIX rather than DESTDIR.
(the two may be different (ie, build vs. runtime))
Allow ldscript's SEARCH_DIR do be rooted somewhere other than `/'.
(in this case at TOOLS_PREFIX)

These changes are most helpful during `make buildworld' so that the shared
libs built in the middle of `make buildworld' are used vs. the ones in
/usr/lib on the build machine.

Submitted by:	ru
2002-02-07 01:37:53 +00:00
obrien
8f97296c68 I missed adding a file that was needed on the Alpha (and will be needed
on x86_64 also.

Submitted by:	ru
2002-02-04 17:06:30 +00:00
obrien
494635a1dd Upgrade to a Binutils 2.12.0 snapshot. 2002-01-28 19:12:51 +00:00
obrien
a129a54f62 Special case the foreign platform vs. the native one. 2002-01-28 19:08:29 +00:00
obrien
61c46e0b0b Upgrade to a Binutils 2.12.0 snapshot. 2002-01-28 19:07:31 +00:00
obrien
474da9b45d Support cross building from 64-bit machines. 2002-01-28 19:00:11 +00:00
obrien
2bc573d950 Upgrade to a Binutils 2.12.0 snapshot. 2002-01-28 18:58:59 +00:00
obrien
8a24e4cfa0 Upgrade to a Binutils 2.12.0 snapshot. 2002-01-28 18:52:26 +00:00
obrien
c3958d9a9e Change the way the version strings are handled. 2002-01-27 22:47:22 +00:00
obrien
394d763b84 Upgrade to a Binutils 2.12.0 snapshot. 2002-01-27 13:10:59 +00:00
obrien
f57b42ad43 Style fix. 2002-01-27 13:09:36 +00:00
obrien
c78e4b6619 Add files new with 2.12.0. 2002-01-27 13:09:08 +00:00
obrien
5cc11d4ce9 Style fixes. 2002-01-27 13:04:21 +00:00
obrien
137490f70d Add files new with 2.12.0. 2002-01-27 13:03:58 +00:00
obrien
8e316b696c We are now at a 2.12.0 pre-release snap version. 2002-01-27 13:02:31 +00:00
nectar
d021da72fe Use mktemp(1) when creating temporary files. 2002-01-25 15:02:01 +00:00
ru
566f6c5250 Reincarnate SETUID code in man(1), not compiled in by default.
The code will be fixed for all known security vulnerabilities,
and a make.conf(5) knob (ENABLE_SUID_MAN) will be provided for
those who still want it installed setuid for whatever reasons.
2002-01-22 15:15:38 +00:00
ru
839a95a808 GC spurious -m in the usage(). 2002-01-18 16:08:29 +00:00
ru
2aa7f13a7d Do not install man(1) setuid ``man''.
The catpaging and setuidness features of man(1) combined make
it vulnerable to a number of security attacks.  Specifically,
it was possible to overwrite system catpages with arbitrarily
contents by either setting up a symlink to a directory holding
system catpages, or by writing custom -mdoc or -man groff(1)
macro packages and setting up GROFF_TMAC_PATH in environment
to point to them.  (See PR below for details).

This means man(1) can no longer create system catpages on a
regular user's behalf.  (It is still able to if the user has
write permissions to the directory holding catpages, e.g.,
user's own manpages, or if the running user is ``root''.)

To create and install catpages during ``make world'', please
set MANBUILDCAT=YES in /etc/make.conf.  To rebuild catpages
on a weekly basis, please set weekly_catman_enable="YES" in
/etc/periodic.conf.

PR:		bin/32791
2002-01-15 14:11:05 +00:00
ru
f5ef8e1b2c Now that we have the original BSD man(1)'s ${MACHINE} feature
back (as of man.c,v 1.45), change the meaning of the -m option
from poorly documented and badly coded "alternate system" to a
much more useful "different architecture for the same system".

PR:		docs/31261
2002-01-11 15:12:00 +00:00
ru
23730131c8 The -pthread -> -lc_r change didn't reach here. 2002-01-11 11:42:16 +00:00
ru
e24c4da983 Forgot to commit these two files for the recent .Dt change. 2002-01-11 11:30:14 +00:00
cjc
f5d37e9d64 Fix what was a pointless conditional. Use $GCC_EXEC_PREFIX if
/etc/gnats does not exist.

PR:		gnu/33682
Submitted by:	Alan Eldridge <ports@geeksrus.net>
2002-01-10 07:43:38 +00:00
ru
b75cf26629 MFV: FreeBSD 4.4, FreeBSD 4.5, NetBSD 1.6, POSIX.1-2001. 2001-12-24 08:59:48 +00:00
ru
6bc34b32bb Install files via FILES. 2001-12-17 16:45:09 +00:00
ru
bbef88e1a5 FILES support for bsd.prog.mk. See bsd.README for details.
Stolen from:	NetBSD
2001-12-17 13:59:35 +00:00
ru
747605ddfa Add .Lb entry for -lpam. 2001-12-17 12:12:17 +00:00
jhb
580f3319c9 Catch up to the globaldata -> pcpu changes. 2001-12-12 21:15:30 +00:00
peter
a4375c2dae *** empty log message *** 2001-12-11 07:04:48 +00:00
peter
f3e96367f3 Recognize numeric digits inside $id$ tags, eg: $XFree86$
PR: 30666
Submitted by: Tony Finch <dot@dotat.at>
2001-12-10 20:44:31 +00:00
ru
b049e9eff8 December 6th -- the IEEE Standards Board approves the Austin Group
Specification as IEEE Std 1003.1-2001.  Yay!
2001-12-08 19:02:36 +00:00
obrien
9beed4b819 Upgrade to Binutils 2.11.2. 2001-12-06 03:10:42 +00:00
ru
a2f0a76ebc CFLAGS is not suitable for `optimize' thing; it spams Config.pm
with -nostdinc which breaks Perl ports building.

This change will be re-applied if BDE agrees on having COPTFLAGS
in userland.

PR:		bin/31877
2001-11-27 16:28:26 +00:00
ru
401e4af15d Add .Lb entry for -lpam.
Requested by:	des
2001-11-27 15:08:42 +00:00
ru
bfc3ff5461 Removed glibc specific stuff.
PR:		docs/31431
2001-11-27 08:23:38 +00:00
bde
fdac350c9d Fixed style bugs (tab corruption) on every changed line in previous commit. 2001-11-11 02:16:52 +00:00
ache
1480055fea Back out switching from libreadline to libedit:
1) It is capabilities degradation: f.e. libedit can't process ~/.inputrc files
2) It have no sense to try to un-GNU GNU program.
2001-11-09 17:09:42 +00:00
dfr
66413d6b87 Clone the alpha config for ia64. 2001-11-03 16:06:05 +00:00
obrien
2fd0cade3f Bring Gawk back. There just isn't any other POSIX compliant AWK out there.
The biggest thing missing from Bell-Labs AWK is the character class regexes.
2001-11-02 23:48:32 +00:00
obrien
234500c65e Update to Gawk 3.1.0. 2001-11-02 23:46:57 +00:00
obrien
d1baa9778f Bring Gawk back. There just isn't any other POSIX compliant AWK out there.
The biggest thing missing from Bell-Labs AWK is the character class regexes.
2001-11-02 23:43:07 +00:00
obrien
4a5f2e9cc5 Switch to the One True AWK from Bell-Labs, away from GNU AWK. 2001-10-30 08:56:50 +00:00
ru
9a64105efb There are users of FreeBSD 4.5 already. 2001-10-26 17:01:15 +00:00
obrien
c3723c4c99 Make the logic more explicit. 2001-10-19 20:20:16 +00:00
ru
45cd307781 Respect system ${CFLAGS} when building Perl modules.
bsd.obj.mk -> bsd.prog.mk in modules makefiles, as the
latter automatically includes ../Makefile.inc and adds
-I${DESTDIR}/usr/include to ${CFLAGS} needed for "make
world" which is built with -nostdinc.

Reviewed by:	MAINTAINER timeout
2001-10-19 12:58:22 +00:00
bde
1eb768ee31 Fixed style bugs in previous commit:
- don't comment out the old version; just modify it.
- don't 2 sets of 3 style bugs that weren't present in the old version.
2001-10-19 12:45:59 +00:00
mdodd
b22126f3d3 Turn on the libedit support in bc. Turn off libreadline. 2001-10-19 00:24:39 +00:00
obrien
c0f4587381 We don't use the IA-64 psABI ELF_DYNAMIC_INTERPRETER, so remove it. 2001-10-15 03:10:48 +00:00
obrien
cfb1b45b4c Clean this up. 2001-10-15 02:14:08 +00:00
obrien
742c9a45b0 Binutils 2.11.2 build framework for the FreeBSD/IA-64 target. 2001-10-15 02:13:26 +00:00
obrien
7e528e5a62 We don't support GDB for IA-64, PowerPC, or sparc64 yet. 2001-10-15 01:57:13 +00:00
obrien
35f617ebb3 We can easily share obj-format.h and targ-env.h files across all FreeBSD
platforms, which reduces the upgrade effort.
Also tidy up the Makefiles.
2001-10-15 01:43:23 +00:00
obrien
88040c2404 More cleaning. 2001-10-15 01:18:51 +00:00
obrien
3b3f4a1ff2 Adjust for the movement of `as' headers. 2001-10-14 02:15:58 +00:00
obrien
ae115aae87 You know the last revision will work better if the TARGET_TUPLE is set
conditionally....
2001-10-14 02:13:55 +00:00
obrien
41df122324 Allow easier override of the configure tuple, in case you wanted to build
as "powerpc-obrien-freebsd" rahter than "powerpc-unknown-freebsd" for example.
2001-10-14 02:12:40 +00:00
obrien
d401052f83 Need to look in additional places for BFD's config.h now. 2001-10-14 02:07:26 +00:00
obrien
a28a8cb8f0 Clean up a little bit more. 2001-10-14 01:58:18 +00:00
obrien
06ba7c459f Clean up the formatting. 2001-10-14 01:57:19 +00:00
obrien
47a1f874c0 We do "sparc64", not "sparc". 2001-10-14 01:57:07 +00:00
obrien
bbe4c70f08 Clean up the formatting. 2001-10-14 01:47:30 +00:00
obrien
ca2572a2e9 We do "sparc64", not "sparc". 2001-10-14 01:33:07 +00:00
obrien
d315254d6f Clean up the formatting. 2001-10-14 01:31:37 +00:00
obrien
ec61de5567 We can easily share a single config.h file across all FreeBSD platforms,
which reduces the upgrade effort.
2001-10-14 01:24:07 +00:00
obrien
580b1d588d Update for Binutils 2.11.2. 2001-10-14 01:08:32 +00:00
obrien
147dd9f906 We support sparc64, not plain sparc. 2001-10-14 01:00:29 +00:00
obrien
e0013317b9 Clean up the formatting. 2001-10-14 00:58:59 +00:00
bde
73b394228c Backed out "Compensate for header dethreading [mistakes]" mistakes in
alpha files too.
2001-10-13 04:38:46 +00:00
bde
229c3ac7c3 Compensate for "Compensate for header dethreading" by backing it out. 2001-10-10 17:48:44 +00:00
iedowse
478926021c Remove the Xresume* labels from the i386 interrupt handlers; the
code in ipl.s and icu_ipl.s that used them was removed when the
interrupt thread system was committed. Debuggers also knew about
Xresume* because these labels hide the real names of the interrupt
handlers (Xintr*), and debuggers need to special-case interrupt
handlers to get the interrupt frame.

Both gdb and ddb will now use the Xintr* and Xfastintr* symbols to
detect interrupt frames. Fast interrupt frames were never identified
correctly before, so this fixes the problem of the running stack
frame getting lost in a ddb or gdb trace generated from a fast
interrupt - e.g. when debugging a simple infinite loop in the kernel
using a serial console, the frame containing the loop would never
appear in a gdb or ddb trace.

Reviewed by:	jhb, bde
2001-10-09 19:54:52 +00:00
iedowse
3cfe16a87b Catch up with the SMPng reduced interrupt frame size. The corresponding
change was made to DDB months ago (i386/i386/db_trace.c revision 1.37).

Reviewed by:	bde
2001-10-08 12:46:01 +00:00
ru
6c45f70bf2 Unbreak standalone `make depend' in gnu/usr.bin/perl.
Noticed by:	bde
2001-10-04 11:45:38 +00:00
ru
d2baaeb287 Document how manpath(1) handles user's path directories that end in "/bin".
PR:		docs/30940
MFC after:	3 days
2001-10-01 16:58:30 +00:00
ru
0579c777d9 Fix cross-building, etc:
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
2001-09-29 13:17:54 +00:00
obrien
fe8d76fb16 We need to build ``.depend'' early in the "build-tools" for the GCC
"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
2001-09-27 17:14:33 +00:00
obrien
f047e940b4 Unconditionally use basename.c source vs. only doing this if the libc we
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
2001-09-26 20:51:51 +00:00
ru
e97a4764bb Fixed the buildworld breakage in cross-tools caused by
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
2001-09-24 09:25:05 +00:00
markm
85ebd45970 [ Very nasty nautical expletive removed ]
Remove debugging code that should never have been committed.
2001-09-21 13:50:31 +00:00
markm
573604c529 Through some hackery-pokery, allow folks to cd to src/gnu/usr.bin/perl
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.
2001-09-20 12:22:27 +00:00
peter
5c7920c83b Fix alpha gdb -k on "live" kernels. Use offsetof() instead of some evil
hand-rolled macros to do the same thing.
2001-09-20 06:31:23 +00:00
fenner
b56fb0e4dd Don't try to dereference a kernel pointer in userland; use offsetof()
to get the right address.

This fixes kernel GDB after KSE2.

Reviewed by:	jhb, jake
2001-09-19 18:42:19 +00:00
ru
de49b78266 In FreeBSD, -Z is reserved for zgrep(1), and only
a long version of the --null option is supported.

PR:		gnu/30644
2001-09-19 07:22:30 +00:00
obrien
3d85dcd29b Rev 1.10 bogusly tested the kernel version, not the libc version.
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
2001-09-14 23:07:02 +00:00
peter
1e54689816 Update this to compile on the Alpha. 2001-09-14 11:08:44 +00:00
ru
ad71f55b36 Fixed some of style bugs. 2001-09-12 10:04:42 +00:00
julian
5596676e6c KSE Milestone 2
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
2001-09-12 08:38:13 +00:00
obrien
af55bbfa10 I am no longer the FreeBSD GCC maintainer. 2001-09-10 16:05:39 +00:00
obrien
75e49f40f4 Fix the upgrade path from 4.1 and earlier. 2001-09-06 22:59:31 +00:00
ru
40d29ec988 SECURITY.
Avoid using setre[ug]id() calls.
Removed the setgid stuff we don't need.
2001-09-06 11:54:28 +00:00
peter
af9d8ab82e Implement .previous (swap section back to the last section)
This enables:
	.data
	.asciz "foo"
	.previous
.. just like on current binutils
2001-09-04 23:04:48 +00:00
bde
cca4d5358a Fixed style bugs in rev.1.4, including clobbering of the "Don't generate
y.output" part of rev.1.11.
2001-08-31 11:15:49 +00:00
peter
1baec06421 Dynamically adapt to kernbase changes on crashdumps, falling back to
KERNBASE if the "kernbase" symbol is not present on older kernels.
2001-08-24 09:12:04 +00:00
nik
0e618921c1 Note that submitted patches are assumed to be under the same license as
the file they patch.
2001-08-20 12:52:59 +00:00
obrien
8ca63ecded Define _KERNEL as this grubs around where no userland should go. 2001-08-16 20:47:01 +00:00
obrien
cd3f3aab8e Add the `WANT_FORCE_OPTIMIZATION_DOWNGRADE' knob. If set to an integer
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.
2001-08-16 06:05:18 +00:00
ru
ae8772dd9f The .Rv macro support zero and more than one arguments. 2001-08-15 08:25:55 +00:00
ru
24c7b0a61d mdoc(7) police: s/BSD/.Bx/ where appropriate. 2001-08-14 10:01:54 +00:00
peter
92a0f962f0 msg_out is already initialized 2001-08-13 21:55:41 +00:00
peter
43cab203eb Turn cvs back on. It seems that there's nothing outright broken, but there
are some odd things I've run into.. eg: log message formatting, etc.
2001-08-13 19:04:26 +00:00
ru
d896280a89 mdoc(7) police: s/NetBSD/.Nx/ where appropriate. 2001-08-13 17:00:36 +00:00
ru
e8e5635e4a Spell "FreeBSD" with "F" and "BSD" in uppercase. 2001-08-13 16:33:00 +00:00
ru
95ce4d2cdc Removed duplicate VCS ID tags, as per style(9). 2001-08-13 14:06:34 +00:00
peter
f9feb25a75 Use some slightly less horrible make magic for doing the version stuff. 2001-08-10 11:24:23 +00:00
peter
e0b94042d7 One more version related tweak after cvs-1.11 -> 1.11.1p1 2001-08-10 11:18:35 +00:00
peter
101930d69e Update build rules for .in and tidy up. 2001-08-10 11:03:29 +00:00
peter
0f086e4aad Tools dir is now empty and unused 2001-08-10 10:47:28 +00:00
peter
04819cf85d Generate version.c on the fly rather than using a generated file. 2001-08-10 10:29:04 +00:00
peter
f0188b1960 Get the version source from the (more) correct place.
Remove the obsolete cvsbug.sh script
2001-08-10 10:22:43 +00:00
peter
be57e479a0 *** empty log message *** 2001-08-10 09:55:48 +00:00
peter
b8b25f8ad5 Add annotate.c, remove rtag.c for 1.11.1p1 2001-08-10 09:54:52 +00:00
peter
e832f306d6 Temporarily turn off cvs builds for the (short) duration of
import/verification.
2001-08-10 09:35:58 +00:00
ru
774de761c5 Skip empty calls in the NAME section after the .Nm macro call.
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
2001-08-09 15:42:40 +00:00
ru
4ae54bc73c An empty request (single dot on the line) is treated as an
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
2001-08-09 15:23:30 +00:00
ru
8c03b77cd5 Teach makewhatis(1) about mdoc(7) .Xr macro.
% 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
2001-08-09 15:12:59 +00:00
ru
4345758876 mdoc(7) police:
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.
2001-08-07 15:48:51 +00:00
obrien
d45178b105 Hook up the manpage. 2001-07-29 07:21:39 +00:00
obrien
f7019990ad Add lbasename which is used in the `LD' fix for -current. 2001-07-20 03:53:28 +00:00
obrien
12bfbfe580 Update the version string so I can identify this new variant. 2001-07-20 03:51:17 +00:00
ru
0da225953b Restore vendor CVS keywords; eliminate troff(1) warnings. 2001-07-12 13:13:37 +00:00
peter
ad25811e3e Use the real structure names explicitly. Note that this is mostly for
reading old a.out core files, which are totally 100% non-understandable
to the gdb floating-point reader if you have SSE turned on.

This should be the last of the world build breakers...
2001-07-12 13:01:17 +00:00
ru
3fe56fcc04 Fixed CLEANFILES. 2001-07-12 08:48:36 +00:00
ru
d929062987 mdoc(7) police: removed punctuation after the last SEE ALSO xref. 2001-07-10 18:00:19 +00:00
ru
7a827248f9 Add $FreeBSD$ CVS tag. 2001-07-10 17:23:07 +00:00
ru
54223a5889 Upgrade to Groff 1.17.2. 2001-07-10 17:15:52 +00:00
ru
d19961ab7f mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 10:42:19 +00:00
dd
eaa6ee03b8 mdoc(7) police: remove extraneous .Pp before and/or after .Sh. 2001-07-09 09:54:33 +00:00
brian
8636b161b3 Fix the type of the NULL arg to execl()
Idea from: Theo de Raadt <deraadt@openbsd.org>
2001-07-09 09:24:06 +00:00
ru
05e503d80a mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2). 2001-07-06 16:46:48 +00:00
obrien
0d05e55dec Upgrade to Binutils 2.11.2. 2001-06-29 07:49:41 +00:00
obrien
cf97142871 Style fix. 2001-06-26 18:32:20 +00:00
obrien
dbf5ef1b18 Add the IA-64 unwind handling (needed for readelf). 2001-06-26 18:29:47 +00:00
obrien
5e25d45ce5 Upgrade to Binutils 2.11.2. 2001-06-26 18:20:46 +00:00
obrien
02e65ac0b6 Upgrade to 2.11.2. 2001-06-26 17:13:11 +00:00
ache
595bc7e7f9 Rewrite locale handling using nl_langinfo(CODESET), so aliases not needed here
now
2001-06-25 21:11:43 +00:00