Closed IrneRacoonovich closed 3 months ago
Additionally, after running dkp-pacman -Suy
inside the latest docker image the issue present in SDK appears in the docker image as well:
/opt/devkitpro/devkitA64/bin/../lib/gcc/aarch64-none-elf/14.1.0/../../../../aarch64-none-elf/bin/ld: read-only segment has dynamic relocations
collect2: error: ld returned 1 exit status
Seems like the latest version of zzip (switch-zziplib-0.13.76-2
) is broken in devkit.
This should, in theory be fixed with the latest zziplib package & docker image but I don't have a testcase to check. Can you give it a shot & report back please @IrneRacoonovich ?
@WinterMute
Yes, the latest version (0.13.78-1) is okay and causes no issues.
The latest docker is quite outdated it seems. There are around a dozen updates from dkp-pacman if running inside the devkita64:latest
container.
With the latest docker image update (devkitpro/devkita64:20240827) there's no issue anymore. I'm closing the issue.
Bug Report
What's the issue you encountered?
Zziplib is not available anymore in portlibs in the newest
devkita64
docker images. The latestdevkita64
image where it was present is 20240324.I haven't made any changes to the image before or after the issue occurred. The issue appears just from updating the docker image from version
20240324
to any later one.How can the issue be reproduced?
Pull docker image
latest
,20240602
or20240604
and try including"zzip/zzip.h"
while using the switch MAKEFILE to build.Will result in:
In the image
20240324
the files are present:In the newer ones they are absent:
Environment?
Tested with docker on Linux Mint and in Github pipeline using the official docker without modifications.
Additional context?
Additionally the zzip portlib is also broken in the latest SDK (tested with official windows MSYS based SDK). It causes "read-only segment has dynamic relocations" linking errors if any
zzip_*
function is called, unlike with an earlier SDK version.