Skip to content

Buildbot does not build jemalloc on Windows #8662

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

Closed
klutzy opened this issue Aug 21, 2013 · 4 comments
Closed

Buildbot does not build jemalloc on Windows #8662

klutzy opened this issue Aug 21, 2013 · 4 comments
Labels
O-windows Operating system: Windows

Comments

@klutzy
Copy link
Contributor

klutzy commented Aug 21, 2013

Looking into #8584's win32 build log, no "jemalloc" is found in stdio log. (linux buildbot builds jemalloc well.)
Same for recent build log too.

Maybe jemalloc is broken (#8731) on windows but is just skipped for unknown reason. (I failed to build rust on windows due to jemalloc errors.)

@klutzy
Copy link
Contributor Author

klutzy commented Aug 24, 2013

maybe sub-bug of #8717

@Dretch
Copy link
Contributor

Dretch commented Aug 25, 2013

Rust is also failing to build for me on windows (with a fresh build directory), due to errors like:

...
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1755:2: error: 'ctl_prefork' undeclared (first use in this function)
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1756:2: error: 'prof_prefork' undeclared (first usein this function)
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1757:2: error: 'malloc_mutex_prefork' undeclared (first use in this function)
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1757:24: error: 'arenas_lock' undeclared (first usein this function)
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1758:18: error: 'narenas_total' undeclared (first use in this function)
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1759:7: error: 'arenas' undeclared (first use in this function)
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1760:4: error: 'arena_prefork' undeclared (first use in this function)
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1762:2: error: 'chunk_prefork' undeclared (first use in this function)
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1763:2: error: 'base_prefork' undeclared (first usein this function)
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1764:2: error: 'huge_prefork' undeclared (first usein this function)
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c: At top level:
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1769:1: error: 'JEMALLOC_N' declared as function returning a function
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1769:1: error: conflicting types for 'JEMALLOC_N'
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/include/jemalloc/internal/quarantine.h:55:16: note: previous declaration of 'JEMALLOC_N' was here
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c: In function 'JEMALLOC_N':
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1769:1: warning: type of 'jemalloc_postfork_parent'defaults to 'int'
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1781:2: error: 'malloc_printf' undeclared (first use in this function)
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1784:2: error: 'huge_postfork_parent' undeclared (first use in this function)
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1785:2: error: 'base_postfork_parent' undeclared (first use in this function)
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1786:2: error: 'chunk_postfork_parent' undeclared (first use in this function)
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1787:18: error: 'narenas_total' undeclared (first use in this function)
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1788:7: error: 'arenas' undeclared (first use in this function)
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1789:4: error: 'arena_postfork_parent' undeclared (first use in this function)
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1791:2: error: 'malloc_mutex_postfork_parent' undeclared (first use in this function)
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1791:32: error: 'arenas_lock' undeclared (first usein this function)
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1792:2: error: 'prof_postfork_parent' undeclared (first use in this function)
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1793:2: error: 'ctl_postfork_parent' undeclared (first use in this function)
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c: At top level:
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1797:1: error: 'JEMALLOC_N' declared as function returning a function
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1797:1: error: conflicting types for 'JEMALLOC_N'
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/include/jemalloc/internal/quarantine.h:55:16: note: previous declaration of 'JEMALLOC_N' was here
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c: In function 'JEMALLOC_N':
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1797:1: warning: type of 'jemalloc_postfork_child' defaults to 'int'
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1801:2: error: 'malloc_printf' undeclared (first use in this function)
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1804:2: error: 'huge_postfork_child' undeclared (first use in this function)
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1805:2: error: 'base_postfork_child' undeclared (first use in this function)
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1806:2: error: 'chunk_postfork_child' undeclared (first use in this function)
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1807:18: error: 'narenas_total' undeclared (first use in this function)
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1808:7: error: 'arenas' undeclared (first use in this function)
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1809:4: error: 'arena_postfork_child' undeclared (first use in this function)
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1811:2: error: 'malloc_mutex_postfork_child' undeclared (first use in this function)
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1811:31: error: 'arenas_lock' undeclared (first usein this function)
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1812:2: error: 'prof_postfork_child' undeclared (first use in this function)
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1813:2: error: 'ctl_postfork_child' undeclared (first use in this function)
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c: In function 'a0alloc':
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1833:14: error: 'arena_maxclass' undeclared (first use in this function)
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1834:11: error: 'arena_malloc' undeclared (first use in this function)
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1834:24: error: 'arenas' undeclared (first use in this function)
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1836:11: error: 'huge_malloc' undeclared (first usein this function)
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c: At top level:
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1840:1: error: 'JEMALLOC_N' declared as function returning a function
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1840:1: error: conflicting types for 'JEMALLOC_N'
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/include/jemalloc/internal/quarantine.h:55:16: note: previous declaration of 'JEMALLOC_N' was here
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c: In function 'JEMALLOC_N':
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1840:1: warning: type of 'a0malloc' defaults to 'int'
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1843:18: error: 'size' undeclared (first use in this function)
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c: At top level:
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1847:1: error: 'JEMALLOC_N' declared as function returning a function
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1847:1: error: conflicting types for 'JEMALLOC_N'
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/include/jemalloc/internal/quarantine.h:55:16: note: previous declaration of 'JEMALLOC_N' was here
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c: In function 'JEMALLOC_N':
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1847:1: warning: type of 'a0calloc' defaults to 'int'
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1850:18: error: 'num' undeclared (first use in this function)
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1850:24: error: 'size' undeclared (first use in this function)
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c: At top level:
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1854:1: error: 'JEMALLOC_N' declared as function returning a function
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1854:1: error: conflicting types for 'JEMALLOC_N'
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/include/jemalloc/internal/quarantine.h:55:16: note: previous declaration of 'JEMALLOC_N' was here
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c: In function 'JEMALLOC_N':
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1854:1: warning: type of 'a0free' defaults to 'int'
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1858:6: error: 'ptr' undeclared (first use in this function)
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1859:3: warning: 'return' with no value, in function returning non-void
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1861:27: error: 'chunksize_mask' undeclared (first use in this function)
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1863:3: error: 'arena_dalloc' undeclared (first use in this function)
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1865:3: error: 'huge_dalloc' undeclared (first use in this function)
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c: At top level:
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:64:1: warning: '_init_init_lock' defined but not used
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1732:1: warning: 'jemalloc_constructor' defined but not used
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c: In function 'JEMALLOC_N':
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1866:1: warning: control reaches end of non-void function
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c: In function 'JEMALLOC_N':
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1851:1: warning: control reaches end of non-void function
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c: In function 'JEMALLOC_N':
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1844:1: warning: control reaches end of non-void function
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c: In function 'JEMALLOC_N':
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1814:1: warning: control reaches end of non-void function
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c: In function 'JEMALLOC_N':
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1794:1: warning: control reaches end of non-void function
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c: In function 'JEMALLOC_N':
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1765:1: warning: control reaches end of non-void function
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c: In function 'je_mallctlbymib':
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1394:1: warning: control reaches end of non-void function
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c: In function 'je_mallctlnametomib':
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1383:1: warning: control reaches end of non-void function
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c: In function 'je_mallctl':
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:1373:1: warning: control reaches end of non-void function
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c: In function 'JEMALLOC_N':
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:283:1: warning: control reaches end of non-void function
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c: In function 'JEMALLOC_N':
C:/MinGW/msys/1.0/home/g/dretch-rust/src/rt/jemalloc/src/jemalloc.c:145:1: warning: control reaches end of non-void function
make[1]: *** [src/jemalloc.o] Error 1
make[1]: Leaving directory `/home/g/dretch-rust/build/rt/i686-pc-mingw32/stage0/jemalloc'
make: *** [rt/i686-pc-mingw32/stage0/jemalloc/lib/jemalloc.lib] Error 2

@klutzy
Copy link
Contributor Author

klutzy commented Aug 28, 2013

@Dretch it is due to #8731, and it is now fixable (see my last comment there).

@alexcrichton
Copy link
Member

jemalloc was removed in #9933, so I'm going to close this. If we decide to re-integrate jemalloc, this has the possibility of becoming an issue, but thankfully github keeps archives of everything!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O-windows Operating system: Windows
Projects
None yet
Development

No branches or pull requests

3 participants