This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcc 3.0 crashes during installation on IA64 Linux System !



Hi,

not a good tip !

I installed binutils-2.11.2.tar.gz but now gcc 3.0 configure fails because it
detects a cross compiler due to the fact that the new as/ld in combination with
2.9-ia64-000216-final cannot create a runnable exec. 

troon/home/mdeil> as -v
GNU assembler version 2.11.2 (ia64-unknown-linux) using BFD version 2.11.2
troon/home/mdeil> ld -v
GNU ld version 2.11.2 (with BFD 2.11.2)
troongcc-3.0/objdir> cat hi.c 
int main(){
printf("Hi \n");
}
troongcc-3.0/objdir> gcc hi.c
troongcc-3.0/objdir> a.out 
Segmentation fault (core dumped)

after removing the binutils exec from the path

troongcc-3.0/objdir> as -v
GNU assembler version 2.9-ia64-000216-final (ia64-cygnus-linux) using BFD
version 2.9-ia64-000216-final
troongcc-3.0/objdir> ld -v
GNU ld version 2.9-ia64-000216-final (with BFD 2.9-ia64-000216-final)
troongcc-3.0/objdir> gcc hi.c
troongcc-3.0/objdir> a.out
Hi 

Viele Gruesse / Best Regards

-- Mario 

On 10 Aug 2001, Alexandre Oliva wrote:

> On Aug  9, 2001, Mario Deilmann <Mario.Deilmann@pallas.com> wrote:
> 
> > Error: with make -j 4
> 
> If you're building a native compiler, you should do `make bootstrap'.
> 
> > ../../gcc/config/ia64/crtbegin.asm:56: Error: Unknown pseudo-op:  `.hidden'
> > ../../gcc/config/ia64/crtbegin.asm:74: Error: Unknown pseudo function
> > `@pcrel(__do_global_dtors_aux#-16)'
> > ../../gcc/config/ia64/crtbegin.asm:74: Error: Rest of line ignored. First
> > ignored character is `p'.
> > ../../gcc/config/ia64/crtbegin.asm:74: Error: Bad expression
> > ../../gcc/config/ia64/crtbegin.asm:75: Warning: Found '}' when manual bundling
> > is off
> 
> My first guess would be that you're using too old an assembler, and
> you need a newer version of binutils in your bootstrap tree.
> 
> -- 
> Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
> Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
> CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
> Free Software Evangelist    *Please* write to mailing lists, not to me
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]