[comp.soft-sys.andrew] hp9000s300 a.out: relocation segment 4

tml@tik.vtt.fi (Tor Lillqvist) (02/17/91)

I am trying to compile Andrew (patchlevel 9) with the new C compiler
on the Series 300.  I have trouble with the dynamic loading auxiliary
program doindex, which complains "unknown symbol type."  Debugging
reveals that the r_segment field of a relocation record in an object
file being indexed has the value 4, which seems to be something that
the new compiler (actually the peephole optimizer) started producing.

Substituting the old /lib/c2 pass avoids the problem, as does
compiling without optimization.  Another alternative is going back to
using gcc.

What is this relocation segment 4?  Is there possibly somebody who
knows how one should handle it in doindex?...
--
Tor Lillqvist,
working, but not speaking, for the Technical Research Centre of Finland