Closed xen0n closed 3 months ago
Reasons why bootstrapping is needed:
WÁNG Xuěruì @.***> 于2024年7月16日周二 14:16写道:
This has been blocking Debian loong64 port's gcc-14 and various other related packages for a while now.
Steps:
- Cross-compile version 13 of GNAT and GDC for LoongArch
- Make Debian package out of it
- Ask someone to upload it to Debian-Ports
- See if things are unblocked
我来说个更详细的步骤:
- 制作Multiarch镜像,同时装amd64和loong64的相关依赖包 这一步需要大量的脏操作,包括装包的时候强制忽略版本依赖关系等
- 使用 dpkg-buildpackage -aloong64 来编译 此处的交叉编译分两种,一种是 --host=--build, 还有一种是 --host=--target 我之前用过几次,是可以搞出来的。
- 在loong64上,使用第二步编译出来的包,再编译一遍。
This issue tracks collaboration of said work.
cc @212dandan https://github.com/212dandan @Dandan336 https://github.com/Dandan336 (which is the primary account?)
— Reply to this email directly, view it on GitHub https://github.com/loongson-community/discussions/issues/60, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABH4CJ34FMBUAVDVIIIWODZMS3DJAVCNFSM6AAAAABK5367VWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQYTAMZQGI3TMMY . You are receiving this because you are subscribed to this thread.Message ID: @.***>
-- YunQiang Su
@Dandan336 says https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1072635
gnat-13
was bumped to gnat-14
for loong64
, but only that, missing gdc-13
which causes this bug. This will be fixed shortly.
The version is stuck in Build-Attempted
status. @Dandan336 says it's still caused by outdated gcc-defaults
symlinking unversioned gnatmake
etc. to non-existent gnat*-13
.
There seems to be a gnat
package that needs bumping too:
gcc-defaults
doesn't seem to contain declarations for the gnat-*
packages.
不是的,现在的gnat只能同时装一个版本,而且自带没版本号的链接。
WÁNG Xuěruì @.***> 于 2024年7月22日周一 18:26写道:
There seems to be a gnat package that needs bumping too:
gcc-defaults doesn't seem to contain declarations for the gnat-* packages.
— Reply to this email directly, view it on GitHub https://github.com/loongson-community/discussions/issues/60#issuecomment-2242619074, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABH4CNZTAJLWU4KQ2RXKHLZNTM3PAVCNFSM6AAAAABK5367VWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBSGYYTSMBXGQ . You are receiving this because you commented.Message ID: @.***>
The work is now blocked by gcc
SIGILL
's on builders. Likely due to too old kernels on builders (no ISA extensions support; the new gcc-14
binaries make use of LSX). Waiting for Loongson to upgrade the builders' kernels.
These bugs were fixed:
SIGILL
due to outdated buildd kernels)gnatmake
symlinks for bootstrapping)gdc
and gm2
for loong64
)Now gcc-14
is fully bootstrapped on loong64
, complete with GNAT and GDC. Closing :tada:
This has been blocking Debian
loong64
port'sgcc-14
and various other related packages for a while now.Steps:
This issue tracks collaboration of said work.
cc @212dandan @Dandan336 (which is the primary account?)