这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@robertkirkman
Copy link
Member

… and environments

- Fixes termux#26976

- Reverts https://cgit.git.savannah.gnu.org/cgit/guile.git/commit/?id=d579848cb5d65440af5afd9c8968628665554c22

- **Must be named `.patch.beforehostbuild`**. If it's not, the problematic commit can **actually propagate its undesired behavior into the target `guile`** that the hostbuild `guile` builds, and the error is not prevented.
@robertkirkman
Copy link
Member Author

I tried to report this bisection and a script for reproduction on GNU/Linux to the upstream mailing list in this thread, where someone else has already reported the same error occurring on 32-bit FreeBSD,

https://lists.gnu.org/archive/html/bug-guile/2025-10/msg00002.html

but unfortunately my message wasn't accepted to the mailing list, possibly due to an unknown filter or something about the way the mailing list works that I don't understand, so I'll just proceed downstream.

@robertkirkman robertkirkman merged commit ad6dd21 into termux:master Oct 25, 2025
11 checks passed
@robertkirkman
Copy link
Member Author

It seems my post in upstream has now been accepted to the mailing list after all, it just took a while. https://lists.gnu.org/archive/html/bug-guile/2025-10/msg00015.html

robertkirkman added a commit that referenced this pull request Oct 27, 2025
- Fixes multiple malformations in the 32-bit builds of `guile` 3.0.10, including but not limited to this MRE of a `WARNING`:

```
~ $ cat hello.scm
!#
(display "Hello, world!")
(newline)
~ $ ./hello.scm
;;; WARNING: compilation of /data/data/com.termux/files/home/./hello.scm failed:
;;; In procedure load-thunk-from-memory: ELF file does not have native word size
Hello, world!
~ $
```

- Necessary after these three upstream Guile commits and other commits which depend on them:
  - https://cgit.git.savannah.gnu.org/cgit/guile.git/commit/?id=137b0e85b956a7b7e7c9bc0029d09fe6868e5b17
  - https://cgit.git.savannah.gnu.org/cgit/guile.git/commit/?id=c758c99b5e37408e48dc1b22c73d6ec35d9de866
  - https://cgit.git.savannah.gnu.org/cgit/guile.git/commit/?id=88e0933450ed9f1cc96858641e0756ffa44c53c6

- Tangentially related follow-up to #26977, but **that PR is still necessary also, this PR does not replace it**.

- Necessary to complete #25962
termux-pacman-bot added a commit to termux-pacman/termux-packages that referenced this pull request Oct 27, 2025
- Fixes multiple malformations in the 32-bit builds of `guile` 3.0.10, including but not limited to this MRE of a `WARNING`:

```
~ $ cat hello.scm
!#
(display "Hello, world!")
(newline)
~ $ ./hello.scm
;;; WARNING: compilation of /data/data/com.termux/files/home/./hello.scm failed:
;;; In procedure load-thunk-from-memory: ELF file does not have native word size
Hello, world!
~ $
```

- Necessary after these three upstream Guile commits and other commits which depend on them:
  - https://cgit.git.savannah.gnu.org/cgit/guile.git/commit/?id=137b0e85b956a7b7e7c9bc0029d09fe6868e5b17
  - https://cgit.git.savannah.gnu.org/cgit/guile.git/commit/?id=c758c99b5e37408e48dc1b22c73d6ec35d9de866
  - https://cgit.git.savannah.gnu.org/cgit/guile.git/commit/?id=88e0933450ed9f1cc96858641e0756ffa44c53c6

- Tangentially related follow-up to termux/termux-packages#26977, but **that PR is still necessary also, this PR does not replace it**.

- Necessary to complete termux/termux-packages#25962
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.

[Bug]: guile 3.0.10 fails to build without cross-compilation on 32-bit devices

1 participant