Skip to content

Smallbasic v12_33 Build failure on armv7l #271

@satmandu

Description

@satmandu

This is on Chromebrew/linux armv7l. The x86_64 build is fine.

2026-02-06T18:54:26.4151094Z Building SDL version.
2026-02-06T18:54:26.4151489Z CFLAGS=-O3 -pipe -ffat-lto-objects -fPIC -fuse-ld=mold  -flto=auto -flto=auto -std=gnu11
2026-02-06T18:54:26.4152066Z CXXFLAGS=-O3 -pipe -ffat-lto-objects -fPIC -fuse-ld=mold  -flto=auto -flto=auto -fno-rtti -std=c++14
2026-02-06T18:54:26.4153036Z PACKAGE_LIBS=-static-libgcc  -ldl -no-pie -lfontconfig -lSDL3 -pthread -lm -ldl -lfreetype -L/usr/local/lib -lpcre
2026-02-06T18:54:26.4153435Z 
2026-02-06T18:54:26.4163704Z sdl3: 3.4.0
2026-02-06T18:54:26.4175069Z freetype: 26.4.20
2026-02-06T18:54:26.4175211Z 
2026-02-06T18:54:26.4547577Z make  all-recursive
2026-02-06T18:54:26.4582582Z make[1]: Entering directory '/usr/local/tmp/crew/smallbasic.20260206185349.dir'
2026-02-06T18:54:26.4635914Z Making all in src/common
2026-02-06T18:54:26.4654935Z make[2]: Entering directory '/usr/local/tmp/crew/smallbasic.20260206185349.dir/src/common'
2026-02-06T18:54:26.4662024Z gcc -DHAVE_CONFIG_H -I. -I../..  -I/usr/local/tmp/crew/smallbasic.20260206185349.dir/src -DPACKAGE_LIB_DIR=\""/usr/local/lib/smallbasic"\"  -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include  -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -fno-exceptions -Wall -Werror -Wno-unused-result -O3 -pipe -ffat-lto-objects -fPIC -fuse-ld=mold  -flto=auto -flto=auto -std=gnu11 -c -o bc.o bc.c
2026-02-06T18:54:26.4670720Z gcc -DHAVE_CONFIG_H -I. -I../..  -I/usr/local/tmp/crew/smallbasic.20260206185349.dir/src -DPACKAGE_LIB_DIR=\""/usr/local/lib/smallbasic"\"  -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include  -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -fno-exceptions -Wall -Werror -Wno-unused-result -O3 -pipe -ffat-lto-objects -fPIC -fuse-ld=mold  -flto=auto -flto=auto -std=gnu11 -c -o blib.o blib.c
2026-02-06T18:54:26.4718810Z gcc -DHAVE_CONFIG_H -I. -I../..  -I/usr/local/tmp/crew/smallbasic.20260206185349.dir/src -DPACKAGE_LIB_DIR=\""/usr/local/lib/smallbasic"\"  -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include  -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -fno-exceptions -Wall -Werror -Wno-unused-result -O3 -pipe -ffat-lto-objects -fPIC -fuse-ld=mold  -flto=auto -flto=auto -std=gnu11 -c -o blib_db.o blib_db.c
2026-02-06T18:54:26.4742825Z gcc -DHAVE_CONFIG_H -I. -I../..  -I/usr/local/tmp/crew/smallbasic.20260206185349.dir/src -DPACKAGE_LIB_DIR=\""/usr/local/lib/smallbasic"\"  -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include  -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -fno-exceptions -Wall -Werror -Wno-unused-result -O3 -pipe -ffat-lto-objects -fPIC -fuse-ld=mold  -flto=auto -flto=auto -std=gnu11 -c -o blib_func.o blib_func.c
2026-02-06T18:54:27.0254075Z gcc -DHAVE_CONFIG_H -I. -I../..  -I/usr/local/tmp/crew/smallbasic.20260206185349.dir/src -DPACKAGE_LIB_DIR=\""/usr/local/lib/smallbasic"\"  -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include  -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -fno-exceptions -Wall -Werror -Wno-unused-result -O3 -pipe -ffat-lto-objects -fPIC -fuse-ld=mold  -flto=auto -flto=auto -std=gnu11 -c -o blib_graph.o blib_graph.c
2026-02-06T18:54:28.3114961Z gcc -DHAVE_CONFIG_H -I. -I../..  -I/usr/local/tmp/crew/smallbasic.20260206185349.dir/src -DPACKAGE_LIB_DIR=\""/usr/local/lib/smallbasic"\"  -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include  -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -fno-exceptions -Wall -Werror -Wno-unused-result -O3 -pipe -ffat-lto-objects -fPIC -fuse-ld=mold  -flto=auto -flto=auto -std=gnu11 -c -o blib_math.o blib_math.c
2026-02-06T18:54:28.7787813Z blib_graph.c: In function ‘chart_draw’:
2026-02-06T18:54:28.7810864Z blib_graph.c:1105:5: error: ‘*_108’ may be used uninitialized [-Werror=maybe-uninitialized]
2026-02-06T18:54:28.7811488Z  1105 |     dev_rect(pts[(count - 1) * 2], pts[(count - 1) * 2 + 1],
2026-02-06T18:54:28.7811924Z       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2026-02-06T18:54:28.7812335Z  1106 |              pts[(count - 1) * 2] + lx - 1, y2, 1);
2026-02-06T18:54:28.7812707Z       |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2026-02-06T18:54:28.7813287Z blib_graph.c:1105:5: error: ‘*_112’ may be used uninitialized [-Werror=maybe-uninitialized]
2026-02-06T18:54:29.7501569Z gcc -DHAVE_CONFIG_H -I. -I../..  -I/usr/local/tmp/crew/smallbasic.20260206185349.dir/src -DPACKAGE_LIB_DIR=\""/usr/local/lib/smallbasic"\"  -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include  -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -fno-exceptions -Wall -Werror -Wno-unused-result -O3 -pipe -ffat-lto-objects -fPIC -fuse-ld=mold  -flto=auto -flto=auto -std=gnu11 -c -o blib_sound.o blib_sound.c
2026-02-06T18:54:30.1030828Z cc1: all warnings being treated as errors
2026-02-06T18:54:30.1070365Z make[2]: *** [Makefile:510: blib_graph.o] Error 1
2026-02-06T18:54:30.1077747Z make[2]: *** Waiting for unfinished jobs....
2026-02-06T18:54:31.8517727Z make[2]: Leaving directory '/usr/local/tmp/crew/smallbasic.20260206185349.dir/src/common'
2026-02-06T18:54:31.8522188Z make[1]: *** [Makefile:549: all-recursive] Error 1
2026-02-06T18:54:31.8522571Z make[1]: Leaving directory '/usr/local/tmp/crew/smallbasic.20260206185349.dir'
2026-02-06T18:54:31.8524436Z make: *** [Makefile:490: all] Error 2
2026-02-06T18:54:31.8527108Z �[1;31mThere was a build error.

Build log from our GitHub Action:

generate (armv7l, ubuntu-24.04-arm).zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions