Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Tue, 10 Dec 2002 10:05:40 +0100 Message-ID: <3DF0645A00006141@mail-7.tiscalinet.it> From: fabrizio_ge-wolit AT tiscali DOT it Subject: "Segmentation fault" error in ld To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id gBA967w04837 The version of ld distributed with Cygwin (version 2.13.90 20021118) exits with a "segmentation fault" error when launched with the -shared option and passed a .def file with a syntax error. An example: create a file with a .def extension, and the following content ----------------- LIBRARY lib BASE 0x400000 EXPORTS dllwrite ----------------- (the syntax in line 1 is incorrect, there should be a = sign between BASE and 0x400000 instead of a space) and type: ld -shared -o The output is ld: <.def file>:1: parse error Segmantation fault (core dumped) __________________________________________________________________ Tiscali ADSL. Scopri la fantastica promozione di Natale: tutto Gratis fino al 9 gennaio! Abbonati ora: prima ti abboni, pił risparmi! http://point.tiscali.it/adsl/index.shtml -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/