Re: [GHC] #3253: validate failure (GCC warning)

2009-06-02 Thread GHC
#3253: validate failure (GCC warning)
--+-
Reporter:  isaacdupree|Owner:  simonmar
Type:  bug|   Status:  closed  
Priority:  high   |Milestone:  6.12.1  
   Component:  libraries/process  |  Version:  6.11
Severity:  normal |   Resolution:  fixed   
Keywords: |   Difficulty:  Unknown 
Testcase: |   Os:  Linux   
Architecture:  x86|  
--+-
Changes (by igloo):

  * status:  reopened = closed
  * resolution:  = fixed

Comment:

 Fixed:
 {{{
 Tue Jun  2 12:34:08 BST 2009  Ian Lynagh ig...@earth.li
   * Use -w when compiling libffi, to stop -Werror failures
 }}}

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/3253#comment:5
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #3253: validate failure (GCC warning)

2009-06-01 Thread GHC
#3253: validate failure (GCC warning)
--+-
Reporter:  isaacdupree|Owner:  simonmar
Type:  bug|   Status:  reopened
Priority:  high   |Milestone:  6.12.1  
   Component:  libraries/process  |  Version:  6.11
Severity:  normal |   Resolution:  
Keywords: |   Difficulty:  Unknown 
Testcase: |   Os:  Linux   
Architecture:  x86|  
--+-
Changes (by simonmar):

  * priority:  normal = high

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/3253#comment:4
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #3253: validate failure (GCC warning)

2009-05-22 Thread GHC
#3253: validate failure (GCC warning)
--+-
Reporter:  isaacdupree|Owner:  simonmar
Type:  bug|   Status:  new 
Priority:  normal |Milestone:  6.12.1  
   Component:  libraries/process  |  Version:  6.11
Severity:  normal |   Resolution:  
Keywords: |   Difficulty:  Unknown 
Testcase: |   Os:  Linux   
Architecture:  x86|  
--+-
Changes (by simonmar):

  * owner:  = simonmar
  * difficulty:  = Unknown
  * component:  Compiler = libraries/process
  * milestone:  = 6.12.1

Comment:

 Yes, I have a fix for this on my laptop.  Will push shortly.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/3253#comment:1
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #3253: validate failure (GCC warning)

2009-05-22 Thread GHC
#3253: validate failure (GCC warning)
--+-
Reporter:  isaacdupree|Owner:  simonmar
Type:  bug|   Status:  closed  
Priority:  normal |Milestone:  6.12.1  
   Component:  libraries/process  |  Version:  6.11
Severity:  normal |   Resolution:  fixed   
Keywords: |   Difficulty:  Unknown 
Testcase: |   Os:  Linux   
Architecture:  x86|  
--+-
Changes (by simonmar):

  * status:  new = closed
  * resolution:  = fixed

Comment:

 Fixed.  In GHC:

 {{{
 Sat Mar 28 12:13:55 PDT 2009  Simon Marlow marlo...@gmail.com
   * export sysErrorBelch
 }}

 and process:

 {{{
 Fri Mar 27 14:24:16 PDT 2009  Simon Marlow marlo...@gmail.com
   * check return value from pipe() (quiets gcc)
 }}}

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/3253#comment:2
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #3253: validate failure (GCC warning)

2009-05-22 Thread GHC
#3253: validate failure (GCC warning)
--+-
Reporter:  isaacdupree|Owner:  simonmar
Type:  bug|   Status:  reopened
Priority:  normal |Milestone:  6.12.1  
   Component:  libraries/process  |  Version:  6.11
Severity:  normal |   Resolution:  
Keywords: |   Difficulty:  Unknown 
Testcase: |   Os:  Linux   
Architecture:  x86|  
--+-
Changes (by isaacdupree):

  * status:  closed = reopened
  * resolution:  fixed =

Comment:

 :-( I pulled those changes, and now I'm getting another validate-fail-due-
 to-GCC-warning
 {{{
 depbase=`echo src/closures.lo | sed 's|[^/]*$|.deps/|;s|\.lo$||'`;\
 /bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H
 -I.  -I. -I./include -Iinclude -I./src  -Wall -g -fexceptions -O -g -O2
 -Werror -MT src/closures.lo -MD -MP -MF $depbase.Tpo -c -o src/closures.lo
 src/closures.c \
 mv -f $depbase.Tpo $depbase.Plo
  gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g
 -fexceptions -O -g -O2 -Werror -MT src/closures.lo -MD -MP -MF
 src/.deps/closures.Tpo -c src/closures.c -o src/closures.o
 cc1: warnings being treated as errors
 src/closures.c: In function ‘dlmmap_locked’:
 src/closures.c:383: error: ignoring return value of ‘ftruncate’, declared
 with attribute warn_unused_result
 src/closures.c:395: error: ignoring return value of ‘ftruncate’, declared
 with attribute warn_unused_result
 make[4]: *** [src/closures.lo] Error 1
 make[4]: Leaving directory `/Users/me/gsoc2009/builds/2/libffi/build'
 }}}
 is there any way I can be more helpful in case there are more of these?

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/3253#comment:3
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


[GHC] #3253: validate failure (GCC warning)

2009-05-21 Thread GHC
#3253: validate failure (GCC warning)
+---
Reporter:  isaacdupree  |  Owner:  
Type:  bug  | Status:  new 
Priority:  normal   |  Component:  Compiler
 Version:  6.11 |   Severity:  normal  
Keywords:   |   Testcase:  
  Os:  Linux|   Architecture:  x86 
+---
 compiling on Ubuntu Jaunty 9.04, bootstrapping HEAD using its packages
 with `env CPUS=2 ./validate`:

 packages:
 {{{
 gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3
 The Glorious Glasgow Haskell Compilation System, version 6.8.2
 Happy Version 1.17
 Alex version 2.2
 }}}

 error:
 {{{
 inplace/bin/ghc-stage1 -optc-Werror -optc-Ilibraries/process/include
 -optc-Dbase4
 -optc-I/Users/me/gsoc2009/builds/1/libraries/directory/include
 -optc-I/Users/me/gsoc2009/builds/1/libraries/unix/include
 -optc-I/Users/me/gsoc2009/builds/1/libraries/old-time/include
 -optc-I/Users/me/gsoc2009/builds/1/libraries/base/include
 -optc-I/Users/me/gsoc2009/builds/1/includes
 -optc-I/Users/me/gsoc2009/builds/1/libffi/build/include  -Werror -H64m -O0
 -fasm-package-name process-1.0.1.1 -hide-all-packages -i
 -ilibraries/process/. -ilibraries/process/dist-install/build
 -ilibraries/process/dist-install/build/autogen -Ilibraries/process/dist-
 install/build -Ilibraries/process/dist-install/build/autogen
 -Ilibraries/process/include  -optP-Dbase4 -optP-include
 -optPlibraries/process/dist-install/build/autogen/cabal_macros.h -package
 base-4.0.0.0 -package directory-1.0.0.2 -package filepath-1.1.0.1 -package
 unix-2.3.1.0  -XCPP -O -fasm -dcore-lint -fno-warn-deprecated-flags-c
 libraries/process/cbits/runProcess.c -o libraries/process/dist-
 install/build/cbits/runProcess.o
 #[I deleted unrelated stuff here from parallel make / CPUS=2]
 cc1: warnings being treated as errors
 libraries/process/cbits/runProcess.c: In function ‘runInteractiveProcess’:

 libraries/process/cbits/runProcess.c:51:0:
  error: ignoring return value of ‘pipe’, declared with attribute
 warn_unused_result

 libraries/process/cbits/runProcess.c:54:0:
  error: ignoring return value of ‘pipe’, declared with attribute
 warn_unused_result

 libraries/process/cbits/runProcess.c:57:0:
  error: ignoring return value of ‘pipe’, declared with attribute
 warn_unused_result
 }}}

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/3253
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs