Bugzilla – Bug 2009
"main" not compatible with lli
Last modified: 2009-03-10 04:14:50
You need to log in before you can comment on or make changes to this bug.
The Ada front-end generates a "main" with a bogus prototype as far as lli is concerned (it uses integers rather than pointers for argv and envp).
In general, unless you are really careful about the main prototype, lli will fail. Perhaps the lli code should be refactored to be more forgiving?
I agree - it should at least support everything which is ABI compatible with main, eg: a main which uses integers instead of pointers as long as they are of pointer size.