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] |
On 26.12.09 11:11, Andreas Schwab wrote:Andreas Tobler<andreast-list@fgznet.ch> writes:
This huge_struct test fails under powerpc-*-linux
See<http://sourceware.org/ml/libffi-discuss/2009/msg00337.html> and <http://sourceware.org/ml/libffi-discuss/2009/msg00360.html>.
Thank you Andreas!
With the patch mentioned above the FreeBSD and Linux PowerPC port pass w/o failure.
Additionally, if I apply the attached diff, I also pass the huge_struct test case on i386-pc-solaris2.11 and sparc-sun-solaris2.10 (It also passes on all other archs here.)
The issue is this, the %p modifier for printf under solaris does not add a leading 0x. So I modified the test case to use %#x and cast the value to (unsigned int). Do you think this feasible?
Thanks, Andreas
Attachment:
huge_struct.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |