Mailinglist Archive: opensuse (4749 mails)
| < Previous | Next > |
How to build gcc 3.x on a SuSE 7.3 sparc system?
- From: David List <david@xxxxxxxxxxxx>
- Date: Sun, 25 May 2003 11:38:58 +0200 (CEST)
- Message-id: <Pine.LNX.4.44.0305231636530.12643-100000@xxxxxxxxxxxx>
I have a problem with building gcc 3.x on a SuSE 7.3 sparc system. I
have not recieved any useful answers after asking on the suse-sparc list
what the problem could be, so now I try here:
Each time I try building gcc 3.x I get different errors for differing
minor versions. All of the errors indicate that there is a problem with
the glibc not being compatible.
Here is an example where I have tried building gcc 3.2.2:
# cd gcc-3.2.2/
# mkdir objdir
# cd objdir
# ../configure --prefix=/usr/local --enable-threads=posix
--enable-languages=c,c++
# make -j4 > ~/make_output 2>&1 &
Here is the last output from the make process:
/usr/bin/ld: cannot find /lib/libc.so.6
collect2: ld returned 1 exit status
make[2]: *** [libgcc_s.so] Error 1
make[2]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/home/david/packages/gcc-3.2.2/objdir/gcc'
make[2]: Leaving directory `/home/david/packages/gcc-3.2.2/objdir/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/home/david/packages/gcc-3.2.2/objdir/gcc'
make: *** [all-gcc] Error 2
Here is what my libc.so.6 looks like:
david@sol:~> ls -l /lib/libc.so.6
-rwxr-xr-x 1 root root 1537287 Oct 4 2002 /lib/libc.so.6
Best regards,
David List
have not recieved any useful answers after asking on the suse-sparc list
what the problem could be, so now I try here:
Each time I try building gcc 3.x I get different errors for differing
minor versions. All of the errors indicate that there is a problem with
the glibc not being compatible.
Here is an example where I have tried building gcc 3.2.2:
# cd gcc-3.2.2/
# mkdir objdir
# cd objdir
# ../configure --prefix=/usr/local --enable-threads=posix
--enable-languages=c,c++
# make -j4 > ~/make_output 2>&1 &
Here is the last output from the make process:
/usr/bin/ld: cannot find /lib/libc.so.6
collect2: ld returned 1 exit status
make[2]: *** [libgcc_s.so] Error 1
make[2]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/home/david/packages/gcc-3.2.2/objdir/gcc'
make[2]: Leaving directory `/home/david/packages/gcc-3.2.2/objdir/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/home/david/packages/gcc-3.2.2/objdir/gcc'
make: *** [all-gcc] Error 2
Here is what my libc.so.6 looks like:
david@sol:~> ls -l /lib/libc.so.6
-rwxr-xr-x 1 root root 1537287 Oct 4 2002 /lib/libc.so.6
Best regards,
David List
| < Previous | Next > |