From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 7728 invoked from network); 25 May 1998 18:17:32 -0000 Received: from gatecoms.gatecom.com (198.87.96.251) by mail2.redhat.com with SMTP; 25 May 1998 18:17:32 -0000 Received: (from jsturm@localhost) by gatecoms.gatecom.com (8.8.7/8.8.7) id OAA16079; Mon, 25 May 1998 14:15:56 -0400 (EDT) Date: Mon, 25 May 1998 14:15:56 -0400 (EDT) From: Jeff Sturm X-Sender: jsturm@gatecoms To: Christoph Zens cc: axp-list@redhat.com Subject: Re: ld from binutils 2.9.1 dynamic output dumps core on Linux/Alpha In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sun, 24 May 1998, Christoph Zens wrote: > > > I am trying to build binutils 2.9.1 under RedHat Linux 4.1 for alpha, > > using the stock gcc 2.7.2.1. > > > The ld program is built sucessfully and when it is run it creates > > object files with apparent success, but the programs don't run, they > > dump core immediately. If the program is statically linked (gcc > > -static) then it works, but dynamically linked programs created by > > 2.9.1 ld dump core. > > I am seeing the same thing here (alpha-linux-gnulibc1)... > Perhaps it has something to do with the old libc ? I wondered that myself. I have RH 4.2 running, and tried to install a new gcc, binutils and glibc to an alternate directory. I have tried gcc 2.7.2.1 and 2.8.1, binutils 2.8.1 and 2.9.1, and glibc 2.0.6. Every combination yields dynamic executables that won't run (static ones do run). They always jump to an illegal address and dump core. I'm at the point of thinking something is just wrong with ld.so but haven't debugged it much yet... I'm learning more about elf than I wanted too :( If anyone has an idea what is going on I could really use a clue... I had the idea that the GNU stuff will build out of the box more-or-less (like it did on Intel). I haven't tried the RedHat SRPMS. Anyone know if they are patched? jeff