Differences From Artifact [e58e880af0]:
- Executable file build.sh — part of check-in [0d71b71cc8] at 2020-01-19 04:12:57 on branch trunk — Partially fix shared library build by making sure that data_objects are linked in. This means that internal.ident.o is properly linked in, but internal.ident.o itself still references undefined symbols, so this is only a partial fix. (user: glowpelt, size: 8022) [annotate] [blame] [check-ins using]
To Artifact [773f649c53]:
- Executable file build.sh — part of check-in [bdc1191d6f] at 2020-01-22 00:58:29 on branch fixshared — Add a err.c for every module, and compile them all in. This fixes the build of the shared library version, as there are no more undefined symbols. `kexplain` likely will still not work, but it didn't work in the first place. (user: glowpelt, size: 8252) [annotate] [blame] [check-ins using] [more...]
252 252 253 253 for rt in $(scan mod/$mod "*.rt.$target.s"); do 254 254 base="$(basename $rt)" 255 255 dest="$to/$mod.${base%%.s}.o" 256 256 comp_asm "$rt" "$dest" 257 257 rt_objects+=("$dest") 258 258 done 259 +done 260 +# Compile just the error lists for all modules, regardless of enabled modules 261 +for errs in $(scan mod "err.c"); do 262 + base="$(basename $(dirname $errs))" 263 + dest="$to/$base.err.o" 264 + comp_co "$errs" "$dest" 265 + data_objects+=("$dest") 259 266 done 260 267 261 268 # fourth pass: link the libraries that are 262 269 # configured to be built 263 270 264 271 if test $build_static_library == yes; then 265 272 for obj in ${fn_objects[@]} ${rt_objects[@]} ${data_objects[@]}; do