gcc-4.7 no longer builds for arm64
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc-4.7 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
gcc-4.7-
Using this command:
CONFIG_
after the patching and setup we get:
mkdir /«PKGBUILDDIR»
: # configure
cd /«PKGBUILDDIR»
&& PATH=/«
CC="" \
\
LD_LIBRARY_
../src/configure -v --with-
configure: loading site script /etc/dpkg-
Reading Cross Config Cache (/etc/dpkg-
Reading /etc/dpkg-
checking build system type... x86_64-pc-linux-gnu
Invalid configuration `aarch64-
configure: error: /bin/bash ../src/config.sub aarch64-linux-gnu failed
It turns out that this is because the gcc-linaro.diff patch is not applied for ubuntu builds, only Debian-arm64. So there is no aarch64 support to build.
Fixing this by re-enabling the gcc-linaro patch for arm64 allows builds to proceed (although it does not complete)
ifneq (,$(findstring $(DEB_TARGET_
with_
endif
The changelog talks of reverting to using upstream, which is probably fine for other arches, but there is no aarch64 support in upstream 4.7.
Build log: http:// people. linaro. org/~wookey/ buildd/ raring- arm64/gcc- 4.7_4.7. 2-22ubuntu1- raring- arm64-20130224- 0335.log