http://bugs.winehq.org/show_bug.cgi?id=17046
Summary: GCC/cygwin can't compile executables Product: Wine Version: 1.1.13 Platform: PC URL: http://cygwin.com/ OS/Version: Linux Status: NEW Keywords: download, source Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com Depends on: 12721
austin@austin-desktop /cygdrive/c/cygwin $ cat hello.c #include <stdio.h> main() { for(;;) { printf ("Hello World!\n"); } }
austin@austin-desktop /cygdrive/c/cygwin $ gcc -o hello hello.c /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/as.exe: /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/as.exe: cannot execute binary file
Nothing useful in wine's output, just: fixme:ntdll:NtQueryVolumeInformationFile 0x1c: volume info not supported fixme:advapi:ImpersonateLoggedOnUser (0xd8)
Running as.exe on its own looks like 12721, so may be a dupe of bug 12721. Either way, compiling programs is pretty important, so I think it deserves its own bug.
http://bugs.winehq.org/show_bug.cgi?id=17046
Peter Ross pross@xvid.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pross@xvid.org
--- Comment #1 from Peter Ross pross@xvid.org 2009-03-19 05:19:16 --- This is caused by a missing feature or bug in wine that breaks cygwin's symlink implementation. A cygwin symlink (sometimes called a fake symlink or simulated symlink) is a file containing the text '!<symlink>path/to/target\0'.
All the files in /usr/i686-pc-cygwin/bin are cygwin symlink's to the actual binary files in /usr/bin. Wine refuses to execute the symlink files, and therefore gcc fails.
Until this bug is resolved, the following script can used to get cygwin gcc working:
for x in ar.exe as.exe ld.exe nm.exe ranlib.exe strip.exe ; do rm /usr/i686-pc-cygwin/bin/$x ln -s /usr/bin/$x /usr/i686-pc-cygwin/$x done
http://bugs.winehq.org/show_bug.cgi?id=17046
--- Comment #2 from Peter Ross pross@xvid.org 2009-03-19 05:29:29 --- Duplicate of http://bugs.winehq.org/show_bug.cgi?id=15679
http://bugs.winehq.org/show_bug.cgi?id=17046
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE
--- Comment #3 from Jeff Zaroyko jeffz@jeffz.name 2009-03-19 05:33:41 --- dup
*** This bug has been marked as a duplicate of bug 15679 ***
http://bugs.winehq.org/show_bug.cgi?id=17046
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Jeff Zaroyko jeffz@jeffz.name 2009-03-19 05:34:44 --- closing
http://bugs.winehq.org/show_bug.cgi?id=17046
Bug 17046 depends on bug 12721, which changed state.
Bug 12721 Summary: Various cygwin executables fail with Exception: STATUS_ACCESS_VIOLATION http://bugs.winehq.org/show_bug.cgi?id=12721
What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED