B::C (perl-compiler) news

rurban on 2009-11-13T23:23:33

perl has a native compiler, it just doesn't work for 5.10 and blead yet. I'm working on it in my rare spare time, but now it's winter time and I was motivated by a company which needs it.

The new cygwin gcc-4.3 has obviously still some bugs, because the B::Bytecode compiler suddenly smashes the stack, but on other platforms it still works okay.

I'm working on B::C right now. version 1.04_21 fixed regexp (strange and hard). Today I got xpvmg working (easy), PADLISTs are very broken with DEBUGGING only (strange and hard), and some more minor issues are missing.

I hope to get it ready end of february. I also have to keep an eye on my broken compiler on my main platform.


Buggy -fstack-protector

rurban on 2009-11-14T15:30:24

Verified that indeed -fstack-protector on Cygwin gcc "4.3.4 20090804 (release) 1" is the culprit on my new ByteLoader failures.

On my debian gcc "Debian 4.3.2-1.1" adding -fstack-protector works fine.

So I check for that now. I'll have to remove that from my perl also, so I can release 5.10.1 finally.

Re:Buggy -fstack-protector

rurban on 2010-01-21T11:24:04

Wrong. It was not -fstack-protector.

I fixed it somehow, unfortunately I don't know which change fixed it.

Lesson learned (again): Always prefer a stricter system over the lax linux. If its mingw, cygwin or solaris, linux should NOT be used for development, as you don't detect serious bugs with it.