Re: [GHC] #729: Build system uses wrong version of include files.

2006-08-08 Thread GHC
#729: Build system uses wrong version of include files.
---+
  Reporter:  guest |  Owner:
  Type:  bug   | Status:  closed
  Priority:  normal|  Milestone:
 Component:  Build System  |Version:  6.4.1 
  Severity:  normal| Resolution:  worksforme
  Keywords:| Os:  MacOS X   
Difficulty:  Unknown   |   Architecture:  powerpc   
---+
Changes (by simonmar):

  * resolution:  = worksforme
  * status:  new = closed

Comment:

 Closing; we asked for more details but there was no response.  I don't
 ''think'' there's a problem here; using the installed {{{HsUnix.h}}} is
 reasonable during the stage1 compilation.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/729
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] #729: Build system uses wrong version of include files.

2006-06-22 Thread Simon Marlow
Can anyone comment further on this bug?  I've forgotten who the 
submitter is, and we need more information.


From the description, it looks like the installed version of HsUnix.h 
is being used while compiling the compiler, which is correct for the stage1

compiler, but would be wrong for stage2.  Which stage is this?

Cheers,
Simon

GHC wrote:

#729: Build system uses wrong version of include files.
---+
  Reporter:  guest |  Owner: 
  Type:  bug   | Status:  new
  Priority:  normal|  Milestone: 
 Component:  Build System  |Version:  6.4.1  
  Severity:  normal| Resolution: 
  Keywords:| Os:  MacOS X

Difficulty:  Unknown   |   Architecture:  powerpc
---+
Old description:



The situation: I am building 6.4.1 using 6.4.1. The installed version was
by a package installer. Now I want to build a source myself, since I want
to see if I can change some things. After the usual stuff and doing make
I obtain this error message:

utils/PrimPacked.lhs:263:0:
   Warning: foreign declaration uses deprecated non-standard syntax
In file included from /tmp/ghc25249.hc:5:
/usr/local/lib/ghc-6.4.1/include/HsUnix.h: In function
'__hsunix_rtldNext':
/usr/local/lib/ghc-6.4.1/include/HsUnix.h:103: error: 'RTLD_NEXT'
undeclared (first use in this function)
/usr/local/lib/ghc-6.4.1/include/HsUnix.h:103: error: (Each undeclared
identifier is reported only once
/usr/local/lib/ghc-6.4.1/include/HsUnix.h:103: error: for each function
it appears in.)
/usr/local/lib/ghc-6.4.1/include/HsUnix.h: In function
'__hsunix_rtldDefault':
/usr/local/lib/ghc-6.4.1/include/HsUnix.h:107: error: 'RTLD_DEFAULT'
undeclared (first use in this function)
ghc: 50080464 bytes, 11 GCs, 1535164/2972296 avg/max bytes residency (2
samples), 19M in use, 0.13 INIT (0.00 elapsed), 0.51 MUT (1.45 elapsed),
0.28 GC (0.36 elapsed) :ghc
make[2]: *** [stage1/utils/PrimPacked.o] Error 1
make[1]: *** [all] Error 1
make: *** [build] Error 1

Having looked at it for a while and discussing the problem with Arthur
van Leeuwen,
we decided that the problem is that the build system uses the HsUnix.h
file of the
existing distribution, and not the one from the sources. The problem
arises because
these two files are different.



New description:

 The situation: I am building 6.4.1 using 6.4.1. The installed version was
 by a package installer. Now I want to build a source myself, since I want
 to see if I can change some things. After the usual stuff and doing make I
 obtain this error message:

 {{{
 utils/PrimPacked.lhs:263:0:
 Warning: foreign declaration uses deprecated non-standard syntax
 In file included from /tmp/ghc25249.hc:5:
 /usr/local/lib/ghc-6.4.1/include/HsUnix.h: In function
 '__hsunix_rtldNext':
 /usr/local/lib/ghc-6.4.1/include/HsUnix.h:103: error: 'RTLD_NEXT'
 undeclared (first use in this function)
 /usr/local/lib/ghc-6.4.1/include/HsUnix.h:103: error: (Each undeclared
 identifier is reported only once
 /usr/local/lib/ghc-6.4.1/include/HsUnix.h:103: error: for each function it
 appears in.)
 /usr/local/lib/ghc-6.4.1/include/HsUnix.h: In function
 '__hsunix_rtldDefault':
 /usr/local/lib/ghc-6.4.1/include/HsUnix.h:107: error: 'RTLD_DEFAULT'
 undeclared (first use in this function)
 ghc: 50080464 bytes, 11 GCs, 1535164/2972296 avg/max bytes residency (2
 samples), 19M in use, 0.13 INIT (0.00 elapsed), 0.51 MUT (1.45 elapsed),
 0.28 GC (0.36 elapsed) :ghc
 make[2]: *** [stage1/utils/PrimPacked.o] Error 1
 make[1]: *** [all] Error 1
 make: *** [build] Error 1
 }}}

 Having looked at it for a while and discussing the problem with Arthur van
 Leeuwen,
 we decided that the problem is that the build system uses the HsUnix.h
 file of the
 existing distribution, and not the one from the sources. The problem
 arises because
 these two files are different.





___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #729: Build system uses wrong version of include files.

2006-03-22 Thread GHC
#729: Build system uses wrong version of include files.
---+
  Reporter:  guest |  Owner: 
  Type:  bug   | Status:  new
  Priority:  normal|  Milestone: 
 Component:  Build System  |Version:  6.4.1  
  Severity:  normal| Resolution: 
  Keywords:| Os:  MacOS X
Difficulty:  Unknown   |   Architecture:  powerpc
---+
Old description:

 The situation: I am building 6.4.1 using 6.4.1. The installed version was
 by a package installer. Now I want to build a source myself, since I want
 to see if I can change some things. After the usual stuff and doing make
 I obtain this error message:

 utils/PrimPacked.lhs:263:0:
 Warning: foreign declaration uses deprecated non-standard syntax
 In file included from /tmp/ghc25249.hc:5:
 /usr/local/lib/ghc-6.4.1/include/HsUnix.h: In function
 '__hsunix_rtldNext':
 /usr/local/lib/ghc-6.4.1/include/HsUnix.h:103: error: 'RTLD_NEXT'
 undeclared (first use in this function)
 /usr/local/lib/ghc-6.4.1/include/HsUnix.h:103: error: (Each undeclared
 identifier is reported only once
 /usr/local/lib/ghc-6.4.1/include/HsUnix.h:103: error: for each function
 it appears in.)
 /usr/local/lib/ghc-6.4.1/include/HsUnix.h: In function
 '__hsunix_rtldDefault':
 /usr/local/lib/ghc-6.4.1/include/HsUnix.h:107: error: 'RTLD_DEFAULT'
 undeclared (first use in this function)
 ghc: 50080464 bytes, 11 GCs, 1535164/2972296 avg/max bytes residency (2
 samples), 19M in use, 0.13 INIT (0.00 elapsed), 0.51 MUT (1.45 elapsed),
 0.28 GC (0.36 elapsed) :ghc
 make[2]: *** [stage1/utils/PrimPacked.o] Error 1
 make[1]: *** [all] Error 1
 make: *** [build] Error 1

 Having looked at it for a while and discussing the problem with Arthur
 van Leeuwen,
 we decided that the problem is that the build system uses the HsUnix.h
 file of the
 existing distribution, and not the one from the sources. The problem
 arises because
 these two files are different.

New description:

 The situation: I am building 6.4.1 using 6.4.1. The installed version was
 by a package installer. Now I want to build a source myself, since I want
 to see if I can change some things. After the usual stuff and doing make I
 obtain this error message:

 {{{
 utils/PrimPacked.lhs:263:0:
 Warning: foreign declaration uses deprecated non-standard syntax
 In file included from /tmp/ghc25249.hc:5:
 /usr/local/lib/ghc-6.4.1/include/HsUnix.h: In function
 '__hsunix_rtldNext':
 /usr/local/lib/ghc-6.4.1/include/HsUnix.h:103: error: 'RTLD_NEXT'
 undeclared (first use in this function)
 /usr/local/lib/ghc-6.4.1/include/HsUnix.h:103: error: (Each undeclared
 identifier is reported only once
 /usr/local/lib/ghc-6.4.1/include/HsUnix.h:103: error: for each function it
 appears in.)
 /usr/local/lib/ghc-6.4.1/include/HsUnix.h: In function
 '__hsunix_rtldDefault':
 /usr/local/lib/ghc-6.4.1/include/HsUnix.h:107: error: 'RTLD_DEFAULT'
 undeclared (first use in this function)
 ghc: 50080464 bytes, 11 GCs, 1535164/2972296 avg/max bytes residency (2
 samples), 19M in use, 0.13 INIT (0.00 elapsed), 0.51 MUT (1.45 elapsed),
 0.28 GC (0.36 elapsed) :ghc
 make[2]: *** [stage1/utils/PrimPacked.o] Error 1
 make[1]: *** [all] Error 1
 make: *** [build] Error 1
 }}}

 Having looked at it for a while and discussing the problem with Arthur van
 Leeuwen,
 we decided that the problem is that the build system uses the HsUnix.h
 file of the
 existing distribution, and not the one from the sources. The problem
 arises because
 these two files are different.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/729
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] #729: Build system uses wrong version of include files.

