This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
sparc-sun-solaris2.5.1 bug with -ggdb3?
- To: egcs at cygnus dot com
- Subject: sparc-sun-solaris2.5.1 bug with -ggdb3?
- From: Daniel Eisenbud <eisenbud at cs dot swarthmore dot edu>
- Date: Sun, 9 Nov 1997 18:18:47 -0500
When trying to compile the attached trivial program with -ggdb3, using
Solaris ld, I get the attached string of linker errors.
-Daniel Eisenbud
--
Daniel Eisenbud
eisenbud@cs.swarthmore.edu
#include <stdio.h>
int main()
{
printf ("Hello world\n");
exit (0);
}
ld: warning: file /var/tmp/cca0025a1.o: relocation against external symbol `.text'
from a non-allocatable section `.debug_line'
cannot be processed at runtime: relocation ignored
ld: warning: file /var/tmp/cca0025a1.o: relocation against external symbol `.debug_abbrev'
from a non-allocatable section `.debug_info'
cannot be processed at runtime: relocation ignored
ld: warning: file /var/tmp/cca0025a1.o: relocation against external symbol `.text'
from a non-allocatable section `.debug_info'
cannot be processed at runtime: relocation ignored
ld: warning: file /var/tmp/cca0025a1.o: relocation against external symbol `.debug_line'
from a non-allocatable section `.debug_info'
cannot be processed at runtime: relocation ignored
ld: warning: file /var/tmp/cca0025a1.o: relocation against external symbol `.debug_info'
from a non-allocatable section `.debug_pubnames'
cannot be processed at runtime: relocation ignored
ld: warning: file /var/tmp/cca0025a1.o: relocation against external symbol `.debug_info'
from a non-allocatable section `.debug_aranges'
cannot be processed at runtime: relocation ignored
ld: warning: file /var/tmp/cca0025a1.o: relocation against external symbol `.text'
from a non-allocatable section `.debug_aranges'
cannot be processed at runtime: relocation ignored
Undefined first referenced
symbol in file
.debug_info /var/tmp/cca0025a1.o
.text /var/tmp/cca0025a1.o
.debug_abbrev /var/tmp/cca0025a1.o
.debug_line /var/tmp/cca0025a1.o
ld: fatal: Symbol referencing errors. No output written to a.out
collect2: ld returned 1 exit status