[gnu.utils.bug] binary utilities and the Roadrunner

karl@mote.umb.edu ("Karl Berry.") (02/19/89)

Do ld and so on support the Sun 386i? I just looked at
the most recent files off prep, and they did not appear
substantially different from the ones I just compiled (which
were a couple months old). The ones I have did not compile,
because of something wrong in the `struct exec'. (I tried gprof
and ld, and they both had the same problems.)

This is running Sun 4.0 (of course).

Compiling with cc or gcc seems to make no difference.

For example, here is the results with gprof:

gcc -O -c -g gprof.c
gprof.c: In function main:
gprof.c:632: invalid use of undefined type `struct exec'
gprof.c:636: `exec_header' has an incomplete type
gprof.c:640: `exec_header' has an incomplete type
gprof.c:646: `exec_header' has an incomplete type
gprof.c:647: invalid use of undefined type `struct exec'
gprof.c: In function read_syms:
gprof.c:1729: structure has no member named `n_un'
gprof.c:1729: structure has no member named `n_un'
gprof.c:1740: structure has no member named `n_un'
gprof.c: In function badsym:
gprof.c:1794: `N_EXT' undeclared (first use this function)
gprof.c:1794: (Each undeclared identifier is reported only once
gprof.c:1794: for each function it appears in.)
gprof.c:1794: `N_TEXT' undeclared (first use this function)
gprof.c:1799: structure has no member named `n_un'
gprof.c:1799: structure has no member named `n_un'
gprof.c: In function get_ticks:
gprof.c:2032: structure has no member named `n_un'
gprof.c:2035: structure has no member named `n_un'
gprof.c: At top level:
gprof.c:274: storage size of static var `exec_header' isn't known
*** Error code 1
make: Fatal error: Command failed for target `gprof.o'