http://bugs.winehq.org/show_bug.cgi?id=24470
Summary: winegcc: 32-bit libs are not found with -m32 on 64-bit host Product: Wine Version: 1.3.3 Platform: x86-64 OS/Version: Linux Status: NEW Keywords: regression Severity: major Priority: P2 Component: build-env AssignedTo: wine-bugs@winehq.org ReportedBy: nerv@dawncrow.de
Use a 64-bit Linux, and save following as main.c:
#include <windows.h> int main(int argc, char **argv) { MessageBoxA(0,"test","app",0); return 0; }
in the folder containing that file type: winegcc main.c -m32 -o main.exe.so
you can verify the normal behaviour with: winegcc main.c -o main64.exe.so
but you will get a 64-bit winelib app.
this worked before, so i added regression. other projects like lmms depend on that, so setting keyword regression
see also Bug 24402
http://bugs.winehq.org/show_bug.cgi?id=24470
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|regression | Severity|major |normal
--- Comment #1 from Alexandre Julliard julliard@winehq.org 2010-09-19 13:42:49 CDT --- That's not a regression, it has never been properly supported.
http://bugs.winehq.org/show_bug.cgi?id=24470
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #2 from André H. nerv@dawncrow.de 2010-10-26 13:26:44 CDT --- should be fixed now by 81b1c3ed60855d317ed3828b7e2378f63e5c73bf
http://bugs.winehq.org/show_bug.cgi?id=24470
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org 2010-10-29 12:57:21 CDT --- Closing bugs fixed in 1.3.6.
http://bugs.winehq.org/show_bug.cgi?id=24470
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.2.x
http://bugs.winehq.org/show_bug.cgi?id=24470
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.2.x |---
--- Comment #4 from Alexandre Julliard julliard@winehq.org 2010-12-03 12:51:43 CST --- Removing 1.2.x milestone from bugs included in 1.2.2.
http://bugs.winehq.org/show_bug.cgi?id=24470
Jesse jesse.pepper@thinkbottomup.com.au changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jesse.pepper@thinkbottomup. | |com.au
--- Comment #5 from Jesse jesse.pepper@thinkbottomup.com.au 2012-09-19 02:57:50 CDT --- Hi, I'm using wine-dev 1.4:
wine1.4-dev is already the newest version.
But I still get this problem:
$ winegcc main.c -m32 -o main.exe.so /usr/bin/ld: Relocatable linking with relocations from format elf64-x86-64 (/usr/lib/x86_64-linux-gnu/wine/libwinecrt0.a(exe_entry.o)) to format elf32-i386 (main.0Ipbo4.o) is not supported winebuild: /usr/bin/ld failed with status 1 winegcc: winebuild failed
Is this a regression, or am I doing something wrong?
http://bugs.winehq.org/show_bug.cgi?id=24470
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |81b1c3ed60855d317ed3828b7e2 | |378f63e5c73bf
--- Comment #6 from André H. nerv@dawncrow.de 2012-09-19 11:53:32 CDT --- which distro do you use and which gcc version? did you installed the 32-bit libraries, or where are your 32-bit wine libs?
http://bugs.winehq.org/show_bug.cgi?id=24470
--- Comment #7 from Jesse jesse.pepper@thinkbottomup.com.au 2012-09-19 20:24:03 CDT --- Ubuntu Precise Pangolin 10.04 gcc 4.6.
I'm not sure what you're asking when you say: "did you installed the 32-bit libraries, or where are your 32-bit wine libs?"
Can you clarify?
http://bugs.winehq.org/show_bug.cgi?id=24470
--- Comment #8 from André H. nerv@dawncrow.de 2012-09-20 13:03:01 CDT --- if you find msvcrt.dll.so with $ ls /usr/lib/i386-linux-gnu/wine/msvcrt.dll.so then we simply don't support the new naming scheme and i think this diserves a new bug. open a new bug if so and add this bug under "see also".
http://bugs.winehq.org/show_bug.cgi?id=24470
--- Comment #9 from Jesse jesse.pepper@thinkbottomup.com.au 2012-09-20 20:25:17 CDT --- Hi André, The file /usr/lib/i386-linux-gnu/wine/msvcrt.dll.so does exist. However, I have no idea what you are saying with regard to the new naming scheme. It seems like if you know what the bug is, you'd be the right person to submit that bug. Will you do it?
http://bugs.winehq.org/show_bug.cgi?id=24470
--- Comment #10 from André H. nerv@dawncrow.de 2012-09-24 13:20:37 CDT --- I can't test that bug here right now, so you are a better reporter, just tell something like in Comment #5. I think it's about distros placing 32-bit libs in /usr/lib/i386-linux-gnu/ instead of /usr/lib32/ Be free to mention that
http://bugs.winehq.org/show_bug.cgi?id=24470
--- Comment #11 from André H. nerv@dawncrow.de 2012-09-25 13:01:08 CDT --- thx, this went to bug 31790