Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8143189
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T13:03:02+00:00 2026-06-06T13:03:02+00:00

Is it possible yet to compile a full PHP stack – say Apache, PHP,

  • 0

Is it possible yet to compile a full PHP stack – say Apache, PHP, Postgres and enough of the more commonly used libraries to cover ninety percent of sites – with Clang into LLVM bitcode? If so, are there any instructions available on how to do it starting with an out-of-the-box Ubuntu setup?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T13:03:05+00:00Added an answer on June 6, 2026 at 1:03 pm

    Apache, PHP and Postgres can be compiled by Clang, which means they can also be compiled into LLVM bitcode. I can’t give you particular steps to achieve this, since it depends on build system. Anyway, this involves adding -femit-llvm flag to compilation line and, probably, using llvm-link as linker.

    Be aware that at least PHP have inline assembly code, on which your analyzer may choke.

    UPDATE:

    Nice tool to compile code using arbitrary build systems to LLVM IR is gllvm. In short, you just use gclang/gclang++ instead of gcc/g++ and then running get-bc on the resulting binary.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Anyone know if its possible to yet create a css based drop shadow on
Since it's really not possible to return a single embedded document (yet), what is
Possible Duplicate: PHP get both array value and array key I am using Codeigniters'
Is it possible to import arbitrary modules in cython, compile them to shared object
I have the following nant task: <!--Compiles the possible release candidate to be used
Possible Duplicate: C++ Inherited template classes don't have access to the base class I'm
Possible Duplicate: How does this CSS triangle shape work? Please help me i need
Possible Duplicate: Bind multiple events to jQuery 'live' method I have the following function:
Possible Duplicate: Convert a number to the shortest possible character string while retaining uniqueness
Possible Duplicate: How to set background image of a view? How to set UIView

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.