[prev in list] [next in list] [prev in thread] [next in thread]
List: netbsd-port-sparc
Subject: compiling gnu/usr.bin/ld/ld/ld.c failed on sparc (aout)
From: ks () ub ! uni-mainz ! de
Date: 1999-06-25 11:34:24
[Download RAW message or body]
hi,
just got this one trying a "make build" with -current supped today on
my ss20 which isn't converted to elf yet:
ld.c oncc -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror \
-I/c1/src/gnu/usr.bin/ld/ld/../../../../libexec/ld.aout_so \
-I/c1/src/gnu/usr.bin/ld/ld/../../../../libexec/ld.aout_so/arch/sparc \
-I/c1/src/gnu/usr.bin/ld/ld -c /c1/src/gnu/usr.bin/ld/ld/ld.c
cc1: warnings being treated as errors
/c1/src/gnu/usr.bin/ld/ld/ld.c: In function `digest_pass1':
/c1/src/gnu/usr.bin/ld/ld/ld.c:2315: warning: int format, long int arg (arg 3)
*** Error code 1
Stop.
the following diff cured this:
*** ld.c Fri Jun 25 13:30:18 1999
--- ld.c.orig Fri Jun 25 13:30:04 1999
***************
*** 2312,2318 ****
if (setv_fill_count != set_sect_size/sizeof(long))
errx(1, "internal error: allocated set symbol space (%d) "
"doesn't match actual (%d)",
! set_sect_size/(int)sizeof(long), setv_fill_count);
}
--- 2312,2318 ----
if (setv_fill_count != set_sect_size/sizeof(long))
errx(1, "internal error: allocated set symbol space (%d) "
"doesn't match actual (%d)",
! set_sect_size/sizeof(long), setv_fill_count);
}
-ks
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic