Commit Graph

3266 Commits

Author SHA1 Message Date
Maksim Yevmenkin
d806a0a80d Register libbluetooth and libsdp
Reviewed by:	imp (mentor), ru
2004-02-12 23:50:56 +00:00
Tim Kientzle
581dfc5cc0 GNU tar in the base system is now called "gtar"
"tar" is now just a link to "gtar".

This lays the groundwork for an orderly migration
from GNU tar to some other tar.  (First, we introduce
the new tar program, then we migrate the 'tar' name,
then we remove gtar, with intervals of months between
these steps.)

Approved by:	gordon
2004-02-11 05:44:20 +00:00
Ruslan Ermilov
3d99503552 Removed all the complexities when installing the strip(1) binary.
Submitted by:	bde
2004-02-06 09:25:59 +00:00
Ruslan Ermilov
47d7e8a96f Fixed style of DPADD and LDADD assignments as per style.Makefile(5). 2004-02-05 22:44:25 +00:00
Ruslan Ermilov
1154360eaa strip wasn't stripped since we stopped to include bsd.own.mk from sys.mk. 2004-02-05 19:54:56 +00:00
Dag-Erling Smørgrav
eab0ab565c Remove Perl lines; it's better to let use.perl handle them. 2004-02-04 22:37:14 +00:00
Ceri Davies
92f367e5f2 Add a section documenting the return values from diff.
PR:		docs/59991
Submitted by:	keramida,Erik Greenwald <erik@smluc.org>
MFC After:	1 week
2004-02-01 13:52:19 +00:00
Ruslan Ermilov
d2dcbef638 Catch up with the 20040130 src/UPDATING entry, and spell libpthread
as -lpthread.  (Alpha and SPARC64 still spell it -lkse, but we hope
this to change by 5.3-RELEASE.)

Reviewed by:	deischen
2004-01-31 09:41:05 +00:00
David E. O'Brien
b7300254ae Discontinuation of an action that now fits on one. 2004-01-27 05:01:08 +00:00
Alexander Kabaev
1d38183672 Do not treat make variables as Perl variables. 2004-01-26 16:12:29 +00:00
David E. O'Brien
bd064b9335 Fix problem where kgdb misses trap frames.
Reported by:	iedowse
2004-01-26 09:18:47 +00:00
David E. O'Brien
014256a1e7 Use proper name. 2004-01-26 09:17:26 +00:00
David E. O'Brien
a7376656a5 style.Makefile(5) 2004-01-26 06:10:26 +00:00
David E. O'Brien
74483bd440 Follow existing GDB style for frame_info vars. 2004-01-26 06:07:33 +00:00
David E. O'Brien
1099ecff4c Remove trailing white space. 2004-01-26 06:05:04 +00:00
Ruslan Ermilov
207659654a Put libufs into the correct slot in the list. 2004-01-15 15:19:31 +00:00
Ruslan Ermilov
0cce80b925 Added description for libthr.
Reviewed by:	deischen
2004-01-15 15:18:21 +00:00
Ruslan Ermilov
0161ff2670 Fixed "make clean". 2004-01-15 10:07:59 +00:00
Ruslan Ermilov
d2ec2cabee Last revision also added duplicate SRCS. Fixed this so that
the resulting .a library has only unique .o files.

Noticed by:	bde
2004-01-12 22:02:31 +00:00
Ruslan Ermilov
24c50acd3f Don't put objects in SRCS -- this creates all sort of havoc like
causing objects to be built during "make depend", missed sources
in .depend, etc.
2004-01-12 20:08:20 +00:00
Ruslan Ermilov
1b427c9cd4 Removed duplicate SRCS. 2004-01-12 07:46:20 +00:00
Ruslan Ermilov
2eb3a038d7 Ensure that generated headers are here before we build .depend
and object files in a less hackish way compatible with further
planned changes to bsd.dep.mk.
2004-01-11 20:45:46 +00:00
Alexander Kabaev
4f6304398f Correct the atomicity.h fallback path on architectures which do not
define their own.
2004-01-06 19:20:30 +00:00
Alexander Kabaev
5187193bcc Do not install files which are not part of GCC 3.3.x anymore. 2004-01-05 20:59:05 +00:00
Alexander Kabaev
eb46541e9c Stop compiling files which are not part of GCC 3.3.x. 2004-01-05 20:23:16 +00:00
Alexander Kabaev
cd3d9d6c3c Use __cxa_atexit, rather than atexit, to register C++ destructors for local
statics and global objects.  This is essential for fully standards-compliant
handling of destructors, and requires __cxa_atexit in libc.
2003-12-19 18:20:48 +00:00
Alexander Kabaev
903f6fc326 Add two additional headers for amd64 and x86.
Reported by: Ollivier Robert
2003-12-09 16:31:30 +00:00
Ruslan Ermilov
ad48e87d0c MFR: Bump manpages revision to 5.2. 2003-12-07 15:46:50 +00:00
David E. O'Brien
13e85b308a /rescue/g{{,un}zip,zcat} exist, so build this dynamically now. 2003-11-17 05:18:36 +00:00
David E. O'Brien
270a7d5792 /rescue/tar exists, so build this dynamic now. 2003-11-17 05:16:26 +00:00
Ceri Davies
aca4a77119 Attempt to save the last dregs of emacs users' sanity by saving the
contents of the PR when an interrupt is received during the editor
session.  This stops the use of ^G from deleting a filled PR from
underneath the user.