2006-03-17 Thread GHC
#729: Build system uses wrong version of include files.
-+--
Reporter:  guest |Owner: 
Type:  bug   |   Status:  new
Priority:  normal|Milestone: 
   Component:  Build System  |  Version:  6.4.1  
Severity:  normal| Keywords: 
  Os:  MacOS X   |   Difficulty:  Unknown
Architecture:  powerpc   |  
-+--
The situation: I am building 6.4.1 using 6.4.1. The installed version was
 by a package installer. Now I want to build a source myself, since I want
 to see if I can change some things. After the usual stuff and doing make I
 obtain this error message:

 utils/PrimPacked.lhs:263:0:
 Warning: foreign declaration uses deprecated non-standard syntax
 In file included from /tmp/ghc25249.hc:5:
 /usr/local/lib/ghc-6.4.1/include/HsUnix.h: In function
 '__hsunix_rtldNext':
 /usr/local/lib/ghc-6.4.1/include/HsUnix.h:103: error: 'RTLD_NEXT'
 undeclared (first use in this function)
 /usr/local/lib/ghc-6.4.1/include/HsUnix.h:103: error: (Each undeclared
 identifier is reported only once
 /usr/local/lib/ghc-6.4.1/include/HsUnix.h:103: error: for each function it
 appears in.)
 /usr/local/lib/ghc-6.4.1/include/HsUnix.h: In function
 '__hsunix_rtldDefault':
 /usr/local/lib/ghc-6.4.1/include/HsUnix.h:107: error: 'RTLD_DEFAULT'
 undeclared (first use in this function)
 ghc: 50080464 bytes, 11 GCs, 1535164/2972296 avg/max bytes residency (2
 samples), 19M in use, 0.13 INIT (0.00 elapsed), 0.51 MUT (1.45 elapsed),
 0.28 GC (0.36 elapsed) :ghc
 make[2]: *** [stage1/utils/PrimPacked.o] Error 1
 make[1]: *** [all] Error 1
 make: *** [build] Error 1

 Having looked at it for a while and discussing the problem with Arthur van
 Leeuwen,
 we decided that the problem is that the build system uses the HsUnix.h
 file of the
 existing distribution, and not the one from the sources. The problem
 arises because
 these two files are different.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/729
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] #729: Build system uses wrong version of include files.

2006-03-17 Thread GHC
#729: Build system uses wrong version of include files.
---+
  Reporter:  guest |  Owner: 
  Type:  bug   | Status:  new
  Priority:  normal|  Milestone: 
 Component:  Build System  |Version:  6.4.1  
  Severity:  normal| Resolution: 
  Keywords:| Os:  MacOS X
Difficulty:  Unknown   |   Architecture:  powerpc
---+
Comment (by guest):

 The situation: I am building 6.4.1 using 6.4.1. The installed version was
 by a package installer. Now I want to build a source myself, since I want
 to see if I can change some things. After the usual stuff and doing make I
 obtain this error message:

 utils/PrimPacked.lhs:263:0:

 Warning: foreign declaration uses deprecated non-standard syntax
 In file included from /tmp/ghc25249.hc:5:
 /usr/local/lib/ghc-6.4.1/include/HsUnix.h: In function 'hsunix_rtldNext':
 /usr/local/lib/ghc-6.4.1/include/HsUnix.h:103: error: 'RTLD_NEXT'
 undeclared (first use in this function)
 /usr/local/lib/ghc-6.4.1/include/HsUnix.h:103: error: (Each undeclared
 identifier is reported only once
 /usr/local/lib/ghc-6.4.1/include/HsUnix.h:103: error: for each function it
 appears in.) /usr/local/lib/ghc-6.4.1/include/HsUnix.h: In function
 'hsunix_rtldDefault': /usr/local/lib/ghc-6.4.1/include/HsUnix.h:107:
 error: 'RTLD_DEFAULT' undeclared (first use in this function) ghc:
 50080464 bytes, 11 GCs, 1535164/2972296 avg/max bytes residency (2
 samples), 19M in use, 0.13 INIT (0.00 elapsed), 0.51 MUT (1.45 elapsed),
 0.28 GC (0.36 elapsed) :ghc make[2]: *** [stage1/utils/PrimPacked.o]
 Error 1 make[1]: *** [all] Error 1 make: *** [build] Error 1

 Having looked at it for a while and discussing the problem with Arthur van
 Leeuwen, we decided that the problem is that the build system uses the
 HsUnix?.h file of the existing distribution, and not the one from the
 sources. The problem arises because these two files are different.

 Having looked at it a bit closer, the discrepancy turns out to be between
 two ghcautoconf.h files.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/729
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