1.5.18: ld command generates stackdump

Eric Blake ebb9@byu.net
Mon Oct 10 12:13:00 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Peter J. Stieber on 10/9/2005 7:59 PM:
> It's attached. I added the -t command to the g++ command so the loader
> would list the files it was processing when it breaks. The name of the
> object file in the last line should be SimpleInterpolationTable.o, but
> it gets truncated.

> (/home/pete/Build/lib/libUtilityg.a)SimpleInterpolmake: *** [slamem.exe]
> Error 1

You may be hitting command line length limitations.  I'm wondering if the
core dump happens because the truncated argument was not NUL-terminated.
Have you considered bundling arguments into a temporary file, then passing
@filename as the lone argument to ld, to bypass the command-line length
limitations?  You may also want to try mounting ld's directory as cygexec,
or trying a recent snapshot, both of which use cygwin magic to increase
the command-line length of cygwin applications.

- --
Life is short - so eat dessert first!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDSlrb84KuGfSFAYARAkrWAJ9qZ0dF31O4N1jjXv8k683REdnQfwCgv0Z/
UfYLX90tEDM87fyFdHL25po=
=BqfA
-----END PGP SIGNATURE-----

--
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/



More information about the Cygwin mailing list