cothread fails to build on OpenBSD

Aperta
#87 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
1/5
Tempo stimato
1-3 ore
Idoneità per principianti
30/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
c, python
Ambito
build-system

Direzione di ricerca

The failure is the malloc.h include in context/cocore.c around line 37, where the preprocessor ifdef chain for malloc and memalign has no OpenBSD branch. Check first whether MR #86, which the issue says already fixes this, is still open, since the work may be under way. If you pick it up, confirm that the build on OpenBSD gets past cocore.c and that the existing build still works on other platforms.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

using pip, either on-line or from a local clone, the build step on OpenBSD crashes with

context/cocore.c:37:10: fatal error: 'malloc.h' file not found

because the OpenBSD case is not considered in the forest of ifdefs related to malloc and memalign.

I submitted MR #86 that trivially fixes the problem.

Lingua principale
C
Stelle
13
Fork
12
Merge medio
6h 21m
PR unite (30g)
1

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di DiamondLightSource/cothread

Tutte le issue di DiamondLightSource/cothread

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.