PR:		bin/59201
Submitted by:	Heikki Suonsivu <hsu@evoluutio.bbnetworks.net>
MFC After:	2 weeks
2003-11-12 23:08:23 +00:00
David E. O'Brien
febc611cfa FBSDID style nit. 2003-11-12 08:33:18 +00:00
Dag-Erling Smørgrav
a1cf198715 The current Perl 5.8 version is 5.8.1; 5.8.2 is right around the corner. 2003-11-10 08:28:22 +00:00
Ceri Davies
9432b62eb6 Since we do not honour the Confidential: field, and as an attempt to
decrease the number of misfiled PR submissions in general, do not
allow users to send a PR that contains errors.

Discussed with:	core
2003-11-02 17:35:33 +00:00
Hidetoshi Shimokawa
3c0173a666 Implement gdb_solib_create_inferior_hook().
This function is used for autoloading kld module symbols for remote kgdb.
We still need a patch(*) for src/contrib/gdb/gdb/solib-svr4.c to enable
this function.

(*) http://people.freebsd.org/~simokawa/gdb/patch-solib-svr4.c
2003-10-29 14:40:59 +00:00
Bruce Evans
4fd41a120c Fix previous commit. glob_filename() returns "(char **) -1" for certain
errors, not necessarily a pointer such that (intptr_t)pointer is -1.

Also fix the style bug that the cast was not followed by a space.
This style of this file is now perfectly non-KNF for this cast too.
2003-10-26 06:40:37 +00:00
Peter Wemm
7c01a9ae48 Fix some warnings by defining has_sa_sigaction to 1. When the configure
script was run (years and years ago), we didn't have it.
2003-10-26 04:26:52 +00:00
Peter Wemm
bed00252eb Since I'm having so much fun with const, beat my head against the wall
some more.  Make this compile cleanly.
2003-10-26 04:20:19 +00:00
Peter Wemm
59a2e5b3fa Pointers dont fit in an int on 64 bit platforms. Fix a gcc warning. 2003-10-26 04:12:02 +00:00
Peter Wemm
10a498be8f The third arg to strncmp() is size_t, not int. This causes a warning on
systems where size_t is long, not int.
2003-10-26 04:10:50 +00:00
Joseph Koshy
dd12ec5d2f Detect errors during 'cat' page creation better. This fixes bin/5591.
Reviewed by:	ru
2003-10-15 00:36:44 +00:00
Daniel Eischen
b8cb229598 Add an entry for libpthread (aka libkse). For now, it's link command
is defined as -lkse, but we'll come back later and change it once
libkse is renamed.

Requested by:	ru
2003-10-02 20:49:34 +00:00
Max Khon
c4f02a891f - Support for multibyte charsets in LIBICONV.
- CD9660_ICONV, NTFS_ICONV and MSDOSFS_ICONV kernel options
(with corresponding modules).
- kiconv(3) for loadable charset conversion tables support.

Submitted by:	Ryuichiro Imura <imura@ryu16.org>
2003-09-26 20:26:25 +00:00
Ruslan Ermilov
0aec23a729 Update the copyright year. 2003-09-20 21:32:26 +00:00
Ruslan Ermilov
62d65bc7d7 Keep up with recent mdoc(7) changes. 2003-09-20 21:23:53 +00:00
Ruslan Ermilov
1ef49c0ad1 Comment out and mark all non-translated library strings. 2003-09-20 21:22:19 +00:00
Dag-Erling Smørgrav
9bab25e9e2 Perl 5.8.0 has been in ports for a long time. Add the correct directory
to manpath.config so use.perl won't needs to add it.
2003-09-18 10:44:42 +00:00
Ruslan Ermilov
efb74cb50f Add /usr/X11R6/man to the optional manpath.
PR:		conf/56626
Submitted by:	Oliver Eikemeier
2003-09-10 00:07:28 +00:00
Ruslan Ermilov
1c21ddbd77 Catch up with mdoc.local list of libraries. 2003-09-09 23:27:03 +00:00
Ruslan Ermilov
c03719cd00 Catch up with mdoc.local list of libraries. 2003-09-09 23:19:03 +00:00
Ruslan Ermilov
9d1be4e42e Unbreak Russian KOI8-R support. 2003-09-08 17:46:33 +00:00
David E. O'Brien
5abd21e1e6 Enable '--interpreter=mi' support.
Submitted by:	Rui Lopes <rui@ruilopes.com>
2003-09-07 20:38:23 +00:00
David E. O'Brien
f230755006 s/x86-64/amd64/ 2003-09-07 20:21:14 +00:00
David E. O'Brien
c234256ec5 style.Makefile(5) 2003-09-07 20:19:32 +00:00
Ruslan Ermilov
95ad4657c8 Eliminate the need in uname(1) during install. 2003-09-07 13:38:07 +00:00
Ruslan Ermilov
a463d8c3e0 Only evaluate CVS version once, when necessary.
Eliminates the need in sed(1) during install.
2003-09-07 13:17:31 +00:00
Ruslan Ermilov
d61bb3f2ba Only evaluate CVS version once, when necessary.
Eliminates the need in sed(1) during install.
2003-09-07 13:09:47 +00:00
Peter Wemm
c26f60e189 There is no need to #include <sgtty.h> 2003-09-04 01:33:43 +00:00
Andrey A. Chernov
9923fc419f Upgrade to 4.3 2003-08-31 19:15:35 +00:00
Andrey A. Chernov
bfe61e1700 Upgrade to textutils 2.1 sort 2003-08-30 14:28:14 +00:00
Poul-Henning Kamp
3bc2f9a897 Introduce more knobs to slim down FreeBSD userland
NO_TOOLCHAIN	skips Compilers and Binutils
NO_USB		skips USB stuff
NO_VINUM	skips Vinum stuff
NO_ACPI		skips ACPI stuff
2003-08-29 10:35:01 +00:00
David E. O'Brien
9d6f37e490 Properly quote the lib path. 2003-08-19 17:30:46 +00:00
David E. O'Brien
21df0f6f8f Stage 3 of dynamic root support, con't.
'ld' should also search /lib for dynamic libraries.
2003-08-17 21:45:26 +00:00
David E. O'Brien
34f8bdbf6a s/x86_64/amd64/g where possible. 2003-08-17 20:53:21 +00:00
Gordon Tetlow
41d8423f71 Stage 3 of dynamic root support. Make all the libraries needed to run
binaries in /bin and /sbin installed in /lib. Only the versioned files
reside in /lib, the .so symlink continues to live /usr/lib so the
toolchain doesn't need to be modified.
2003-08-17 08:28:46 +00:00
Ruslan Ermilov
b5148e5513 The as(1) manpage was missing on i386 and amd64. 2003-08-14 14:43:29 +00:00
Ceri Davies
9242daac21 Back out revision 1.32; it attaches the files in the wrong section of the PR. 2003-08-11 19:41:14 +00:00
Ceri Davies
507c0355a3 Have the -a and -f options work together.
PR:		misc/40057
2003-08-11 19:32:19 +00:00
Ruslan Ermilov
3bafd6271b Added description for the libufs(3) library.
PR:		55238
Reviewed by:	jmallett
2003-08-05 10:29:50 +00:00
Andrey A. Chernov
90862ca23d LANG->LC_ALL
Pointed by:     ru
2003-08-04 21:31:53 +00:00
Andrey A. Chernov
f7119903ab Use LANG=C before tr to be sure that ranges are correct
Strip [] from ranges
2003-08-04 15:34:38 +00:00
Andrey A. Chernov
5a13ca6f02 Remove collate_range_cmp() stabilization, it conflicts with ranges 2003-08-03 04:47:34 +00:00
Andrey A. Chernov
94bfac9e80 Remove collate_range_cmp() stabilization, it conflicts with ranges 2003-08-03 04:36:09 +00:00
David E. O'Brien
57ec2fc326 If ${GCC_CPU}-c.c exists, we need to use it. 2003-07-31 19:41:32 +00:00
John W. De Boskey
74e35006ba 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
Alexander Kabaev
0810229e75 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
Alexander Kabaev
00041cf539 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
Alexander Kabaev
e67810e696 Update bmake bits to build GCC 3.3.1-prerelease. 2003-07-11 05:37:23 +00:00
Alexander Kabaev
487ee93a17 Update for GCC 3.3.1-pre. 2003-07-11 05:33:24 +00:00
Alexander Kabaev
4346430319 Add unwind-c.c file required for -fexceptions in C sources. 2003-07-11 05:29:11 +00:00
Alexander Kabaev
03ffe3192e Change CFLAGS to more closely follow options used when GCC is built
from stock FSF sources.
2003-07-11 05:27:23 +00:00
Alexander Kabaev
08cbb1d115 Temporarily turn off -Werror for these components. 2003-07-11 05:24:32 +00:00
David E. O'Brien
ed0c979957 Only define a default editor if one isn't already defined. 2003-07-07 19:13:39 +00:00
David E. O'Brien
9c3f1b326f 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
David E. O'Brien
3e1521419b Add elf_i386_fbsd emulation.
Obtained from:	p4
2003-07-01 17:12:55 +00:00
Ruslan Ermilov
68b4ee7bfa Fixed build.
Noticed by:	bde
2003-07-01 14:46:26 +00:00
Ruslan Ermilov
c5c68dcde3 Don't build separate annotate.info, it's already part of gdb.info. 2003-07-01 14:04:08 +00:00
Ruslan Ermilov
5497021b71 Catch up with bsd.lib.mk,v 1.143. 2003-06-30 19:11:20 +00:00
Peter Wemm
fc369c7cd9 Add missing quote after cut/paste error in last commit. :-( 2003-06-26 20:34:08 +00:00
David E. O'Brien
b9005010fa Update the target. 2003-06-26 16:13:36 +00:00
Peter Wemm
01e5a2aede 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 Wemm
542f4d6282 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
Dag-Erling Smørgrav
894e6fb041 Add an amd64 category now that amd64 has its own mailing list and all. 2003-06-20 10:48:26 +00:00
David E. O'Brien
457946d9bd Remove MAINTAINER lines. 2003-06-14 19:32:52 +00:00
Dag-Erling Smørgrav
f212249acf Do not bogusly set CSTD to the empty string. 2003-06-14 13:30:32 +00:00
Peter Wemm
a96996a182 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 Wemm
0800731a79 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
Ruslan Ermilov
cfd5f3929d Teach mdoc(7) about the upcoming 5.2-RELEASE.
Suggested by:	juli
2003-06-09 10:40:17 +00:00
Philippe Charnier
9703a107f2 The .Fn function 2003-06-08 09:53:08 +00:00
Jun Kuriyama
3a624f5e23 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
Ruslan Ermilov
87072d22d5 Make the footer display "FreeBSD 5.1". 2003-06-05 13:18:43 +00:00
Ruslan Ermilov
1623181388 We have at least one consumer of the upcoming FreeBSD 4.9. 2003-06-02 18:43:15 +00:00
David E. O'Brien
0dd1486674 Something funky is going on here... disabling CSTD makes it go away... 2003-06-02 06:12:14 +00:00
David E. O'Brien
2295d19dd9 Don't set a C standard level for ObjC code. 2003-06-02 02:30:52 +00:00
David E. O'Brien
3dca32d865 Use ?= before someone brings it up. 2003-06-02 02:29:26 +00:00
David E. O'Brien
e56d2b1be6 crtstuff needs isn't compilable with C99 on Sparc64, so set CSTD to gnu89. 2003-06-01 22:18:05 +00:00
Peter Wemm
cd51f0035e 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 Wemm
ed8c5dcdc0 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 Wemm
bd3aef3d0d 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
Jacques Vidrine
bc562db930 Enable GSSAPI/Kerberos 5 support (aka `gserver').
MFC after:	1 month
2003-05-05 16:50:42 +00:00
David E. O'Brien
cd883fb617 Use __FBSDID over rcsid[]. 2003-05-03 21:31:08 +00:00
David E. O'Brien
d2f7262ed4 This is WARNS=2 clean. 2003-05-03 21:30:34 +00:00
Ruslan Ermilov
a2211ce1e0 Fix build on 4.x. 2003-05-02 11:56:43 +00:00
Ruslan Ermilov
7a547773ab Re-enable building of Groff documentation; texinfo has just been
upgraded to version 4.5.
2003-05-02 00:55:52 +00:00
Ruslan Ermilov
bc0a8ef662 Update for texinfo 4.5. 2003-05-02 00:51:24 +00:00
Ruslan Ermilov
4edd10842c catman(1) sources now live elsewhere. 2003-05-01 23:48:11 +00:00
David E. O'Brien
8f3bf9945d Lock GCC w/o -m32 into 64-bit mode. 2003-05-01 15:00:46 +00:00
Ruslan Ermilov
80da55ea72 Upgrade to Groff 1.19. 2003-05-01 13:22:21 +00:00
Ruslan Ermilov
e3519f9e1c Replace beforeinstall: with plain FILES. 2003-04-30 20:48:03 +00:00
Alexander Kabaev
93fa8833c7 Enable wchar_t support in libstdc++. 2003-04-29 18:10:45 +00:00
David E. O'Brien
7bf3ceda8b Wrap gperf in NO_CXX as it needs the C++ to compile. 2003-04-27 20:14:05 +00:00
David E. O'Brien
a12d8aed9a We're changing the platform name from x86[_-]86 to amd64. 2003-04-26 20:04:38 +00:00
David E. O'Brien
584a637fee The AMD64 Hammer bits. 2003-04-26 03:28:21 +00:00
David E. O'Brien
0d6a130e24 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
David E. O'Brien
7af330a71c 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
Ruslan Ermilov
6b09ae934b 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
Ruslan Ermilov
cc59b11e0f 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
Warner Losh
30aaff1192 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
Ruslan Ermilov
4d63e8de71 Mark bits that do not require an object directory as such. 2003-04-01 12:37:54 +00:00
Giorgos Keramidas
0b541a3c80 Document the MAIL_AGENT environment var.
PR:		48277
Submitted by:	Stefan Walter <sw@gegenunendlich.de>
2003-03-26 01:45:20 +00:00
Ian Dowse
ea0d04f36e 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
Dag-Erling Smørgrav
dbd7434863 Shorten the URL to the problem-reports article. 2003-03-18 11:12:14 +00:00
Marcel Moolenaar
f35f81b703 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 Moolenaar
8fb9b278d9 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
Ruslan Ermilov
9ef2a48e97 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
Ruslan Ermilov
e478cf0a5a Fixed CLEANFILES.
Submitted by:	cron
2003-02-25 15:41:49 +00:00
Ruslan Ermilov
2587947187 Install the gcov(1) manpage; kernbb(8) references it. 2003-02-24 22:58:19 +00:00
Ruslan Ermilov
2c027e8715 So we don't use this header anymore. 2003-02-24 22:57:06 +00:00
David E. O'Brien
63b117a6b7 I thought groff was wrapped with NO_CXX. Oh well, it is now. 2003-02-24 02:40:56 +00:00
David E. O'Brien
0bc8118778 Some things don't build for PowerPC yet.
List from:	benno
2003-02-21 02:30:51 +00:00
Alexander Kabaev
61856f3619 Update for GCC 3.2.2 2003-02-19 04:28:12 +00:00
Ruslan Ermilov
e50f318170 Recognize FreeBSD 5.1; libc_gen/signbit.3 has set the precedent. 2003-02-14 16:01:58 +00:00
Ruslan Ermilov
6a5c53e7a2 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
Alexey Zelkin
09ffd02a1b FreeBSD 5.x does not provide libskey anymore, remove reference 2003-02-13 18:23:13 +00:00
Alexey Zelkin
d1ada631c0 Add 'libgeom' to list of valid .Lb arguments 2003-02-13 18:21:32 +00:00
Andrey A. Chernov
8bdc8bfff8 Add /usr/local/man as OPTIONAL_MANPATH 2003-02-11 01:04:53 +00:00
Jacques Vidrine
6042ca2e01 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
Alexander Kabaev
efb75db1a4 Install one more header file which is new with GCC 3.2.2. 2003-02-10 06:09:55 +00:00
Peter Wemm
afa79409ee 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 Wemm
af03f496d0 Dont bother with unused rules for version.c 2003-01-21 22:31:07 +00:00