tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Tony East <te () dmu ! ac ! uk>
To: tru64-unix-managers
Subject: Compiling gcc-2.7.2 on DU 4.0
Date: Mon, 28 Oct 1996 13:06:17 +0000	[thread overview]
Message-ID: <96076340321825.tru64-unix-managers.marc@archive.invalid> (raw)





Hi Alpha-Osf-Managers,


I've been trying to compile gcc2.7.2 on a DEC Alpha server 1000 4/200 with DU 4.0,
but obtain error messages for the library file /lib/libc.a eg: 



$make LANGUAGES=c


rm -f ld
ln collect2 ld > /dev/null 2>&1  || cp collect2 ld
./xgcc -B./ -dumpspecs > tmp-specs
mv tmp-specs specs
cc  -DIN_GCC   -g  -I. -I. -I./config  -o g++ ./cp/g++.c obstack.o ` case "cc" in "cc") echo "" ;; esac `  -lmld
./xgcc -B./  -DIN_GCC   -g -I./include    -DNO_MEM -DNO_LONG_DOUBLE_IO -O0 -I. -c ./enquire.c
if [ -f libgcc2.ready ] ; then  true;  else  touch libgcc2.ready;  fi
./xgcc -B./  -DIN_GCC   -g -I./include  enquire.o -o enquire
collect2: ld returned 1 exit status
/lib/libc.a: could not read symbols: Malformed archive
*** Exit 1
Stop.



OR on  other atttempts at compiling I get the following error messages:
-----------------------------------------------------------------------


/lib/libc.a(geteuid.o)(.pdata+0x4): relocation truncated to fit: SREL32 xdata
/lib/libc.a(strdup.o)(.pdata+0x4): relocation truncated to fit: SREL32 xdata
/lib/libc.a(basename.o)(.pdata+0x4): relocation truncated to fit: SREL32 xdata
/lib/libc.a(__ispriv.o)(.pdata+0x4): relocation truncated to fit: SREL32 xdata
/lib/libc.a(bsearch.o)(.pdata+0x4): relocation truncated to fit: SREL32 xdata
/lib/libc.a(__lc_load.o)(.pdata+0x4): relocation truncated to fit: SREL32 xdata
/lib/libc.a(getuid.o)(.pdata+0x4): relocation truncated to fit: SREL32 xdata
/lib/libc.a(__lc_dlopen.o)(.pdata+0x4): relocation truncated to fit: SREL32 xdata
/lib/libc.a(__lc_dlsym.o)(.pdata+0x4): relocation truncated to fit: SREL32 xdata
/lib/libc.a(ldr_load.o)(.pdata+0x4): relocation truncated to fit: SREL32 xdata
/lib/libc.a(ldr_load.o)(.pdata+0xc): relocation truncated to fit: SREL32 xdata
/lib/libc.a(ldr_load.o)(.pdata+0x14): relocation truncated to fit: SREL32 xdata
/lib/libc.a(ldr_atexit.o)(.lita+0x38): undefined reference to `_DYNAMIC_LINK'
/lib/libc.a(ldr_load.o)(.lita+0xa8): undefined reference to `_DYNAMIC_LINK'
*** Exit 1



I copied the stage2 compiled files from another department that has succesfully installed gcc.2.7.2 
on a DEC Alpha with DU 4.0 and tried to install gcc. It still complains about libc.a:


make install CC="stage2/xgcc -Bstage2/" CFLAGS="-g -O"

stage2/xgcc -Bstage2/  -DIN_GCC   -g -O   -o cccp cccp.o cexp.o  version.o obstack.o ` case "stage2/xgcc -Bstage2/" in "cc") echo "" ;; esac `  -lmld
collect2: ld returned 1 exit status
/lib/libc.a: could not read symbols: Malformed archive
*** Exit 1
Stop.


Next I copied the their libc.a file and still obtained the above error message!

Could anyone provide a solution or pointers to the problem?


Thanks,

Tony.


 __________________________________________________________________
|                               |                                  | 
| Tony East - Systems Engineer  | Tel No: 0116 2551 551 Ex 8475    |
| DeMontfort University,        | E-mail te@dmu.ac.uk              |
| The Gateway, Leicester.       | Web http://www.cms.dmu.ac.uk/~te |
|_______________________________|__________________________________|  

                 reply	other threads:[~1996-10-28 13:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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