Parrot broken yet again: x86/long double and SPARC/any config
Reini Urban
rurban at x-ray.at
Mon Feb 23 12:32:43 UTC 2009
2009/2/15 Andy Dougherty <doughera at lafayette.edu>:
> On Sun, 15 Feb 2009, Andrew Dougherty wrote:
>
>> This weekend, I tried to build several configurations of parrot. All
>> failed! Something's gone wrong in the packfile stuff.
>
> I forgot to mention: This was svn r36689
r36854 was against your first problem, the other problems should also be fixed.
My compilers didn't catch that because I don't have this arch to test.
I've added a whole bunch of new float converters.
A 2nd problem on Sparc64 was tracked at TT #364,
And I thought that this is a more general problem, that cannot be solved easily.
But your were saying it worked before fine. Do you relax ptr alignment ?
-xmemalign=4i for example?
$ svn log src/packfile/pf_items.c | head -n 60
------------------------------------------------------------------------
r36864 | rurban | 2009-02-18 20:49:40 +0100 (Wed, 18 Feb 2009) | 4 lines
TT #308. cvt_num8_num12 tested ok, so cheap compiler casts work ok.
- fixed a ptr problem.
------------------------------------------------------------------------
r36854 | rurban | 2009-02-18 08:33:57 +0100 (Wed, 18 Feb 2009) | 3 lines
[core] fix compilation on Solaris/SPARC as reported by Andy Dougherty
- cvt_num12_num8_le was missing
------------------------------------------------------------------------
r36843 | rurban | 2009-02-17 23:41:49 +0100 (Tue, 17 Feb 2009) | 1 line
[pbc] Fix when TRACE_PACKFILE is enabled. Use special macro for the converters,
------------------------------------------------------------------------
r36819 | rurban | 2009-02-17 18:28:58 +0100 (Tue, 17 Feb 2009) | 9 lines
TT #308: immediate fix for 64bit big-endian
- add two missing functions for 64bit big-endian
- change endianize transformers: first endianize, then convert
- describe the three floatformats in detail
- start with prototypes for 16->8, 12-16, 16->12
and the simplier casting versions for 8->16, 8->12
- disable target conversions for non-matching targets (smaller obj size)
------------------------------------------------------------------------
r36806 | Infinoid | 2009-02-17 05:30:58 +0100 (Tue, 17 Feb 2009) | 1 line
[cage] Fix up several codetest failures in src/packfile/pf_items.c.
------------------------------------------------------------------------
r36802 | chromatic | 2009-02-16 22:19:50 +0100 (Mon, 16 Feb 2009) | 3 lines
[src] Fixed compiler warnings about memory overflows during memcpy(). I'm not
sure these are correct, but they don't warn and all tests pass. If they're
still wrong, that's because the code assumes too much.
------------------------------------------------------------------------
r36772 | rurban | 2009-02-15 21:09:04 +0100 (Sun, 15 Feb 2009) | 1 line
[core] add more needed 12 + 16 double byte transformers. switch trick
by Infinoid.
...
------------------------------------------------------------------------
r36689 | rurban | 2009-02-13 22:12:06 +0100 (Fri, 13 Feb 2009) | 6 lines
TT #308 add 16-byte long double
- Initial patch by Andy Dougherty
- Fixed 3 wrong tests and added new transformers
- Updated native_pbc tests and tools/dev/mk_native_pbc --noconf
- Added FLOATTYPE macros and even a 32-byte endianizer
--
Reini Urban
http://phpwiki.org/ http://murbreak.at/
More information about the parrot-dev
mailing list