> From: Marco van de Voort <mar...@stack.nl> > Subject: Re: [fpc-devel] Error compiling trunk on FreeBSD > To: "FPC developers' list" <fpc-devel@lists.freepascal.org> > Date: Wednesday, March 2, 2011, 11:31 AM > In our previous episode, Leonardo M. > Ram? said: > > >Thanks for pointing that out, I was using 2.15, and in > /usr/local I have 2.21. > > If you can compile it now, please post the result of > > objdump -d cpu.o (the > InterlockedCompareExchange128 part). > > Thanks. (this is also in fixes, and needs to be fixes asap > because of 2.4.4)
I successfully compiled it with this command: gmake clean all OPT="-FD/usr/local/bin" Here's the dump: cpu.o: file format elf64-x86-64 Disassembly of section .text: 0000000000000000 <CPU_INTERLOCKEDCOMPAREEXCHANGE128SUPPORT$$BOOLEAN>: 0: 8a 04 25 00 00 00 00 mov 0x0,%al 7: c3 retq 0000000000000008 <CPU_INTERLOCKEDCOMPAREEXCHANGE128$INT128REC$INT128REC$INT128REC$$INT128REC>: 8: 55 push %rbp 9: 48 89 e5 mov %rsp,%rbp c: 48 83 ec 10 sub $0x10,%rsp 10: 53 push %rbx 11: 51 push %rcx 12: 49 8b 18 mov (%r8),%rbx 15: 49 8b 48 08 mov 0x8(%r8),%rcx 19: 49 89 d0 mov %rdx,%r8 1c: 49 8b 01 mov (%r9),%rax 1f: 49 8b 51 08 mov 0x8(%r9),%rdx 23: f0 49 0f c7 08 rex64Z lock cmpxchg8b (%r8) 28: 59 pop %rcx 29: 48 89 01 mov %rax,(%rcx) 2c: 48 89 51 08 mov %rdx,0x8(%rcx) 30: 5b pop %rbx 31: c9 leaveq 32: c3 retq 33: 0f 1f (bad) 35: 44 00 00 add %r8b,(%rax) Leonardo M. Ramé http://leonardorame.blogspot.com _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel