Commit Graph

3546 Commits

Author SHA1 Message Date
ache
9b6751c3cc Remove collate_range_cmp() stabilization, it conflicts with ranges 2003-08-03 04:36:09 +00:00
obrien
1e4b5b112b If ${GCC_CPU}-c.c exists, we need to use it. 2003-07-31 19:41:32 +00:00
jwd
03d7e648bd returned length can exceed the limits of type char
Submitted by:	blc@bsdwins.com
Approved by:	gad
MFC after:	1 week
2003-07-29 00:31:07 +00:00
kan
3d589bbdc6 Including dynamically generated osreldate.h wasn't such a good
idea after all.

Fix cross-builds and ia64 builds. gnu/lib/csu/Makefile is modified to
pre-include osreldate.h and gnu/usr.bin/cc/cc_tools/auto-host.h
will avoid including sys/param.h if __FreeBSD_version is already defined.
2003-07-13 02:41:48 +00:00
kan
7b5949381a Include osreldate.h instead of sys/param.h to get __FreeBSD_version
definition. This fixes buildworld breakage on ia64.
2003-07-11 18:55:58 +00:00
kan
e16ef3051f Update bmake bits to build GCC 3.3.1-prerelease. 2003-07-11 05:37:23 +00:00
kan
365bf752c5 Update for GCC 3.3.1-pre. 2003-07-11 05:33:24 +00:00
kan
e120cc9627 Add unwind-c.c file required for -fexceptions in C sources. 2003-07-11 05:29:11 +00:00
kan
d51504c4c5 Change CFLAGS to more closely follow options used when GCC is built
from stock FSF sources.
2003-07-11 05:27:23 +00:00
kan
a886ff4dbd Temporarily turn off -Werror for these components. 2003-07-11 05:24:32 +00:00
obrien
65d5f9df57 Only define a default editor if one isn't already defined. 2003-07-07 19:13:39 +00:00
obrien
8f11363180 bfd_elf32_i386_freebsd_vec is the only 32-bit vector we really need.
ar and nm aren't very smart when faced with multiple applicable vectors.
2003-07-01 17:29:48 +00:00
obrien
032b6e9b7e Add elf_i386_fbsd emulation.
Obtained from:	p4
2003-07-01 17:12:55 +00:00
ru
746493cc12 Fixed build.
Noticed by:	bde
2003-07-01 14:46:26 +00:00
ru
18ac6e463e Don't build separate annotate.info, it's already part of gdb.info. 2003-07-01 14:04:08 +00:00
ru
41e21bba17 Catch up with bsd.lib.mk,v 1.143. 2003-06-30 19:11:20 +00:00
peter
d850f7cbba Add missing quote after cut/paste error in last commit. :-( 2003-06-26 20:34:08 +00:00
obrien
a153395cfd Update the target. 2003-06-26 16:13:36 +00:00
peter
f5eb833dbf Configure gcc in biarch mode for amd64 so that the -m32 flag is enabled
for things like boot blocks etc.

Reviewed by:  kan
2003-06-26 03:02:32 +00:00
peter
3ebd7677e2 Oops, remove hack to stop libstdc++.so being built now that gcc uses
-lgcc_pic by default on -fpic stuff.  I forgot about this here.
2003-06-26 01:30:44 +00:00
des
31e5705da5 Add an amd64 category now that amd64 has its own mailing list and all. 2003-06-20 10:48:26 +00:00
obrien
7ea86c6d90 Remove MAINTAINER lines. 2003-06-14 19:32:52 +00:00
des
d84e6f299c Do not bogusly set CSTD to the empty string. 2003-06-14 13:30:32 +00:00
peter
baa705794e When building a shared library, link it against libgcc_pic.a instead of the
non-PIC libgcc.a.  Linking non-pic code into a shared library is not
a good thing.  It happens to break amd64 at compile time, and the ppc
folks want it too.  The problem is mainly with C++ code, unwind-dw2.c
in particular.  Most of the other functions in libgcc.a are self
contained so most of the time it isn't a problem.  The dwarf2 unwinder
is not safe though since it does make global variable references.

Reviewed by:	kan
2003-06-13 22:25:41 +00:00
peter
db4799b484 Build/install the PIC version of libgcc (libcc_pic.a) for use by shared
libraries that do exception unwinding.
2003-06-13 22:07:39 +00:00
ru
7bf8495ee2 Teach mdoc(7) about the upcoming 5.2-RELEASE.
Suggested by:	juli
2003-06-09 10:40:17 +00:00
charnier
0d5348f9ea The .Fn function 2003-06-08 09:53:08 +00:00
kuriyama
f0a040c72b Use
cat ${.ALLSRC} > ${.TARGET}
rather than
	ln -sf ${.ALLSRC} ${.TARGET}
not to depends on absolute-path of symbolic links.

Commented by:  marcel, obrien, bde
2003-06-06 13:46:55 +00:00
ru
259ec78e22 Make the footer display "FreeBSD 5.1". 2003-06-05 13:18:43 +00:00
ru
1497556a65 We have at least one consumer of the upcoming FreeBSD 4.9. 2003-06-02 18:43:15 +00:00
obrien
c32790bfaf Something funky is going on here... disabling CSTD makes it go away... 2003-06-02 06:12:14 +00:00
obrien
4fb18559fe Don't set a C standard level for ObjC code. 2003-06-02 02:30:52 +00:00
obrien
c8226cb013 Use ?= before someone brings it up. 2003-06-02 02:29:26 +00:00
obrien
31eeb1fbcf crtstuff needs isn't compilable with C99 on Sparc64, so set CSTD to gnu89. 2003-06-01 22:18:05 +00:00
peter
6f281cac46 Add a temporary indirect patch for gcc when targeting amd64. This is to
give the cvs tree a surviving a 'make world'.  One of the two diff chunks
is already in gcc-3.3, the other has been committed to gcc's HEAD and
is in the pipeline for gcc-3.3.1 (but has not been committed yet).

The first chunk simplifies an excessively complex assembler statement
when generating switch jump tables.  The use of '.' causes as(1) to choke
on big files.  Use a simpler form instead.  This is only an issue for
TARGET_64BIT mode.

The second chunk fixes an internal compiler error when compiling
libc/stdio/vfprinf.c.  While this is supposedly only an issue for
64 bit mode, it does touch the 32 bit i386 code paths, so this patch
is only applied for TARGET_ARCH == amd64 to keep the risks down.
Breaking gcc at the 11th hour would suck.

This will be removed when it is time to import gcc-3.3.

Discussed with:	kan
Approved by:	re (jhb)
2003-05-24 20:58:47 +00:00
peter
b5e718b143 libstdc++.so breaks on amd64 due to bogons in our build, so prevent the
shared library being built for amd64.  The problem is that libstdc++.so
is produced with 'cc -shared'.  This has an internal -lgcc, which is
not PIC.  libstdc++.so uses exceptions and the dwarf2 unwinder, which
are in libgcc.a.  As a result, non-PIC code gets pulled into libstdc++.so.
This is fatal on amd64 when certain relocation types cannot be used in
PIC mode.  The official FSF solution to this is to have libgcc.so with
internal ELF symbol versioning to solve the ABI problem, but I dont want
to fight that battle yet.  I tried making libgcc_pic.a (which worked
fine), but thats not something for the 11th hour before a release.

Approved by:  re (amd64 "safe" stuff)
2003-05-24 19:38:18 +00:00
peter
61de490e30 Set the binutils arch for as/nm correctly on the amd64 platform.
As far as binutils is concerned, the amd64 platform is still called
"x86-64"/"x86_64".  Setting things from ${MACHINE_ARCH} breaks that.

Approved by:  re (scottl)
2003-05-08 06:39:31 +00:00
nectar
77b1a36816 Enable GSSAPI/Kerberos 5 support (aka `gserver').
MFC after:	1 month
2003-05-05 16:50:42 +00:00
obrien
3926d43570 Use __FBSDID over rcsid[]. 2003-05-03 21:31:08 +00:00
obrien
676130c503 This is WARNS=2 clean. 2003-05-03 21:30:34 +00:00
ru
680bad4c09 Fix build on 4.x. 2003-05-02 11:56:43 +00:00
ru
768ea2d6e2 Re-enable building of Groff documentation; texinfo has just been
upgraded to version 4.5.
2003-05-02 00:55:52 +00:00
ru
cb446c6191 Update for texinfo 4.5. 2003-05-02 00:51:24 +00:00
ru
741fcd15b3 catman(1) sources now live elsewhere. 2003-05-01 23:48:11 +00:00
obrien
e47f44a832 Lock GCC w/o -m32 into 64-bit mode. 2003-05-01 15:00:46 +00:00
ru
979c0d6568 Upgrade to Groff 1.19. 2003-05-01 13:22:21 +00:00
ru
bc0c76dba1 Replace beforeinstall: with plain FILES. 2003-04-30 20:48:03 +00:00
kan
6f4ed18bfc Enable wchar_t support in libstdc++. 2003-04-29 18:10:45 +00:00
obrien
f029c97fa7 Wrap gperf in NO_CXX as it needs the C++ to compile. 2003-04-27 20:14:05 +00:00
obrien
8a892a44c5 We're changing the platform name from x86[_-]86 to amd64. 2003-04-26 20:04:38 +00:00
obrien
eaf1cac7ff The AMD64 Hammer bits. 2003-04-26 03:28:21 +00:00
obrien
5928fa1306 Remove first attempt at x86-64 bits. We're going to call it "amd64" now.
Sponsored by:	Microsoft
2003-04-26 03:24:26 +00:00
obrien
a8b06a6a44 Enable ISO-C99 compatibility -- among other things, this tells libstdc++
not to blindly undef isnan() and other functions that became macros in C99.
Enable use of newly grown C99 functions: strtof(), strtold(), wcstof()

Submitted by:	das
2003-04-25 21:17:31 +00:00
ru
c007500913 Removed invasion into these makefiles by the "legacy" stuff;
I have a better fix in the works.
2003-04-12 14:44:49 +00:00
ru
e97478a535 libbinutils.a needs basename(3); when the latter is provided
by -legacy, liblegacy.a should come last in the LDADD list.
2003-04-11 18:02:10 +00:00
imp
b0693a4cbc Migrate to a new way of dealing with building from old revisions of
FreeBSD.  This method attempts to centralize all the necessary hacks
or work arounds in one of two places in the tree (src/Makefile.inc1
and src/tools/build).  We build a small compatibility library
(libbuild.a) as well as selectively installing necessary include
files.  We then include this directory when building host binaries.

This removes all the past release compatibilty hacks from various
places in the tree.  We still build on tip of stable and current.  I
will work with those that want to support more, although I anticipate
it will just work.

Many thanks to ru@, obrien@ and jhb@ for providing valuable input at
various stage of implementation, as well as for working together to
positively effect a change for the better.
2003-04-05 20:30:30 +00:00
ru
6b0e3863ff Mark bits that do not require an object directory as such. 2003-04-01 12:37:54 +00:00
keramida
cc265842d3 Document the MAIL_AGENT environment var.
PR:		48277
Submitted by:	Stefan Walter <sw@gegenunendlich.de>
2003-03-26 01:45:20 +00:00
iedowse
2c7df26ff6 Attempt to automatically read in kernel module symbols when a live
or dead kernel core is loaded into gdb. This extends gdb's existing
shared library support, so the "info sharedlibrary", "sharedlibrary"
and "nosharedlibrary" commands can be used to view and change the
list of loaded symbol files.

The current implementation is more than a kludge however, and it
will not always manage to find the .ko.debug file corresponding to
the loaded module. In particular, for modules whose build directory
cannot be easily guessed from the module name such as all the
netgraph modules, the debug version of the .ko will not be found
automatically.

The logic for finding the module file first attempts to guess at
the module build directory by parsing the version[] string. Then
using that directory ($DIR), it tries the following paths in turn:

	./<module>.ko.debug		./<module>.ko
	$DIR/<module>.ko.debug		$DIR/<module>.ko
	/boot/kernel/<module>.ko.debug	/boot/kernel/<module>.ko

Approved by:	obrien, mp
2003-03-21 00:30:53 +00:00
des
dcd03e9730 Shorten the URL to the problem-reports article. 2003-03-18 11:12:14 +00:00
marcel
86c427b4c1 Forced non-forced commit by adding a comment mentioning what the
previous commit log should have mentioned:
PR: ia64/49081
2003-03-17 00:08:47 +00:00
marcel
e0730b13ea libobjc is linked against shared objects and since we don't have a
shared object of libobjc, we end up linking in from the archive
version. This is wrong, because we don't compile the archive version
suitable for inclusion in shared objects. On ia64 this causes actual
breakages. Compile the archive version with PIC on ia64 to avoid
the breakage there and also to avoid changing the status quo on
other architectures. If other architectures have the same problem,
we probably should start building a shared library. There's no
indication however that other architectures actually need it.

Building the archive version with PIC on ia64 does pessimize linking
complete binaries (ie fully archive), but we don't use Objective-C
ourselves and so far I haven't seen non-shared executables written
in Objective-C, so I'm sure this will be nothing but academic.

Trigger case: ports/lang/gnustep-base
2003-03-16 22:44:01 +00:00
ru
b286653bd0 Only cross-tools may use TARGET_ARCH/TARGET, everyone else
should use the normal MACHINE_ARCH/MACHINE instead.
2003-02-27 09:19:31 +00:00
ru
d9d1f68412 Fixed CLEANFILES.
Submitted by:	cron
2003-02-25 15:41:49 +00:00
ru
7881d02b0a Install the gcov(1) manpage; kernbb(8) references it. 2003-02-24 22:58:19 +00:00
ru
fa16b86679 So we don't use this header anymore. 2003-02-24 22:57:06 +00:00
obrien
9590f548c3 I thought groff was wrapped with NO_CXX. Oh well, it is now. 2003-02-24 02:40:56 +00:00
obrien
5fcbca2516 Some things don't build for PowerPC yet.
List from:	benno
2003-02-21 02:30:51 +00:00
kan
72c057cdd9 Update for GCC 3.2.2 2003-02-19 04:28:12 +00:00
ru
18d68081cc Recognize FreeBSD 5.1; libc_gen/signbit.3 has set the precedent. 2003-02-14 16:01:58 +00:00
ru
2d2c56d061 Moved the libugidfw library definition out from contributed source
to where it actually belongs.

Submitted by:	phantom
2003-02-14 13:36:16 +00:00
phantom
9b541f6c4d FreeBSD 5.x does not provide libskey anymore, remove reference 2003-02-13 18:23:13 +00:00
phantom
abd26e1ed1 Add 'libgeom' to list of valid .Lb arguments 2003-02-13 18:21:32 +00:00
ache
06feeff124 Add /usr/local/man as OPTIONAL_MANPATH 2003-02-11 01:04:53 +00:00
nectar
b36647ffe0 Install the OpenSSL man pages in /usr/share/openssl/man
and remove the WANT_OPENSSL_MANPAGES knob.
2003-02-10 19:57:56 +00:00
kan
4ec0d56609 Install one more header file which is new with GCC 3.2.2. 2003-02-10 06:09:55 +00:00
peter
1f669c4736 Finish update for cvs-1.11.5. Some build-time tunables were moved from
options.h to config.h.in and set via ./configure when built normally.
Export some of the build knobs to the Makefile here, overridable
from /etc/make.conf.  Also get the version strings right.
config.h was repocopied to config.h.proto, and we do a limited sed on it
at build time now.
2003-01-21 23:00:36 +00:00
peter
4245ac7ff8 Dont bother with unused rules for version.c 2003-01-21 22:31:07 +00:00
peter
91d2438463 Update for cvs-1.11.5 import (note to self: gotta fix the version tags) 2003-01-21 22:04:20 +00:00
obrien
92a70e3695 The PowerPC-specfic scripttempl file was depreciated in favor of the generic
ELF one.
2003-01-21 06:12:56 +00:00
obrien
8e7de77cd0 Reformat. 2003-01-04 17:51:59 +00:00
obrien
e5da2f409c Add the ability to debug C++ programs using v2 and v3 of the G++ ABI.
Submitted by:	Peter Edwards <pmedwards@eircom.net>
2003-01-04 17:51:48 +00:00
fjoe
cdf147a0df GC 'char sigmap[]' (it is no longer used)
Approved by:	obrien
MFC after:	3 days
2003-01-04 17:35:54 +00:00
keramida
13f890f8ad Make minimal changes to point the users to the Texinfo documentation
for more detailed information about sdiff(1).  Hopefully this will
make it easier to find how `interactive merging' works with sdiff.

PR:		docs/30618
Submitted by:	mark@summersault.com
2002-12-14 23:58:49 +00:00
ru
041d1287e8 Uniformly refer to a file system as "file system".
Approved by:	re
2002-12-12 17:26:04 +00:00
obrien
0f38a89788 We need to support the bfd_efi_app_ia64_vec vector for loader support.
Submitted by:	Marcel
Approved by:	RE
2002-12-05 18:27:22 +00:00
obrien
187ddd39e8 Change the default emulation to elf64_sparc_fbsd. This emulation knows the
correct spelling of our rtld.
2002-12-05 18:25:09 +00:00
obrien
670a912740 Set WARNS=0 as a temp work around until I can get access to an IA-64 box
to do this right.

Approved by:	RE
2002-12-05 18:24:34 +00:00
obrien
6e64f0f07b Change the default emulation to elf64_ia64_fbsd. This knows the proper
spelling of our rtld.
2002-12-05 18:23:08 +00:00
obrien
159ed8ed93 Don't dike out ELF_DYNAMIC_INTERPRETER, we need this copy now.
This should have been committed with ia64/bfd.h rev 1.6.

Approved by:	RE
2002-12-05 18:19:18 +00:00
kan
ef17cd4304 C++ exceptions with shared libraries are working on sparc64 now.
Build shared libstdc++so on sparc64 platform too.

Approved:	re (rwatson)
2002-12-05 17:04:03 +00:00
obrien
500c14e805 Update for Gcc 3.2.1 release.
We also have more wide char support in libc now.
2002-12-04 17:47:34 +00:00
obrien
1a06a97440 Gperf is usable again. 2002-12-04 17:34:21 +00:00
peter
5d28b45077 Sigh. Another wrong version string. However, this one isn't used in the
build.

Approved by: re
2002-12-04 00:07:15 +00:00
peter
1d704c21dc Oops. Use the correct version number. The number that was here was the
one that I originally used on freefall etc.

Approved by: re
2002-12-03 21:59:42 +00:00
obrien
9cab8331e5 Remove the ancient PEI cruft that is useless. 2002-12-02 10:50:38 +00:00
obrien
a8a1c25ee7 We can handle the bfd_elf32_i386_vec vector at the same time as the
bfd_elf32_i386_freebsd_vec.  This may help in intra-branch building.
2002-12-02 10:01:18 +00:00
obrien
75c01c7c09 We can handle the bfd_elf64_alpha_vec vector at the same time as the
bfd_elf64_alpha_freebsd_vec.  This may help in intra-branch building.
2002-12-02 10:00:44 +00:00
obrien
b782c9f5b6 Cleaner support of a DEFAULT_VECTOR. 2002-12-02 09:59:05 +00:00
obrien
b3183ee084 Update for the Binutils 2.13.2 20021127 snapshot import. 2002-12-02 09:54:40 +00:00
obrien
fb0963495c Handle the "HAVE_" defines via the VECS list. 2002-12-02 09:53:59 +00:00
obrien
1f73f7da62 Update for the Binutils 2.13.2 20021127 snapshot import.
Among other things, we don't need to redefine ELF_DYNAMIC_INTERPRETER here.
2002-12-02 09:49:57 +00:00
obrien
55d1c0f001 Update for the Binutils 2.13.2 20021127 snapshot import. 2002-12-02 09:45:51 +00:00
obrien
09e9e5550d We now have insque(). 2002-12-02 09:44:59 +00:00
obrien
61b3e093cf Binutils 2.13.2 is WARNS=2 clean for all our architectures. 2002-12-02 09:41:35 +00:00
obrien
6e6e1626c0 Update for the 2.13.2 2002-11-27 snapshot import. 2002-12-02 09:40:02 +00:00
peter
88a7954786 Update bmake glue after 1.11.2.1-20021201 import. options.h is no longer
touched by configure in the autoconf system and a standard version is
now used.

Approved by:    re
2002-12-02 03:20:25 +00:00
obrien
40ebdb9335 Remove files no longer part of the gcc_3_2_anoncvs_20021009 libstdc++.
Approved by:	re(jhb)
2002-11-27 18:52:04 +00:00
obrien
fa7971ab70 Remove our custom mixed ELF/a.out support. This means the base compiler
now only produce ELF objects.  It also makes us closer to stock GCC, and
simplifies the set of changes we still need from stock GCC on every import.

Applauded by:	peter
Approved by:	re
2002-11-26 18:25:20 +00:00
ru
4656af3e6d Catch up with The Great Perl Script Rewrite. 2002-11-18 10:25:27 +00:00
ru
6dc5377ec9 Install /usr/libexec/makewhatis.local and /usr/libexec/catman.local.
This has slipped through the cracks of The Great Perl Script Rewrite.

Repocopied by:	joe
2002-11-18 10:11:22 +00:00
ru
7920e22cea Take __FreeBSD_version into account when BOOTSTRAPPING. 2002-11-13 13:49:29 +00:00
ru
f056bc6c16 Bootstrapping aid for 4.0-RELEASE. 2002-11-13 11:50:40 +00:00
obrien
1d9a26469d Better emulate the FSF build for Sparc64. 2002-11-06 07:00:59 +00:00
kan
388f8f322a Build Objective-C runtime support library with thr-posix.c.
Submitted by:	davidc
Requested by:	obrien
2002-10-30 18:01:06 +00:00
ru
11834b7f23 bsd.doc.mk changes:
Don't gratuitously pipe thru a cat(1) if NODOCCOMPRESS.

Only create _stamp.extra when necessary.

Get rid of SOELIMPP and OBJS.

Use Groff version of soelim(1); we need its -I option
for the following to work.

Don't needlessly chdir to SRCDIR.  Only a few documents
need CD_HACK, and those that need it either use refer(1)
or .PSPIC macro which internally uses the .psbb call.
2002-10-29 14:56:09 +00:00
kris
9316f3838a Don't dump core if none of the directories in /etc/manpath.config exist.
Submitted by:	terry
2002-10-27 02:12:52 +00:00
ru
20d1f108df A version of SGR disabling stuff that is believed to be safe.
Submitted by:	Werner LEMBERG <wl@gnu.org>
2002-10-24 11:05:58 +00:00
gallatin
0843e3b418 Remove the hack to build groff statically on alpha, now that the rtld
has been extended to grok binaries with only one PLT_LOAD segment

An UPDATING entry about this is pending review..

Approved by: ru
2002-10-23 21:28:52 +00:00
ru
c54b118a3b A crude temporary hack to fix building of ms(7) formatted documents
while I am working on a real fix.
2002-10-23 19:04:00 +00:00
mp
87d8bcb4ce Add support for sparc64 kernel debugging.
Submitted by:	tmm
2002-10-21 21:36:36 +00:00
ru
5761ea1271 Grammar nits.
Submitted by:	Ken Stailey <kstailey@speakeasy.net>
2002-10-21 07:44:42 +00:00
obrien
3605c4bf8d Make static in our normal manner.
Submitted by:	bde
2002-10-21 03:21:50 +00:00
obrien
858d34bb9c Unbreak Alpha world.
We are seeing "/usr/libexec/ld-elf.so.1: groff: too few PT_LOAD segments",
however it appears that there really is only one PT_LOAD segment in the groff
binary.  It is unclear if `rtld' or `ld' is at fault here -- but using an
RELENG_4 `ld' binary allows one to build a working dynamic groff binary.

Submitted by:	gallatin
2002-10-21 00:26:48 +00:00
obrien
25eef24259 GDB 5.2.1 doesn't build on sparc64 right now. 2002-10-20 21:42:55 +00:00
obrien
63bd46464d We HAVE_STPCPY now. 2002-10-20 07:50:20 +00:00
ru
a2b48adeec Revert last delta. SGR support in grotty(1) is disabled system-wide
in /usr/share/tmac/troffrc pending the issue resolution on -arch.
2002-10-18 09:14:17 +00:00
obrien
b6ff61943b Take a guess at what WARNS level will make this compile on ia64. 2002-10-14 00:05:49 +00:00
ru
5af69de216 Oops, missed that in rev. 1.35.
Spotted by:	make release
2002-10-13 12:22:57 +00:00
ru
dfc02b315d Support FreeBSD versions starting from 4.0-RELEASE.
Reminded by:	imp
2002-10-13 08:36:16 +00:00
kris
cf195c5ed6 Prevent stack-smashing buffer overflows in -D and -r options by using
buffer-safe string functions.  The rest of the code is still probably
unsafe.

MFC after:	1 week
2002-10-13 01:18:33 +00:00
mp
372f065cc6 Remove dependency on version.in for version information.
Submitted by:	obrien
2002-10-12 21:23:53 +00:00
kris
2fdf0ba50e Disallow libdialog to be used in setugid applications; it is chock full
of buffer overflows.

MFC after:      3 days
2002-10-12 20:32:03 +00:00
mp
a03dd822b1 Fix function parameter lists to be correct and eliminate compiler warnings. 2002-10-12 18:08:44 +00:00
obrien
1411aacb26 Update for 2.13 10-Oct-2002 import. 2002-10-12 04:38:20 +00:00
obrien
99a0609081 Update for 2.13 10-Oct-2002 import. 2002-10-12 04:24:35 +00:00
obrien
c8a413b441 Shut up GCC, don't shadow Version 6 standard functions. 2002-10-12 04:06:13 +00:00
obrien
21dc3119fa Talk about punting and not going to any trouble to DTRT:
contrib/binutils/include/getopt.h
	/* Many other libraries have conflicting prototypes for getopt, with
	   differences in the consts, in stdlib.h.  To avoid compilation
	   errors, only prototype getopt for the GNU C library.  */

so manually define HAVE_DECL_GETOPT since configure doesn't offer any way
to set it... and its unistd.h not stdlib.h dang it.
2002-10-12 03:55:09 +00:00
obrien
ac0491b37e Seems the warnings Binutils 2.13 grew now makes it impossible for WARNS != 0
all 64-bit machines.
2002-10-12 03:04:42 +00:00
obrien
b81f987ed3 The 2.13-almost.1 import was done on 10/10, not 11/10. 2002-10-12 00:18:25 +00:00
obrien
64254d0aad Update for 2.13 10-Oct-2002 import. 2002-10-12 00:17:34 +00:00
obrien
109f9bf9eb GDB plays nice with Binutils again. 2002-10-11 20:23:06 +00:00
obrien
11ecf41867 Use the new FreeBSD vectors from Binutils 2.13.1. 2002-10-11 19:39:18 +00:00
obrien
f0cb964f2b Binutils 2.13 grew some warnings that make WARNS != 0 now impossible on
sparc64.
2002-10-11 17:40:20 +00:00
obrien
17d5c60012 Turn off GDB for now. It and the new binutils just aren't agreeing on our
binary format.
2002-10-11 16:22:37 +00:00
ru
d98d164666 New Russian hyphenation patterns from the teTeX distribution.
Use the new .hpfa request to append them to English patterns.
2002-10-11 12:20:02 +00:00
ru
84690dde55 This commit was generated by cvs2svn to compensate for changes in r104895,
which included commits to RCS files with non-trunk default branches.
2002-10-11 12:13:17 +00:00
ru
30c21c6586 Russian hyphenation patterns from teTeX. 2002-10-11 12:13:17 +00:00
ru
83305ff8ce koi8-r was repo-copied to ru.KOI8-R by joe@. 2002-10-11 11:00:51 +00:00
obrien
a9d5f78a61 Sync with 2.13. Reduce forking by using multiple sed expressions rather
than piping thru tr(1).  Also prefer case over for+test, as case will
handle regex's nicely.

Note we can't exactly follow the real 2.13 genscripts.sh as we wind up with
multiple "'s in search paths.  It is too late tonight to track down why.
2002-10-11 10:07:46 +00:00
obrien
db9d87808b witch over to the new FreeBSD bfd vec and emulation 2002-10-11 09:36:20 +00:00
obrien
e643128469 Switch over to the new FreeBSD emulation and bfd vec 2002-10-11 09:31:55 +00:00
ru
683dd9f551 Groff 1.18.1 comes in with ANSI color support, enabled by default.
In "nroff" mode, italic font renders as an underlined text, which
makes it indistinguishable from the bold text on color monitors
(cons25 terminal type), yet it requires the less(1)'s -R option.
(Refer to the new grotty(1) manpage for details.)

So turn off the color support for now (when generating catpages),
until we figure out what do we do with this new feature.  I have
a patch for grotty(1) that tells it to use the "reverse video"
attribute to render the italic font.  Once this is accepted, we
can turn color support back on (if there won't be any objections
from the community).
2002-10-11 09:16:24 +00:00
ru
b48d7a100e Upgrade to Groff 1.18.1. 2002-10-11 08:58:14 +00:00
obrien
b6731a278e Yesterday was the 10th month of the year, not the 11st. 2002-10-11 08:40:19 +00:00
obrien
542cd1321d *sigh* The GNU folks want to layer and abstract yet another standard API.
This time remove the xregex redirection and just directly use their own
gnuregex.
2002-10-11 07:42:20 +00:00
obrien
ef04e46415 Really update for 2.13 10-Oct-2002 import. (this time for sure Rocky) 2002-10-11 06:48:16 +00:00
obrien
9ec27cc871 Update for 2.13 10-Oct-2002 import. 2002-10-11 06:28:05 +00:00
obrien
bd7ac0d55d Update for 2.13 10-Oct-2002 import - Identify the version correctly 2002-10-11 06:23:02 +00:00
obrien
4b0c6b0a8a Don't do WARNS setting here. 2002-10-11 06:20:41 +00:00
kan
cba39ebdcd Add multilib_options variable definition.
Approved by:	obrien
2002-10-10 04:56:35 +00:00
ru
b1adf94578 Print the OS name in the right place in the document title. 2002-10-09 08:51:52 +00:00
ru
0f00011b24 Added bzip2 variants to the NAME section.
Added missing break.
Remove the statement that -J requires zlib(3).
2002-10-07 09:08:07 +00:00
obrien
3079aa5131 Allow -J to simultaneously do non-bzip2 grepping.
Don't allow -J and -Z together.

Partially submitted by:	knu
2002-10-06 07:02:30 +00:00
dd
cb1615844b choosen -> chosen
PR:		42962
Submitted by:	Scott D Friedemann <sdf@expertune.com>
2002-10-01 23:15:32 +00:00
ru
6ceaeda051 Pass our idea of a manpage's locale from man(1) down to mdoc(7). 2002-09-30 11:00:04 +00:00
ru
f961c7e4c7 French -mdoc localization.
Submitted by:	gioria
Reviewed by:	blackend, ru
2002-09-30 08:06:11 +00:00
ru
71b10d2a60 libusb -> libusbhid did not reach here. 2002-09-30 07:54:49 +00:00
ru
384c80db65 FreeBSD 4.6, 4.6.2, 4.7 and 4.8 are now officially supported in -mdoc. 2002-09-30 07:51:46 +00:00
peter
0a7f0ba37e Zap now-unused SHLIB_MINOR 2002-09-28 00:25:32 +00:00
markm
84072d95a3 Avoid linting GNU contrib'ed stuff, even if the build engineer asked
for it (via WANT_LINT). It's Just Too Noisy.
2002-09-25 09:55:20 +00:00
obrien
d56eff1783 There is need to have a special BINUTIL_ARCH when we can use our more
common place TARGET_ARCH.
2002-09-22 05:29:37 +00:00
obrien
2a2c364d7e gdb now builds on sparc64. 2002-09-19 17:08:32 +00:00
obrien
0987f2ef37 Fix GNU coding violations. 2002-09-18 16:20:49 +00:00
obrien
55e39b20ec Stop using 3 distinct and far varied coding styles in a single file.
Pretend to actually adhere to the GNU coding standards.
2002-09-18 16:14:36 +00:00
bde
8c5b22b9d1 Re-axe. 2002-09-17 10:03:24 +00:00
bde
09e171ef7f Make `as' compile before it is axed. It still uses the archaic BSD
interface setbuffer(), and emulates setbuffer() on USG systems using a
#define of setbuffer() in terms of setvbuf().  The #define is correctly
ifdefed in some places but was not correctly ifdefed here -- i.e., BSD
was essentially configured as USG here.  This became fatal when <stdio.h>
was de-__P(())ified without testing.  This file gets included before
<stdio.h>, so the #define now affects (and breaks)
`setbuffer<left parentheses>' in <stdio.h> where it didn't affect
`setbuffer<whitespace>'.
2002-09-17 10:01:02 +00:00
bde
91d09bb4fb Un-axe this so that it can be fixed before it is axed. 2002-09-17 09:57:07 +00:00
kan
3d3147e47c Bmake bits for GCC 3.2.1-prerelease libstdc++.
Connect two new source and one header file to the build.

Approved by:	obrien
2002-09-17 04:23:29 +00:00
obrien
b58b89fc83 BANG! BANG! BANG! Put these bits out of their misery.
Murdered by members of:	a.out.die.die.die

ELF is the 1 true path now.  So make good on the src/Makefile threat that
building a.out will not be supported post 4.x.  These bits should either
resurface as a port, or a new port using the latest Binutils bits.  The
later will not support our SunOS-style shared a.out libs; but we shouldn't
need such support by this point in time.
2002-09-17 01:54:56 +00:00
peter
a51c9b6627 Initiate deorbit burn for the i386-only a.out related support. Moves are
under way to move the remnants of the a.out toolchain to ports.  As the
comment in src/Makefile said, this stuff is deprecated and one should not
expect this to remain beyond 4.0-REL.  It has already lasted WAY beyond
that.

Notable exceptions:
gcc - I have not touched the a.out generation stuff there.
ldd/ldconfig - still have some code to interface with a.out rtld.
old as/ld/etc - I have not removed these yet, pending their move to ports.
some includes - necessary for ldd/ldconfig for now.

Tested on: i386 (extensively), alpha
2002-09-17 01:49:00 +00:00
obrien
2a4cb24fb4 Disable building of the a.out gas and ld. They will become ports. 2002-09-17 01:43:21 +00:00
obrien
16ce5cfd95 Create bzgrep. 2002-09-16 04:27:29 +00:00
obrien
1e46ffd648 We're going to have to use a TARGET_ARCH of "x86_64" rather than "x86-64"
to make building GCC happy.
2002-09-12 15:56:21 +00:00
wollman
605a22100e Quiet another annoying warning. 2002-09-09 17:44:08 +00:00
eric
5825d567f8 Adhere to guidelines when testing for null strings.
Submitted by:	rwatson
2002-09-03 17:39:26 +00:00
peter
f3bcf9ce47 cvs-1.11.2 seems to bug out if HAVE_MMAP is not defined. It hoses its
internal buffer management somehow (an off by one perhaps).  HAVE_MMAP
wasn't detected because configure has a bogus declaration of malloc
which conflicted with stdlib.h.  Sigh.
2002-09-02 11:35:13 +00:00
peter
7cf015cd88 version.h is now autogenerated in 1.11.2, not version.c 2002-09-02 06:00:09 +00:00
peter
0e00fb0e5e Update for 1.11.1p1 -> 1.11.2 import 2002-09-02 05:59:33 +00:00
peter
33b78bdfe9 It seems CVSvn.texi isn't used anymore. 2002-09-02 05:59:02 +00:00
kan
5edce35840 Connect new files added with GCC 3.2.1 import to the build.
Approved by:	obrien
2002-09-01 21:21:56 +00:00
obrien
84a9d83087 Update for 2.12.1 20-July-2002 import. 2002-09-01 18:03:55 +00:00
obrien
9e3c08d6b1 Update for 2.12.1 20-July-2002 import. 2002-08-31 20:57:53 +00:00
keramida
d77d592ac1 Typo in [^[:alnum:]] character class.
PR:		docs/41728
Submitted by:	osgene@web.de
2002-08-31 02:26:19 +00:00
keramida
d86ee60055 Our gnats sets Confidential to "no" by default.
PR:		docs/41727
Submitted by:	osgene@web.de
Reviewed by:	des
2002-08-29 22:59:22 +00:00
eric
7d9d298c39 Use the default pager if the environment variable is blank.
PR:		37662
MFC after:	5 days
2002-08-27 09:31:27 +00:00
keramida
3423ef22d8 Document -p option of diff.
PR:		docs/41887
Submitted by:	tobez
2002-08-26 00:13:06 +00:00
ru
f381d6e10a Removed the (never-released) FreeBSD 4.6.1.
Inspired by:	bmah's commit to www/en/releases/4.6.1R
2002-08-14 16:57:14 +00:00
murray
8c01a595e7 Add definition for FreeBSD 4.6.2. 2002-08-14 06:32:17 +00:00
ru
ce971426f4 mdoc(7) police: Removed redundant .Ns calls. 2002-08-13 16:07:28 +00:00
ru
dfc3706596 can not -> cannot. 2002-08-13 14:10:36 +00:00
blackend
4eec5270bc Add PowerPC category.
PR:		docs/41595
Submitted by:	Christian Brueffer <chris@unixpages.org>
MFC after:	3 days
2002-08-13 10:30:55 +00:00
ru
8714facb13 Added Russian translation of the .Ex -std macro.
MFC after:	3 days
2002-08-07 17:47:24 +00:00
ru
ec399842ca POSIX.1-2001 says ``man -k'' should produce results equivalent to
the ``grep -Ei'' searching.

MFC after:	3 days
2002-08-07 17:39:35 +00:00
ru
a8adf98c82 Drop support for COPY, -c has been the default mode of install(1)
for a long time now.

Approved by:	bde
2002-07-29 09:40:17 +00:00
peter
2d279f09c9 Recognize frames for lcall_syscall and int0x80_syscall.
Reminded by:	bde
2002-07-28 18:46:49 +00:00
ru
cd7c90d38f s/${INSTALL} -c/${INSTALL} ${COPY}/ 2002-07-18 12:07:49 +00:00
ru
0b1947f6a9 Move the definition of FreeBSD 4.6 back to where it belongs. 2002-07-18 09:32:15 +00:00
murray
b9e6663674 Add definition for FreeBSD 4.6.1. 2002-07-18 09:22:33 +00:00
mike
c13b46838e This isn't quite ready for WARNS=3 in the sparc64 case.
Noticed by:	sparc64 tinderbox
2002-07-16 16:10:39 +00:00
charnier
abd215c87f The .Nm utility 2002-07-14 15:12:00 +00:00
keramida
eea24f3d3e Add note about the info documentation of diff(1).
It contains a detailed description of the =format option part.

PR:		docs/36464
Submitted by:	Gary W. Swearingen <swear@blarg.net>
2002-07-11 21:11:26 +00:00
keramida
18c9f9fd09 Mention zegrep and zfgrep too,
and what their equivalent grep options are.

PR:		docs/35603
Submitted by:	"Gary W. Swearingen" <swear@blarg.net>
2002-07-11 20:12:15 +00:00
obrien
ce3a73d11c Make our i386 hacks in a less vendor file disturbing manner. 2002-07-10 07:48:45 +00:00
obrien
d760a3490f Stop trying to reimplement libkvm on i386. Instead use it directly and
consistently on all platforms.

Submitted by:	gallatin
2002-07-10 06:58:25 +00:00
obrien
bad07578ef Target specific FreeBSD kgdb hacks. 2002-07-10 06:40:03 +00:00
sheldonh
d55813b261 Revert previous delta; warnings fixed by obrien:
rev 1.5		rc/contrib/gdb/gdb/gdbserver/gdbreplay.c
2002-07-09 17:29:37 +00:00
sheldonh
c3699a5335 Define NO_WERROR to unbreak world until the maintainer has had time
to coordinate fixes for this contrib code.
2002-07-09 08:37:36 +00:00
peter
76a86b952e Bandaid for sparc64. Do not build libstdc++.so for now on sparc64.
Binaries compiled with it segfault.
2002-07-08 10:53:35 +00:00
ru
63a69b4eb0 Add the missing dependency (gdbint.info: gdb-cfg.texi).
This should resume parallel builds, among other things.
2002-07-04 11:33:59 +00:00
ru
343b6542a9 Fixed CLEANFILES. 2002-07-04 07:15:31 +00:00
des
b11caeadba Add the "java" category. 2002-07-03 00:35:09 +00:00
sheldonh
ee600f404c Reconnect gdb info file to the build.
Submitted by:	Szilveszter Adam <sziszi@bsd.hu>
2002-07-01 07:58:18 +00:00
obrien
e479ad14de Don't need these any more. 2002-06-30 05:29:43 +00:00
obrien
f0b6832824 Dike out bits specific to i386. This pretty much means no kgdb for
non-i386 platforms.

I would however like to see a shared file here.  If a function or two cannot
be shared we should create ${TARGET_ARCH}/kvm-fbsd-${TARGET_ARCH}.c.
2002-06-30 04:47:43 +00:00
obrien
b0f65ab232 Bmake bits for GDB 5.2. 2002-06-30 03:24:05 +00:00
mp
34d5973c19 Reflect new gdb directory structure. 2002-06-29 18:19:53 +00:00
obrien
ade0701504 I don't see any reason to conditionalize this. 2002-06-29 17:55:17 +00:00
obrien
6dbff7f2c1 Bmake bits for GDB 5.2. 2002-06-29 16:52:15 +00:00
obrien
c5dacda2d6 Turn back on GDB.
gdbserver does not build, but I've gone about as far with GDB as I'm going
to right now.
2002-06-29 03:19:35 +00:00
obrien
654fdc5b16 Best guess at configurations for our other arches. (totally untested) 2002-06-29 03:18:28 +00:00
obrien
d0166e6800 Allow to compile and at least startup on sparc64. 2002-06-29 03:16:40 +00:00
obrien
c2b054dc11 Bmake bits for GDB 5.2. 2002-06-29 01:16:01 +00:00
obrien
7ed83702a3 There will be no GDB related .info files unless someone that cares about them
sends a patch.
2002-06-28 03:41:56 +00:00
obrien
afbd143f56 NO! We DON'T wany any libintl action here. 2002-06-28 01:33:53 +00:00
obrien
cb3d46aa8a Things Gdb 5.2 wants to know about us. 2002-06-28 00:34:05 +00:00
obrien
63fdb8e6ba NO_GDB while it is being upgraded. 2002-06-27 22:59:11 +00:00
eric
ad5da01926 Correctly state the size of the help message.
Sponsored by: Apple
2002-06-24 20:57:44 +00:00
obrien
2fb4e582b3 For the benefit of those Emacs users amongst us, only cut out gdb.info
rather than *.info.
2002-06-22 17:10:53 +00:00
obrien
c0791760bd When linking staticaly libtermcap is a postrequisite of libreadline.
Otherwise `tgoto' (only used by libreadline) isn't resolved.

Submitted by:	bde
2002-06-22 17:07:45 +00:00
obrien
0ebcd6afe4 Take the guaranteed fix -- turn off .info docs for now until we get the
gdb docs sorted out.
2002-06-22 16:52:34 +00:00
obrien
0df2d84178 Grre-^#$(*+#@$!@% I hate .info files, I really do (thus I have NO_INFO set...)
Don't try to read files from a non-existant gdb.291/.
2002-06-22 08:08:51 +00:00
obrien
e2bd215de7 We need to link with libiberty.a before libreadline.so. Both supply
xmalloc() and xrealloc() and the mixed usage of xmalloc in some .c's from
libiberty.a and other .c's from libreadline.so produces an unusable binary
on the Alpha.

While I am here, preventatively move other libs in the link order.

Submitted by:	gallatin
2002-06-21 19:05:20 +00:00
obrien
b3f1347661 Remove GAWK. I removed it from the build 2 weeks ago and the world
did not end.  So finish the deed.
2002-06-20 20:54:54 +00:00
obrien
690ea8569d Disconnect the docs until we figure out if there are any with v3. 2002-06-19 05:38:45 +00:00
dougb
8a805cf640 Teach mdoc about the 4.6 release 2002-06-18 00:41:47 +00:00
dougb
1f8d67dfae In addition to exiting the dialog via ESC, the user could also have
exited via \r, \n, or ' ' (space); all of which are valid,
non-error responses.
2002-06-13 23:39:35 +00:00
obrien
016feefa33 Allow one to profile FORTRAN77 programs. 2002-06-09 00:03:56 +00:00
obrien
ec1445e1ae Restore revision 1.15 (use profiled C++ libs) which wasn't on the WIP_GCC31
branch and thus was lost in the shuffle on the move to Gcc 3.1.
2002-06-08 19:58:31 +00:00
obrien
21588aac50 Fix compiling FORTRAN77 programs. 2002-06-08 18:48:40 +00:00
ache
74144f756f Activate new GNU sort from contrib 2002-06-08 10:34:12 +00:00
obrien
5e61aad926 Read specs from /usr/libdata/gcc/specs if it exists. 2002-06-06 03:47:02 +00:00
obrien
6a22781391 The best we can do about man pages for the moment. 2002-06-05 21:30:46 +00:00
obrien
928b97006a We haven't used this libg++ header since 1999/04/05 05:36:37. 2002-06-05 17:02:37 +00:00
obrien
b4b9e6670e Search the "backward" C++ compatibility include dir also. 2002-06-05 16:10:59 +00:00
obrien
beb46f8dc8 We don't need bsd.dep.mk here. 2002-06-05 15:40:39 +00:00
ru
a30fd02923 SUBDIR is initially empty. 2002-06-05 07:00:41 +00:00
ru
9b5411c3a6 Canonicalize. 2002-06-05 06:59:10 +00:00
ru
44cb520bdb Back out addition of a plus sign.
DPADD and LDADD belong to individual makefiles.
2002-06-05 06:58:33 +00:00
sobomax
9db950024f Collapse lib and tar dirs into single top-level directory.
Suggested by:   obrien
2002-06-04 21:16:18 +00:00
obrien
3db542eeb9 Remove GNU awk. 2002-06-04 21:14:34 +00:00
obrien
88e35be20b Install the i386 MMX headers, and IA-64 intrinsics functions.
Requested by:	peter
2002-06-04 20:00:29 +00:00
obrien
de6ca3ba07 We don't need this library any more. 2002-06-04 19:45:09 +00:00
sobomax
fe1fa7db54 Don't forget to include ../Makefile.inc. 2002-06-04 11:28:09 +00:00
sobomax
487ffcd195 Add bmake bits for building GNU tar from src/contrib/tar. 2002-06-04 11:14:49 +00:00
sobomax
e6cbf87777 Send our ancienv GNU tar into Attic.
Suggested by:	ps
2002-06-04 11:14:06 +00:00
mike
9b39ed7b94 Use POSIX macros for wait(2)-style status information instead of the
deprecated 4.2/4.3BSD wait union.  Fix some nearby pid_t/int
confusion.
2002-06-03 23:13:11 +00:00
ru
03744f08ef Do not overwrite mm locale files. 2002-06-03 15:12:42 +00:00
obrien
4769e37d2a Turn on the math function stub stubs.
Submitted by:	Martin Blapp <mb@imp.ch>
I believe OK with:	peter
2002-06-02 17:49:08 +00:00
ru
1ea6cbb8c2 The new bsd.incs.mk is powerful enough to handle this wrinkle. 2002-05-31 11:45:34 +00:00
wollman
1bd96bef8d Add used includes of <stdlib.h>. 2002-05-30 19:49:21 +00:00
alfred
f0facdc5dd Check for defined(__i386__) instead of just defined(i386) since the compiler
will be updated to only define(__i386__) for ANSI cleanliness.
2002-05-30 07:00:42 +00:00
obrien
dccfdff5f9 Tweak so that .o's are written into src/contrib/gcc 2002-05-29 22:26:05 +00:00
obrien
abda074068 Build docs not out of libobc++.295 2002-05-29 21:14:48 +00:00
peter
8b1c546166 Put on peril sensitive sunglasses and turn C++ stuff back on. 2002-05-29 00:48:14 +00:00
peter
f974920a72 Add some build glue for libstdc++. I'm not a C++ person, but this seems
to work at least for the non-hairy stuff.  The main wrinkle here is that
a whole mess of include files get installed and under different names.
An earlier version of this built a shadow include tree first in the obj
directory, but this depends on the 'make includes' functionality.

More tweaking is certainly going to be needed.
2002-05-29 00:45:51 +00:00
obrien
59f416fcf0 I missed the setting of PREFIX_INCLUDE_DIR when I visually santity checked
the output from a autoconfig run.
2002-05-27 17:48:28 +00:00
bde
edc5c7457a phsyical -> physical
Submitted by:	Andre Guibert de Bruet <andy@siliconlandmark.com>
2002-05-27 13:08:08 +00:00
obrien
0b1a4f9b10 Alpha has crtfastmath also. 2002-05-26 17:16:21 +00:00
obrien
1c24f917c1 Rev 1.12 broke make all' w/o a previous make depends'. 2002-05-26 17:09:31 +00:00
markm
c4089dd479 Trim out this subdir; nothing has been made in here for _ages_. 2002-05-25 21:11:13 +00:00
ache
0a06210fa9 Remove /usr/share/perl/man 2002-05-24 03:21:11 +00:00
markm
73f7d5a477 Remove ptx. It is not used anywhere in the base system, has not been
maintained for years and is very old code. If there is any need for
it, I suspect that ports would be a better place.

No objection from:	current@freebsd.org
2002-05-21 09:20:34 +00:00
gad
71a8393bdd Change parts of the source code to make it closer to style(9), mainly
changing indentation and some comments.  Main goal is not perfect style,
but just to reduce differences with NetBSD.  The object code is exactly
the same after this change as before it (except for assert() statements
which have moved).

Reviewed by:	/sbin/md5 on i386
Obtained from:	NetBSD
2002-05-21 00:44:18 +00:00
obrien
ac045ec61f This is only WARNS=0 clean now. 2002-05-19 18:25:41 +00:00
markm
a3136f808a remove perl scripts from the build. 2002-05-18 19:47:57 +00:00
obrien
80a6c1ef01 This is enough to get thru a cross-build. 2002-05-18 18:27:09 +00:00
obrien
4df8032cad The AMD x86-64 Hammer bits. 2002-05-18 11:57:01 +00:00
obrien
392eebf174 Fix the sparc64 build and make the LIB1ASMSRC handling more robust. 2002-05-18 09:46:12 +00:00
phk
dc6816f144 Improve chances that we correctly compile LIB1ASMSRC on all architectures.
sparc64 looked for the nonexistent sparc64/lb1spc.asm file instead
of the sparc/lb1spc.asm file.

arm probably looked for arm/arm/lib1funcs.asm instead of arm/lib1funcs.asm
ia64 probably looked for ia64/ia64/lib1funcs.asm instead of ia64/lib1funcs.asm

i386 and alpha don't seen to use the LIB1ASMSRC.
2002-05-18 09:21:42 +00:00
obrien
7f9fb78993 Segregate MD weirdness a little bit more. Improve cross buildability. 2002-05-18 04:59:57 +00:00
obrien
73a63698a0 Style sync with other platforms. 2002-05-18 04:50:32 +00:00
obrien
2f9891cf77 Use a more API denoting way to handle what is in libc and what isn't. 2002-05-18 04:49:44 +00:00
obrien
fff8069519 Don't build gperf. 2002-05-18 00:20:01 +00:00
obrien
fc5c0b8f29 Don't depend on gperf. 2002-05-18 00:18:00 +00:00
peter
a254817b08 Move LIB1ASMFUNCS from the SYMS variable and explicitly add it to OBJS
later.  Otherwise make will try and build the supposedly assembler .o
files from libgcc2.c - which does not work too well (the .o's have no
content)

Reviewed by:	obrien
2002-05-17 08:59:13 +00:00
peter
877587ce74 Put on peril-sensitive sunglasses and risk touching gcc related build glue
again.  Try and deal with platforms that provide their own crtbegin/end asm
files (ia64 for example).  crtstuff.c does not actually work on ia64 since
libgcc.a doesn't have a few key support functions when built on ia64 so it
is compulsory to use crtbegin.asm and crtend.asm.

Reviewed by:	obrien
2002-05-17 07:55:08 +00:00
obrien
e303f729c6 Remove some WIP bits that I didn't fully clean out before merging to HEAD. 2002-05-17 06:35:44 +00:00
ru
04cbf1cb05 Back out revision 1.30 change.
cc1plus can apparently be built if you happen to have
/usr/bin/gperf, or set CXX to point to a C++ compiler
that can build gperf(1) in the bootstrap-tools stage
of buildworld.
2002-05-17 05:41:47 +00:00
obrien
17aec96489 Post rev 1.39, the PowerPC specific additions to OBJS was getting lost. 2002-05-17 04:18:33 +00:00
obrien
4adece7fd2 Update to Binutils 2.12.0 and stick to the native emulation for now.
This lets us get on the with the task at hand -- porting FreeBSD.
We can get fancy later on.
2002-05-17 03:43:47 +00:00
obrien
623d9d0043 Update to Binutils 2.12.0 release. 2002-05-17 03:43:09 +00:00
obrien
c83489556b Update to Binutils 2.12.0 and stick to the native emulation for now.
This lets us get on the with the task at hand -- porting FreeBSD.
We can get fancy later on.
2002-05-17 03:10:33 +00:00
obrien
cef4417d4b bsd.lib.mk now understands what to do with .asm files.
So we can refer to these files by their real name vs. playing tricks
renaming them during the build.
2002-05-17 03:08:15 +00:00
obrien
ff2300d7aa GCC 3.1 on PowerPC also has the crtsavres C Run Time file. 2002-05-17 03:04:47 +00:00
obrien
0e6872a9ec Do not cut `docs' out of the build with NO_CXX.
There are no longer GNU C++ specific info files, and it was a bug with Gcc
2.95 that NO_CXX would cause the C and CPP info files to not be installed.
2002-05-17 03:00:33 +00:00
ru
af2650e805 MD_EXEC_PREFIX doesn't work for the cross-arch compiler.
The change also makes the `cc -print-search-dirs' output
sane (the pre-3.1 way) in the non-cross case.

Draft reviewed by:	obrien
2002-05-16 15:22:58 +00:00
ru
e55e9be036 Make it possible to build a cross compiler for alpha,
ia64 and sparc64 on systems that do not have atoll(3).
The "cross" here doesn't necessarily mean cross-arch.
2002-05-16 15:18:13 +00:00
markm
344ddc1497 Remove the perl build. Farewell, old friend. 2002-05-16 09:57:11 +00:00
markm
52d70f2d2f Don't build perl. 2002-05-16 08:59:52 +00:00
obrien
5637f2111a Add x86-64 bits. 2002-05-15 22:40:50 +00:00
obrien
ce1704f4f0 The IA-64 config needs to know that we are using GNU ld & as.
Submitted by:	peter
2002-05-15 21:59:46 +00:00
ru
b860787a18 Make sure to not yet build the GNU C++, but still allow
for the C++ progs to be built with e.g. an old compiler,
CXX=/usr/bin/c++, for the time being.
2002-05-15 16:29:45 +00:00
obrien
986b462279 We won't be doing FreeBSD-NT (NTBSD?, BSDNT?) anytime soon.
Same for any m68k platform.
2002-05-15 09:11:11 +00:00
obrien
9139dec5a0 We aren't quite ready to switch emulations and loose the
override ELF_DYNAMIC_INTERPRETER requirement.

Has a good eye:	jmallet
2002-05-15 09:01:03 +00:00
obrien
fb2703d06f We won't be doing FreeBSD/m68k or FreeBSD/rs6k anytime soon.
(not to mention these bits are still at the 2.9.1 level)
2002-05-15 08:33:41 +00:00
mp
51434df12e Make our version tag unique due to our local changes.
PR:		19733
Submitted by:	sheldonh
MFC after:	3 days
2002-05-14 18:17:59 +00:00
obrien
68038c862a Quote {CC} so ccache can be used. 2002-05-14 01:00:25 +00:00
ru
661f00368b Fixed CLEANFILES after bsd.lib.mk sweep. 2002-05-13 15:28:00 +00:00
ru
46bb8fed43 Mark all internal libraries with INTERNALLIB. 2002-05-13 11:24:03 +00:00
ru
bc2e1305d8 Removed now unused INTERNALSTATICLIB.
INTERNALLIB now implies NOPIC and NOPROFILE.
Removed gratuitous NOMAN.
2002-05-13 11:09:07 +00:00
ru
dc9ee40833 Major cleanup of bsd.lib.mk.
Get rid of the INTERNALSTATICLIB knob and just use plain INTERNALLIB.
INTERNALLIB now means to build static library only and don't install
anything.  Added a NOINSTALLLIB knob for libpam/modules.  To not
build any library at all, just do not set LIB.
2002-05-13 10:53:24 +00:00
obrien
1daa12366e Restore some of the implementation from the Bmake gcc 2.95 bits.
In the end, I can do things more like the previous Bmake bits than was
apparent in the middle of the gcc31 WIP.
2002-05-13 03:27:03 +00:00
obrien
3399becf9d I was finally able to repeat the -j breakage on one of my machines. Fix it.
I borrowed some ideas from Ruslan, and made the style match cc_tools/Makefile
2002-05-13 01:54:26 +00:00
ru
4204167002 NOLIB is gone; put INTERNALLIB back for now. 2002-05-12 16:35:34 +00:00
ru
59049318b6 Added new bsd.incs.mk which handles installing of header files
via INCS.  Implemented INCSLINKS (equivalent to SYMLINKS) to
handle symlinking include files.  Allow for multiple groups of
include files to be installed, with the powerful INCSGROUPS knob.
Documentation to follow.

Added standard `includes' and `incsinstall' targets, use them
in Makefile.inc1.  Headers from the following makefiles were
not installed before (during `includes' in Makefile.inc1):

	kerberos5/lib/libtelnet/Makefile
	lib/libbz2/Makefile
	lib/libdevinfo/Makefile
	lib/libform/Makefile
	lib/libisc/Makefile
	lib/libmenu/Makefile
	lib/libmilter/Makefile
	lib/libpanel/Makefile

Replaced all `beforeinstall' targets for installing includes
with the INCS stuff.

Renamed INCDIR to INCSDIR, for consistency with FILES and SCRIPTS,
and for compatibility with NetBSD.  Similarly for INCOWN, INCGRP,
and INCMODE.

Consistently use INCLUDEDIR instead of /usr/include.

gnu/lib/libstdc++/Makefile and gnu/lib/libsupc++/Makefile changes
were only lightly tested due to the missing contrib/libstdc++-v3.
I fully tested the pre-WIP_GCC31 version of this patch with the
contrib/libstdc++.295 stuff.

These changes have been tested on i386 with the -DNO_WERROR "make
world" and "make release".
2002-05-12 16:01:00 +00:00
obrien
01532a0d4b Properly build lb1spc.asm on Sparc64. 2002-05-12 14:05:58 +00:00
obrien
14eeafe476 There is no more NOLIB. 2002-05-12 13:49:14 +00:00
obrien
1d595b254a I was not strict enough with my ordering of things to satisfy make(1) nieve
symbol evaluation which causes it to be very sensitive to macro ordering.
2002-05-12 12:44:04 +00:00
obrien
25fbcd7ded Tidy up the cleanfiles. 2002-05-12 12:06:19 +00:00
obrien
29ad76a5ac Fixes for building a.out bits.
Submitted by:	bde
2002-05-12 12:01:12 +00:00
obrien
6ffd9aaeaa Sorry, I did not mean to turn collect2 back on yet. 2002-05-11 04:51:45 +00:00
obrien
b900b2ab4e Revert rev 1.3 -- I tested using the wrong build compiler. 2002-05-11 00:15:45 +00:00
obrien
aaf4b41b86 Actually we don't need any special YACC'ing here. The ones known to
Bmake are fine.
2002-05-10 23:20:54 +00:00
obrien
d81b5e34df BWK awk appears to work for world builds just fine now. We want to make
sparc64 the same as the other platforms -- so do it by moving the other
platforms toward the sparc64.
2002-05-10 20:36:21 +00:00
obrien
525421bc1c Touching the sjlj setting on IA-64 makes things not build.
Submitted by:	peter
2002-05-10 17:42:19 +00:00
obrien
af22093650 Build compiler on all platforms. 2002-05-10 17:30:42 +00:00
obrien
f5e737107a Doh! Add IA-64 to our target list. 2002-05-10 17:23:04 +00:00
obrien
2991bb5869 Gather up the stragglers that depends on genrtl.h. This is -j10 safe now. 2002-05-10 10:21:19 +00:00
obrien
07f909dd68 This was *very* -j unsafe. Add a dependency on the common generated
headers to mostly make it -j1 safe.
2002-05-10 10:14:53 +00:00
obrien
bdc472c233 [Ab]use LDFLAGS rather than CFLAGS.
BDE tells me POSIX pretends `ld' as a directly callable entity does not exist.
2002-05-10 09:32:39 +00:00
obrien
dfe16a29fa Bmake bits for Gcc 3.1.
Partially made possible by:	Wilko.Bulte@compaq.com
2002-05-10 08:54:50 +00:00
obrien
a361afdafe Gcc 3.1 now offers both a C99 and a K&R traditional C preprocessor.
This is the ISO C99 one.
2002-05-10 02:46:01 +00:00
obrien
53be32ddbc Turn off groff and gperf -- they will not compile with the in-tree Gcc 3.1. 2002-05-10 00:50:43 +00:00
obrien
77caa62973 All platforms should be on equal footing now -- no special handling for
Sparc64 and IA-64.
2002-05-10 00:49:55 +00:00
obrien
97abec70bc Gcc 3.1 now offers both a C99 and a K&R traditional C preprocessor.
This is the traditional one.
2002-05-09 00:52:09 +00:00
obrien
670609f4cc libstdc++ version 3 (Gcc 3.1 is a consumer) uses the typical `config.h'. 2002-05-07 01:03:51 +00:00
obrien
ac9b7a9901 GCC's libstdc++ version 3 has the "libgcc" like bits (start up / terminate
code, `new' handler, exception handling, etc.) split out into libsupc++.
2002-05-06 22:07:26 +00:00
obrien
7ba2aa9469 Add support for using the profiled versions of the C++ (and related) libs. 2002-05-01 19:19:22 +00:00
gad
b200c6709f Add many prototypes and ANSI-ize 'patch. Not a complete job of it, but it gets
our patch to look a little more like NetBSD's, and has the nice characteristic
that the object code is exactly the same after the change as before it (even in
patch.c and pch.c, which have pesky 'assert' statements in them).

Reviewed by:	/sbin/md5 on i386, alpha, sparc64
MFC after:	3 days
2002-04-28 01:33:45 +00:00
gad
69091a8284 Add FreeBSD id's to these files, in advance of a separate update.
MFC after:	3 days
2002-04-28 01:26:40 +00:00
eric
6818945234 Move ID tag. 2002-04-27 19:57:22 +00:00
gad
ad53a7dcd4 Modify our 'patch' utility to recognize the
\ No newline at end of file
line that some versions of diff print out if the last line of the two files
are different, and one of the two files does not have a newline character
on that last line.

This change is still somewhat under discussion in -arch and -standards, but I
want to commit it to -current today so I'd have the chance to MFC it to -stable
before the code freeze for 4.6-release (which would be May 1st).

Note: the related change to 'diff' (so it might *generate* that line) is NOT
expected to be included in 4.6-release.  We can debate that change later.

Obtained from:	NetBSD (1.13 of basesrc/usr.bin/patch/pch.c, by kristerw)
MFC after:	4 days
2002-04-26 19:01:19 +00:00
ru
8ad1c2807b Milestone #1 in cross-arch make releases.
Do not install games and profiled libraries to the ${CHROOTDIR}
with the initial installworld.

Eliminate the need in the second installworld.  For that, make sure
_everything_ is built in the "world" environment, using the right
tool chain.

Added SUBDIR_OVERRIDE helper stuff to Makefile.inc1.  Split the
buildworld process into stages, and skip some stages when
SUBDIR_OVERRIDE is set (used to build crypto, krb4, and krb5
dists).

Added NO_MAKEDB_RUN knob to Makefile.inc1 to avoid running
makewhatis(1) at the end of installworld (used when making crypto,
krb4, and krb5 dists).

In release/scripts/doFS.sh, ensure that the correct boot blocks are
used.

Moved the creation of the "crypto" dist from release.5 to
release.2.

In release.3 and doMFSKERN, build kernels in the "world"
environment.  KERNELS now means "additional" kernels, GENERIC is
always built.

Ensure we build crunched binaries in the "world" environment.
Obfuscate release/Makefile some more (WMAKEENV) to achieve this.

Inline createBOOTMFS target.

Use already built GENERIC kernel modules to augment mfsfd's
/stand/modules.  GC doMODULES as such.

Assorted fixes:

Get rid of the "afterdistribute" target by moving the single use
of it from sys/Makefile to etc/Makefile's "distribute".

Makefile.inc1: apparently "etc" no longer needs to be last for
"distribute" to succeed.

gnu/usr.bin/perl/library/Makefile.inc: do not override the
"install" and "distribute" targets, do it the "canonical" way.

release/scripts/{man,cat}pages-make.sh: make sure Perl manpages and
catpages appear in the right dists.  Note that because Perl does
not respect the MANBUILDCAT (and NOMAN), this results in a loss of
/usr/share/perl/man/cat* empty directories.  This will be fixed
soon.

Turn MAKE_KERBEROS4 into a plain boolean variable (if it is set it
means "make KerberosIV"), as documented in the make.conf(5)
manpage.  Most of the userland makefiles did not test it for "YES"
anyway.

XXX Should specialized kerberized libpam versions be included into
the krb4 and krb5 dists?  (libpam.a would be incorrect anyway if
both krb4 and krb5 dists were choosen.)

Make sure "games" dist is made before "catpages", otherwise games
catpages settle in the wrong dist.

Fast build machine provided by: Igor Kucherenko <kivvy@sunbay.com>
2002-04-26 17:55:27 +00:00
eric
4c7b56686f When a compound section name is specified, search for pages that actually
match the requested section. Previously, the section would be trimmed and
every entry matching the page name would be displayed.

Sponsored by:	Apple
2002-04-24 20:07:06 +00:00
obrien
84b82bd4fa Don't use "GCCDIR" as the multiple inclusion protector. Subdir Makefiles
may want to override GCCDIR and this gets in the way.
2002-04-23 00:10:18 +00:00
markm
4cae6668ff Remove my MAINTAINER= from here, as it is in src/MAINTAINER 2002-04-21 08:03:25 +00:00
markm
1d46312627 Tidy up some of the configs; s/gcc/cc/ to make the choice of C compiler
more generic. Fix paths for things like scripts (fix perldoc). Tweak
externally passed macros.
2002-04-21 08:01:31 +00:00
obrien
e4e7ea8e6a It is easier for me to debug with -I's at the rear. 2002-04-20 01:27:28 +00:00
ru
8a3e2794af Replaced exists() tests with two equivalent defined().
LIBDIR is defined in bsd.own.mk but sys.mk no longer
includes bsd.own.mk as of revision 1.60.
2002-04-18 07:01:35 +00:00
ru
ef6fbcba9b *sigh* Really fix a typo.
Submitted by:	bde
2002-04-16 06:34:59 +00:00
obrien
a27301d850 Fix typo. 2002-04-15 21:57:40 +00:00
obrien
88095cb94f Turn off collect2.
collect2 was added based on the need of -frepo.  However, -frepo is currently
broken on -CURRENT (Gcc 2.95.4 20020320 [FreeBSD] / ld 2.12.0 [FreeBSD]
2002-04-10).  It is also broken on RELENG_4 (Gcc 2.95.3 20010315 / ld
2.11.2 20010719), so there is no need to MFC collect2 there yet.  I have
a feeling the brokeness is due to the wide difference between the libiberty
bits of Gcc 2.95 and the later ld.

Testing by:	fjoe
2002-04-15 03:15:40 +00:00
ache
b2dbe33cce Re-add sort spammed in v1.62 2002-04-13 05:49:33 +00:00
eric
2d36550df1 Fix compilation in the non-FreeBSD case.
Sponsored by:	Apple
2002-04-13 01:17:21 +00:00
obrien
0e221eece2 Updated to a 10-April-2002 2.12 branch snapshot.
This fixes serious problems in ld's symbol handling.
2002-04-12 19:59:42 +00:00
obrien
ae03d60df4 Use PTRACE_ARG3_TYPE of caddr_t.
Obtained from:	gdb 5.2
2002-04-11 20:42:13 +00:00
obrien
42e587fcbd In the cross case we need to provide TARGET_MACHINE. 2002-04-11 18:40:37 +00:00
ru
1edf22e90f Revert the last change and mark the program as PROG_CXX. 2002-04-11 11:06:06 +00:00
ru
f32dc62607 Use the new PROG_CXX knob. 2002-04-11 11:02:41 +00:00
obrien
4a7b915fd5 In the cross case we need to provide TARGET_MACHINE. 2002-04-10 02:20:48 +00:00
obrien
64abb46d2e Change YACCing.
Submited by:	ru
2002-04-10 01:48:47 +00:00
obrien
f631d685df Back out most of revision 1.59. 2002-04-10 00:18:14 +00:00
ru
3f7981754a -ltermcap is spelled -lncurses nowadays. 2002-04-09 13:04:31 +00:00
peter
8180c55fce move gperf to NO_GXX section, it works fine on ia64. It just needs a
c++ compiler.
2002-04-08 22:58:52 +00:00
peter
926eea6a54 Unbreak world (missing .else)
Submitted by:   fenner
Pointy hat to:  obrien
2002-04-08 22:56:28 +00:00
ache
9acbbd14fc Get decimal point from locale 2002-04-08 22:00:28 +00:00
ache
cfa7ad4216 Connect sort 2002-04-08 20:46:44 +00:00
obrien
8080c6393b GCC and Gperf do not work on ia64 or sparc64 yet.
Also do not try to compile Groff if NO_CXX is set.
2002-04-08 20:38:56 +00:00
obrien
acb8992dc3 Some things don't compile on ia64 and sparc64 yet. 2002-04-08 20:36:39 +00:00
obrien
1ebe357b71 Fine! I cannot freaking take the bikeshed any more.
These binaries will be static, peroid.
2002-04-08 18:48:38 +00:00
ache
cc662f1d90 Revive GNU sort 2002-04-08 12:12:07 +00:00
ru
53a2826bc8 Add .Fx entries for upcoming 4.6 and forthcoming 4.7.
Requested by:	asmodai
2002-04-08 11:20:50 +00:00
peter
01494340e6 Add -lstdc++ to the link args for these C++ tools so that they can be
compiled with gcc-3.1.  Somebody thought it was a good idea to move
the implementation of new and delete from libgcc to libstdc++.  This
change doesn't harm the current compiler in the tree.
2002-04-07 02:40:55 +00:00
peter
078dac26a9 Bandaid for LP64 machines where 'warning: cast to pointer from different
sized integer' bites.  The various malloc functions return pointers,
but without any prototype/declarations visible to callers, the compiler
expects them to return int.
2002-04-07 01:44:24 +00:00
obrien
9928dbec92 Break some things used by the front-ends from Makefile.inc that cannot
be used build-wide for GCC 3.1.
2002-04-06 23:16:26 +00:00
obrien
e3947f6248 Build and install collect2. This is needed for some C++ programs. 2002-04-06 23:12:46 +00:00
obrien
19a0a4cab7 Break some things out of Makefile.inc that cannot be used build-wide
for GCC 3.1.
2002-04-06 22:37:19 +00:00
obrien
5b0180d875 Expand the toolchain a little bit.
Requested by:	fjoe (collect2), des (protoize)
2002-04-06 09:35:06 +00:00
obrien
a7e1e1dfde A little more reorg. 2002-04-05 10:23:19 +00:00
obrien
7aa4d52726 Style reorg. Also spell -fpic as determined by bsd.lib.mk. 2002-04-05 09:12:25 +00:00
obrien
c860097cdc Style reorg. 2002-04-05 08:53:35 +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
jhb
1b41773e7a Back out the previous revision for now. Instead, the current sparc64
Makefile changes are in the sparc64 p4 tree.
2002-01-07 19:27:50 +00:00
jhb
27f95e7d69 Don't build csu or libgcc on sparc64 for the time being. 2002-01-03 19:57:35 +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
cc289dd393 Fixed memory leak in dialog_gauge(3).
PR:		gnu/32260
Submitted by:	Igor Pokrovsky <tiamat@telegraph.spb.ru>
MFC after:	3 days
2001-11-29 07:42:13 +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