Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: mmap: invalid argument (Invalid argument) #95

Closed
nomeata opened this issue Apr 30, 2015 · 1 comment
Closed

ERROR: mmap: invalid argument (Invalid argument) #95

nomeata opened this issue Apr 30, 2015 · 1 comment

Comments

@nomeata
Copy link

nomeata commented Apr 30, 2015

Hi,

I’m having trouble building hashable on powerpc and likely other architectures, as reported at http://bugs.debian.org/783772:

Test suite tests: RUNNING...
properties:
  bernstein: [OK, passed 100 tests]
  text:
    text/strict: [OK, passed 100 tests]
    text/lazy: [OK, passed 100 tests]
    text/rechunk: [OK, passed 100 tests]
    text/rechunked: [OK, passed 100 tests]
  bytestring:
    bytestring/strict: [OK, passed 100 tests]
    bytestring/lazy: [OK, passed 100 tests]
    bytestring/short: [OK, passed 100 tests]
    bytestring/rechunk: [OK, passed 100 tests]
    bytestring/rechunked: [OK, passed 100 tests]
  generics:
    sum2_differ: [OK, passed 100 tests]
    sum3_differ: [OK, passed 100 tests]
regressions:
  hashNearPageBoundary: [Failed]
ERROR: mmap: invalid argument (Invalid argument)

         Properties   Test Cases  Total       
 Passed  12           0           12          
 Failed  0            1           1           
 Total   12           1           13          
Test suite tests: FAIL
Test suite logged to: dist-ghc/test/hashable-1.2.3.2-tests.log
0 of 1 test suites (0 of 1 test cases) passed.

Full log at https://buildd.debian.org/status/fetch.php?pkg=haskell-hashable&arch=powerpc&ver=1.2.3.2-2&stamp=1430199777

Do you have any idea what this could mean?

@tibbe
Copy link
Collaborator

tibbe commented Apr 30, 2015

I didn't write that test (@bos did) so I'm not sure.

cjwatson added a commit to cjwatson/hashable that referenced this issue May 9, 2015
This fixes problems with the type of the offset argument on some
architectures, and makes it possible to build with e.g.
-D_FILE_OFFSET_BITS=64 (hsc2hs doesn't handle the conditional tricks in
<sys/mman.h> very well).

Fixes haskell-unordered-containers#95.
@hvr hvr closed this as completed in 015cecf May 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants