[GHC] #8350: shm_open and shm_unlink not detected on openSUSE Linux

#8350: shm_open and shm_unlink not detected on openSUSE Linux -------------------------------------------+-------------------------- Reporter: trommler | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.8.1 Component: libraries/unix | Version: 7.7 Keywords: | Operating System: Linux Architecture: Unknown/Multiple | Type of failure: Other Difficulty: Easy (less than 1 hour) | Test Case: Blocked By: | Blocking: Related Tickets: | -------------------------------------------+-------------------------- The test in libraries/unix/configure fails to detect shm_* functions on openSUSE. The -lrt flag is passed as part of CFLAGS rather than in LIBS and so it appears before the object file referencing the shm_* function. Note: The openSUSE linker sets --as-needed by default and hence the order of linker options does matter. The attached patch fixes the issue. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8350 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8350: shm_open and shm_unlink not detected on openSUSE Linux -------------------------------+------------------------------------------- Reporter: trommler | Owner: Type: bug | Status: patch Priority: normal | Milestone: 7.8.1 Component: | Version: 7.7 libraries/unix | Keywords: Resolution: | Architecture: Unknown/Multiple Operating System: Linux | Difficulty: Easy (less than 1 hour) Type of failure: Other | Blocked By: Test Case: | Related Tickets: Blocking: | -------------------------------+------------------------------------------- Changes (by trommler): * status: new => patch -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8350#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8350: shm_open and shm_unlink not detected on openSUSE Linux
-------------------------------+-------------------------------------------
Reporter: trommler | Owner:
Type: bug | Status: closed
Priority: normal | Milestone: 7.8.1
Component: | Version: 7.7
libraries/unix | Keywords:
Resolution: fixed | Architecture: Unknown/Multiple
Operating System: Linux | Difficulty: Easy (less than 1 hour)
Type of failure: Other | Blocked By:
Test Case: | Related Tickets:
Blocking: |
-------------------------------+-------------------------------------------
Changes (by thoughtpolice):
* status: patch => closed
* resolution: => fixed
Comment:
Merged in
{{{
commit 996bd23fe75ec7be9533a040abf3d5e6035e8e0c
Author: Peter Trommler
participants (1)
-
GHC