Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pypy pypy
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 652
    • Issues 652
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PyPy
  • pypypypy
  • Issues
  • #2298

Closed
Open
Created May 12, 2016 by Bitbucket Importer@bitbucket_importerMaintainer

cygwin build fails for release-5.1.1 and release-5.1

Created originally on Bitbucket by eliotmoss (Eliot Moss)

For the record, with the small patch previously submitted in issue 2296, the build gets through to the point where it tries to compile the generated C code. This failed, and in order to see if there was more than one problem, I did make -k and let the good compilations complete, and then make -k again to offer this list of problems:

gcc -O3 -fomit-frame-pointer -Wall -Wno-unused -fvisibility=hidden -DPy_BUILD_CORE -DPy_BUILD_CORE -DPYPY_CPU_HAS_STANDARD_PRECISION -DPYPY_X86_CHECK_SSE2 -msse2 -mfpmath=sse -DPy_BUILD_CORE -o data_rpython_jit_metainterp.o -c data_rpython_jit_metainterp.c -I"/home/moss/projects/pypy/rpython"/translator/c -I"/home/moss/projects/pypy/rpython"/../pypy/module/_multibytecodec -I"/home/moss/projects/pypy/rpython"/rlib/rvmprof/src -I"/home/moss/projects/pypy/rpython"/../pypy/module/cpyext/include -I.. -I"/home/moss/projects/pypy/rpython"/../pypy/module/operator -I"/home/moss/projects/pypy/rpython"/../pypy/module/_cffi_backend/src data_rpython_jit_metainterp.c:52439:2: error: ‘crypt’ undeclared here (not in a function) crypt, /* 1344 / ^ Makefile:746: recipe for target 'data_rpython_jit_metainterp.o' failed make: [data_rpython_jit_metainterp.o] Error 1 gcc -O3 -fomit-frame-pointer -Wall -Wno-unused -fvisibility=hidden -DPy_BUILD_CORE -DPy_BUILD_CORE -DPYPY_CPU_HAS_STANDARD_PRECISION -DPYPY_X86_CHECK_SSE2 -msse2 -mfpmath=sse -DPy_BUILD_CORE -o nonfuncnodes_19.o -c nonfuncnodes_19.c -I"/home/moss/projects/pypy/rpython"/translator/c -I"/home/moss/projects/pypy/rpython"/../pypy/module/_multibytecodec -I"/home/moss/projects/pypy/rpython"/rlib/rvmprof/src -I"/home/moss/projects/pypy/rpython"/../pypy/module/cpyext/include -I.. -I"/home/moss/projects/pypy/rpython"/../pypy/module/operator -I"/home/moss/projects/pypy/rpython"/../pypy/module/_cffi_backend/src nonfuncnodes_19.c:33868:11: error: ‘crypt’ undeclared here (not in a function) ((Signed)crypt), / 5 */ ^ Makefile:746: recipe for target 'nonfuncnodes_19.o' failed make: [nonfuncnodes_19.o] Error 1 gcc -O3 -fomit-frame-pointer -Wall -Wno-unused -fvisibility=hidden -DPy_BUILD_CORE -DPy_BUILD_CORE -DPYPY_CPU_HAS_STANDARD_PRECISION -DPYPY_X86_CHECK_SSE2 -msse2 -mfpmath=sse -DPy_BUILD_CORE -o ../module_cache/module_23.o -c ../module_cache/module_23.c -I"/home/moss/projects/pypy/rpython"/translator/c -I"/home/moss/projects/pypy/rpython"/../pypy/module/_multibytecodec -I"/home/moss/projects/pypy/rpython"/rlib/rvmprof/src -I"/home/moss/projects/pypy/rpython"/../pypy/module/cpyext/include -I.. -I"/home/moss/projects/pypy/rpython"/../pypy/module/operator -I"/home/moss/projects/pypy/rpython"/../pypy/module/_cffi_backend/src ../module_cache/module_23.c: In function ‘_cffi_init_home’: ../module_cache/module_23.c:398:5: error: unknown type name ‘Dl_info’ Dl_info info; ^ ../module_cache/module_23.c:400:9: warning: implicit declaration of function ‘dladdr’ [-Wimplicit-function-declaration] if (dladdr(&_cffi_init, &info) == 0) { ^ ../module_cache/module_23.c:404:22: error: request for member ‘dli_fname’ in something not a structure or union if (realpath(info.dli_fname, output_home_path) == NULL) { ^ Makefile:746: recipe for target '../module_cache/module_23.o' failed make: [../module_cache/module_23.o] Error 1 make: Target 'all' not remade because of errors.

So two failures are related to the name 'crypt' and two to other things.

I will try an earlier stable release. It would be good to test at least major releases on cygwin if pypy is going to include build support for that platform, even if nightly checks aren't done.

Regards - Eliot Moss

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking