Linux MIPS Architecture development
 help / color / mirror / Atom feed
* GCC Compile Failed
@ 2000-11-01 17:29 Ian Chilton
  0 siblings, 0 replies; 4+ messages in thread
From: Ian Chilton @ 2000-11-01 17:29 UTC (permalink / raw)
  To: linux-mips

Hello,

I am trying to compile GCC 001019 using egcs 1.0.3a. Compiling natively on an I2

I get the following:

/usr/bin/ld:libgcc.map:1: parse error in VERSION script
collect2: ld returned 1 exit status
make[3]: *** [libgcc_s.so] Error 1
make[3]: Leaving directory `/mnt/hd2/lfstmp/gcc-001019/gcc-build/gcc'
make[2]: *** [libgcc.a] Error 2
make[2]: Leaving directory `/mnt/hd2/lfstmp/gcc-001019/gcc-build/gcc'
make[1]: *** [stage_a] Error 2
make[1]: Leaving directory `/mnt/hd2/lfstmp/gcc-001019/gcc-build/gcc'
make: *** [bootstrap] Error 2

Any ideas?


Thanks!


Bye for Now,

Ian


                     \|||/ 
                     (o o)
 /----------------ooO-(_)-Ooo----------------\
 |  Ian Chilton                              |
 |  E-Mail : ian@ichilton.co.uk              |
 \-------------------------------------------/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: GCC Compile Failed
@ 2000-11-01 22:43 Ian Chilton
  2000-11-02  0:25 ` Keith M Wesolowski
  0 siblings, 1 reply; 4+ messages in thread
From: Ian Chilton @ 2000-11-01 22:43 UTC (permalink / raw)
  To: linux-mips

Hello,

After this problem with GCC, I have compiled the kernel, binutils, batch etc...but now have had problems with glibc.

It has been compiling glibc for about 2 hours (I2, 200Mhz, 96Mb) so must have been nearly finished, and I get:

gcc -nostdlib -nostartfiles -o /mnt/hd2/lfstmp/glibc-001027/glibc-build/iconv/iconv_prog  -Wl,-dynamic-linker=/lib/ld.so.1   /mnt/hd2/lfstmp/glibc-001027/glibc-build/csu/crt1.o /mnt/hd2/lfstmp/glibc-001027/glibc-build/csu/crti.o `gcc --print-file-name=crtbegin.o` /mnt/hd2/lfstmp/glibc-001027/glibc-build/iconv/iconv_prog.o  -Wl,-rpath-link=/mnt/hd2/lfstmp/glibc-001027/glibc-build:/mnt/hd2/lfstmp/glibc-001027/glibc-build/math:/mnt/hd2/lfstmp/glibc-001027/glibc-build/elf:/mnt/hd2/lfstmp/glibc-001027/glibc-build/dlfcn:/mnt/hd2/lfstmp/glibc-001027/glibc-build/nss:/mnt/hd2/lfstmp/glibc-001027/glibc-build/nis:/mnt/hd2/lfstmp/glibc-001027/glibc-build/rt:/mnt/hd2/lfstmp/glibc-001027/glibc-build/resolv:/mnt/hd2/lfstmp/glibc-001027/glibc-build/crypt:/mnt/hd2/lfstmp/glibc-001027/glibc-build/linuxthreads /mnt/hd2/lfstmp/glibc-001027/glibc-build/libc.so.6 /mnt/hd2/lfstmp/glibc-001027/glibc-build/libc_nonshared.a -lgcc `gcc --print-file-name=crtend.o` /mnt/hd2/lfstmp/glibc-001027/glibc-build/csu/crtn.o
/mnt/hd2/lfstmp/glibc-001027/glibc-build/libc.so.6: undefined reference to `__pthread_initialize_minimal'
collect2: ld returned 1 exit status
make[2]: *** [/mnt/hd2/lfstmp/glibc-001027/glibc-build/iconv/iconv_prog] Error 1
make[2]: Leaving directory `/mnt/hd2/lfstmp/glibc-001027/iconv'
make[1]: *** [iconv/others] Error 2
make[1]: Leaving directory `/mnt/hd2/lfstmp/glibc-001027'
make: *** [all] Error 2


Any ideas?
 

Thanks!


Bye for Now,

Ian


                     \|||/ 
                     (o o)
 /----------------ooO-(_)-Ooo----------------\
 |  Ian Chilton                              |
 |  E-Mail : ian@ichilton.co.uk              |
 \-------------------------------------------/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: GCC Compile Failed
  2000-11-01 22:43 GCC Compile Failed Ian Chilton
@ 2000-11-02  0:25 ` Keith M Wesolowski
       [not found]   ` <wesolows@chem.unr.edu>
  0 siblings, 1 reply; 4+ messages in thread
From: Keith M Wesolowski @ 2000-11-02  0:25 UTC (permalink / raw)
  To: Ian Chilton; +Cc: linux-mips

On Wed, Nov 01, 2000 at 10:43:04PM +0000, Ian Chilton wrote:

> /mnt/hd2/lfstmp/glibc-001027/glibc-build/libc.so.6: undefined reference to `__pthread_initialize_minimal'
> collect2: ld returned 1 exit status
> make[2]: *** [/mnt/hd2/lfstmp/glibc-001027/glibc-build/iconv/iconv_prog] Error 1

Asked and answered. That archaic compiler cannot be used to build
glibc 2.2 because it doesn't deal with weak symbol references
properly.

-- 
Keith M Wesolowski			wesolows@chem.unr.edu
University of Nevada			http://www.chem.unr.edu
Chemistry Department Systems and Network Administrator

^ permalink raw reply	[flat|nested] 4+ messages in thread

* GCC Compile Failed
       [not found]   ` <wesolows@chem.unr.edu>
@ 2000-11-02 12:42     ` Clarence Donath
  0 siblings, 0 replies; 4+ messages in thread
From: Clarence Donath @ 2000-11-02 12:42 UTC (permalink / raw)
  To: linux-mips

Hello,

I've been trying to get GCC to compile on my Indy for weeks now.  I started out
with the latest version of GCC, and have stepped back to egsc-1.1.2.  Each time
I try to 'make bootstap', which takes days, I get this error:

cc ERROR parsing -W:  bad syntax for option
cc WARNING:  phase key (-)  is no longer supported
cc ERROR parsing -W:  bad phase for -W option
cc WARNING:  phase key (W)  is no longer supported
cc ERROR parsing -W:  bad phase for -W option
cc ERROR parsing -W:  unknown flag
*** Error code 2 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)

I'm trying to compile it using CC as I don't have GCC on this machine now.  I
do not have the ability to install the freeware copy of GCC from SGI because I
do not have root privileges to install.  I've configured with a --prefix in my
own work area.

Can anyone help me out here?

Much appreciated.

Clarence Donath

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-11-02 12:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-01 22:43 GCC Compile Failed Ian Chilton
2000-11-02  0:25 ` Keith M Wesolowski
     [not found]   ` <wesolows@chem.unr.edu>
2000-11-02 12:42     ` Clarence Donath
  -- strict thread matches above, loose matches on Subject: below --
2000-11-01 17:29 Ian Chilton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox