From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18013 invoked by alias); 21 Nov 2002 08:06:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 17998 invoked by uid 71); 21 Nov 2002 08:06:01 -0000 Date: Sat, 30 Nov 2002 14:35:00 -0000 Message-ID: <20021121080601.17997.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Tim Van Holder Subject: Re: bootstrap/3867: [djgpp] eh_frame optimization check in configure is broken Reply-To: Tim Van Holder X-SW-Source: 2002-11/txt/msg01200.txt.bz2 List-Id: The following reply was made to PR bootstrap/3867; it has been noted by GNATS. From: Tim Van Holder To: bangerth@dealii.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Cc: Subject: Re: bootstrap/3867: [djgpp] eh_frame optimization check in configure is broken Date: 21 Nov 2002 08:58:15 +0100 It's not a failure as such - configure merely finds the eh_frame optimization bug when it is not present. This is still the case in gcc 3.2; configure.in contains a piece of assembler code that uses .4byte and multiple arguments for .section. Even when binutils 2.13 is used, those are NOT supported for coff targets (djgpp, mingw32), causing as to fail, and configure to assume the test failed. Using .long instead of .4byte and removing the extra arguments to .section results in an assembler file that gives the proper results for coff as well as ELF. The check for the linker's eh_frame header optimization is even more broken for those platforms, as it checks 4- and 8-byte alignments (using .${gc_WS}byte as pseudo-op); in that test it is not possible to simply replace .4byte by .long. Perhaps this is a binutils issue (perhaps as should treat .4byte as a synonym for .long for a COFF target, and silently ignore extra arguments for .section), but this has been causing gcc to misdetect eh_frame stuff on COFF platforms for quite a while now. -- Tim Van Holder