Mail Archives: cygwin/2005/10/07/02:19:30
On Thu, 2005-10-06 at 22:02 -0700, Brian Dessent wrote:
> I seriously doubt that vmware has anything to do with it. You need to
> figure out why ld cannot be executed. Try -v.
I have checked all the paths in the output and they exist. All
executables that are called seem to respond to running the executable
with --version *except* "as" and "ld".
1. /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/as.exe shows nothing.
2. /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld
shows a message box about an error in a 16-bits MS-DOS subsystem (in
Dutch) saying that the NTVDM-CPU encountered an invalid instruction.
Inspecting that directory shows that all files (ar.exe, as.exe, ld.exe,
nm.exe, ranlib.exe and strip.exe) are only 26 bytes big (are they
actually symlinks?). Running /usr/bin/ld works OK.
If the files are symlinks than the remarks about symlinks on Samba
shares would apply (can anyone confirm or deny that: I do not have any
Windows machine to check it?) . But I have enabled the symlink stuff
from the FAQs (map system = yes and create mask = 0775)....
So are the files
in /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/
actually symlinks?
Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs
Configured with: /gcc/gcc-3.4.4/gcc-3.4.4-1/configure --verbose
--prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib
--libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info
--enable-languages=c,ada,c++,d,f77,java,objc --enable-nls
--without-included-gettext --enable-version-specific-runtime-libs
--without-x --enable-libgcj --disable-java-awt --with-system-zlib
--enable-interpreter --disable-libgcj-debug --enable-threads=posix
--enable-java-gc=boehm --disable-win32-registry --enable-sjlj-exceptions
--enable-hash-synchronization --enable-libstdcxx-debug : (reconfigured)
Thread model: posix
gcc version 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)
/usr/lib/gcc/i686-pc-cygwin/3.4.4/cc1.exe -quiet -v -D__CYGWIN32__
-D__CYGWIN__ -Dunix -D__unix__ -D__unix
-idirafter /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api
-idirafter /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/lib/../../include/w32api test.c -quiet -dumpbase test.c -mtune=pentiumpro -auxbase test -version -o /cygdrive/c/DOCUME~1/ADMINI~1.ASK/LOCALS~1/Temp/ccC78L2H.s
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory
"/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/include"
ignoring duplicate directory
"/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/lib/../../include/w32api"
#include "..." search starts here:
#include <...> search starts here:
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include
/usr/include
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api
End of search list.
GNU C version 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)
(i686-pc-cygwin)
compiled by GNU C version 3.4.4 (cygming special) (gdc 0.12, using dmd
0.125).
GGC heuristics: --param ggc-min-expand=47 --param ggc-min-heapsize=32702
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/as.exe
-o /cygdrive/c/DOCUME~1/ADMINI~1.ASK/LOCALS~1/Temp/ccgvKskz.o /cygdrive/c/DOCUME~1/ADMINI~1.ASK/LOCALS~1/Temp/ccC78L2H.s
/usr/lib/gcc/i686-pc-cygwin/3.4.4/collect2.exe -Bdynamic
--dll-search-prefix=cyg -o
test.exe /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../crt0.o
-L/usr/lib/gcc/i686-pc-cygwin/3.4.4 -L/usr/lib/gcc/i686-pc-cygwin/3.4.4
-L/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../.. /cygdrive/c/DOCUME~1/ADMINI~1.ASK/LOCALS~1/Temp/ccgvKskz.o -lgcc -lcygwin -luser32 -lkernel32 -ladvapi32 -lshell32 -lgcc
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld:
installation problem, cannot exec
'/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld':
Invalid argument
collect2: ld returned 255 exit status
--
Groeten,
Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
e-mail: J DOT Kraaijeveld AT Askesis DOT nl
web: www.askesis.nl
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -