Le 31/08/2017 à 05:10, Aaron M. Ucko a écrit : > Source: wcc > Version: 0.0.2+dfsg-1 > Severity: important > Tags: upstream > Justification: fails to build from source > > Builds of wcc for architectures other than (Linux) amd64 have been > failing. > > On non-x86 architectures, there are two considerations: the > embedded copy of openlibm under src/wsh generally has no > $(ARCH)/Make.files, and GCC doesn't support -masm=intel regardless. > You could sidestep the former by building against separately packaged > libopenlibm-dev (as called for by Policy 4.13), but the latter may be > more of a problem. Should be corrected by last update using libopenlibm-dev from Debian. For non-Linux, I've updated to Architecture: linux-any by now. I'll check for Freebsd & Hurd in the meantime. > > On non-Linux architectures (kFreeBSD and presumably also the Hurd if > and when clang becomes installable there), there's no <linux/elf-em.h> > for arch.h to include. > > On i386, wsh somehow winds up compiled for the wrong architecture, > leading to link errors: > > /usr/bin/ld: skipping incompatible > /usr/lib/gcc/i686-linux-gnu/7/../../../i386-linux-gnu/libiberty.a when > searching for -liberty > /usr/bin/ld: skipping incompatible /usr/lib/i386-linux-gnu/libiberty.a when > searching for -liberty > /usr/bin/ld: cannot find -liberty > > On x32 (admittedly not a release architecture), wcc is still in the > Needs-Build queue; I'm not sure what will happen there. I will make some more tests on various arches including CI). If everything is okay I update the package.
Cheers, -- O Philippe Thierry. /Y\/ Hardened embedded systems o#o GPG: 7010 9A3C E210 763E 6341 4581 C257 B91B CDAF C1EA
signature.asc
Description: OpenPGP digital signature