gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gm2] GM2 on HP-UX 11.11 (PARISC) Status Report


From: Gaius Mulley
Subject: Re: [Gm2] GM2 on HP-UX 11.11 (PARISC) Status Report
Date: 09 Jan 2007 16:47:05 +0000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4

John O Goyo <address@hidden> writes:

> 3. I tried gmake gm2.paranoid.  The linker seems unable to find any of
> the symbols:
> 
> ranlib gm2/gm2-libs/libgm2.a
> gcc   -g -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes     -DHAVE_CONFIG_H  -o stage2/gm2/cc1gm2
> gm2/gccgm2.o gm2/gm2builtins.o gm2/gm2-lang.o gm2/stor-layout.o
> gm2/gm2-compiler/gm2.a gm2/gm2-libs/libgm2.a          \
>                                gm2/gm2-compiler/m2flex.o main.o
> libbackend.a ../libcpp/libcpp.a ../libcpp/libcpp.a -lintl -liconv
> ../libiberty/libiberty.a
> /usr/ccs/bin/ld: Unsatisfied symbols:
>     memset (first referenced in gm2/gm2-compiler/gm2.a(Indexing.o)) (data)
>     SymbolTable_GetVarPointerCheck (first referenced in
> gm2/gm2-compiler/gm2.a(M2Quads.o)) (data)
>     gm2builtins_BuiltInAlloca (first referenced in
> gm2/gm2-compiler/gm2.a(M2GenGCC.o)) (data)
>     SymbolTable_IsTemporary (first referenced in
> gm2/gm2-compiler/gm2.a(M2Quads.o)) (data)
>     M2Entity_IsLValue (first referenced in
> gm2/gm2-compiler/gm2.a(M2SubExp.o)) (data)
>     [...lots of symbols...]

Hi John,

further thoughts - I think I'd try:

nm gm2/gm2-compiler/M2Quads.o | grep -i SymbolTable_GetVarPointerCheck 

to see whether SymbolTable_GetVarPointerCheck exists in the text
section?  If not then I guess it would be useful to create the
SymbolTable.s using stage1

./xgm2 etc etc -S -B./stage1/gm2 gm2/gm2-compiler/SymbolTable.mod -o foo.s

if foo.s does not contain SymbolTable_GetVarPointerCheck 
then invoke gdb on stage1/gm2/cc1gm2..

regards,
Gaius




reply via email to

[Prev in Thread] Current Thread [Next in Thread]