]>
granicus.if.org Git - zfs/log
Brian Behlendorf [Wed, 14 Jul 2010 19:40:36 +0000 (12:40 -0700)]
Use $target_cpu instead of `arch`
We should not be using arch for a few reasons. First off it might
not be installed on their system, and secondly they may be trying
to cross-compile.
Brian Behlendorf [Wed, 14 Jul 2010 19:37:31 +0000 (12:37 -0700)]
Check sourcelink is set before passing to readlink
When no source was found in any of the expected paths treat
this as fatal and provide the user with a hint as to what
they should do.
Brian Behlendorf [Wed, 14 Jul 2010 17:25:54 +0000 (10:25 -0700)]
Only make compiler warnings fatal with --enable-debug
While in theory I like the idea of compiler warnings always being
fatal. In practice this causes problems when small harmless errors
cause build failures for end users. To handle this I've updated
the build system such that -Werror is only used when --enable-debug
is passed to configure. This is how I always build when developing
so I'll catch all build warnings and end users will not get stuck
by minor issues.
Brian Behlendorf [Mon, 12 Jul 2010 17:23:05 +0000 (10:23 -0700)]
Merge commit 'refs/top-bases/zfs-branch' into zfs-branch
Brian Behlendorf [Mon, 12 Jul 2010 17:23:04 +0000 (10:23 -0700)]
Merge branch 'gcc-branch' into refs/top-bases/zfs-branch
Brian Behlendorf [Mon, 12 Jul 2010 17:23:03 +0000 (10:23 -0700)]
Merge commit 'refs/top-bases/gcc-branch' into gcc-branch
Brian Behlendorf [Mon, 12 Jul 2010 17:23:03 +0000 (10:23 -0700)]
Merge branch 'gcc-fortify-source' into refs/top-bases/gcc-branch
Brian Behlendorf [Sat, 10 Jul 2010 19:36:16 +0000 (12:36 -0700)]
Fix -Werror=format-security compiler option
Noticed under Ubuntu kernel builds, there were two instances where
printf() was not called with a "%s" and instread directly printed
the string. This can potentially result in a crash and is considered
bad form by gcc. It has been fixed by adding the needed "%s".
Lars Johannsen [Fri, 2 Jul 2010 20:56:00 +0000 (13:56 -0700)]
Allow config/build to work with autoconf-2.65
As of autoconf-2.65 the AC_LANG_SOURCE source macro no longer
includes the confdef.h results when expanded. To handle this
simply explicitly include confdef.h in conftest.c. This will
cause two copies to of confdef.h to be added to the test for
earlier autoconf versions but this is not harmful.
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Brian Behlendorf [Fri, 2 Jul 2010 03:37:23 +0000 (20:37 -0700)]
Linux-2.6.33 compat, check <generated/utsrelease.h> for UTS_RELEASE
It seems the upstream community moved the definition of UTS_RELEASE
yet again as of linux-2.6.33. Update the build system to check in
all three possible locations where your kernel version may be defined.
$kernelbuild/include/linux/version.h
$kernelbuild/include/linux/utsrelease.h
$kernelbuild/include/generated/utsrelease.h
Brian Behlendorf [Thu, 1 Jul 2010 17:42:01 +0000 (10:42 -0700)]
Merge commit 'refs/top-bases/zfs-branch' into zfs-branch
Brian Behlendorf [Thu, 1 Jul 2010 17:42:00 +0000 (10:42 -0700)]
Merge branch 'gcc-branch' into refs/top-bases/zfs-branch
Brian Behlendorf [Thu, 1 Jul 2010 17:41:59 +0000 (10:41 -0700)]
Merge commit 'refs/top-bases/gcc-branch' into gcc-branch
Brian Behlendorf [Thu, 1 Jul 2010 17:41:59 +0000 (10:41 -0700)]
Merge branch 'gcc-fortify-source' into refs/top-bases/gcc-branch
Brian Behlendorf [Thu, 1 Jul 2010 17:33:19 +0000 (10:33 -0700)]
Update zfs.spec.in to reference updated README.markdown file
The spec file references the README by the previous name which
has changed to make it github friendly. This results in an
rpm build failure.
Brian Behlendorf [Thu, 1 Jul 2010 17:33:39 +0000 (10:33 -0700)]
Use VERIFY() for asprintf due to rpm -D_FORTIFY_SOURCE=2
This check is part of ztest and a memory failure here is unlikely.
However, if this does occur simply exiting is an perfectly valid
way to handle the issue and it resulves the compiler warning.
ztest.c:5522: error: ignoring return value of 'asprintf',
declared with attribute warn_unused_result
Brian Behlendorf [Tue, 29 Jun 2010 23:57:41 +0000 (16:57 -0700)]
Merge branch 'fix-branch' into refs/top-bases/zfs-branch
Brian Behlendorf [Tue, 29 Jun 2010 23:57:41 +0000 (16:57 -0700)]
Merge commit 'refs/top-bases/zfs-branch' into zfs-branch
Brian Behlendorf [Tue, 29 Jun 2010 23:57:39 +0000 (16:57 -0700)]
Merge commit 'refs/top-bases/fix-branch' into fix-branch
Brian Behlendorf [Tue, 29 Jun 2010 23:57:39 +0000 (16:57 -0700)]
Merge branch 'fix-stack-traverse_visitbp' into refs/top-bases/fix-branch
Brian Behlendorf [Tue, 29 Jun 2010 23:26:58 +0000 (16:26 -0700)]
Add configure check for -Wframe-larger-than=<size>
It turns out the gcc option -Wframe-larger-than=<size> which I recently
added to the build system is not supported in older versions of gcc.
Since this is just a flag to ensure I keep stack usage under control
I've added a configure check to detect if gcc supports it. If it's
available we use it in the proper places, if it's not we don't.
Brian Behlendorf [Tue, 29 Jun 2010 23:50:42 +0000 (16:50 -0700)]
Minor fix to ensure tv_depth is there when debugging is disabled.
Brian Behlendorf [Tue, 29 Jun 2010 21:41:38 +0000 (14:41 -0700)]
Merge commit 'refs/top-bases/zfs-branch' into zfs-branch
Brian Behlendorf [Tue, 29 Jun 2010 21:41:37 +0000 (14:41 -0700)]
Merge branch 'fix-branch' into refs/top-bases/zfs-branch
Brian Behlendorf [Tue, 29 Jun 2010 21:41:35 +0000 (14:41 -0700)]
Merge commit 'refs/top-bases/fix-branch' into fix-branch
Brian Behlendorf [Tue, 29 Jun 2010 21:41:35 +0000 (14:41 -0700)]
Merge branch 'fix-stack-ztest' into refs/top-bases/fix-branch
Brian Behlendorf [Tue, 29 Jun 2010 21:41:34 +0000 (14:41 -0700)]
Merge commit 'refs/top-bases/fix-stack-ztest' into fix-stack-ztest
Brian Behlendorf [Tue, 29 Jun 2010 21:41:34 +0000 (14:41 -0700)]
Merge commit 'refs/top-bases/fix-pthreads' into fix-pthreads
Brian Behlendorf [Tue, 29 Jun 2010 21:41:32 +0000 (14:41 -0700)]
Merge commit 'refs/top-bases/fix-stack-traverse_visitbp' into fix-stack-traverse_visitbp
Brian Behlendorf [Tue, 29 Jun 2010 21:41:32 +0000 (14:41 -0700)]
Merge branch 'fix-stack-traverse_visitbp' into refs/top-bases/fix-branch
Brian Behlendorf [Tue, 29 Jun 2010 21:41:31 +0000 (14:41 -0700)]
Merge branch 'fix-stack-traverse_impl' into refs/top-bases/fix-branch
Brian Behlendorf [Tue, 29 Jun 2010 21:41:30 +0000 (14:41 -0700)]
Merge commit 'refs/top-bases/fix-stack-traverse_impl' into fix-stack-traverse_impl
Brian Behlendorf [Tue, 29 Jun 2010 21:41:29 +0000 (14:41 -0700)]
Merge branch 'fix-stack-vn_open' into refs/top-bases/fix-branch
Brian Behlendorf [Tue, 29 Jun 2010 21:41:28 +0000 (14:41 -0700)]
Merge commit 'refs/top-bases/fix-stack-vn_open' into fix-stack-vn_open
Brian Behlendorf [Tue, 29 Jun 2010 21:41:27 +0000 (14:41 -0700)]
Merge branch 'fix-stack-dsl_dataset_destroy' into refs/top-bases/fix-branch
Brian Behlendorf [Tue, 29 Jun 2010 21:41:27 +0000 (14:41 -0700)]
Merge commit 'refs/top-bases/fix-stack-dsl_dataset_destroy' into fix-stack-dsl_dataset_destroy
Brian Behlendorf [Tue, 29 Jun 2010 21:41:25 +0000 (14:41 -0700)]
Merge branch 'fix-stack-dmu_objset_snapshot' into refs/top-bases/fix-branch
Brian Behlendorf [Tue, 29 Jun 2010 21:41:25 +0000 (14:41 -0700)]
Merge commit 'refs/top-bases/fix-stack-dmu_objset_snapshot' into fix-stack-dmu_objset_snapshot
Brian Behlendorf [Tue, 29 Jun 2010 21:41:24 +0000 (14:41 -0700)]
Merge branch 'fix-stack-noinline' into refs/top-bases/fix-branch
Brian Behlendorf [Tue, 29 Jun 2010 21:41:23 +0000 (14:41 -0700)]
Merge commit 'refs/top-bases/fix-stack-noinline' into fix-stack-noinline
Brian Behlendorf [Tue, 29 Jun 2010 21:41:22 +0000 (14:41 -0700)]
Merge branch 'fix-stack-dsl_deleg_get' into refs/top-bases/fix-branch
Brian Behlendorf [Tue, 29 Jun 2010 21:41:22 +0000 (14:41 -0700)]
Merge commit 'refs/top-bases/fix-stack-dsl_deleg_get' into fix-stack-dsl_deleg_get
Brian Behlendorf [Tue, 29 Jun 2010 21:41:20 +0000 (14:41 -0700)]
Merge branch 'fix-stack-dsl_dir_open_spa' into refs/top-bases/fix-branch
Brian Behlendorf [Tue, 29 Jun 2010 21:41:20 +0000 (14:41 -0700)]
Merge commit 'refs/top-bases/fix-stack-dsl_dir_open_spa' into fix-stack-dsl_dir_open_spa
Brian Behlendorf [Tue, 29 Jun 2010 21:41:19 +0000 (14:41 -0700)]
Merge branch 'fix-stack-lzjb' into refs/top-bases/fix-branch
Brian Behlendorf [Tue, 29 Jun 2010 21:41:18 +0000 (14:41 -0700)]
Merge commit 'refs/top-bases/fix-stack-lzjb' into fix-stack-lzjb
Brian Behlendorf [Tue, 29 Jun 2010 21:41:17 +0000 (14:41 -0700)]
Merge branch 'fix-kstat-xuio' into refs/top-bases/fix-branch
Brian Behlendorf [Tue, 29 Jun 2010 21:41:17 +0000 (14:41 -0700)]
Merge commit 'refs/top-bases/fix-kstat-xuio' into fix-kstat-xuio
Brian Behlendorf [Tue, 29 Jun 2010 21:41:16 +0000 (14:41 -0700)]
Merge branch 'fix-metaslab' into refs/top-bases/fix-branch
Brian Behlendorf [Tue, 29 Jun 2010 21:41:15 +0000 (14:41 -0700)]
Merge commit 'refs/top-bases/fix-metaslab' into fix-metaslab
Brian Behlendorf [Tue, 29 Jun 2010 21:41:14 +0000 (14:41 -0700)]
Merge branch 'fix-current' into refs/top-bases/fix-branch
Brian Behlendorf [Tue, 29 Jun 2010 21:41:14 +0000 (14:41 -0700)]
Merge commit 'refs/top-bases/fix-current' into fix-current
Brian Behlendorf [Tue, 29 Jun 2010 21:41:12 +0000 (14:41 -0700)]
Merge branch 'fix-error-handling' into refs/top-bases/fix-branch
Brian Behlendorf [Tue, 29 Jun 2010 21:41:12 +0000 (14:41 -0700)]
Merge commit 'refs/top-bases/fix-error-handling' into fix-error-handling
Brian Behlendorf [Tue, 29 Jun 2010 21:41:11 +0000 (14:41 -0700)]
Merge branch 'fix-acl' into refs/top-bases/fix-branch
Brian Behlendorf [Tue, 29 Jun 2010 21:41:10 +0000 (14:41 -0700)]
Merge commit 'refs/top-bases/fix-acl' into fix-acl
Brian Behlendorf [Tue, 29 Jun 2010 21:41:09 +0000 (14:41 -0700)]
Merge branch 'fix-deadcode' into refs/top-bases/fix-branch
Brian Behlendorf [Tue, 29 Jun 2010 21:41:09 +0000 (14:41 -0700)]
Merge commit 'refs/top-bases/fix-deadcode' into fix-deadcode
Brian Behlendorf [Tue, 29 Jun 2010 21:41:07 +0000 (14:41 -0700)]
Merge branch 'fix-strncat' into refs/top-bases/fix-branch
Brian Behlendorf [Tue, 29 Jun 2010 21:41:07 +0000 (14:41 -0700)]
Merge commit 'refs/top-bases/fix-strncat' into fix-strncat
Brian Behlendorf [Tue, 29 Jun 2010 21:41:06 +0000 (14:41 -0700)]
Merge branch 'fix-list' into refs/top-bases/fix-branch
Brian Behlendorf [Tue, 29 Jun 2010 21:41:05 +0000 (14:41 -0700)]
Merge commit 'refs/top-bases/fix-list' into fix-list
Brian Behlendorf [Tue, 29 Jun 2010 21:41:03 +0000 (14:41 -0700)]
Merge branch 'fix-taskq' into refs/top-bases/fix-branch
Brian Behlendorf [Tue, 29 Jun 2010 21:41:03 +0000 (14:41 -0700)]
Merge commit 'refs/top-bases/fix-taskq' into fix-taskq
Brian Behlendorf [Tue, 29 Jun 2010 21:41:02 +0000 (14:41 -0700)]
Merge branch 'fix-rwlocks' into refs/top-bases/fix-branch
Brian Behlendorf [Tue, 29 Jun 2010 21:41:01 +0000 (14:41 -0700)]
Merge commit 'refs/top-bases/fix-rwlocks' into fix-rwlocks
Brian Behlendorf [Tue, 29 Jun 2010 21:41:00 +0000 (14:41 -0700)]
Merge branch 'fix-no-zmod' into refs/top-bases/fix-branch
Brian Behlendorf [Tue, 29 Jun 2010 21:41:00 +0000 (14:41 -0700)]
Merge commit 'refs/top-bases/fix-no-zmod' into fix-no-zmod
Brian Behlendorf [Tue, 29 Jun 2010 21:40:59 +0000 (14:40 -0700)]
Merge branch 'fix-newlines' into refs/top-bases/fix-branch
Brian Behlendorf [Tue, 29 Jun 2010 21:40:58 +0000 (14:40 -0700)]
Merge commit 'refs/top-bases/fix-newlines' into fix-newlines
Brian Behlendorf [Tue, 29 Jun 2010 21:40:57 +0000 (14:40 -0700)]
Merge branch 'fix-evict-dbufs' into refs/top-bases/fix-branch
Brian Behlendorf [Tue, 29 Jun 2010 21:40:56 +0000 (14:40 -0700)]
Merge commit 'refs/top-bases/fix-evict-dbufs' into fix-evict-dbufs
Brian Behlendorf [Tue, 29 Jun 2010 21:40:55 +0000 (14:40 -0700)]
Merge branch 'fix-dnode-cons' into refs/top-bases/fix-branch
Brian Behlendorf [Tue, 29 Jun 2010 21:40:55 +0000 (14:40 -0700)]
Merge commit 'refs/top-bases/fix-dnode-cons' into fix-dnode-cons
Brian Behlendorf [Tue, 29 Jun 2010 21:40:54 +0000 (14:40 -0700)]
Merge branch 'fix-dbuf_dirty_record_t' into refs/top-bases/fix-branch
Brian Behlendorf [Tue, 29 Jun 2010 21:40:53 +0000 (14:40 -0700)]
Merge commit 'refs/top-bases/fix-dbuf_dirty_record_t' into fix-dbuf_dirty_record_t
Brian Behlendorf [Tue, 29 Jun 2010 21:40:49 +0000 (14:40 -0700)]
Merge branch 'gcc-branch' into refs/top-bases/zfs-branch
Brian Behlendorf [Tue, 29 Jun 2010 21:40:48 +0000 (14:40 -0700)]
Merge commit 'refs/top-bases/gcc-branch' into gcc-branch
Brian Behlendorf [Tue, 29 Jun 2010 21:40:48 +0000 (14:40 -0700)]
Merge branch 'gcc-fortify-source' into refs/top-bases/gcc-branch
Brian Behlendorf [Tue, 29 Jun 2010 21:40:47 +0000 (14:40 -0700)]
Merge commit 'refs/top-bases/gcc-fortify-source' into gcc-fortify-source
Brian Behlendorf [Tue, 29 Jun 2010 21:40:45 +0000 (14:40 -0700)]
Merge branch 'gcc-missing-braces' into refs/top-bases/gcc-branch
Brian Behlendorf [Tue, 29 Jun 2010 21:40:44 +0000 (14:40 -0700)]
Merge commit 'refs/top-bases/gcc-missing-braces' into gcc-missing-braces
Brian Behlendorf [Tue, 29 Jun 2010 21:40:43 +0000 (14:40 -0700)]
Merge branch 'gcc-ident-pragmas' into refs/top-bases/gcc-branch
Brian Behlendorf [Tue, 29 Jun 2010 21:40:42 +0000 (14:40 -0700)]
Merge commit 'refs/top-bases/gcc-ident-pragmas' into gcc-ident-pragmas
Brian Behlendorf [Tue, 29 Jun 2010 21:40:40 +0000 (14:40 -0700)]
Merge branch 'gcc-64bit-constants' into refs/top-bases/gcc-branch
Brian Behlendorf [Tue, 29 Jun 2010 21:40:39 +0000 (14:40 -0700)]
Merge commit 'refs/top-bases/gcc-64bit-constants' into gcc-64bit-constants
Brian Behlendorf [Tue, 29 Jun 2010 21:40:38 +0000 (14:40 -0700)]
Merge branch 'gcc-unused' into refs/top-bases/gcc-branch
Brian Behlendorf [Tue, 29 Jun 2010 21:40:36 +0000 (14:40 -0700)]
Merge commit 'refs/top-bases/gcc-unused' into gcc-unused
Brian Behlendorf [Tue, 29 Jun 2010 21:40:35 +0000 (14:40 -0700)]
Merge branch 'gcc-uninit' into refs/top-bases/gcc-branch
Brian Behlendorf [Tue, 29 Jun 2010 21:40:34 +0000 (14:40 -0700)]
Merge commit 'refs/top-bases/gcc-uninit' into gcc-uninit
Brian Behlendorf [Tue, 29 Jun 2010 21:40:32 +0000 (14:40 -0700)]
Merge branch 'gcc-no-parenthesis' into refs/top-bases/gcc-branch
Brian Behlendorf [Tue, 29 Jun 2010 21:40:31 +0000 (14:40 -0700)]
Merge commit 'refs/top-bases/gcc-no-parenthesis' into gcc-no-parenthesis
Brian Behlendorf [Tue, 29 Jun 2010 21:40:28 +0000 (14:40 -0700)]
Merge branch 'gcc-missing-case' into refs/top-bases/gcc-branch
Brian Behlendorf [Tue, 29 Jun 2010 21:40:27 +0000 (14:40 -0700)]
Merge commit 'refs/top-bases/gcc-missing-case' into gcc-missing-case
Brian Behlendorf [Tue, 29 Jun 2010 21:40:26 +0000 (14:40 -0700)]
Merge branch 'gcc-invalid-prototype' into refs/top-bases/gcc-branch
Brian Behlendorf [Tue, 29 Jun 2010 21:40:25 +0000 (14:40 -0700)]
Merge commit 'refs/top-bases/gcc-invalid-prototype' into gcc-invalid-prototype
Brian Behlendorf [Tue, 29 Jun 2010 21:40:23 +0000 (14:40 -0700)]
Merge branch 'gcc-init-pragmas' into refs/top-bases/gcc-branch
Brian Behlendorf [Tue, 29 Jun 2010 21:40:22 +0000 (14:40 -0700)]
Merge commit 'refs/top-bases/gcc-init-pragmas' into gcc-init-pragmas
Brian Behlendorf [Tue, 29 Jun 2010 21:40:20 +0000 (14:40 -0700)]
Merge branch 'gcc-debug' into refs/top-bases/gcc-branch
Brian Behlendorf [Tue, 29 Jun 2010 21:40:19 +0000 (14:40 -0700)]
Merge commit 'refs/top-bases/gcc-debug' into gcc-debug