[GHC] #8481: Builing HEAD fails under OSX 10.9/Xcode5/clang at OSMem.c

#8481: Builing HEAD fails under OSX 10.9/Xcode5/clang at OSMem.c ----------------------------------+---------------------------------------- Reporter: jloos | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.6.3 Keywords: | Operating System: MacOS X Architecture: | Type of failure: Building GHC failed Unknown/Multiple | Test Case: Difficulty: Unknown | Blocking: Blocked By: | Related Tickets: | ----------------------------------+---------------------------------------- Recent changes to OSMem.c brings a build failure on OS X 10.9 {{{ /dist/build/autogen -Irts/dist/build -Irts/dist/build/autogen -O2 -c rts/posix/OSMem.c -o rts/dist/build/posix/OSMem.o rts/posix/OSMem.c:274:23: error: use of undeclared identifier '_SC_PHYS_PAGES' ret = sysconf(_SC_PHYS_PAGES); ^ 1 error generated. make[1]: *** [rts/dist/build/posix/OSMem.o] Error 1 make: *** [all] Error 2 }}} looking at man sysconf: {{{ These values also exist, but may not be standard: _SC_PHYS_PAGES The number of pages of physical memory. Note that it is possible that the product of this value and the value of _SC_PAGESIZE will overflow a long in some configurations on a 32bit machine. }}} I bootstrapped with a homebrew ghc compiled with a homebrew gcc 4.8 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8481 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8481: Builing HEAD fails under OSX 10.9/Xcode5/clang at OSMem.c ----------------------------------------+---------------------------------- Reporter: jloos | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.7 Resolution: | Keywords: Operating System: MacOS X | Architecture: Type of failure: Building GHC failed | Unknown/Multiple Test Case: | Difficulty: Unknown Blocking: | Blocked By: | Related Tickets: ----------------------------------------+---------------------------------- Changes (by jloos): * cc: maxdaten@… (added) * version: 7.6.3 => 7.7 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8481#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8481: Builing HEAD fails under OSX 10.9/Xcode5/clang at OSMem.c ----------------------------------------+---------------------------------- Reporter: jloos | Owner: Type: bug | Status: new Priority: highest | Milestone: 7.8.1 Component: Compiler | Version: 7.7 Resolution: | Keywords: Operating System: MacOS X | Architecture: Type of failure: Building GHC failed | Unknown/Multiple Test Case: | Difficulty: Unknown Blocking: | Blocked By: | Related Tickets: ----------------------------------------+---------------------------------- Changes (by thoughtpolice): * priority: normal => highest * milestone: => 7.8.1 Comment: I have a fix for this incoming. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8481#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8481: Builing HEAD fails under OSX 10.9/Xcode5/clang at OSMem.c ----------------------------------------+---------------------------------- Reporter: jloos | Owner: thoughtpolice Type: bug | Status: new Priority: highest | Milestone: 7.8.1 Component: Compiler | Version: 7.7 Resolution: | Keywords: Operating System: MacOS X | Architecture: Type of failure: Building GHC failed | Unknown/Multiple Test Case: | Difficulty: Unknown Blocking: | Blocked By: | Related Tickets: ----------------------------------------+---------------------------------- Changes (by thoughtpolice): * owner: => thoughtpolice -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8481#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8481: Builing HEAD fails under OSX 10.9/Xcode5/clang at OSMem.c
----------------------------------------+----------------------------------
Reporter: jloos | Owner: thoughtpolice
Type: bug | Status: new
Priority: highest | Milestone: 7.8.1
Component: Compiler | Version: 7.7
Resolution: | Keywords:
Operating System: MacOS X | Architecture:
Type of failure: Building GHC failed | Unknown/Multiple
Test Case: | Difficulty: Unknown
Blocking: | Blocked By:
| Related Tickets:
----------------------------------------+----------------------------------
Comment (by Austin Seipp

#8481: Builing HEAD fails under OSX 10.9/Xcode5/clang at OSMem.c ----------------------------------------+---------------------------------- Reporter: jloos | Owner: thoughtpolice Type: bug | Status: closed Priority: highest | Milestone: 7.8.1 Component: Compiler | Version: 7.7 Resolution: fixed | Keywords: Operating System: MacOS X | Architecture: Type of failure: Building GHC failed | Unknown/Multiple Test Case: | Difficulty: Unknown Blocking: | Blocked By: | Related Tickets: ----------------------------------------+---------------------------------- Changes (by thoughtpolice): * status: new => closed * resolution: => fixed Comment: Should be fixed now - thanks! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8481#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC