Hi,
I've built wine-20011226 on sparc with the only one issue left open:
The resource compiler wrc core dumps when hit the bitmap (BINRES) part of .rc file. There is an alignment problem inside convert_bitmap() in newstruc.c file. The alignment problem came out from BITMAPINFOHEADER struct.
But this was just the beginning!
I've commented out body of convert_bitmap() just to see what will happen when run libtest/hello test case. After running wineserver, the libtest/hello core with the same problem: Program terminated by signal BUS (invalid address alignment). This time at different place: RtlSecondsSince1970ToTime from ntdll.so (time.c) struct FILETIME.
Obviously I'll have an alignment problem with every structure in general.
Is there any guideline for this kind of problem?
Thanks Srdjan
Hi Srdjan,
Few weeks ago I asked for a friend of mine which wanted to do exactly what you're trying to do - so I suggest you browse the archive to read those old emails..
Also, could you (when you're reaching some milestone in this port) give back the diffs please? or is this a closed source project? I know lots of people who got those blade machines who would love to run Wine.
Thanks, Hetz
On Tuesday 22 January 2002 21:54, Srdjan Matovina -- Customer Engineering wrote:
Hi,
I've built wine-20011226 on sparc with the only one issue left open:
The resource compiler wrc core dumps when hit the bitmap (BINRES) part of .rc file. There is an alignment problem inside convert_bitmap() in newstruc.c file. The alignment problem came out from BITMAPINFOHEADER struct.
But this was just the beginning!
I've commented out body of convert_bitmap() just to see what will happen when run libtest/hello test case. After running wineserver, the libtest/hello core with the same problem: Program terminated by signal BUS (invalid address alignment). This time at different place: RtlSecondsSince1970ToTime from ntdll.so (time.c) struct FILETIME.
Obviously I'll have an alignment problem with every structure in general.
Is there any guideline for this kind of problem?
Thanks Srdjan