Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14444.40871.302269.920827@localhost.localdomain> Date: Fri, 31 Dec 1999 14:20:55 +0200 (EET) To: cygwin AT sourceware DOT cygnus DOT com Subject: gcc 2.95.2 on Cygwin X-Mailer: VM 6.63 under 20.4 "Emerald" XEmacs Lucid Hi! I would like to report some heavy bugs in gcc 2.95.2 on Cygwin on NT 4.0 SP3. I have used happily 2.95.2 to produce exactly the same version of my program on Linux, Solaris and all BSD variants. However on Cygwin b20.1, I had sever problems. My program comprises C libs for MySQL C API, C++ lib for MySQL C++ API, fltk lib and sources. I have installed full.exe, and after that gcc by untarring it in /cygnus/cygwin directory. In everything I followed precisely instructions. I must point out, that I have not installed other tools, like binutils or win-api binaries from the same ftp directory. This mail simply serves the purpose of whether you would like more detailed info on the source itself. Well, with -O3 option, my program core dumped and receives 100 SIGTRAPs in various points in the code. Also, fltk's method timeout_callback, which relies on poll and select methods, did not work at all !! Many SIGSGV's were present !! With -O0 things went better and number of SIGTRAPs was significantly reduced, and SIGSEGV's reduced to three. When I erased everything, reinstalled just full.exe and recompiled everything with old compiler that comes with full.exe, everything works. No SIGTRAP's, no SIGSEGV's, timeout works. Without a single change of code !! Thanks in advance, Sinisa +----------------------------------------------------------------------+ | TcX ____ __ _____ _____ ___ == mysql AT tcx DOT se | | /*/\*\/\*\ /*/ \*\ /*/ \*\ |*| Sinisa Milivojevic | | /*/ /*/ /*/ \*\_ |*| |*||*| mailto:sinisa AT mysql DOT com | | /*/ /*/ /*/\*\/*/ \*\|*| |*||*| Larnaka, Cyprus | | /*/ /*/ /*/\*\_/*/ \*\_/*/ |*|____ | | ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^ | | /*/ \*\ Developers Team | +----------------------------------------------------------------------+ -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com