[opensuse-arm] ARM gcc47 build issue
Hi all, An ARM build issue exists. I see: /emul/x86_64-for-arm/lib64:/emul/x86_64-for-arm/usr/lib64 Is still gcc 4.6.3. Form the config.log of for instance binutils I see it tries to compile against gcc4.6.3 <quote> Thread model: posix gcc version 4.6.3 (SUSE Linux) configure:4018: $? = 0 configure:4007: gcc -V >&5 gcc: error: unrecognized option '-V' gcc: fatal error: no input files compilation terminated. </quote> instead of 4.7. Which is installed correctly in: drwxr-xr-x 3 root root 4.0K Apr 20 18:30 armv7l-suse-linux-gnueabi lrwxrwxrwx 1 root root 7 Apr 21 11:10 ./build-root/usr/bin/gcc -> gcc-4.7 lrwxrwxrwx 1 root root 10 Apr 21 11:08 ./build-root/usr/lib64/gcc -> ../lib/gcc These are gcc 4.6.3 binaries. lrwxrwxrwx 1 root root 12 Apr 21 11:08 ./build-root/emul/x86_64-for-arm/usr/lib/gcc -> ../lib64/gcc -rwxr-xr-x 1 root root 322K Apr 20 10:29 ./build-root/emul/x86_64-for-arm/usr/bin/gcc
From package: qemu-accel-arm ( qemu-accel-arm-0.2-8.5.x86_64.rpm )
Package: openSUSE:Factory:ARM qemu-accel cant be rebuild due to: openSUSE:Factory:ARM cross-armv7l-binutils for x86_64 ( qemu_accel ) Will enabling this build resolve this issue? I don't see a spec file for: cross-armv7l-binutils only cross-arm-binutils I've just build this package locally without a problem: osc build --alternative-project=openSUSE:Factory:ARM qemu_accel x86_64 cross-arm-binutils.spec Regards, Joop. -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On Sat, April 21, 2012 11:45 am, Joop Boonen wrote:
Hi all,
An ARM build issue exists.
I see: /emul/x86_64-for-arm/lib64:/emul/x86_64-for-arm/usr/lib64
Is still gcc 4.6.3.
Form the config.log of for instance binutils I see it tries to compile against gcc4.6.3
<quote> Thread model: posix gcc version 4.6.3 (SUSE Linux) configure:4018: $? = 0 configure:4007: gcc -V >&5 gcc: error: unrecognized option '-V' gcc: fatal error: no input files compilation terminated. </quote>
instead of 4.7. Which is installed correctly in: drwxr-xr-x 3 root root 4.0K Apr 20 18:30 armv7l-suse-linux-gnueabi lrwxrwxrwx 1 root root 7 Apr 21 11:10 ./build-root/usr/bin/gcc -> gcc-4.7 lrwxrwxrwx 1 root root 10 Apr 21 11:08 ./build-root/usr/lib64/gcc -> ../lib/gcc
These are gcc 4.6.3 binaries. lrwxrwxrwx 1 root root 12 Apr 21 11:08 ./build-root/emul/x86_64-for-arm/usr/lib/gcc -> ../lib64/gcc -rwxr-xr-x 1 root root 322K Apr 20 10:29 ./build-root/emul/x86_64-for-arm/usr/bin/gcc
From package: qemu-accel-arm ( qemu-accel-arm-0.2-8.5.x86_64.rpm )
Package: openSUSE:Factory:ARM qemu-accel cant be rebuild due to: openSUSE:Factory:ARM cross-armv7l-binutils for x86_64 ( qemu_accel )
Will enabling this build resolve this issue? I don't see a spec file for: cross-armv7l-binutils only cross-arm-binutils
I've just build this package locally without a problem: osc build --alternative-project=openSUSE:Factory:ARM qemu_accel x86_64 cross-arm-binutils.spec
I did more checks, via the specfile of binutils. I something quite strange. /usr/bin/gcc shows gcc 4.6.3 while /usr/bin/gcc-4.7 where /usr/bin/gcc links to shows version 4.7. ++ which gcc + ls -al /usr/bin/gcc lrwxrwxrwx 1 root root 7 Apr 21 09:58 /usr/bin/gcc -> gcc-4.7 + ls -alH /usr/bin/gcc -rwxr-xr-x 1 root root 396888 Apr 20 16:36 /usr/bin/gcc + ls -al /usr/bin/gcc-4.7 -rwxr-xr-x 1 root root 396888 Apr 20 16:36 /usr/bin/gcc-4.7 + /usr/bin/gcc -v Using built-in specs. COLLECT_GCC=/usr/bin/gcc Target: armv7l-suse-linux-gnueabi Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++ --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.6 --enable-ssp --disable-libssp --disable-plugin --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --enable-linker-build-id --with-sysroot=/ --enable-linux-futex --disable-nls --target=armv7l-suse-linux-gnueabi --with-arch=armv7-a --with-tune=cortex-a9 --with-float=hard --with-mode=thumb --with-abi=aapcs-linux --with-fpu=vfpv3-d16 --disable-sjlj-exceptions --build=x86_64-suse-linux Thread model: posix gcc version 4.6.3 (SUSE Linux) + /usr/bin/gcc-4.7 -v Using built-in specs. COLLECT_GCC=/usr/bin/gcc-4.7 COLLECT_LTO_WRAPPER=/usr/lib/gcc/armv7l-suse-linux-gnueabi/4.7/lto-wrapper Target: armv7l-suse-linux-gnueabi Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c++,java --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.7 --enable-ssp --disable-libssp --disable-libitm --disable-plugin --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --enable-linker-build-id --program-suffix=-4.7 --enable-linux-futex --without-system-libunwind --with-arch=armv7-a --with-tune=cortex-a9 --with-float=hard --with-mode=thumb --with-abi=aapcs-linux --with-fpu=vfpv3-d16 --disable-sjlj-exceptions --build=armv7l-suse-linux-gnueabi Thread model: posix gcc version 4.7.0 20120413 [gcc-4_7-branch revision 186417] (SUSE Linux) So it might not be related to qemu-accel, but something else.
Regards,
Joop.
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Am Samstag, 21. April 2012, 11:45:00 schrieb Joop Boonen:
Hi all,
An ARM build issue exists.
I see: /emul/x86_64-for-arm/lib64:/emul/x86_64-for-arm/usr/lib64
Is still gcc 4.6.3.
I tried to fix it by enabling the build of cross-armv7l-binutils for x86_64 again , which is the reason why qemu-accel is in unresolvable and can't be build. I will have a look later again (but I forgot the power supply for my notebook at home, so it might not happen before monday or sunday evening). sorry adrian -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On Sat, April 21, 2012 3:45 pm, Adrian Schröter wrote:
Am Samstag, 21. April 2012, 11:45:00 schrieb Joop Boonen:
Hi all,
An ARM build issue exists.
I see: /emul/x86_64-for-arm/lib64:/emul/x86_64-for-arm/usr/lib64
Is still gcc 4.6.3.
I tried to fix it by enabling the build of cross-armv7l-binutils for x86_64 again , which is the reason why qemu-accel is in unresolvable and can't be build.
The package isn't build as cross-armv7l-binutils.changes cross-armv7l-binutils.spec and cross-armv5tel-binutils.changes cross-armv5tel-binutils.spec are missing. I've created them in home:worldcitizen:branches:openSUSE:Factory:ARM cross-armv7l-binutils . Maybe these ( cross-armv5tel-binutils.changes cross-armv5tel-binutils.spec cross-armv7l-binutils.changes cross-armv7l-binutils.spec ) can be copied over and committed in openSUSE:Factory:ARM ? I don't know what the standard is. Should both spec files reside in this project/package (binutils)?
I will have a look later again (but I forgot the power supply for my notebook at home, so it might not happen before monday or sunday evening).
sorry adrian
-- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Am Samstag, 21. April 2012, 15:45:12 schrieb Adrian Schröter:
Am Samstag, 21. April 2012, 11:45:00 schrieb Joop Boonen:
Hi all,
An ARM build issue exists.
I see: /emul/x86_64-for-arm/lib64:/emul/x86_64-for-arm/usr/lib64
Is still gcc 4.6.3.
I tried to fix it by enabling the build of cross-armv7l-binutils for x86_64 again , which is the reason why qemu-accel is in unresolvable and can't be build.
I will have a look later again (but I forgot the power supply for my notebook at home, so it might not happen before monday or sunday evening).
binutils package lacked the right spec file, so the cross binutils got not built. fixed now. -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
participants (2)
-
Adrian Schröter
-
Joop Boonen