This is the mail archive of the libffi-discuss@sourceware.org mailing list for the libffi project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PowerPC failures


On 24.02.2011 23:37, Anthony Green wrote:
David Gilbert<david.gilbert@linaro.org> writes:

It seems to be a 32 v 64 issue. It's got a 64bit kernel but by default
gcc is producing 32bit
binaries, the __powerpc64__ flag is only set if -m64 is passed.
However, config.guess is saying
it's a powerpc64-unknown-linux-gnu - and hence that's the directory
that was created.

I just built and tested on powerpc64-unknown-linux-gnu with both -m32 and -m64 and both worked fine (and I made sure that it was actually generating 32- and 64-bit binaries respectively). Something funky is definitely going on here. I'll look into it more tomorrow.

for me the easiest way to test is to enter the chroot with `linux32', or prefix the configure and make calls. then I make sure that the userland is detected as 32bit while running a 64bit kernel.


Matthias


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]