Raised This Month: $ Target: $400
 0% 

Cross-language natives


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
BAILOPAN
Join Date: Jan 2004
Old 10-14-2004 , 20:41  
Reply With Quote #1

There are a bunch of problems with the JIT, oddly enough. I think it has to do with the kernel more than the actual code, but the JIT is messy itself as it modifies and runs its own executable code memory (very bad in linux!).

Anyway other things factor in like grsecurity and pax, which disallow running code in the data section of ELF... although even chpax/paxctl don't always work.

The solution is simply to not use the JIT for everything, but if we could find exactly what was causing the segfaults, it would be possible to detect it ahead of time.

It's best to always link same code builds, mixing glibc2-2 and glibc2-3 shared modules is a very bad idea. Maybe that could be part of it.

Anyway HL2 will only work on gcc3 (because certain things changed, like vtable formats) so when HL2 comes out, we're done with 2.2 and gcc 2.95
BAILOPAN is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:19.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode