Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: CL build — link shim directly to libquickjs.so, fail on error

The -L/-l linker flags weren't finding libquickjs.so in $BUILD.
Link directly instead. Also: CL build failures now exit 1 instead
of silently falling back to the C binary.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

+4 -3
+4 -3
fedac/native/docker-build.sh
··· 343 343 log " Building libquickjs-shim.so..." 344 344 gcc -shared -fPIC -O2 -o "$BUILD/libquickjs-shim.so" \ 345 345 "$CL_DIR/quickjs-shim.c" \ 346 - -I"$QJSDIR" -L"$BUILD" -lquickjs -lm 2>&1 || { err "shim build failed"; } 346 + -I"$QJSDIR" "$BUILD/libquickjs.so" -lm 2>&1 || { err "shim build failed"; exit 1; } 347 347 348 348 # Build CL binary with SBCL 349 349 sbcl --non-interactive \ ··· 352 352 --eval "(push #P\"$CL_DIR/\" asdf:*central-registry*)" \ 353 353 --eval '(asdf:load-system :ac-native)' \ 354 354 --eval "(ac-native.build:build \"$BUILD/ac-native-cl\")" \ 355 - 2>&1 || { err "CL build failed"; } 355 + 2>&1 || { err "CL build failed"; exit 1; } 356 356 if [ -f "$BUILD/ac-native-cl" ]; then 357 357 log " CL Binary: $(stat -c%s "$BUILD/ac-native-cl") bytes" 358 358 # Swap into initramfs (keep C version in build dir) ··· 369 369 printf '%s\n%s\n%s\ncl\n' "$BUILD_NAME" "$GIT_HASH" "$BUILD_TS" > "$IROOT/etc/ac-build" 370 370 log " Swapped CL binary into initramfs (with QuickJS)" 371 371 else 372 - err "CL binary not produced — using C binary" 372 + err "CL binary not produced" 373 + exit 1 373 374 fi 374 375 fi 375 376