lljvm icon indicating copy to clipboard operation
lljvm copied to clipboard

Compatibility with latest release of LLVM

Open hyc opened this issue 11 years ago • 5 comments

These are changes I needed to get things to compile for llvm 3.3. I have no confidence that these changes are correct, I'm still trying to get thru the build of libc and then the test suite. Any review/help/suggestions appreciated.

hyc avatar Jan 23 '14 17:01 hyc

Thanks for working on getting LLJVM compatible with a more recent release of LLVM. I haven't worked with LLJVM or LLVM in quite a while, so I can't comment on your patches in any great detail at the moment. If you have any general questions about LLJVM, or any particular problems in getting it working with your changes, send me an email and I'll do my best to help.

davidar avatar Mar 04 '14 07:03 davidar

Currently the most obvious problem is the python driver script; the linker is a lot stupider now and options that used to work for llvm-ld are no longer available. To be honest I've completely lost any hope of pushing this forward any further; LLVM itself is just too aggravating to work with.

hyc avatar Mar 04 '14 16:03 hyc

Yeah, that script was rather hacky to begin with so I'm not surprised it's broken. A better solution would probably have to integrate with clang more closely, however that would work.

My interest in LLJVM was in getting it to the proof-of-concept stage - currently I have no real practical use for it myself, but I'm glad other people have found uses - so there's a lot of work that still needs to be done for it to be able to handle serious projects (or even keeping up with the ever-changing state of LLVM apparently). Thanks again for sharing what you've done so far - I'll leave this issue open in case anyone feels like taking it further.

davidar avatar Mar 05 '14 07:03 davidar

For what it's worth, the current state of the code is good enough to get some of the bsdgames working and such. It seems to choke on some of the larger test programs though. Also I had to manually compile a lot of the demo programs, because I didn't have the driver script in good enough shape for the Makefiles to "just work"...

hyc avatar Mar 05 '14 07:03 hyc

Thanks. I've pushed your changes to https://github.com/davidar/lljvm/tree/llvm-3.3 in case anyone wants to deal with the remaining problems at some point.

davidar avatar Jun 30 '15 05:06 davidar