[MDEV-4965] Failed compile mariadb 5.5.32 with clang Created: 2013-08-29  Updated: 2013-11-06  Resolved: 2013-11-06

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

Type: Bug Priority: Major
Reporter: zhifeng hu Assignee: Unassigned
Resolution: Incomplete Votes: 0
Labels: None
Environment:

debian linux x64, clang 3.4



 Description   

I am trying compile mariadb on debian with clang, but failed.
before i tried compile mariadb, i success compiled nginx 1.4.2 + php 5.5.3
clang works well.

As everybody knows, Clang was build in supported in FreeBSD 9.0+, MacOS.

and it's BSD open source license. it's good to us.
so please take care about it.

GCC is so old, and it's license seems bad mess.



 Comments   
Comment by zhifeng hu [ 2013-08-29 ]

Reproduce this problem is very easy.
Just install debian 7 on your virtual box or whatever. i am using the real machine.
then you can install clang via official repository.
http://blog.llvm.org/2013/04/llvm-debianubuntu-nightly-packages.html

then you may download mariadb source code from www.mariadb.org

try to compile it with clang

you may failed.

Comment by Patryk Pomykalski [ 2013-09-09 ]

How do you build it? What error do you get? It works for me on gentoo with clang 3.4 (trunk 188311).

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