Skip to content

Fix compilation with TinyCC compiler#1943

Closed
XVilka wants to merge 1 commit intojemalloc:devfrom
XVilka:patch-1
Closed

Fix compilation with TinyCC compiler#1943
XVilka wants to merge 1 commit intojemalloc:devfrom
XVilka:patch-1

Conversation

@XVilka
Copy link
Copy Markdown

@XVilka XVilka commented Sep 30, 2020

image

As part of the effort to make radare2 buildable with TinyCC, which is the only option on some systems since easier to port rather than GCC or Clang.

Current TinyCC compiler version is at https://repo.or.cz/tinycc.git/ - mob branch.

@jasone
Copy link
Copy Markdown
Member

jasone commented Sep 30, 2020

This is better done as a fix to the autoconf feature test which erroneously defines JEMALLOC_HAVE_BUILTIN_CLZ. And that leads to the question: are you sure the configure script used tcc? If you configure with gcc/clang, then compile with tcc, these sorts of failures are to be expected.

@XVilka
Copy link
Copy Markdown
Author

XVilka commented Sep 30, 2020

We use only the parts of the jemalloc, so this is might be the case. I will think then on how to fix this better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants