http://bugzilla.opensuse.org/show_bug.cgi?id=938658 Bug ID: 938658 Summary: cross-mips-binutils should not enable hash-style=gnu Classification: openSUSE Product: openSUSE Distribution Version: 13.2 Hardware: Other OS: Other Status: NEW Severity: Major Priority: P5 - None Component: Development Assignee: bnc-team-screening@forge.provo.novell.com Reporter: arvidjaar@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- cross binutils include patch use-hashtype-both-by-default.diff that is apparently applied to all archs. It results in failure because .gnu.hash cannot be used on MIPS: bor@opensuse:~/src/llvm/tools/clang> file conftest conftest: ELF 32-bit MSB relocatable, MIPS, MIPS32 rel2 version 1 (GNU/Linux), not stripped bor@opensuse:~/src/llvm/tools/clang> /usr/bin/mips-suse-linux-ld --eh-frame-hdr -m elf32btsmip -dynamic-linker -v conftest /usr/bin/mips-suse-linux-ld: .gnu.hash is incompatible with the MIPS ABI /usr/bin/mips-suse-linux-ld: warning: cannot find entry symbol __start; defaulting to 00000000004000d0 bor@opensuse:~/src/llvm/tools/clang> objdump -h conftest conftest: формат файла elf32-tradbigmips Разделы: Инд Имя Размер VMA LMA Файл Вырав 0 .text 00000010 00000000 00000000 00000040 2**4 CONTENTS, ALLOC, LOAD, READONLY, CODE 1 .data 00000000 00000000 00000000 00000050 2**4 CONTENTS, ALLOC, LOAD, DATA 2 .bss 00000000 00000000 00000000 00000050 2**4 ALLOC 3 .mdebug.abi32 00000000 00000000 00000000 00000050 2**0 CONTENTS, READONLY 4 .pdr 00000040 00000000 00000000 00000050 2**2 CONTENTS, ALLOC, LOAD, RELOC, DATA 5 .debug_str 000000df 00000000 00000000 00000090 2**0 CONTENTS, READONLY, DEBUGGING 6 .debug_loc 00000000 00000000 00000000 0000016f 2**0 CONTENTS, READONLY, DEBUGGING 7 .debug_abbrev 0000005a 00000000 00000000 0000016f 2**0 CONTENTS, READONLY, DEBUGGING 8 .debug_info 00000054 00000000 00000000 000001c9 2**0 CONTENTS, RELOC, READONLY, DEBUGGING 9 .debug_ranges 00000000 00000000 00000000 0000021d 2**0 CONTENTS, READONLY, DEBUGGING 10 .debug_pubnames 00000026 00000000 00000000 0000021d 2**0 CONTENTS, RELOC, READONLY, DEBUGGING 11 .debug_pubtypes 0000001a 00000000 00000000 00000243 2**0 CONTENTS, RELOC, READONLY, DEBUGGING 12 .comment 000000a6 00000000 00000000 0000025d 2**0 CONTENTS, READONLY 13 .note.GNU-stack 00000000 00000000 00000000 00000303 2**0 CONTENTS, READONLY 14 .reginfo 00000018 00000000 00000000 00000304 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA, LINK_ONCE_SAME_SIZE 15 .MIPS.abiflags 00000018 00000000 00000000 00000320 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA 16 .debug_frame 00000034 00000000 00000000 00000338 2**2 CONTENTS, RELOC, READONLY, DEBUGGING 17 .debug_line 00000043 00000000 00000000 0000036c 2**0 CONTENTS, RELOC, READONLY, DEBUGGING bor@opensuse:~/src/llvm/tools/clang> See https://sourceware.org/ml/binutils/2006-07/msg00341.html .gnu.hash generation should be disabled for MIPS by default. -- You are receiving this mail because: You are on the CC list for the bug.