Skip to content

Build on all supported platforms - #16

Draft
hadess wants to merge 1 commit into
masterfrom
wip/hadess/build-arm
Draft

Build on all supported platforms#16
hadess wants to merge 1 commit into
masterfrom
wip/hadess/build-arm

Conversation

@hadess

@hadess hadess commented Oct 17, 2024

Copy link
Copy Markdown
Collaborator

No description provided.

@hadess hadess mentioned this pull request Oct 17, 2024
@flathubbot

Copy link
Copy Markdown

Started test build 155021

@flathubbot

Copy link
Copy Markdown

Build 155021 failed

@hadess
hadess marked this pull request as draft October 17, 2024 10:17
@hadess

hadess commented Oct 17, 2024

Copy link
Copy Markdown
Collaborator Author

The latest tip for BlastEm still has this in the Makefile:

ifeq ($(CPU),x86_64)
CFLAGS+=-DX86_64 -m64
LDFLAGS+=-m64
else
ifeq ($(CPU),i686)
CFLAGS+=-DX86_32 -m32
LDFLAGS+=-m32
else
$(error $(CPU) is not a supported architecture)
endif
endif

So upstream work should be done to fix this before we can build on all the Flathub supported platforms.

@hadess
hadess force-pushed the wip/hadess/build-arm branch from 3c4b018 to 1eda07e Compare August 15, 2026 22:57
@flathubbot

Copy link
Copy Markdown

🚧 Test build enqueued.

@flathubbot

Copy link
Copy Markdown

🚧 Started test build.

@flathubbot

Copy link
Copy Markdown

Test build failed.

Help
  • bot, build - Restart the test build
  • bot, ping admins - Contact Flathub admins

@hadess

hadess commented Aug 15, 2026

Copy link
Copy Markdown
Collaborator Author
backend.c: In function ‘defer_address’:
backend.c:14:24: error: assignment to ‘code_ptr’ {aka ‘unsigned int *’} from incompatible pointer type ‘uint8_t *’ {aka ‘unsigned char *’} [-Wincompatible-pointer-types]
   14 |         new_head->dest = dest;
      |                        ^
In file included from backend.h:11,
                 from backend.c:6:
gen.h:12:21: note: ‘code_ptr’ declared here
   12 | typedef code_word * code_ptr;
      |                     ^~~~~~~~
backend.c: In function ‘process_deferred’:
backend.c:33:35: error: initialization of ‘code_ptr’ {aka ‘unsigned int *’} from incompatible pointer type ‘uint8_t *’ {aka ‘unsigned char *’} [-Wincompatible-pointer-types]
   33 |                 code_ptr native = get_native(context, cur->address);//get_native_address(opts->native_code_map, cur->address);
      |                                   ^~~~~~~~~~
gen.h:12:21: note: ‘code_ptr’ declared here
   12 | typedef code_word * code_ptr;
      |                     ^~~~~~~~

@hadess

hadess commented Aug 15, 2026

Copy link
Copy Markdown
Collaborator Author

@mikepavone hey!

If you have any time, this is error we get trying to build blastem on Linux aarch64.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants