Previous mail
Next mail
Unformatted/full headers
Overview 10 days
Subject
Date
Thread
Author
From: Mirsad Todorovac
Subject: Test results gpc-20060325 on gcc-4.1.1 P.S.
Date: 14 Feb 2007, 16:06:26
On Wed, 14 Feb 2007, Waldek Hebisch wrote: > Mirsad Todorovac wrote: > >> BUT THE GOOD NEWS is that there are no longer "Killed" error messages, so >> I think we've found the murderer: it was Linux's PAX kernel extension! >> >> chpax has following options, so you will see why it could have affected >> nonlocal gotos: >> >> -E emulate trampolines >> -e do not emulate trampolines >> -M restrict mprotect() >> -m do not restrict mprotect() > > I wrote previously about nonlocal gotos. But now I think that the > problem is with trampolines (problems with nonlocal gotos and trampolines > are frequently related). Description of PAX extension makes clear > that by default trampolines do not work if the extension is active, > and the affected tests use trampolines. On other (non-Linux) platforms > the compiler emits 'mprotect' calls to allows trampolines to work > (on Linux trampolines are supposed to work even without 'mprotect' call). > So, the best solution would be to modify gcc so that 'mprotect' gets > called and to tell PAX to respect 'mprotect' calls. This means using /sbin/chpax ... >> This far we have located fault on PAX process killer, so I think the >> further work is the question whether to allow post-processing command to >> be executed in test_run script in a general manner, so chpax could be >> safely executed whenever $PC is. >> > > Some time ago I modified test_run script to allow a runner program: instead > of running test directly we would call runner program giving it the > name of executable and the argument list. This was needed for testing > cross-compilers (so that runner could launch apropriate emulator), in > particular I used this to test djgpp and mingw ports (using dosemu and > wine). I could probably dig out (or recreate) the patch, but I am > not sure if such change is worth including in the standard version. ... which would IMHO make a runner program very useful in standard distribution. I hope to see it included soon, so we avoid duplicating of work. Regards, Mirsad
Previous mail
Next mail
Unformatted/full headers
Overview 10 days
Subject
Date
Thread
Author
| Author | Subject | Date |
|---|---|---|
| Waldek Hebisch | Test results gpc-20060325 on gcc-4.1.1 P.S. | 14 Feb 2007, 14:35:54 |
Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.
Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.
This page was created by Crystal 0.999 (Linux 2.4.27/i686).