[opensuse-arm] llvm build

Hi Adrian, Something looks weird in the llvm build. I'm getting an assert during compilation: [22708s] /emul/x86_64-for-arm//usr/lib/gcc/armv7hl-suse-linux-gnueabi/4.7/../../../../armv7hl-suse-linux-gnueabi/bin/ld: BFD (GNU Binutils; openSUSE Factory) 2.22 assertion fail ../../bfd/elf32-arm.c:11477 which points to this source line: 11473 /* If the input has no requirement about FP hardware, do 11474 nothing. */ 11475 else if (in_attr[i].i == 0) 11476 { 11477 BFD_ASSERT (in_attr[Tag_ABI_HardFP_use].i == 0); So for some reason the compiler generated softfp code, but the linker thinks it should he hardfp instead? Does the resulting binary work? Alex -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org

Am Dienstag, 24. Juli 2012, 01:29:06 schrieb Alexander Graf:
Hi Adrian,
Something looks weird in the llvm build. I'm getting an assert during compilation:
[22708s] /emul/x86_64-for-arm//usr/lib/gcc/armv7hl-suse-linux-gnueabi/4.7/../../../../armv7hl-suse-linux-gnueabi/bin/ld: BFD (GNU Binutils; openSUSE Factory) 2.22 assertion fail ../../bfd/elf32-arm.c:11477
which points to this source line:
11473 /* If the input has no requirement about FP hardware, do 11474 nothing. */ 11475 else if (in_attr[i].i == 0) 11476 { 11477 BFD_ASSERT (in_attr[Tag_ABI_HardFP_use].i == 0);
So for some reason the compiler generated softfp code, but the linker thinks it should he hardfp instead? Does the resulting binary work?
The compile should default to hardfp. What exactly is his calling line? -- 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 07/24/2012 08:04 AM, Adrian Schröter wrote:
Am Dienstag, 24. Juli 2012, 01:29:06 schrieb Alexander Graf:
Hi Adrian,
Something looks weird in the llvm build. I'm getting an assert during compilation:
[22708s] /emul/x86_64-for-arm//usr/lib/gcc/armv7hl-suse-linux-gnueabi/4.7/../../../../armv7hl-suse-linux-gnueabi/bin/ld: BFD (GNU Binutils; openSUSE Factory) 2.22 assertion fail ../../bfd/elf32-arm.c:11477
which points to this source line:
11473 /* If the input has no requirement about FP hardware, do 11474 nothing. */ 11475 else if (in_attr[i].i == 0) 11476 { 11477 BFD_ASSERT (in_attr[Tag_ABI_HardFP_use].i == 0);
So for some reason the compiler generated softfp code, but the linker thinks it should he hardfp instead? Does the resulting binary work? The compile should default to hardfp. What exactly is his calling line?
This is during the clang compilation which doesn't show any executing commands. Alex -- 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
-
Alexander Graf