linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] minor patches to cthon tests for gcc 4.0
@ 2011-06-16 16:23 Jim Rees
  2011-06-16 16:23 ` [PATCH 1/2] add generated .c files to .gitignore Jim Rees
  2011-06-16 16:23 ` [PATCH 2/2] remove -fwritable-strings for gcc 4.0 Jim Rees
  0 siblings, 2 replies; 6+ messages in thread
From: Jim Rees @ 2011-06-16 16:23 UTC (permalink / raw)
  To: Steve Dickson; +Cc: linux-nfs, peter honeyman

First patch adds some generated files to .gitignore.  Second removes
-fwritable-strings from the COPTS for gcc 4.0.

Jim Rees (2):
  add generated .c files to .gitignore
  remove -fwritable-strings for gcc 4.0

 .gitignore |    3 +++
 tests.init |    7 +++++++
 2 files changed, 10 insertions(+), 0 deletions(-)

-- 
1.7.4.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 1/2] add generated .c files to .gitignore
  2011-06-16 16:23 [PATCH 0/2] minor patches to cthon tests for gcc 4.0 Jim Rees
@ 2011-06-16 16:23 ` Jim Rees
  2011-06-27 16:23   ` Steve Dickson
  2011-06-16 16:23 ` [PATCH 2/2] remove -fwritable-strings for gcc 4.0 Jim Rees
  1 sibling, 1 reply; 6+ messages in thread
From: Jim Rees @ 2011-06-16 16:23 UTC (permalink / raw)
  To: Steve Dickson; +Cc: linux-nfs, peter honeyman

Signed-off-by: Jim Rees <rees@umich.edu>
---
 .gitignore |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/.gitignore b/.gitignore
index f96c819..b8792d0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,6 +15,9 @@ basic/test8
 basic/test9
 domount
 getopt
+general/large1.c
+general/large2.c
+general/large3.c
 lock/tlock64
 lock/tlocklfs
 special/bigfile
-- 
1.7.4.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 2/2] remove -fwritable-strings for gcc 4.0
  2011-06-16 16:23 [PATCH 0/2] minor patches to cthon tests for gcc 4.0 Jim Rees
  2011-06-16 16:23 ` [PATCH 1/2] add generated .c files to .gitignore Jim Rees
@ 2011-06-16 16:23 ` Jim Rees
  2011-06-16 16:27   ` Jim Rees
  2011-06-27 16:23   ` Steve Dickson
  1 sibling, 2 replies; 6+ messages in thread
From: Jim Rees @ 2011-06-16 16:23 UTC (permalink / raw)
  To: Steve Dickson; +Cc: linux-nfs, peter honeyman

Signed-off-by: Jim Rees <rees@umich.edu>
---
 tests.init |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/tests.init b/tests.init
index 69b51bf..5d93eb5 100644
--- a/tests.init
+++ b/tests.init
@@ -210,6 +210,13 @@ LOCKTESTS=`echo tlocklfs tlock64`
 #UMOUNT=/bin/umount
 #LOCKTESTS=`echo tlocklfs tlock64`
 
+# Use with Linux 2.6 / gcc 4.0
+CFLAGS=`echo -DLINUX -DGLIBC=22 -DMMAP -DSTDARG`
+LIBS=`echo -lnsl`
+MOUNT=/bin/mount
+UMOUNT=/bin/umount
+LOCKTESTS=`echo tlocklfs tlock64`
+
 # Use with Linux if your distro doesn't provide a "cc".
 #CC=gcc
 
-- 
1.7.4.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 2/2] remove -fwritable-strings for gcc 4.0
  2011-06-16 16:23 ` [PATCH 2/2] remove -fwritable-strings for gcc 4.0 Jim Rees
@ 2011-06-16 16:27   ` Jim Rees
  2011-06-27 16:23   ` Steve Dickson
  1 sibling, 0 replies; 6+ messages in thread
From: Jim Rees @ 2011-06-16 16:27 UTC (permalink / raw)
  To: Steve Dickson; +Cc: linux-nfs, peter honeyman

