Erik de Castro Lopo
2010-Oct-31 02:31 UTC
[LLVMdev] PowerPC : Assertion `MovePCtoLROffset & & " MovePCtoLR not seen yet?" ' failed.
D. Johnson wrote:> I added build, host, target = ppc-unknown-linux-gnu and enabled libffi. One of > hese gets rid of the assert errors. I'm guessing the B,H,T addition.Confirmed. Configuring with: ./configure --host=ppc-unknown-linux-gnu --build=ppc-unknown-linux-gnu \ --target=ppc-unknown-linux-gnu passed all tests.> Configure script guessed ppc64.I suspect that this is because you and I are both running 32 bit user space on a 64 bit kernel. I'm running Debian Testing. Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/
Török Edwin
2010-Nov-04 15:46 UTC
[LLVMdev] PowerPC : Assertion `MovePCtoLROffset & & " MovePCtoLR not seen yet?" ' failed.
On Sun, 31 Oct 2010 13:31:58 +1100 Erik de Castro Lopo <mle+cl at mega-nerd.com> wrote:> D. Johnson wrote: > > > I added build, host, target = ppc-unknown-linux-gnu and enabled > > libffi. One of hese gets rid of the assert errors. I'm guessing the > > B,H,T addition. > > Confirmed. Configuring with: > > ./configure --host=ppc-unknown-linux-gnu > --build=ppc-unknown-linux-gnu \ --target=ppc-unknown-linux-gnu > > passed all tests. > > > Configure script guessed ppc64. > > I suspect that this is because you and I are both running 32 bit user > space on a 64 bit kernel. I'm running Debian Testing.I've seen this problem too, with same situation (64 kernel, 32 userspace). Looks like configure is wrong about the target? Best regards, --Edwin
Erik de Castro Lopo
2010-Nov-05 23:56 UTC
[LLVMdev] PowerPC : Assertion `MovePCtoLROffset && "MovePCtoLR not seen yet?"' failed.
Török Edwin wrote:> I've seen this problem too, with same situation (64 kernel, 32 > userspace). Looks like configure is wrong about the target?Actually, I'm not sure. Even though my debian PPC machine has a 64 bit kernel with a 32 bit userspace, it does support 64 bit programs. The distro supplied C compiler by default generates 32 bit binaries but if I pass it -m64 on the command line will generate 64 bit binaries. It would be however be nice if the configure could do the right thing on systems with 64 bit kernel and 32 bit userspace. Cheers, Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/
Seemingly Similar Threads
- [LLVMdev] PowerPC : Assertion `MovePCtoLROffset && "MovePCtoLR not seen yet?"' failed.
- [LLVMdev] PowerPC : Assertion `MovePCtoLROffset & & " MovePCtoLR not seen yet?" ' failed.
- [LLVMdev] PowerPC : Assertion `MovePCtoLROffset && "MovePCtoLR not seen yet?"' failed.
- [LLVMdev] PowerPC : Assertion `MovePCtoLROffset & & " MovePCtoLR not seen yet?" ' failed.
- [LLVMdev] PowerPC : Assertion `MovePCtoLROffset & & " MovePCtoLR not seen yet?" ' failed.