GMP 5.0.5 build fails with tcc due to x86_64 asm (unknown register...)
Vincent Lefevre
vincent at vinc17.net
Wed Jun 20 11:45:09 CEST 2012
On 2012-06-20 11:37:03 +0200, Torbjorn Granlund wrote:
> Vincent Lefevre <vincent at vinc17.net> writes:
>
> On 2012-06-19 23:36:49 +0200, Torbjorn Granlund wrote:
> > What does the dear POSIX documents tell about translating assembly code
> > to object code? Oh, they don't define that? Oppsie, we must remove all
> > assembly code from GMP right away...!
>
> Not to remove it, but to make it *optional*, i.e. to have a fallback
> in C.
>
> But wait, I think it is highly risky to even try using a command that is
> for compiling C for anything else. Didn't you say the POSIX standard
> behaviour is undefined when feeding assembly files to such a command?
At least a diagnostic is required.
> Then, it could delete random files, send embarassing mail, or even cause
> demons to fly out if your nose?
Even with conforming C code, due to implementation limits.
--
Vincent Lefèvre <vincent at vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
More information about the gmp-discuss
mailing list