http://bugs.winehq.com/show_bug.cgi?id=1440
------- Additional Comments From z_god@wanadoo.nl 2003-28-06 11:26 ------- Bug comments restored from Gmane.org:
building solaris 9 x86 (12/02) with GCC 3.2, gmake and solaris assembler (/usr/ccs/bin/as) --> not GNU as since it doesn't cope with PIC [?]
trying to make ddraw.dll yeilds the following fatal error from as: Assembler: ddraw.spec.c "ddraw.spec.s", line 30 : Syntax error "ddraw.spec.s", line 717 : Illegal mnemonic "ddraw.spec.s", line 717 : Syntax error "ddraw.spec.s", line 718 : Illegal mnemonic "ddraw.spec.s", line 718 : Syntax error "ddraw.spec.s", line 719 : Illegal mnemonic "ddraw.spec.s", line 719 : Syntax error "ddraw.spec.s", line 720 : Illegal mnemonic "ddraw.spec.s", line 720 : Syntax error "ddraw.spec.s", line 721 : Illegal mnemonic "ddraw.spec.s", line 721 : Syntax error "ddraw.spec.s", line 722 : Illegal mnemonic "ddraw.spec.s", line 722 : Syntax error "ddraw.spec.s", line 723 : Illegal mnemonic "ddraw.spec.s", line 723 : Syntax error "ddraw.spec.s", line 724 : Illegal mnemonic "ddraw.spec.s", line 724 : Syntax error "ddraw.spec.s", line 725 : Illegal mnemonic "ddraw.spec.s", line 725 : Syntax error "ddraw.spec.s", line 726 : Illegal mnemonic "ddraw.spec.s", line 726 : Syntax error "ddraw.spec.s", line 727 : Illegal mnemonic "ddraw.spec.s", line 727 : Syntax error "ddraw.spec.s", line 728 : Illegal mnemonic "ddraw.spec.s", line 728 : Syntax error "ddraw.spec.s", line 729 : Illegal mnemonic "ddraw.spec.s", line 729 : Syntax error "ddraw.spec.s", line 730 : Illegal mnemonic "ddraw.spec.s", line 730 : Syntax error "ddraw.spec.s", line 731 : Illegal mnemonic "ddraw.spec.s", line 731 : Syntax error Too many errors - Goodbye
tried using GNU as but it failed to build user.o in ddraw directory (didn't get to ddraw.o)
tried GCC 2.95.3 - same result as GCC 3.2
tried using forte 6.2 (ie sun cc) but entire wine source is predicated on GCC (hard-coded use of -fpic, etc)
ddraw.spec.s (assembler source generated by GCC) can be found at
http://www.yseda.com/~peter/wine/bugs/ddraw.spec.s
------- Additional Comments From pwl <at> yseda.com 2003-05-05 02:14 ------- *** This bug has been confirmed by popular vote. ***
------- Additional Comments From marcus <at> jet.franken.de 2003-05-05 04:24 ------- confirming your own bugs is unfair ;)
anyway, you need gas the GNU assembler to build WINE currently.
quote from README: Solaris info: You will most likely need to build Wine with the GNU toolchain (gcc, gas, etc.). Warning : installing gas does *not* ensure that it will be used by gcc. Recompiling gcc after installing gas or symlinking cc, as and ld to the gnu tools is said to be necessary.