CVS log for src/sys/conf/kern.mk
Up to [FreeBSD] / src / sys / conf
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.74.2.8: download - view: text, markup, annotated - select for diffs
Sun Jan 29 15:00:31 2012 UTC (10 days, 18 hours ago) by marius
Branches: RELENG_9
Diff to: previous 1.74.2.7: preferred, colored; branchpoint 1.74: preferred, colored; next MAIN 1.75: preferred, colored
Changes since revision 1.74.2.7: +2 -1 lines
SVN rev 230746 on 2012-01-29 15:00:31Z by marius MFC: r228858 Update a comment to reflect reality and explain why we're using the medany code model.
Revision 1.59.2.2: download - view: text, markup, annotated - select for diffs
Sun Jan 29 15:00:31 2012 UTC (10 days, 18 hours ago) by marius
Branches: RELENG_8
Diff to: previous 1.59.2.1: preferred, colored; branchpoint 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59.2.1: +2 -1 lines
SVN rev 230747 on 2012-01-29 15:00:31Z by marius MFC: r204556 Update a comment to reflect reality and explain why we're using the medany code model.
Revision 1.74.2.7: download - view: text, markup, annotated - select for diffs
Fri Jan 6 21:23:00 2012 UTC (4 weeks, 5 days ago) by dim
Branches: RELENG_9
Diff to: previous 1.74.2.6: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.6: +1 -0 lines
SVN rev 229734 on 2012-01-06 21:23:00Z by dim MFC r228994: Disable several instances instances of clang's -Wself-assign warning. All of these are harmless, and are in fact used to shut up warnings from lint. While here, remove -Wno-missing-prototypes from the xfs module Makefile, as I could not reproduce those warnings either with gcc or clang.
Revision 1.74.2.6: download - view: text, markup, annotated - select for diffs
Fri Jan 6 21:14:54 2012 UTC (4 weeks, 5 days ago) by dim
Branches: RELENG_9
Diff to: previous 1.74.2.5: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.5: +1 -0 lines
SVN rev 229731 on 2012-01-06 21:14:54Z by dim MFC r228978: For several files in sys/dev/drm, disable -Wunused-value when building with clang. There are several macros in these files that return values, and in some cases nothing is done with them, but it is completely harmless. For some other files, also disable -Wconstant-conversion, since that triggers a false positive with the DMA_BIT_MASK() macro.
Revision 1.74.2.5: download - view: text, markup, annotated - select for diffs
Mon Jan 2 13:17:31 2012 UTC (5 weeks, 2 days ago) by dim
Branches: RELENG_9
Diff to: previous 1.74.2.4: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.4: +7 -1 lines
SVN rev 229278 on 2012-01-02 13:17:31Z by dim MFC r228822: When building the kernel with clang, it produces several warnings which might be useful in some cases, but which are not severe enough to error out the whole kernel build. Display them anyway, so there is at least some incentive to fix them eventually. Start with -Wtautological-compare warnings. These usually occur when people check if unsigned quantities are negative, or similar cases. To clean these up would be painful, and might give problems if the base type which is compared against changes to signed later on. MFC r228841: Amend r228822 by not directly adding to CWARNFLAGS, but to an optional CWARNEXTRA variable, which gets included into the initial CWARNFLAGS setting. This makes it easier to override CWARNFLAGS with completely custom settings (including enabling any disabled warnings). Reminded by: arundel MFC r228860: Make another clang warning, -Wempty-body, non-fatal during kernel builds. All the instances of this warning in our tree are completely harmless. (Most of the empty bodies look to be used simply as reminder for the developer to add something later.) While here, assign to CWARNEXTRA with ?=, so it can be overridden easily, if needed. MFC r228867: Make another clang warning, -Wparentheses-equality, non-fatal during kernel builds. All the instances of this warning in our tree are completely harmless, and many people seem to like adding extra parentheses to make precedence clearer.
Revision 1.74.2.4: download - view: text, markup, annotated - select for diffs
Mon Jan 2 13:01:57 2012 UTC (5 weeks, 2 days ago) by dim
Branches: RELENG_9
Diff to: previous 1.74.2.3: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.3: +2 -0 lines
SVN rev 229275 on 2012-01-02 13:01:57Z by dim
MFC r228783:
When building with clang, disable -Wshift-count-negative and
-Wshift-count-overflow for sys/dev/ath/ath_hal/ah_regdomain.c, as it
gets multiple instances of the following warnings:
In file included from sys/dev/ath/ath_hal/ah_regdomain.c:99:
sys/dev/ath/ath_hal/ah_regdomain/ah_rd_domains.h:69:15: warning: shift count is negative [-Wshift-count-negative]
.chan11a = BM4(F1_4950_4980,
^~~~~~~~~~~~~~~~~
sys/dev/ath/ath_hal/ah_regdomain/ah_rd_domains.h:41:4: note: expanded from:
W1(_fa) | W1(_fb) | W1(_fc) | W1(_fd) }
^
sys/dev/ath/ath_hal/ah_regdomain/ah_rd_domains.h:34:45: note: expanded from:
(((_a) > 63 && (_a) < 128 ? (((uint64_t) 1)<<((_a)-64)) : (uint64_t) 0))
^ ~~~~~~~~~
and:
In file included from sys/dev/ath/ath_hal/ah_regdomain.c:99:
sys/dev/ath/ath_hal/ah_regdomain/ah_rd_domains.h:629:15: error: shift count >= width of type [-Werror,-Wshift-count-overflow]
.chan11a = BM4(W2_5260_5320,
^~~~~~~~~~~~~~~~~
sys/dev/ath/ath_hal/ah_regdomain/ah_rd_domains.h:40:34: note: expanded from:
{ W0(_fa) | W0(_fb) | W0(_fc) | W0(_fd), \
^
sys/dev/ath/ath_hal/ah_regdomain/ah_rd_domains.h:32:44: note: expanded from:
(((_a) >= 0 && (_a) < 64 ? (((uint64_t) 1)<<(_a)) : (uint64_t) 0))
^ ~~~~
Both warnings are false positives, caused by LLVM PR 10030. For global
initializations, clang fails to detect that the branch of the ternary
operator causing the warning is dead.
MFC r228793:
Amend r228783 by also disabling -Wshift-count-negative
-Wshift-count-overflow warnings for the ath module.
MFC r228818:
Disable various warnings for the ath module in a more fine-grained way:
only add the option for the specific .c files that need them, like via
sys/conf/files.
Revision 1.74.2.3: download - view: text, markup, annotated - select for diffs
Mon Jan 2 12:53:11 2012 UTC (5 weeks, 2 days ago) by dim
Branches: RELENG_9
Diff to: previous 1.74.2.2: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.2: +1 -0 lines
SVN rev 229274 on 2012-01-02 12:53:11Z by dim
MFC r228781:
When building with clang, disable -Warray-bounds for sys/dev/asr/asr.c,
as it gets the following warning:
sys/dev/asr/asr.c:1836:29: warning: array index of '58' indexes past the end of an array (that contains 1 element) [-Warray-bounds]
while ((len > 0) && (sg < &((PPRIVATE_SCSI_SCB_EXECUTE_MESSAGE)
^
sys/dev/asr/i2omsg.h:934:8: note: array 'Simple' declared here
I2O_SGE_SIMPLE_ELEMENT Simple[1];
^
This is a false positive, since I2O_SG_ELEMENT::Simple is not declared
as a C99 flexible array member, but in the old (but more portable) way.
At run-time, the proper number of array elements will hopefully have
been allocated.
MFC r228865:
Amend r228781 by also disabling -Warray-bounds warnings for the asr
module.
Revision 1.74.2.2: download - view: text, markup, annotated - select for diffs
Mon Jan 2 12:50:19 2012 UTC (5 weeks, 2 days ago) by dim
Branches: RELENG_9
Diff to: previous 1.74.2.1: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.2.1: +7 -0 lines
SVN rev 229273 on 2012-01-02 12:50:19Z by dim
MFC r228779:
Start selectively disabling a few kernel build warnings for clang, since
there are some places in the kernel where fixing them is too disruptive,
or where there is a false positive.
In this case, disable -Wconstant-conversion for two aic7xxx-related
files, as they get the following warning on i386 (and possibly on other
32-bit arches):
sys/dev/aic7xxx/ahc_pci.c:112:10: warning: implicit conversion from 'long long' to 'bus_addr_t' (aka 'unsigned int') changes value from 549755813887 to 4294967295 [-Wconstant-conversion]
? 0x7FFFFFFFFFLL
~~^~~~~~~~~~~~~~
This is a false positive, since the code only passes the 0x7FFFFFFFFFLL
argument, if sizeof(bus_addr_t) is larger than 4 (e.g. on 64 bit arches,
or when PAE is enabled on i386). The code could be refactored to do
compile-time checks, but that is more disruptive.
MFC r228789:
Amend r228779 by also disabling -Wconstant-conversion warnings for the
aic7xxx module.
MFC r228805:
Disable -Wconstant-conversion warnings for the aic7xxx module in a more
fine-grained way: only add the option for the specific .c files that
need them, like via sys/conf/files.
Revision 1.89: download - view: text, markup, annotated - select for diffs
Fri Dec 30 13:16:59 2011 UTC (5 weeks, 5 days ago) by dim
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +1 -0 lines
SVN rev 228994 on 2011-12-30 13:16:59Z by dim Disable several instances instances of clang's -Wself-assign warning. All of these are harmless, and are in fact used to shut up warnings from lint. While here, remove -Wno-missing-prototypes from the xfs module Makefile, as I could not reproduce those warnings either with gcc or clang. MFC after: 1 week
Revision 1.88: download - view: text, markup, annotated - select for diffs
Fri Dec 30 01:54:45 2011 UTC (5 weeks, 6 days ago) by dim
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +1 -0 lines
SVN rev 228978 on 2011-12-30 01:54:45Z by dim For several files in sys/dev/drm, disable -Wunused-value when building with clang. There are several macros in these files that return values, and in some cases nothing is done with them, but it is completely harmless. For some other files, also disable -Wconstant-conversion, since that triggers a false positive with the DMA_BIT_MASK() macro. MFC after: 1 week
Revision 1.87: download - view: text, markup, annotated - select for diffs
Sat Dec 24 18:57:42 2011 UTC (6 weeks, 4 days ago) by dim
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +2 -1 lines
SVN rev 228867 on 2011-12-24 18:57:42Z by dim Make another clang warning, -Wparentheses-equality, non-fatal during kernel builds. All the instances of this warning in our tree are completely harmless, and many people seem to like adding extra parentheses to make precedence clearer. MFC after: 1 week
Revision 1.86: download - view: text, markup, annotated - select for diffs
Sat Dec 24 13:30:15 2011 UTC (6 weeks, 4 days ago) by dim
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +1 -1 lines
SVN rev 228860 on 2011-12-24 13:30:15Z by dim Make another clang warning, -Wempty-body, non-fatal during kernel builds. All the instances of this warning in our tree are completely harmless. (Most of the empty bodies look to be used simply as reminder for the developer to add something later.) While here, assign to CWARNEXTRA with ?=, so it can be overridden easily, if needed. MFC after: 1 week
Revision 1.85: download - view: text, markup, annotated - select for diffs
Sat Dec 24 12:28:23 2011 UTC (6 weeks, 4 days ago) by marius
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +2 -1 lines
SVN rev 228858 on 2011-12-24 12:28:23Z by marius Update a comment to reflect reality and explain why we're using the medany code model.
Revision 1.84: download - view: text, markup, annotated - select for diffs
Fri Dec 23 13:50:33 2011 UTC (6 weeks, 5 days ago) by dim
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +3 -2 lines
SVN rev 228841 on 2011-12-23 13:50:33Z by dim Amend r228822 by not directly adding to CWARNFLAGS, but to an optional CWARNEXTRA variable, which gets included into the initial CWARNFLAGS setting. This makes it easier to override CWARNFLAGS with completely custom settings (including enabling any disabled warnings). Reminded by: arundel MFC after: 1 week
Revision 1.83: download - view: text, markup, annotated - select for diffs
Fri Dec 23 00:23:37 2011 UTC (6 weeks, 6 days ago) by dim
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +4 -0 lines
SVN rev 228822 on 2011-12-23 00:23:37Z by dim When building the kernel with clang, it produces several warnings which might be useful in some cases, but which are not severe enough to error out the whole kernel build. Display them anyway, so there is at least some incentive to fix them eventually. Start with -Wtautological-compare warnings. These usually occur when people check if unsigned quantities are negative, or similar cases. To clean these up would be painful, and might give problems if the base type which is compared against changes to signed later on. MFC after: 1 week
Revision 1.82: download - view: text, markup, annotated - select for diffs
Wed Dec 21 17:01:13 2011 UTC (7 weeks ago) by dim
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +2 -0 lines
SVN rev 228783 on 2011-12-21 17:01:13Z by dim
When building with clang, disable -Wshift-count-negative and
-Wshift-count-overflow for sys/dev/ath/ath_hal/ah_regdomain.c, as it
gets multiple instances of the following warnings:
In file included from sys/dev/ath/ath_hal/ah_regdomain.c:99:
sys/dev/ath/ath_hal/ah_regdomain/ah_rd_domains.h:69:15: warning: shift count is negative [-Wshift-count-negative]
.chan11a = BM4(F1_4950_4980,
^~~~~~~~~~~~~~~~~
sys/dev/ath/ath_hal/ah_regdomain/ah_rd_domains.h:41:4: note: expanded from:
W1(_fa) | W1(_fb) | W1(_fc) | W1(_fd) }
^
sys/dev/ath/ath_hal/ah_regdomain/ah_rd_domains.h:34:45: note: expanded from:
(((_a) > 63 && (_a) < 128 ? (((uint64_t) 1)<<((_a)-64)) : (uint64_t) 0))
^ ~~~~~~~~~
and:
In file included from sys/dev/ath/ath_hal/ah_regdomain.c:99:
sys/dev/ath/ath_hal/ah_regdomain/ah_rd_domains.h:629:15: error: shift count >= width of type [-Werror,-Wshift-count-overflow]
.chan11a = BM4(W2_5260_5320,
^~~~~~~~~~~~~~~~~
sys/dev/ath/ath_hal/ah_regdomain/ah_rd_domains.h:40:34: note: expanded from:
{ W0(_fa) | W0(_fb) | W0(_fc) | W0(_fd), \
^
sys/dev/ath/ath_hal/ah_regdomain/ah_rd_domains.h:32:44: note: expanded from:
(((_a) >= 0 && (_a) < 64 ? (((uint64_t) 1)<<(_a)) : (uint64_t) 0))
^ ~~~~
Both warnings are false positives, caused by LLVM PR 10030. For global
initializations, clang fails to detect that the branch of the ternary
operator causing the warning is dead.
MFC after: 1 week
Revision 1.81: download - view: text, markup, annotated - select for diffs
Wed Dec 21 16:38:37 2011 UTC (7 weeks ago) by dim
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +1 -0 lines
SVN rev 228781 on 2011-12-21 16:38:37Z by dim
When building with clang, disable -Warray-bounds for sys/dev/asr/asr.c,
as it gets the following warning:
sys/dev/asr/asr.c:1836:29: warning: array index of '58' indexes past the end of an array (that contains 1 element) [-Warray-bounds]
while ((len > 0) && (sg < &((PPRIVATE_SCSI_SCB_EXECUTE_MESSAGE)
^
sys/dev/asr/i2omsg.h:934:8: note: array 'Simple' declared here
I2O_SGE_SIMPLE_ELEMENT Simple[1];
^
This is a false positive, since I2O_SG_ELEMENT::Simple is not declared
as a C99 flexible array member, but in the old (but more portable) way.
At run-time, the proper number of array elements will hopefully have
been allocated.
MFC after: 1 week
Revision 1.80: download - view: text, markup, annotated - select for diffs
Wed Dec 21 15:59:18 2011 UTC (7 weeks ago) by dim
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +7 -0 lines
SVN rev 228779 on 2011-12-21 15:59:18Z by dim
Start selectively disabling a few kernel build warnings for clang, since
there are some places in the kernel where fixing them is too disruptive,
or where there is a false positive.
In this case, disable -Wconstant-conversion for two aic7xxx-related
files, as they get the following warning on i386 (and possibly on other
32-bit arches):
sys/dev/aic7xxx/ahc_pci.c:112:10: warning: implicit conversion from 'long long' to 'bus_addr_t' (aka 'unsigned int') changes value from 549755813887 to 4294967295 [-Wconstant-conversion]
? 0x7FFFFFFFFFLL
~~^~~~~~~~~~~~~~
This is a false positive, since the code only passes the 0x7FFFFFFFFFLL
argument, if sizeof(bus_addr_t) is larger than 4 (e.g. on 64 bit arches,
or when PAE is enabled on i386). The code could be refactored to do
compile-time checks, but that is more disruptive.
MFC after: 1 week
Revision 1.79: download - view: text, markup, annotated - select for diffs
Tue Nov 29 16:34:44 2011 UTC (2 months, 1 week ago) by fjoe
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +0 -7 lines
SVN rev 228137 on 2011-11-29 16:34:44Z by fjoe - fix WITH_CTF when specified in /etc/src.conf [1] - CTFCONVERT_CMD=... is a hack (should be defined to empty string instead): make(1) should be taught to ignore empty commands silently in compat mode (as it does in !compat mode, GNU make also silently ignores empty commands) and to skip printing empty commands in !compat mode - config(8) should generate ${NORMAL_CTFCONVERT} invocation without '@': this will allow to simplify kern.pre.mk even more and lessen the number of shell invocations during kernel build when CTF is turned off - WITH_CTF can now be converted to usual MK_CTF=yes/no infrastructure Pointy hat to: fjoe [1]
Revision 1.78: download - view: text, markup, annotated - select for diffs
Tue Nov 29 08:21:54 2011 UTC (2 months, 1 week ago) by fjoe
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +1 -1 lines
SVN rev 228121 on 2011-11-29 08:21:54Z by fjoe Fix typo in comments (conversation -> conversion).
Revision 1.74.2.1.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 11 04:20:22 2011 UTC (2 months, 4 weeks ago) by kensmith
Branches: RELENG_9_0
CVS tags: RELENG_9_0_0_RELEASE
Diff to: previous 1.74.2.1: preferred, colored; next MAIN 1.74.2.2: preferred, colored
Changes since revision 1.74.2.1: +0 -0 lines
SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release cycle. Approved by: re (implicit)
Revision 1.77: download - view: text, markup, annotated - select for diffs
Wed Oct 26 17:26:38 2011 UTC (3 months, 2 weeks ago) by rmh
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +2 -12 lines
SVN rev 226802 on 2011-10-26 17:26:38Z by rmh Revert r226665 untill the issues with this change have been resolved. Approved by: kib (mentor)
Revision 1.76: download - view: text, markup, annotated - select for diffs
Mon Oct 24 18:35:16 2011 UTC (3 months, 2 weeks ago) by dim
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +1 -1 lines
SVN rev 226698 on 2011-10-24 18:35:16Z by dim Put in a temporary band-aid to fix kernel builds when CC=clang, after r226665.
Revision 1.75: download - view: text, markup, annotated - select for diffs
Sun Oct 23 16:27:03 2011 UTC (3 months, 2 weeks ago) by rmh
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +12 -2 lines
SVN rev 226665 on 2011-10-23 16:27:03Z by rmh Conditionalize a pair of FreeBSD GCC extensions so that its CFLAGS are only used with FreeBSD GCC. Approved by: kib (mentor)
Revision 1.74.2.1: download - view: text, markup, annotated - select for diffs
Fri Sep 23 00:51:37 2011 UTC (4 months, 2 weeks ago) by kensmith
Branches: RELENG_9
CVS tags: RELENG_9_0_BP
Branch point for: RELENG_9_0
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +0 -0 lines
SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith Copy head to stable/9 as part of 9.0-RELEASE release cycle. Approved by: re (implicit)
Revision 1.74: download - view: text, markup, annotated - select for diffs
Tue May 24 09:01:56 2011 UTC (8 months, 2 weeks ago) by brucec
Branches: MAIN
CVS tags: RELENG_9_BP
Branch point for: RELENG_9
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +2 -5 lines
SVN rev 222248 on 2011-05-24 09:01:56Z by brucec Remove an outdated comment as requested by Bruce Evans in a private email to Alexander Best (arundel@). For clang, -fdiagnostics-show-option is enabled by default, but for gcc it isn't. This option will report which -W* flag was responsible for triggering a certain warning. This will bring gcc warnings closer to the ones clang emits and might also help developers track down tinderbox failures a bit quicker. Submitted by: arundel
Revision 1.73: download - view: text, markup, annotated - select for diffs
Sat May 14 11:26:00 2011 UTC (8 months, 3 weeks ago) by brucec
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +28 -5 lines
SVN rev 221879 on 2011-05-14 11:26:00Z by brucec gcc and clang semantics imply certain -mno-* flags when other certain -mno-* flags are also specified. This change makes use of this behaviour and removes unneeded -mno-* flags. Note that clang does not yet enable AVX support for any CPU. However at some point in the future it will and since we definitely want to disable it for the kernel, we might as well add the -mno-avx flag now. Submitted by: arundel
Revision 1.72: download - view: text, markup, annotated - select for diffs
Mon May 2 10:35:27 2011 UTC (9 months, 1 week ago) by brucec
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +11 -10 lines
SVN rev 221320 on 2011-05-02 10:35:27Z by brucec Add -Wmissing-include-dirs to CWARNFLAGS, so tinderbox will punish those developers committing new code with broken include directories. Fix a few whitespace issues. Improve a couple of comments. -W is now deprecated and is referred to as -Wextra (see gcc(1)). Submitted by: arundel
Revision 1.71: download - view: text, markup, annotated - select for diffs
Tue Apr 19 18:09:21 2011 UTC (9 months, 3 weeks ago) by dim
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +3 -17 lines
SVN rev 220863 on 2011-04-19 18:09:21Z by dim Remove support for the Intel C Compiler from the build infrastructure. This support has not worked for several years, and is not likely to work again, unless Intel decides to release a native FreeBSD version of their compiler. ;)
Revision 1.70: download - view: text, markup, annotated - select for diffs
Fri Feb 18 21:44:53 2011 UTC (11 months, 2 weeks ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +7 -0 lines
SVN rev 218824 on 2011-02-18 21:44:53Z by nwhitehorn Turn off default generation of userland dot symbols on powerpc64 now that we have a binutils that supports it. Kernel dot symbols remain on to assist DDB.
Revision 1.69: download - view: text, markup, annotated - select for diffs
Wed Jan 5 22:24:33 2011 UTC (13 months ago) by dim
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +1 -1 lines
SVN rev 217033 on 2011-01-05 22:24:33Z by dim On i386 and amd64, consistently use the following options whenever we want to avoid using any "advanced" CPU features: -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float
Revision 1.68: download - view: text, markup, annotated - select for diffs
Wed Jan 5 21:23:26 2011 UTC (13 months ago) by dim
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +1 -1 lines
SVN rev 217026 on 2011-01-05 21:23:26Z by dim Sort -mno-(mmx|3dnow|sse|sse2|sse3) options consistently throughout the tree. Submitted by: arundel
Revision 1.52.2.1.6.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:10:29 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_7_4
CVS tags: RELENG_7_4_0_RELEASE
Diff to: previous 1.52.2.1: preferred, colored; next MAIN 1.52.6.1: preferred, colored
Changes since revision 1.52.2.1: +0 -0 lines
SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release. Approved by: re (implicit)
Revision 1.59.2.1.6.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:09:25 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_8_2
CVS tags: RELENG_8_2_0_RELEASE
Diff to: previous 1.59.2.1: preferred, colored; next MAIN 1.59.2.2: preferred, colored
Changes since revision 1.59.2.1: +0 -0 lines
SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release. Approved by: re (implicit)
Revision 1.67: download - view: text, markup, annotated - select for diffs
Mon Sep 13 07:27:03 2010 UTC (16 months, 3 weeks ago) by imp
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +10 -9 lines
SVN rev 212542 on 2010-09-13 07:27:03Z by imp Prefer MACHINE_CPUARCH over MACHINE_ARCH
Revision 1.66: download - view: text, markup, annotated - select for diffs
Tue Aug 17 20:39:28 2010 UTC (17 months, 3 weeks ago) by rpaulo
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +6 -6 lines
SVN rev 211437 on 2010-08-17 20:39:28Z by rpaulo
For every instance of '.if ${CC} == "foo"' or '.if ${CC} != "foo"' in
Makefiles or *.mk files, use ${CC:T:Mfoo} instead, so only the basename
of the compiler command (excluding any arguments) is considered.
This allows you to use, for example, CC="/nondefault/path/clang -xxx",
and still have the various tests in bsd.*.mk identify your compiler as
clang correctly.
ICC if cases were also changed.
Submitted by: Dimitry Andric <dimitry at andric.com>
Revision 1.65: download - view: text, markup, annotated - select for diffs
Thu Jul 22 18:47:41 2010 UTC (18 months, 2 weeks ago) by rpaulo
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +4 -2 lines
SVN rev 210384 on 2010-07-22 18:47:41Z by rpaulo Handle a few corner cases for clang like we did with icc. These should reduce the number of warnings seen while building the kernel. Submitted by: Dimitry Andric <dimitry at andric.com>
Revision 1.64: download - view: text, markup, annotated - select for diffs
Tue Jul 13 13:11:18 2010 UTC (18 months, 4 weeks ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +1 -1 lines
SVN rev 209993 on 2010-07-13 13:11:18Z by nwhitehorn Convert several instances of MACHINE_ARCH to MACHINE_CPUARCH and use the correct compiler flags on 64-bit PowerPC.
Revision 1.59.2.1.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 14 02:09:06 2010 UTC (19 months, 3 weeks ago) by kensmith
Branches: RELENG_8_1
CVS tags: RELENG_8_1_0_RELEASE
Diff to: previous 1.59.2.1: preferred, colored; next MAIN 1.59.2.2: preferred, colored
Changes since revision 1.59.2.1: +0 -0 lines
SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith Copy stable/8 to releng/8.1 in preparation for 8.1-RC1. Approved by: re (implicit)
Revision 1.63: download - view: text, markup, annotated - select for diffs
Fri Apr 2 06:55:31 2010 UTC (22 months, 1 week ago) by netchild
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +8 -0 lines
SVN rev 206082 on 2010-04-02 06:55:31Z by netchild WITH_CTF can now be specified in src.conf (not recommended, there are some problems with static executables), make.conf (would also affect ports which do not use GNU make and do not override the compile targets) or in the kernel config (via "makeoptions WITH_CTF=yes"). Additional (related) changes: - propagate WITH_CTF to module builds - do not add -g to the linker flags, it's a noop there anyway (at least according to the man page of ld) - do not add -g to CFLAGS unconditionally we need to have a look if it is really needed (IMO not) or if there is a way to add it only when WITH_CTF is used Note: ctfconvert / ctfmerge lines will not appear in the build output, to protect the innocent (those which do not build with WITH_CTF would see the shell-test and may think WITH_CTF is used). Reviewed by: imp, jhb, scottl (earlier version) Discussed on: arch@
Revision 1.52.2.1.4.1: download - view: text, markup, annotated - select for diffs
Wed Feb 10 00:26:20 2010 UTC (23 months, 4 weeks ago) by kensmith
Branches: RELENG_7_3
CVS tags: RELENG_7_3_0_RELEASE
Diff to: previous 1.52.2.1: preferred, colored; next MAIN 1.52.6.1: preferred, colored
Changes since revision 1.52.2.1: +0 -0 lines
SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process. Approved by: re (implicit)
Revision 1.62: download - view: text, markup, annotated - select for diffs
Tue Jan 19 11:42:15 2010 UTC (2 years ago) by ru
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +1 -4 lines
SVN rev 202614 on 2010-01-19 11:42:15Z by ru Removed NO_UNDEF. Nudged by: trasz
Revision 1.61: download - view: text, markup, annotated - select for diffs
Mon Jan 18 21:56:08 2010 UTC (2 years ago) by trasz
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +1 -4 lines
SVN rev 202596 on 2010-01-18 21:56:08Z by trasz Undo r169961, removing WITH_GCC3, added as a temporary workaround three years ago.
Revision 1.60: download - view: text, markup, annotated - select for diffs
Sat Jan 9 17:21:36 2010 UTC (2 years, 1 month ago) by imp
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +2 -3 lines
SVN rev 201903 on 2010-01-09 17:21:36Z by imp Merge r201902 and r195669 from projects/mips into head by hand: r201902 | imp | 2010-01-09 10:16:19 -0700 (Sat, 09 Jan 2010) | 2 lines Fix comment, which was missed in an earlier commit... r195669 | gonzo | 2009-07-13 17:03:44 -0600 (Mon, 13 Jul 2009) | 3 lines - Remove -mno-dsp from CFLAGS. MIPS DSP ASE is off by default now (as it should be)
Revision 1.59.2.1.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 25 01:10:29 2009 UTC (2 years, 3 months ago) by kensmith
Branches: RELENG_8_0
CVS tags: RELENG_8_0_0_RELEASE
Diff to: previous 1.59.2.1: preferred, colored; next MAIN 1.59.2.2: preferred, colored
Changes since revision 1.59.2.1: +0 -0 lines
SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure. Approved by: re (implicit)
Revision 1.59.2.1: download - view: text, markup, annotated - select for diffs
Mon Aug 3 08:13:06 2009 UTC (2 years, 6 months ago) by kensmith
Branches: RELENG_8
CVS tags: RELENG_8_2_BP, RELENG_8_1_BP, RELENG_8_0_BP
Branch point for: RELENG_8_2, RELENG_8_1, RELENG_8_0
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +0 -0 lines
SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith Copy head to stable/8 as part of 8.0 Release cycle. Approved by: re (Implicit)
Revision 1.52.2.1.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 15 03:14:26 2009 UTC (2 years, 9 months ago) by kensmith
Branches: RELENG_7_2
CVS tags: RELENG_7_2_0_RELEASE
Diff to: previous 1.52.2.1: preferred, colored; next MAIN 1.52.6.1: preferred, colored
Changes since revision 1.52.2.1: +0 -0 lines
SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE. Approved by: re (implicit)
Revision 1.52.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 7 20:39:42 2009 UTC (2 years, 11 months ago) by nwhitehorn
Branches: RELENG_7
CVS tags: RELENG_7_4_BP, RELENG_7_3_BP, RELENG_7_2_BP
Branch point for: RELENG_7_4, RELENG_7_3, RELENG_7_2
Diff to: previous 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52: +2 -1 lines
SVN rev 189498 on 2009-03-07 20:39:42Z by nwhitehorn MFC r188860,188879,188923,188951: Altivec support for PowerPC.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Tue Mar 3 18:53:47 2009 UTC (2 years, 11 months ago) by imp
Branches: MAIN
CVS tags: RELENG_8_BP
Branch point for: RELENG_8
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +1 -1 lines
SVN rev 189316 on 2009-03-03 18:53:47Z by imp Bump down the inline limit on MIPS.
Revision 1.58: download - view: text, markup, annotated - select for diffs
Sun Feb 22 18:45:30 2009 UTC (2 years, 11 months ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +2 -1 lines
SVN rev 188923 on 2009-02-22 18:45:30Z by nwhitehorn Explicitly disable generation of Altivec instructions in the kernel on PowerPC, and add support to allow users to set their CPUTYPE in make.conf.
Revision 1.52.6.1: download - view: text, markup, annotated - select for diffs
Tue Nov 25 02:59:29 2008 UTC (3 years, 2 months ago) by kensmith
Branches: RELENG_7_1
CVS tags: RELENG_7_1_0_RELEASE
Diff to: previous 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52: +0 -0 lines
SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith Create releng/7.1 in preparation for moving into RC phase of 7.1 release cycle. Approved by: re (implicit)
Revision 1.45.12.1: download - view: text, markup, annotated - select for diffs
Thu Oct 2 02:57:24 2008 UTC (3 years, 4 months ago) by kensmith
Branches: RELENG_6_4
CVS tags: RELENG_6_4_0_RELEASE
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +0 -0 lines
SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith Create releng/6.4 from stable/6 in preparation for 6.4-RC1. Approved by: re (implicit)
Revision 1.57: download - view: text, markup, annotated - select for diffs
Wed Jul 23 06:16:34 2008 UTC (3 years, 6 months ago) by imp
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +1 -1 lines
SVN rev 180732 on 2008-07-23 06:16:34Z by imp Disable SSP for mips until support is added to the base architecture.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Tue Jul 22 09:38:12 2008 UTC (3 years, 6 months ago) by cognet
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +2 -1 lines
SVN rev 180685 on 2008-07-22 09:38:12Z by cognet Disable SSP for the kernel on arm as well (see rev 180605). I overlooked this because a SSP kernel booted for me. Apologises to: ticso
Revision 1.55: download - view: text, markup, annotated - select for diffs
Wed Jun 25 21:33:28 2008 UTC (3 years, 7 months ago) by ru
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +7 -0 lines
SVN rev 180012 on 2008-06-25 21:33:28Z by ru Enable GCC stack protection (aka Propolice) for userland: - It is opt-out for now so as to give it maximum testing, but it may be turned opt-in for stable branches depending on the consensus. You can turn it off with WITHOUT_SSP. - WITHOUT_SSP was previously used to disable the build of GNU libssp. It is harmless to steal the knob as SSP symbols have been provided by libc for a long time, GNU libssp should not have been much used. - SSP is disabled in a few corners such as system bootstrap programs (sys/boot), process bootstrap code (rtld, csu) and SSP symbols themselves. - It should be safe to use -fstack-protector-all to build world, however libc will be automatically downgraded to -fstack-protector because it breaks rtld otherwise. - This option is unavailable on ia64. Enable GCC stack protection (aka Propolice) for kernel: - It is opt-out for now so as to give it maximum testing. - Do not compile your kernel with -fstack-protector-all, it won't work. Submitted by: Jeremie Le Hen <jeremie@le-hen.org>
Revision 1.54: download - view: text, markup, annotated - select for diffs
Sat May 10 20:46:07 2008 UTC (3 years, 9 months ago) by ache
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +1 -1 lines
Add -mno-sse3 for amd64 case too PR: 123518 Submitted by: Marc Olzheim <marcolz@stack.nl>
Revision 1.53: download - view: text, markup, annotated - select for diffs
Tue Apr 29 11:28:10 2008 UTC (3 years, 9 months ago) by gonzo
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +9 -0 lines
Define INLINE_LIMIT and additional CFLAGS for mips. Approved by: cognet (mentor)
Revision 1.52: download - view: text, markup, annotated - select for diffs
Thu May 24 21:53:42 2007 UTC (4 years, 8 months ago) by obrien
Branches: MAIN
CVS tags: RELENG_7_BP, RELENG_7_1_BP, RELENG_7_0_BP, RELENG_7_0_0_RELEASE, RELENG_7_0
Branch point for: RELENG_7_1, RELENG_7
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +4 -1 lines
Temporarily add 'WITH_GCC3' that removes -Wno-pointer-sign from the compiler invocation. This is just to help get over the hump of people tracking down bugs that may cross the GCC 4.2 upgrade. It is envisioned that this option goes away after a suitable amount of time.
Revision 1.51: download - view: text, markup, annotated - select for diffs
Sat May 19 04:45:54 2007 UTC (4 years, 8 months ago) by kan
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +2 -2 lines
Add -Wno-pointer-sign to CWARNFLAGS. Switch ia64 kernels to -fpic. This is likely wrong, but at least gets ia64 kernels to compile and link with GCC 4.2. The previous -mno-sdata trick is not working anymore.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Sun Nov 26 23:16:46 2006 UTC (5 years, 2 months ago) by kmacy
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +1 -1 lines
Fix module loading for sparc on machines with greater than 1GB of RAM t1# uname -m sparc64 t1# sysctl hw.physmem hw.physmem: 17150509056 t1# kldload reiserfs t1# kldstat Id Refs Address Size Name 1 3 0xc0000000 58cc38 kernel 2 1 0xcbe70000 234000 xfs.ko 3 1 0xcc0b6000 110000 reiserfs.ko
Revision 1.49: download - view: text, markup, annotated - select for diffs
Thu Jun 29 21:15:25 2006 UTC (5 years, 7 months ago) by obrien
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +1 -1 lines
Create new dialect knob, as setting the language dialect isn't a warning flag.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Tue May 30 19:18:01 2006 UTC (5 years, 8 months ago) by ru
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +4 -1 lines
Enable -Wundef warnings for kernel/module compiles. From cpp.info:
`-Wundef'
Warn whenever an identifier which is not a macro is encountered in
an `#if' directive, outside of `defined'. Such identifiers are
replaced with zero.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Thu May 11 22:25:26 2006 UTC (5 years, 9 months ago) by jhb
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +0 -10 lines
First pass at removing Alpha kernel support.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Fri Jul 15 11:45:30 2005 UTC (6 years, 6 months ago) by ache
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +1 -1 lines
Add -mno-sse3 for prescott/nocona
Revision 1.45: download - view: text, markup, annotated - select for diffs
Thu Mar 31 22:53:58 2005 UTC (6 years, 10 months ago) by peter
Branches: MAIN
CVS tags: RELENG_6_BP, RELENG_6_4_BP, RELENG_6_3_BP, RELENG_6_3_0_RELEASE, RELENG_6_3, RELENG_6_2_BP, RELENG_6_2_0_RELEASE, RELENG_6_2, RELENG_6_1_BP, RELENG_6_1_0_RELEASE, RELENG_6_1, RELENG_6_0_BP, RELENG_6_0_0_RELEASE, RELENG_6_0, RELENG_6
Branch point for: RELENG_6_4
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +6 -2 lines
Since the question keeps coming up, explain why the -mno-sse etc switches are there and that it does not have an effect on user applications.
Revision 1.42.2.1: download - view: text, markup, annotated - select for diffs
Wed Mar 16 18:54:36 2005 UTC (6 years, 10 months ago) by obrien
Branches: RELENG_5
CVS tags: RELENG_5_5_BP, RELENG_5_5_0_RELEASE, RELENG_5_5, RELENG_5_4_BP, RELENG_5_4_0_RELEASE, RELENG_5_4
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +2 -1 lines
Ensure GCC does not use FP registers in integer code. Approved by: re(ken)
Revision 1.44: download - view: text, markup, annotated - select for diffs
Tue Mar 15 18:44:51 2005 UTC (6 years, 10 months ago) by obrien
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +1 -2 lines
Remove OBE comment about AMD64 memory model.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Tue Mar 15 18:43:36 2005 UTC (6 years, 10 months ago) by obrien
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -1 lines
Ensure GCC does not use FP registers in integer code. I think all we really need is -fno-sse2. I really don't like cluttering up the compiler invocation, but this bigger hammer will fix reported problems for now.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Fri May 14 13:35:46 2004 UTC (7 years, 8 months ago) by cognet
Branches: MAIN
CVS tags: RELENG_5_BP, RELENG_5_3_BP, RELENG_5_3_0_RELEASE, RELENG_5_3
Branch point for: RELENG_5
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -0 lines
Define INLINE_LIMIT for arm.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Fri Mar 12 21:36:12 2004 UTC (7 years, 10 months ago) by trhodes
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +14 -1 lines
This are the build infrastructure changes to allow to use the Intel C/C++ compiler (lang/icc) to build the kernel. The icc CPUTYPE CFLAGS use icc v7 syntax, icc v8 moans about them, but doesn't abort. They also produce CPU specific code (new instructions of the CPU, not only CPU specific scheduling), so if you get coredumps with signal 4 (SIGILL, illegal instruction) you've used the wrong CPUTYPE. Incarnations of this patch survive gcc compiles and my make universe. I use it on my desktop. To use it update share/mk, add /usr/local/intel/compiler70/ia32/bin (icc v7, works) or /usr/local/intel_cc_80/bin (icc v8, doesn't work) to your PATH, make sure you have a new kernel compile directory (e.g. MYKERNEL_icc) and run CFLAGS="-O2 -ip" CC=icc make depend CFLAGS="-O2 -ip" CC=icc make in it. Don't compile with -ipo, the build infrastructure uses ld directly to link the kernel and the modules, but -ipo needs the link step to be performed with Intel's linker. Problems with icc v8: - panic: npx0 cannot be emulated on an SMP system - UP: first start of /bin/sh results in a FP exception Parts of this commit contains suggestions or submissions from Marius Strobl <marius@alchemy.franken.de>. Reviewed by: silence on -arch Submitted by: netchild
Revision 1.40: download - view: text, markup, annotated - select for diffs
Wed Mar 3 09:35:06 2004 UTC (7 years, 11 months ago) by obrien
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +1 -1 lines
Lower i386's INLINE_LIMIT to AMD64's level.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Fri Feb 6 20:40:04 2004 UTC (8 years ago) by peter
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +1 -1 lines
Reduce the inline limit from 20000 to 8000 after the previous changes to simplify the curthread expansion some months ago.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Sun Dec 7 09:56:30 2003 UTC (8 years, 2 months ago) by obrien
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +9 -0 lines
Add PowerPC CFLAGS. Submitted by: gallatin
Revision 1.37: download - view: text, markup, annotated - select for diffs
Tue Nov 4 23:29:17 2003 UTC (8 years, 3 months ago) by peter
Branches: MAIN
CVS tags: RELENG_5_2_BP, RELENG_5_2_1_RELEASE, RELENG_5_2_0_RELEASE, RELENG_5_2
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +5 -0 lines
Move the inline limit default variable to a per-arch place. For example, the amd64 implementation of the pcpu macros is even more verbose than on i386 and that causes gcc to way overestimate the complexity of this 2-instruction macro. The other platforms can probably lower their default values.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Fri May 30 01:06:58 2003 UTC (8 years, 8 months ago) by peter
Branches: MAIN
CVS tags: RELENG_5_1_BP, RELENG_5_1_0_RELEASE, RELENG_5_1
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -1 lines
Update the kernel compile flags inside the .if ${MACHINE_ARCH} == "amd64"
section to stop gcc generating the dwarf2 .eh_frame unwind tables. It
is dead weight for the time being. Maybe it can be used to perform
stack traces and/or get the location of function arguments in ddb, but
that requires a dwarf2 runtime interpreter, which we do not have.
Approved by: re (amd64 "safe" bits)
Revision 1.35: download - view: text, markup, annotated - select for diffs
Fri May 23 05:04:54 2003 UTC (8 years, 8 months ago) by peter
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +1 -1 lines
Major pmap rework to take advantage of the larger address space on amd64 systems. Of note: - Implement a direct mapped region using 2MB pages. This eliminates the need for temporary mappings when getting ptes. This supports up to 512GB of physical memory for now. This should be enough for a while. - Implement a 4-tier page table system. Most of the infrastructure is there for 128TB of userland virtual address space, but only 512GB is presently enabled due to a mystery bug somewhere. The design of this was heavily inspired by the alpha pmap.c. - The kernel is moved into the negative address space(!). - The kernel has 2GB of KVM available. - Provide a uma memory allocator to use the direct map region to take advantage of the 2MB TLBs. - Fixed some assumptions in the bus_space macros about the ability to fit virtual addresses in an 'int'. Notable missing things: - pmap_growkernel() should be able to grow to 512GB of KVM by expanding downwards below kernbase. The kernel must be at the top 2GB of the negative address space because of gcc code generation strategies. - need to fix the >512GB user vm code. Approved by: re (blanket)
Revision 1.34: download - view: text, markup, annotated - select for diffs
Sat May 3 18:05:56 2003 UTC (8 years, 9 months ago) by obrien
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +1 -1 lines
Use C99 for the kernel.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Apr 30 22:22:29 2003 UTC (8 years, 9 months ago) by peter
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +9 -0 lines
Add AMD64 hooks
Revision 1.32: download - view: text, markup, annotated - select for diffs
Fri Feb 28 06:49:59 2003 UTC (8 years, 11 months ago) by jake
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +9 -0 lines
Sync with bsd.kern.mk. Reminded by: bde
Revision 1.31: download - view: text, markup, annotated - select for diffs
Sun Oct 13 02:52:22 2002 UTC (9 years, 3 months ago) by marcel
Branches: MAIN
CVS tags: RELENG_5_0_BP, RELENG_5_0_0_RELEASE, RELENG_5_0
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +1 -1 lines
ia64 specific CFLAGS change: Fix the "@gprel relocation against dynamic symbol xxx" linker error. Variables defined in the link unit and small enough to be put in the short data section will have a gp-relative access sequence (using the @gprel relocation). It is invalid to have @gprel relocations in shared libraries, because they are to be resolved by the static linker and not the dynamic linker. The -fpic option will cause @ltoff relocations for @gprel relocations, but the side-effects are untested (if any). Instead, disable/eliminate the short data section to achieve the same.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Fri Oct 4 12:54:36 2002 UTC (9 years, 4 months ago) by bde
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +1 -1 lines
Use the -mno-align-long-strings on i386's to debloat the kernel a little. This reduces the size of GENERIC's text space by 73999 bytes (about 2%). The bloat is from approximately 3437 strings longer than 31 characters being padded to a 32-byte boundary.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri Sep 6 07:27:41 2002 UTC (9 years, 5 months ago) by peter
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -2 lines
Bump the -mev56 to -mev6. Otherwise, when you compile with gcc using ev6 or pca56 etc this downgrades the cpu specification passed to gas. As a result, gas will fail when gcc generates media instructions (in uipc_usrreq.c). This only affects what gas will accept, not what gcc generates or what our *.s file contain.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Aug 25 08:08:56 2002 UTC (9 years, 5 months ago) by bde
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +0 -0 lines
Oops, the previous commit messages should have said that the previous commit also removed the hint about using -Werror. -Werror is now added in sys/conf/kern.pre.mk, which is a better place except it doesn't cover modules.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Aug 25 08:05:02 2002 UTC (9 years, 5 months ago) by bde
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +1 -7 lines
Turned format checking back on. It was left turned off for too long after
the gcc lossage that caused it to be turned off was fixed.
Tested with: i386/{GENERIC,LINT,...}, alpha/GENERIC
Revision 1.26: download - view: text, markup, annotated - select for diffs
Fri May 24 01:02:45 2002 UTC (9 years, 8 months ago) by peter
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +1 -7 lines
For now, make the .ifdef GCC3 case default. We should change -Wno-format back to -fformat-extensions (or whatever) when we have the functionality. We are gaining warnings again that should be fixed but the are being hidden by NO_WERROR and all the -Wformat noise.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Sat May 4 20:07:33 2002 UTC (9 years, 9 months ago) by obrien
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +1 -3 lines
Use -ffreestanding for kernel bits unconditionally.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Sep 10 06:23:33 2001 UTC (10 years, 5 months ago) by peter
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +16 -1 lines
This will have to be revised, but allow putting 'makeoptions GCC3=true' in a kernel config file. This should minimize the tearing-out-hair process while updating the kernel for gcc-3 compliance.
Revision 1.17.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 1 16:56:56 2001 UTC (10 years, 6 months ago) by obrien
Branches: old_RELENG_4
CVS tags: old_RELENG_4_6_BP, old_RELENG_4_6_2_RELEASE, old_RELENG_4_6_1_RELEASE, old_RELENG_4_6_0_RELEASE, old_RELENG_4_6, old_RELENG_4_5_BP, old_RELENG_4_5_0_RELEASE, old_RELENG_4_5, old_RELENG_4_4_BP, old_RELENG_4_4_0_RELEASE, old_RELENG_4_4
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +2 -2 lines
MFC: revs 1.18-1.19 (fix typo and grammer)
Revision 1.23: download - view: text, markup, annotated - select for diffs
Sun Jul 22 00:11:41 2001 UTC (10 years, 6 months ago) by assar
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +6 -2 lines
revert previous accidental commit
Revision 1.22: download - view: text, markup, annotated - select for diffs
Sun Jul 22 00:10:32 2001 UTC (10 years, 6 months ago) by assar
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -6 lines
get rid of some printf and pointer type warnings
Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Oct 16 20:04:52 2000 UTC (11 years, 3 months ago) by dfr
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +9 -1 lines
Add section for building ia64 kernels.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Fri Apr 28 08:44:42 2000 UTC (11 years, 9 months ago) by dfr
Branches: MAIN
CVS tags: old_PRE_SMPNG
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -2 lines
Reserve register t7 on alpha to point at per-cpu global variables.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Apr 24 08:50:15 2000 UTC (11 years, 9 months ago) by mpp
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2 lines
Fix the grammar in my previous commit "lose" -> "loss". I should have done it that way in the first place. Pointed-out-by: bde
Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Apr 23 16:32:21 2000 UTC (11 years, 9 months ago) by mpp
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2 lines
Fix a typo in the comments. Submitted by: Allen Campbell <allenc@verinet.com>
Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Nov 17 07:30:35 1999 UTC (12 years, 2 months ago) by obrien
Branches: MAIN
CVS tags: old_RELENG_4_BP, old_RELENG_4_3_BP, old_RELENG_4_3_0_RELEASE, old_RELENG_4_3, old_RELENG_4_2_0_RELEASE, old_RELENG_4_1_1_RELEASE, old_RELENG_4_1_0_RELEASE, old_RELENG_4_0_0_RELEASE
Branch point for: old_RELENG_4
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +14 -1 lines
Make "-mpreferred-stack-boundary=2" the default on the i386. This reduces the size of the kernel and modules when compiled with GCC 2.95.
Revision 1.2.4.1: download - view: text, markup, annotated - select for diffs
Sun Sep 5 11:28:42 1999 UTC (12 years, 5 months ago) by peter
Branches: old_RELENG_2_1_0
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +1 -1 lines
$Id$ -> $FreeBSD$
Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Sun Sep 5 11:27:18 1999 UTC (12 years, 5 months ago) by peter
Branches: old_RELENG_2_2
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.1: +1 -1 lines
$Id$ -> $FreeBSD$
Revision 1.12.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 29 16:47:43 1999 UTC (12 years, 5 months ago) by peter
Branches: old_RELENG_3
CVS tags: old_RELENG_3_5_0_RELEASE, old_RELENG_3_4_0_RELEASE, old_RELENG_3_3_0_RELEASE
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +1 -1 lines
$Id$ -> $FreeBSD$
Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Aug 28 00:21:47 1999 UTC (12 years, 5 months ago) by peter
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +1 -1 lines
$Id$ -> $FreeBSD$
Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Jan 29 10:57:18 1999 UTC (13 years ago) by bde
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +14 -7 lines
Fixed comment and whitespace lossage in recent commits. The -W flag is not implied by -Wall as claimed by gcc.1. Adding it causes a measly 7193 new warnings for LINT, mostly for "unused parameter" and "comparison between signed and unsigned".
Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Jan 29 06:22:19 1999 UTC (13 years ago) by dillon
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -14 lines
Cleanup bsd.kern.mk after last commit.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Jan 27 22:53:58 1999 UTC (13 years ago) by dillon
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +11 -5 lines
Turn on -Wall and -Wcast-qual
Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Dec 17 22:36:21 1998 UTC (13 years, 1 month ago) by dfr
Branches: MAIN
CVS tags: old_RELENG_3_BP, old_RELENG_3_2_PAO_BP, old_RELENG_3_2_PAO, old_RELENG_3_2_0_RELEASE, old_RELENG_3_1_0_RELEASE
Branch point for: old_RELENG_3
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +9 -1 lines
Move some compile flags from the kernel makefile to bsd.kern.mk so that kernel modules are built with the right flags. Suggested by: Andrew Gallatin <gallatin@cs.duke.edu>
Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Dec 14 21:03:27 1998 UTC (13 years, 1 month ago) by archie
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -3 lines
Add -Wunused to kernel build flags. Reviewed by: cvs-committers@freebsd.org
Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Sep 9 10:04:58 1998 UTC (13 years, 5 months ago) by bde
Branches: MAIN
CVS tags: old_RELENG_3_0_0_RELEASE
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -3 lines
Turned on -Wformat -fformat-extensions. -fformat-extensions requires a -current version of gcc. Without it, -Wformat would complain about all the nonstandard %[Dbrz] formats in the kernel.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri May 1 18:13:37 1998 UTC (13 years, 9 months ago) by bde
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
Added -ansi to CWARNFLAGS so that ANSI errors don't come back.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Oct 21 10:39:27 1997 UTC (14 years, 3 months ago) by bde
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -3 lines
Oops, comment lines can't be indented either.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Oct 21 10:36:07 1997 UTC (14 years, 3 months ago) by bde
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -3 lines
Oops, comment lines can't be continued.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Oct 21 06:53:24 1997 UTC (14 years, 3 months ago) by bde
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -2 lines
Added -Wuninitialized to CWARNFLAGS. Warnings about uninitialialized variables were lost when we removed -W, and 23 new ones including at least one serious one have crept in for LINT. Restored -Winline to CFLAGS. This gives only 3 old warnings and 1 new for LINT.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Feb 22 13:56:10 1997 UTC (14 years, 11 months ago) by peter
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +1 -1 lines
Revert $FreeBSD$ to $Id$
Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Jan 14 06:33:19 1997 UTC (15 years ago) by jkh
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +1 -1 lines
Make the long-awaited change from $Id$ to $FreeBSD$ This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
Revision 1.2.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 12 08:01:32 1996 UTC (15 years, 3 months ago) by phk
Branches: old_RELENG_2_2
CVS tags: old_RELENG_2_2_8_RELEASE, old_RELENG_2_2_7_RELEASE, old_RELENG_2_2_6_RELEASE, old_RELENG_2_2_5_RELEASE, old_RELENG_2_2_2_RELEASE, old_RELENG_2_2_1_RELEASE, old_RELENG_2_2_0_RELEASE
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -3 lines
Merge from -current
Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Nov 11 15:49:27 1996 UTC (15 years, 3 months ago) by bde
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -3 lines
Turned off -W and -Winline so that the warnings that should be fixed for 2.2 are more obvious. -Winline is unimportant, but -W gives thousands of warnings for comparisions. Turning off -W also loses warnings for: - auto variables clobbered by longjmp. Not much of a problem in the kernel. - functions returning without a value. I don't like losing this. - an expression statement or the left side of a comma operand contains no side effects. Turning this off also stops warnings for the low quality debugging macros in gsc.c and lpt.c. Should be in 2.2.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Oct 9 18:41:40 1996 UTC (15 years, 4 months ago) by bde
Branches: MAIN
CVS tags: old_RELENG_2_2_BP, old_RELENG_2_1_7_RELEASE, old_RELENG_2_1_6_RELEASE, old_RELENG_2_1_6_1_RELEASE
Branch point for: old_RELENG_2_2, old_RELENG_2_1_0
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
Oops, this wasn't supposed to have -Wcast-qual yet. Also disabled -Wunused. It caused too many warnings even for me. The sign mismatch warnings should be fixed first. They are more important and harder to disable (they are controlled by -W, which controls too many things).
Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Oct 8 22:10:49 1996 UTC (15 years, 4 months ago) by bde
Branches: MAIN
Oops, forgot to cvs add bsd.kern.mk. Centralized the definition of CWARNFLAGS into bsd.kern.mk.
