在 2024-09-07星期六的 14:46 +0200,Andrea Pappacoda写道: > Hi Boyuan, thanks for the interest (and for sponsoring the Vixl 7.0 update)! > > Il 7 settembre 2024 14:23:20 CEST, Boyuan Yang <by...@debian.org> ha scritto: > > My only question: is its upstream only supporting amd64 and i386? > > > > * If yes, it is necessary to update the Architecture: field in > > debian/control file to prevent > > unnecessary builds. > > > > * If no, I am interested in the reason of various hardcoded *amd64* and > > *i386* strings in the > > original source code. > > Of course not! Upstream only supports the no-libc target on amd64 and > i386, since you have to use inline assembly to do system calls if you > don't have access to libc (you cannot use the syscall() function). > > For the Debian package I chose to use the "generic" variant, as you can > see in the rules file, which only requires libc to build and is completely > architecture independent. So the "linux_amd64" and "linux_i686" variants > are completely untouched and not used at all. > > Thanks again! Bye :)
Okay. I have uploaded this version of the package. One caveat that I will need to point out (but not necessarily a blocker): by hardcoding PKG_CONFIG_SYSTEM_LIBRARY_PATH at build time, your package may not build correctly when being cross built when the host arch is different from the target arch. I am not an export in this field, but you may need to dig into it if necessary. Thanks, Boyuan Yang
signature.asc
Description: This is a digitally signed message part