[GHC] #8350: shm_open and shm_unlink not detected on openSUSE Linux
GHC
ghc-devs at haskell.org
Tue Sep 24 14:40:26 CEST 2013
#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
More information about the ghc-tickets
mailing list