Commit Graph

3040 Commits

Author SHA1 Message Date
imp
c8f6c4c47b 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
a2cbe52412 Mark bits that do not require an object directory as such. 2003-04-01 12:37:54 +00:00
keramida
603919da7a Document the MAIL_AGENT environment var.
PR:		48277
Submitted by:	Stefan Walter <sw@gegenunendlich.de>
2003-03-26 01:45:20 +00:00
iedowse
8b8489eaed 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
0eda920b81 Shorten the URL to the problem-reports article. 2003-03-18 11:12:14 +00:00
marcel
ad5a9481d9 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
e216e0d2e3 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
c48d942ead 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
6ca556abf4 Fixed CLEANFILES.
Submitted by:	cron
2003-02-25 15:41:49 +00:00
ru
47452b5ae8 Install the gcov(1) manpage; kernbb(8) references it. 2003-02-24 22:58:19 +00:00
ru
ccea72ce7b So we don't use this header anymore. 2003-02-24 22:57:06 +00:00
obrien
81beb97543 I thought groff was wrapped with NO_CXX. Oh well, it is now. 2003-02-24 02:40:56 +00:00
obrien
30731143fa Some things don't build for PowerPC yet.
List from:	benno
2003-02-21 02:30:51 +00:00
kan
ff731294e3 Update for GCC 3.2.2 2003-02-19 04:28:12 +00:00
ru
9588431cd2 Recognize FreeBSD 5.1; libc_gen/signbit.3 has set the precedent. 2003-02-14 16:01:58 +00:00
ru
ba1e7428eb 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
d13dc88646 FreeBSD 5.x does not provide libskey anymore, remove reference 2003-02-13 18:23:13 +00:00
phantom
53bc599cad Add 'libgeom' to list of valid .Lb arguments 2003-02-13 18:21:32 +00:00
ache
591821672e Add /usr/local/man as OPTIONAL_MANPATH 2003-02-11 01:04:53 +00:00
nectar
b8b3bc3da7 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
245f424a78 Install one more header file which is new with GCC 3.2.2. 2003-02-10 06:09:55 +00:00
peter
d16aa8b224 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
2a7e377632 Dont bother with unused rules for version.c 2003-01-21 22:31:07 +00:00
peter
e68b00dd9e Update for cvs-1.11.5 import (note to self: gotta fix the version tags) 2003-01-21 22:04:20 +00:00
obrien
6b865b252e The PowerPC-specfic scripttempl file was depreciated in favor of the generic
ELF one.
2003-01-21 06:12:56 +00:00
obrien
ad84c67011 Reformat. 2003-01-04 17:51:59 +00:00
obrien
c6430ec7fe 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
ca4d1765ee GC 'char sigmap[]' (it is no longer used)
Approved by:	obrien
MFC after:	3 days
2003-01-04 17:35:54 +00:00
keramida
fae8d2d063 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
88d368906e Uniformly refer to a file system as "file system".
Approved by:	re
2002-12-12 17:26:04 +00:00
obrien
a8353e5631 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
8614b9c720 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
fa8491dd75 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
7af7629bdb 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
940e1d9daa 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
e3d47dc729 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
cc4616e03a 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
68a693cb40 Gperf is usable again. 2002-12-04 17:34:21 +00:00
peter
ea29ebbcc8 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
d9ac604039 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
273cc7c88b Remove the ancient PEI cruft that is useless. 2002-12-02 10:50:38 +00:00
obrien
3972bd11f7 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
27380297b7 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
4ae4f6ef0d Cleaner support of a DEFAULT_VECTOR. 2002-12-02 09:59:05 +00:00
obrien
232805fad9 Update for the Binutils 2.13.2 20021127 snapshot import. 2002-12-02 09:54:40 +00:00
obrien
c62ea7af9e Handle the "HAVE_" defines via the VECS list. 2002-12-02 09:53:59 +00:00
obrien
7016f28fd1 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
4d867b7c30 Update for the Binutils 2.13.2 20021127 snapshot import. 2002-12-02 09:45:51 +00:00
obrien
b8aaca2943 We now have insque(). 2002-12-02 09:44:59 +00:00
obrien
f33fdfcaac Binutils 2.13.2 is WARNS=2 clean for all our architectures. 2002-12-02 09:41:35 +00:00