From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1814 invoked by alias); 15 May 2006 11:12:53 -0000 Received: (qmail 1804 invoked by uid 22791); 15 May 2006 11:12:52 -0000 X-Spam-Check-By: sourceware.org Received: from roura.ac.upc.es (HELO roura.ac.upc.es) (147.83.33.10) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 15 May 2006 11:12:49 +0000 Received: from [147.83.34.201] (dync-34-201.ac.upc.es [147.83.34.201]) by roura.ac.upc.es (8.13.6/8.13.6) with ESMTP id k4FBCibJ016670 for ; Mon, 15 May 2006 13:12:45 +0200 Message-ID: <4468622C.8050307@ac.upc.edu> Date: Mon, 15 May 2006 22:39:00 -0000 From: Mauricio Alvarez User-Agent: Mozilla Thunderbird 1.0.8 (X11/20060502) MIME-Version: 1.0 To: binutils@sourceware.org Subject: Re: problems with gas in AIX 5.2 References: <4464BD35.2030006@ac.upc.edu> <44685480.6060505@redhat.com> In-Reply-To: <44685480.6060505@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2006-05/txt/msg00259.txt.bz2 Nick Clifton wrote: > Hi Mauricio, Hi Nick and others thanks for your reply > > Why not use gcc-4.0.2 to assemble the file as well ? ie why use a > different assembler from the one that forms part of the gcc-4.0.2 > toolchain ? I have built gcc-4.0.2 with the native (IBM) assembler and linker, with these toolchain "my" application compiles and assembles correctly. I can not build gcc with binutils because there is some documented problems of building gcc with binutils on AIX 5.2. But, I want to use binutils because I want to do some modifications in the assembler. So, I have to build gcc with the native assembler and to assemble my applications with the GNU assembler using the mentioned scheme: powerpc-ibm-aix5.2.0.0-gcc-4.0.2 [...] -S -o file.s file.c binutils-2.16.1/as -mppc -o file.o file.s But, using this approach the application (FFMPEG) breaks with a segmentation fault. By looking at the generated binaries I think that the problem is in the GNU assembler. Then, my original question is: is this a known problem of binutils in AIX-5.X, and if there is a patch or some compile/assembly options that can overcome or avoid this problem. Thanks for your comments. Mauricio Alvarez