wine-20021219: problem building wineconsole on PPC running YDL Linux

Joseph E. Sacco, Ph.D. jsacco at earthlink.net
Sun Dec 22 20:12:35 CST 2002


System:

* PowerMac with dual 533Mhz G4 processors,  1 GB RAM, 73GB SCSI disk
* Yellow Dog Linux 2.3 [with all up-to-date upgrades via apt-get]
* wine-20021219
* glibc-2.2.5
* gcc-2.95.4 && gcc-3.2.1

============================================================================

I have encountered a problem building wineconsole:

---------
make[2]: Entering directory 
`/usr/local/src/wine-20021219/programs/wineconsole'
/usr/local/GCC-3.2/bin/gcc -c -I. -I. -I../../include -I../../include  -g -O2 
-Wall  -fPIC -DNONAMELESSUNION -DNONAMELESSSTRUCT -DUNICODE -D_REENTRANT -o 
wineconsole.exe.spec.o 
/tmp/ccr4yZX6.s: Assembler messages:
/tmp/ccr4yZX6.s:1639: Error: operand out of range (65536 not between -32768 
and 32767)
/tmp/ccr4yZX6.s:1643: Error: operand out of range (65537 not between -32768 
and 32767)
/tmp/ccr4yZX6.s:1647: Error: operand out of range (65538 not between -32768 
and 32767)
                                  ...

/tmp/cc1odKXe.s:1907: Error: operand out of range (65603 not between -32768 
and 32767)
/tmp/cc1odKXe.s:1911: Error: operand out of range (131072 not between -32768 
and 32767)
/tmp/cc1odKXe.s:1915: Error: operand out of range (131073 not between -32768 
and 32767)
                                  ...

/tmp/ccr4yZX6.s:1975: Error: operand out of range (131088 not between -32768 
and 32767)
/tmp/ccr4yZX6.s:1979: Error: operand out of range (131089 not between -32768 
and 32767)

---------

The generated file:

	wineconsole.exe.spec.c

contains values that are out of range for a 16 bit signed integer:

                                  ...
    "\t.type __wine_delay_imp_1_AdjustWindowRect, at function\n"
    "__wine_delay_imp_1_AdjustWindowRect:\n"
    "\tli  %r0, 65536\n"
    "\tb  __wine_delay_load_asm\n"
    "\t.type __wine_delay_imp_1_BeginPaint, at function\n"
    "__wine_delay_imp_1_BeginPaint:\n"
    "\tli  %r0, 65537\n"

                                ...

I  thought this might be a compiler problem so I explored building both with 
gcc-2.95.4 and gcc-3.2.1.  The results are the same.  That leads me to 
believe that there is something amiss with winebuild, which is used to 
generate the spec file.


Thoughts??


-Joseph

-- 
Joseph E. Sacco, Ph.D.
J.E. Sacco & Associates, Inc.
69 Aaron Way
Carlisle, MA 01741-1324



More information about the wine-bugs mailing list