[fpc-devel] Error compiling trunk on FreeBSD

Marco van de Voort marcov at stack.nl
Wed Mar 2 10:56:32 CET 2011


In our previous episode, Alexander Klenin said:
> On Tue, Mar 1, 2011 at 03:07, Leonardo M. Ram? <martinrame at yahoo.com> wrote:
> > Hi, I'm trying to compile the r17057 on FreeBSD x86_64 and I'm getting this error:
> >
> > fpc/rtl/units/x86_64-freebsd/cpu.s:40: Error: no such instruction: `cmpxchg16b (%r8)
> >
> > Any hint?
> 
> It seems you should upgrade your assembler/binutils?

Binutils 2.15 is the lastest binutils under GPLv2. FreeBSD does not accept
GPLv3 code into the base system afaik.

It will have to be ifdefed or written out with db.

Can sb with a x86_64 linux objdump the generated file and post the relevant
fragment on the list? Thanks.



More information about the fpc-devel mailing list