jemalloc / jemalloc/jemalloc

jemalloc env setup on Windows VS2017

Open
#1,225 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
11.2k
Forks
1.6k
Avg merge
4d 8h
Merged PRs (30d)
13

Description

I'm following the instructions given here and it fails running:

With Cygwin the error is:

> configure: error: Unsupported intmax_t size: 0

I've tried with bash too:

bash -c "CC=cl.exe ./autogen.sh"

with the following log (so the intmax_t, was 8, issue is solved here):

> checking pthread.h usability... no 
> checking pthread.h presence... yes
> configure: WARNING: pthread.h: present but cannot be compiled
> configure: WARNING: pthread.h: check for missing prerequisite headers? 
> configure: WARNING: pthread.h: see the Autoconf documentation
> configure: WARNING: pthread.h: section "Present But Cannot Be Compiled" 
> configure: WARNING: pthread.h: proceeding with the compiler's result checking for pthread.h... no 
> configure: error: pthread.h is missing Error 0 in ./configure

I think I miss some prerequisites or something. I've tried to install pthread manually from ftp://sourceware.org/pub/pthreads-win32/dll-latest (following some google links).
But is it the good link?

How to install jemalloc properly on Windows?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the instructions linked under jemalloc-cmake/msvc and compare them with the reported autogen.sh and configure output. Reproduce the build using Cygwin or bash with VS2017, focusing on the intmax_t and pthread.h checks. Done means documenting the required prerequisites and a working Windows build procedure.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, cmake, shell
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.