[Bug 29021] powerpc32 build broken on 64-bit hosts: /usr/bin/ld: powerpc:common architecture of input file `c_037.o' is incompatible with powerpc:common64 output

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Nov 7 14:43:14 CST 2011


http://bugs.winehq.org/show_bug.cgi?id=29021

--- Comment #2 from Austin English <austinenglish at gmail.com> 2011-11-07 14:43:14 CST ---
(In reply to comment #1)
> User error, -m32 needs to be part of CC not CFLAGS.

Doing that still fails:
`CC="gcc -m32" ./configure && make`

make[1]: Entering directory `/home/austin/wine-git/dlls/acledit'
../../tools/winegcc/winegcc  -B../../tools/winebuild --sysroot=../..
-fasynchronous-unwind-tables -shared ./acledit.spec main.o          -o
acledit.dll.so    ../../libs/port/libwine_port.a   
/usr/bin/ld: Relocatable linking with relocations from format elf32-powerpc
(main.o) to format elf64-powerpc (acledit.Cwk97h.o) is not supported
winebuild: /usr/bin/ld failed with status 1
winegcc: ../../tools/winebuild/winebuild failed
make[1]: *** [acledit.dll.so] Error 2
make[1]: Leaving directory `/home/austin/wine-git/dlls/acledit'
make: *** [dlls/acledit] Error 2

[austin at gcc1-power7 acledit]$ make clean
rm -f *.o *.a *.so *.mo *.ln *.res *.fake *.so \#*\# *~ *% .\#* *.bak *.orig
*.rej *.flc core                    
rm -f 
[austin at gcc1-power7 acledit]$ make
gcc -m32 -c -I. -I. -I../../include -I../../include  -D__WINESRC__ 
-D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing
-Wdeclaration-after-statement -Wempty-body -Wstrict-prototypes -Wtype-limits
-Wunused-but-set-parameter -Wwrite-strings -Wpointer-arith -Wlogical-op
-I/usr/include/freetype2  -g -O2  -o main.o main.c
../../tools/winegcc/winegcc  -B../../tools/winebuild --sysroot=../..
-fasynchronous-unwind-tables -shared ./acledit.spec main.o          -o
acledit.dll.so    ../../libs/port/libwine_port.a   
/usr/bin/ld: Relocatable linking with relocations from format elf32-powerpc
(main.o) to format elf64-powerpc (acledit.UP0HNO.o) is not supported
winebuild: /usr/bin/ld failed with status 1
winegcc: ../../tools/winebuild/winebuild failed
make: *** [acledit.dll.so] Error 2

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list