snapcraft needs to export CROSS32CC var when building arm64 kernel
Metadata
Current evaluation
⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.
Closed without resolution. The report detailing missing CROSS32CC variable exports for arm64 kernel builds was abandoned due to age and lack of follow-up.
Suggested action: —
No scores available.
Issue body
See https://devtalk.nvidia.com/default/topic/894945/jetson-tx1/jetson-tx1/10
Or else you get something like:
VDSO32C arch/arm64/kernel/vdso32/vgettimeofday.o
/bin/sh: 1: -Wp,-MD,arch/arm64/kernel/vdso32/.vgettimeofday.o.d: not found
/home/yann/dev/snappy/1604/packages/paros_kernel/parts/kernel/build/arch/arm64/kernel/vdso32/Makefile:37: recipe for target 'arch/arm64/kernel/vdso32/vgettimeofday.o' failed
because VDSO32C is not set
Because of this, I guess you would also need to add the armv7a toolchain as a dependency in the _ARCH_TRANSLATIONS['aarch64']['cross-build-packages']
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. The report detailing missing CROSS32CC variable exports for arm64 kernel builds was abandoned due to age and lack of follow-up. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. The missing CROSS32CC export and armv7a toolchain dependency for arm64 kernel builds remain unaddressed. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without resolution or comments. The report identified a missing CROSS32CC variable and armv7a cross-toolchain dependency causing arm64 kernel build failures in snapcraft. Abandoned due to inactivity. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1757094 snapcraft in edge channel (2.39.2+git46.c22d7e2) fails to cross-compile kernel | snapcraft (launchpad) | closed | Closed without comments. The cross-compilation failure was likely resolved in later stable releases or abandoned due to inactivity. The stable channel served as a functional workaround. | |
| #1641123 snapcraft does not properly detect the architecture when kernel is 64 bits but userspace is 32 | snapcraft (launchpad) | closed | Closed without resolution. Snapcraft incorrectly identified arm64 architecture in 64-bit kernel/32-bit userspace chroots, generating mismatched snaps. The report was abandoned due to inactivity. | |
| #1984227 Snapcraft 7.1.1 does not build with core22 on riscv64 | snapcraft (launchpad) | closed | Closed without resolution or comments, effectively abandoned due to lack of activity or lack of riscv64 support. |