Fails to cross build
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
klibc (Debian) |
Fix Released
|
Unknown
|
|||
klibc (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Klibc fails to cross build for armel architecture: http://
echo 'multiarch_
perl klcc/makeklcc.pl /«PKGBUILDDIR»
:
make -f /«PKGBUILDDIR»
make -rR -f /«PKGBUILDDIR»
gcc -Wp,-MD,
:
make -rR -f /«PKGBUILDDIR»
arm-linux-
cc1: error: unrecognized command line option '-m64'
make[4]: *** [usr/klibc/
make[3]: *** [all] Error 2
make[2]: *** [klibc] Error 2
make[2]: Leaving directory `/«PKGBUILDDIR»'
make[1]: *** [override_
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
For armhf it fails later:
make -f /tmp/porting/
echo " INSTALL headers + man pages to debian/
INSTALL headers + man pages to debian/
mkdir -p debian/tmp/usr/bin
mkdir -p debian/
mkdir -p debian/tmp/lib
mkdir -p debian/
rm -rf debian/
mkdir -p debian/
mkdir -p debian/
mkdir -p debian/
if [ -n "arm-linux-
ln -s /usr/include/
fi
for x in /usr/include/linux /usr/include/asm*; do \
ln -s ${x} debian/
done
ln: failed to create symbolic link `debian/
make[3]: *** [header] Error 1
make[2]: *** [install] Error 2
make[2]: Leaving directory `/tmp/porting/
make[1]: *** [override_
make[1]: Leaving directory `/tmp/porting/
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
debuild: fatal error at line 1350:
dpkg-buildpackage -rfakeroot -d -us -uc -b -aarmhf -nc failed
Related branches
Changed in klibc (Debian): | |
status: | Unknown → New |
Changed in klibc (Debian): | |
status: | New → Fix Released |
Marcin, shouldn't we treat armhf and armel the same in Ubuntu. The patch as it stands is good for Debian where armel is not armv7, so if it lands there we can sync it. But if we change it in Ubuntu first it may as well treat armel and armhf the same, right?