[MDEV-5062] Build fails with jemalloc Created: 2013-09-24  Updated: 2013-09-24  Resolved: 2013-09-24

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: 5.5.33a
Fix Version/s: 5.5.34

Type: Bug Priority: Major
Reporter: Brad Smith Assignee: Vladislav Vaintroub
Resolution: Fixed Votes: 0
Labels: None
Environment:

OpenBSD



 Description   

The build fails with jemalloc..

/usr/local/bin/cmake -E cmake_progress_report /home/ports/pobj/mariadb-5.5.33a/build-amd64/CMakeFiles 
[  1%] Performing build step for 'jemalloc'
cd /home/ports/pobj/mariadb-5.5.33a/build-amd64/extra/jemalloc/build && /usr/bin/make build_lib_static
*** Parse error in /home/ports/pobj/mariadb-5.5.33a/build-amd64/extra/jemalloc/build: Need an operator in 'vpath' (Makefile:3)
*** Parse error: Need an operator in '.' (Makefile:4)
*** Parse error: Missing dependency operator (Makefile:60)
*** Parse error: Need an operator in 'else' (Makefile:62)
*** Parse error: Missing dependency operator (Makefile:63)
*** Parse error: Need an operator in 'else' (Makefile:65)
*** Parse error: Need an operator in 'endif' (Makefile:67)
*** Parse error: Need an operator in 'endif' (Makefile:68)
*** Parse error: Missing dependency operator (Makefile:84)
*** Parse error: Need an operator in 'endif' (Makefile:86)
*** Parse error: Missing dependency operator (Makefile:87)
*** Parse error: Need an operator in 'endif' (Makefile:89)
*** Parse error: Need an operator in 'PIC_CFLAGS' (Makefile:90)
*** Parse error: Need an operator in 'else' (Makefile:92)
*** Parse error: Need an operator in 'endif' (Makefile:94)
*** Parse error: Missing dependency operator (Makefile:96)
*** Parse error: Need an operator in 'endif' (Makefile:98)
*** Parse error: Missing dependency operator (Makefile:108)
*** Parse error: Need an operator in 'endif' (Makefile:110)
*** Parse error: Need an operator in 'CC_MM' (Makefile:141)
*** Parse error: Need an operator in '/home/ports/pobj/mariadb-5.5.33a/mariadb-5.5.33a/extra/jemalloc/src/zone.c' (Makefile:142)
*** Parse error: Need an operator in '/home/ports/pobj/mariadb-5.5.33a/mariadb-5.5.33a/extra/jemalloc/src/zone.c' (Makefile:143)
*** Parse error: Need an operator in '/home/ports/pobj/mariadb-5.5.33a/mariadb-5.5.33a/extra/jemalloc/test/rallocm.c' (Makefile:144)
*** Parse error: Need an operator in 'endif' (Makefile:145)
*** Parse error: Missing dependency operator (Makefile:152)
*** Parse error: Need an operator in 'endif' (Makefile:154)
*** Parse error: Need an operator in 'CC_MM' (Makefile:156)
*** Parse error: Need an operator in 'endif' (Makefile:163)
*** Parse error: Need an operator in 'CC_MM' (Makefile:168)
*** Parse error: Need an operator in 'endif' (Makefile:170)
*** Parse error: Missing dependency operator (Makefile:172)
*** Parse error: Need an operator in 'endif' (Makefile:176)
*** Parse error: Missing dependency operator (Makefile:217)
*** Parse error: Need an operator in 'endif' (Makefile:219)
*** Parse error: Missing dependency operator (Makefile:306)
*** Parse error: Need an operator in 'endif' (Makefile:324)



 Comments   
Comment by Sergei Golubchik [ 2013-09-24 ]

Vlad, if jemalloc doesn't support BSD make, then I'd suggest to disable jemalloc on BSD. FreeBSD and NetBSD have jemalloc as their default malloc implementation anyway, there's no need to use our bundled copy

Comment by Vladislav Vaintroub [ 2013-09-24 ]

Disabled jemalloc by default everywhere, except Linux and OSX (on those 2 systems only I was able to actually compile the bundled jemalloc as external project)

Generated at Thu Feb 08 07:01:22 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.