From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,e5f30027164f1e23,start X-Google-Attributes: gidf678f,public From: Art Werschulz Subject: gcc weirdness Date: 1997/05/29 Message-ID: #1/1 X-Deja-AN: 244737164 Newsgroups: comp.unix.osf.misc Hi. Here's an oddity. One of us has managed to build gcc 2.7.2.2 (we're running DU 4.0 on a DEC AlphaServer 1000). He has no trouble compiling things. Neither does root. OTOH, if anybody else does a compile, the following occurs (this is for a "hello world" program): % gcc -o foo foo.c collect2: ld returned 1 exit status /usr/lib/cmplrs/cc/crt0.o(.pdata+0x4): relocation truncated to fit: SREL32 xdata /tmp/ccaaEkga1.o: In function `main': foo.c:5: relocation truncated to fit: SREL32 xdata /lib/libc.a(exit.o)(.pdata+0x4): relocation truncated to fit: SREL32 xdata /lib/libc.a(exit.o)(.pdata+0xc): relocation truncated to fit: SREL32 xdata /lib/libc.a(printf.o)(.pdata+0x4): relocation truncated to fit: SREL32 xdata /lib/libc.a(malloc.o)(.pdata+0x4): relocation truncated to fit: SREL32 xdata /lib/libc.a(malloc.o)(.pdata+0xc): relocation truncated to fit: SREL32 xdata /lib/libc.a(malloc.o)(.pdata+0x14): relocation truncated to fit: SREL32 xdata etc., with about 176 lines of such error msgs. Any suggestions on this? -- Art Werschulz (8-{)} "Metaphors be with you." -- bumper sticker GCS/M (GAT): d? -p+ c++ l u+(-) e--- m* s n+ h f g+ w+ t++ r- y? Internet: agw@dsm.fordham.edu WWW ATTnet: Fordham U. (212) 636-6325, Columbia U. (212) 939-7061