[Bug 24402] winegcc does not properly pass cmdline args, e.g. -Wb,--as-cmd="as --32"

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Sep 16 06:24:03 CDT 2010


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

--- Comment #4 from Armin Kazmi <armin.kazmi at tu-dortmund.de> 2010-09-16 06:24:02 CDT ---
@Alexandre Julliard:

The specific problem is that I try to compile 32bit code using an 64bit host
(with both wine versions available). Only using winegcc test.c -o test -m32
(and well, -m32 is crucial here) results in the following error message:

/usr/bin/ld: Relocatable linking with relocations from format elf64-x86-64
(/usr/lib/wine/libwinecrt0.a(exe_entry.o)) to format elf32-i386 (test.ayxZu1.o)
is not supported
winebuild: /usr/bin/ld failed with status 1
winegcc: winebuild failed


Also adding the 32bit search path for ld using -Wb,-L /usr/lib32 does not
change anything here. I'd also like to add that this error (more precise,
building lmms vst plugin which uses the following extra cflags "-m32
-Wb,--as-cmd='as --32',--ld-cmd='ld -melf_i386' -L/usr/lib32") does not occur
with wine 1.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