Skip to content

Asahi linux-arm64 support #105

@flaviut

Description

@flaviut

Running on a M1 Pro:

java.lang.IllegalStateException: Process [/tmp/embedded-pg/PG-88e316b7b2c2fa6db9edbebfc9863872/bin/initdb, -A, trust, -U, postgres, -D, /tmp/epg1048179472521581922, -E, UTF-8] failed
   at io.zonky.test.db.postgres.embedded.EmbeddedPostgres.system(EmbeddedPostgres.java:653)
   at io.zonky.test.db.postgres.embedded.EmbeddedPostgres.initdb(EmbeddedPostgres.java:261)
   at io.zonky.test.db.postgres.embedded.EmbeddedPostgres.<init>(EmbeddedPostgres.java:159)

Running it manually shows a more helpful error:

$ /tmp/embedded-pg/PG-88e316b7b2c2fa6db9edbebfc9863872/bin/initdb
/tmp/embedded-pg/PG-88e316b7b2c2fa6db9edbebfc9863872/bin/initdb: error while loading shared libraries: libicuuc.so.60: ELF load command address/offset not page-aligned

I suspect the issue here is that 4k pages are assumed, while this processor only supports 16k pages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions