From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 3AA643F64E for ; Mon, 11 Mar 2002 20:28:47 -0500 (EST) Received: from lacrosse.corp.redhat.com (IDENT:root@lacrosse.corp.redhat.com [172.16.52.154]) by localhost.localdomain (8.11.6/8.11.6) with ESMTP id g2C1SkF21124 for ; Mon, 11 Mar 2002 20:28:46 -0500 Received: (from mail@localhost) by lacrosse.corp.redhat.com (8.11.6/8.9.3) id g2C1Skh17172 for axp-list@listman.redhat.com; Mon, 11 Mar 2002 20:28:46 -0500 Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id g2C1SkR17168 for ; Mon, 11 Mar 2002 20:28:46 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by localhost.localdomain (8.11.6/8.11.6) with SMTP id g2C1SkF21120 for ; Mon, 11 Mar 2002 20:28:46 -0500 Received: from paralleldata.com ([63.93.128.8]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id g2C1RNc31914 for ; Mon, 11 Mar 2002 20:27:23 -0500 Received: by paralleldata.com from localhost (router,SLMail V5.0); Mon, 11 Mar 2002 19:22:15 -0600 for Received: from paralleldata.com [12.239.11.2] by paralleldata.com [63.93.128.8] (SLmail 5.0.0.4348) with ESMTP id C6F9620EE21649D6B1023C645DD6F96D for ; Mon, 11 Mar 2002 19:22:15 -0600 Message-ID: <3C8D5A49.16CB31E0@paralleldata.com> Date: Mon, 11 Mar 2002 19:30:49 -0600 From: "W Bauske" Organization: PDS Inc. X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.5-15 i686) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: error logs RE: compiling X with ccc References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SLUIDL: 9F04691E-76564064-8A224CC0-D7A7F5C4 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: Peter Petrakis wrote: > > > u'd probably get a better idea at why alloca is missing ( from the ccc > > libraries? maybe ) is there was a -v to list out all the options passed > > I don't know honestly. I'm not that familiar with ccc nevermind the linker. > > > to the various ccc phases. In particular the /bin/ld switches that ccc > > may/maynot know about. an then the possible solution would be to add > > -lmalloc to this build > > There doesnt seem to be a -lmalloc on this system, Thats what ld claims. I > thought that functionality as in -lc? > > voodoo@asterix:~/Xfree/build/config/imake > ccc -o > imake -O0 -g -mcpu=ev6 -ansi -Wall -Wpointer-arith -Wstrict-prototypes -Wmis > sing-prototypes -Wmissing-declarations -Wnested-externs -pipe -g > imake.o -Wl,-rpath-link,../../exports/lib -lmalloc -lc > /usr/bin/ld: cannot find -lmalloc > collect2: ld returned 1 exit status > It's not there because it's a builtin compiler function, meaning the compiler just sticks a couple lines if asm code in place of the call. Which makes sense considering it's just manipulating the stack pointer. If you look at alloca.h, it shows alloca() is redefined when __GNUC__ is defined. So, you need to figure out how ccc does the same thing. Wes