X-Spam-Check-By: sourceware.org From: "Dave Korn" To: References: <4602FE46 DOT 50E27743 AT dessent DOT net> <014b01c76e78$3be56a10$2e08a8c0 AT CAM DOT ARTIMI DOT COM> Subject: RE: Building GCC 4.3.0 on Cygwin... Date: Wed, 28 Mar 2007 20:09:34 +0100 Message-ID: <005301c7716c$9f1ef000$2e08a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <014b01c76e78$3be56a10$2e08a8c0@CAM.ARTIMI.COM> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On 25 March 2007 00:55, Dave Korn wrote: > On 22 March 2007 22:08, Brian Dessent wrote: > >> The real problem seems to be that the libgcc is broken: > >> /home/User/cvsroot/gcc-obj/./prev-gcc/libgcc.a(_ctors.o): In function >> `__sgetc_r': /usr/include/stdio.h:414: undefined reference to `_ungetc' >> /usr/include/stdio.h:410: undefined reference to `___srget_r' >> /usr/include/stdio.h:407: undefined reference to `___srget_r' >> collect2: ld returned 1 exit status >> >> It looks like a problem with some function being defined as a macro when >> it shouldn't, or vice versa. > > > Inlines, as it turns out. Patch prepared, I'll finish writing it up and submit to the newlib list later tonight, but first I'm going to have a celebratory beer or two on the way home... ;-) cheersh! DaveK -- Can't think of a witty .sigline today.... -- 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/