Jim Rees wrote:

  Signed-off-by: Jim Rees <rees@umich.edu>
  ---
   tests.init |    7 +++++++
   1 files changed, 7 insertions(+), 0 deletions(-)
  
  diff --git a/tests.init b/tests.init
  index 69b51bf..5d93eb5 100644
  --- a/tests.init
  +++ b/tests.init
  @@ -210,6 +210,13 @@ LOCKTESTS=`echo tlocklfs tlock64`
   #UMOUNT=/bin/umount
   #LOCKTESTS=`echo tlocklfs tlock64`
   
  +# Use with Linux 2.6 / gcc 4.0
  +CFLAGS=`echo -DLINUX -DGLIBC=22 -DMMAP -DSTDARG`
  +LIBS=`echo -lnsl`
  +MOUNT=/bin/mount
  +UMOUNT=/bin/umount
  +LOCKTESTS=`echo tlocklfs tlock64`
  +
   # Use with Linux if your distro doesn't provide a "cc".
   #CC=gcc

I guess those lines should actually be commented out.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 2/2] remove -fwritable-strings for gcc 4.0
  2011-06-16 16:23 ` [PATCH 2/2] remove -fwritable-strings for gcc 4.0 Jim Rees
  2011-06-16 16:27   ` Jim Rees
@ 2011-06-27 16:23   ` Steve Dickson
  1 sibling, 0 replies; 6+ messages in thread
From: Steve Dickson @ 2011-06-27 16:23 UTC (permalink / raw)
  To: Jim Rees; +Cc: linux-nfs, peter honeyman



On 06/16/2011 12:23 PM, Jim Rees wrote:
> Signed-off-by: Jim Rees <rees@umich.edu>
> ---
>  tests.init |    7 +++++++
>  1 files changed, 7 insertions(+), 0 deletions(-)
> 
> diff --git a/tests.init b/tests.init
> index 69b51bf..5d93eb5 100644
> --- a/tests.init
> +++ b/tests.init
> @@ -210,6 +210,13 @@ LOCKTESTS=`echo tlocklfs tlock64`
>  #UMOUNT=/bin/umount
>  #LOCKTESTS=`echo tlocklfs tlock64`
>  
> +# Use with Linux 2.6 / gcc 4.0
> +CFLAGS=`echo -DLINUX -DGLIBC=22 -DMMAP -DSTDARG`
> +LIBS=`echo -lnsl`
> +MOUNT=/bin/mount
> +UMOUNT=/bin/umount
> +LOCKTESTS=`echo tlocklfs tlock64`
> +
>  # Use with Linux if your distro doesn't provide a "cc".
>  #CC=gcc
>  
Committed on the git://linux-nfs.org/~steved/exports/cthon04 tree

steved.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/2] add generated .c files to .gitignore
  2011-06-16 16:23 ` [PATCH 1/2] add generated .c files to .gitignore Jim Rees
@ 2011-06-27 16:23   ` Steve Dickson
  0 siblings, 0 replies; 6+ messages in thread
From: Steve Dickson @ 2011-06-27 16:23 UTC (permalink / raw)
  To: Jim Rees; +Cc: linux-nfs, peter honeyman



On 06/16/2011 12:23 PM, Jim Rees wrote:
> Signed-off-by: Jim Rees <rees@umich.edu>
> ---
>  .gitignore |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/.gitignore b/.gitignore
> index f96c819..b8792d0 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -15,6 +15,9 @@ basic/test8
>  basic/test9
>  domount
>  getopt
> +general/large1.c
> +general/large2.c
> +general/large3.c
>  lock/tlock64
>  lock/tlocklfs
>  special/bigfile
Committed on the git://linux-nfs.org/~steved/exports/cthon04 tree

steved.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-06-27 16:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-16 16:23 [PATCH 0/2] minor patches to cthon tests for gcc 4.0 Jim Rees
2011-06-16 16:23 ` [PATCH 1/2] add generated .c files to .gitignore Jim Rees
2011-06-27 16:23   ` Steve Dickson
2011-06-16 16:23 ` [PATCH 2/2] remove -fwritable-strings for gcc 4.0 Jim Rees
2011-06-16 16:27   ` Jim Rees
2011-06-27 16:23   ` Steve Dickson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).