[Bug gold/14324] internal error in relocate, at ../../gold/x86_64.cc:3361 with gcc -mcmodel=large
https://sourceware.org/bugzilla/show_bug.cgi?id=14324 Alexander Ivchenko changed: What|Removed |Added CC||aivchenk at gmail dot com --- Comment #1 from Alexander Ivchenko --- Also faced the same problem with Android NDK (gold and fpic are defaults there): [...]gold/testsuite/gcctestdir/ld: internal error in relocate, at ../../binutils-gdb/gold/x86_64.cc:3397 -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/16870] Gold internal error with -fpie and -mcmodel=large
https://sourceware.org/bugzilla/show_bug.cgi?id=16870 H.J. Lu changed: What|Removed |Added CC||Bernhard.Rosenkranzer@linar ||o.org --- Comment #4 from H.J. Lu --- *** Bug 14324 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/14324] internal error in relocate, at ../../gold/x86_64.cc:3361 with gcc -mcmodel=large
https://sourceware.org/bugzilla/show_bug.cgi?id=14324 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #2 from H.J. Lu --- It is a dup. *** This bug has been marked as a duplicate of bug 16870 *** -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/16945] New: [Gold] Executable with -fpie and -mcmodel=large gives segfault on start
https://sourceware.org/bugzilla/show_bug.cgi?id=16945 Bug ID: 16945 Summary: [Gold] Executable with -fpie and -mcmodel=large gives segfault on start Product: binutils Version: 2.25 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gold Assignee: ian at airs dot com Reporter: aivchenk at gmail dot com CC: ccoutant at google dot com > cat mcmodel_large.c #include #include int main() { fprintf(stdout, "Hello\n"); return 0; } > g++ -g -O0 -B/gold/.. mcmodel_large.c -fpic -mcmodel=large -o gold.out > ./gold.out Segmentation fault The disassembler: int main() { 4005da: 55 push %rbp 4005db: 48 89 e5mov%rsp,%rbp 4005de: 53 push %rbx 4005df: 48 83 ec 08 sub$0x8,%rsp 4005e3: 48 8d 1d f9 ff ff fflea-0x7(%rip),%rbx # 4005e3 4005ea: 49 bb fd 13 00 00 00movabs $0x13fd,%r11 4005f1: 00 00 00 4005f4: 4c 01 dbadd%r11,%rbx fprintf(stdout, "Hello\n"); 4005f7: 48 b8 f8 ff ff ff 00movabs $0xfff8,%rax 4005fe: 00 00 00 400601: 48 8b 04 03 mov(%rbx,%rax,1),%rax <<< SEGFAULT 400605: 48 8b 00mov(%rax),%rax 400608: 48 89 c1mov%rax,%rcx 40060b: ba 06 00 00 00 mov$0x6,%edx 400610: be 01 00 00 00 mov$0x1,%esi 400615: 48 b8 10 ed ff ff ffmovabs $0xed10,%rax 40061c: ff ff ff 40061f: 48 8d 3c 03 lea(%rbx,%rax,1),%rdi 400623: 48 b8 f0 ea ff ff ffmovabs $0xeaf0,%rax 40062a: ff ff ff 40062d: 48 01 d8add%rbx,%rax 400630: ff d0 callq *%rax return 0; 400632: b8 00 00 00 00 mov$0x0,%eax } Addendum in instruction at 4005f7 is wrong.. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/16946] New: [v850-elf] Intenal error : tc-v850.c line 3248 in md_assemble
https://sourceware.org/bugzilla/show_bug.cgi?id=16946 Bug ID: 16946 Summary: [v850-elf] Intenal error : tc-v850.c line 3248 in md_assemble Product: binutils Version: 2.25 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gas Assignee: unassigned at sourceware dot org Reporter: mon...@monami-software.com I got an internal error like this. ``` /Volumes/git/binutils-gdb/build/./gcc/xgcc -B/Volumes/git/binutils-gdb/build/./gcc/ -B/usr/local/v850-elf/bin/ -B/usr/local/v850-elf/lib/ -isystem /usr/local/v850-elf/include -isystem /usr/local/v850-elf/sys-include -L/Volumes/git/binutils-gdb/build/./ld-g -O2 -mv850e -O2 -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -mno-app-regs -msmall-sld -Wa,-mwarn-signed-overflow -Wa,-mwarn-unsigned-overflow -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fno-stack-protector -Dinhibit_libc -I. -I. -I../../.././gcc -I../../../../libgcc -I../../../../libgcc/. -I../../../../libgcc/../gcc -I../../../../libgcc/../include -DUSE_EMUTLS -o _absvsi2.o -MT _absvsi2.o -MD -MP -MF _absvsi2.dep -DL_absvsi2 -c ../../../../libgcc/../gcc/libgcc2.c \ /var/folders/wr/mrhq4cgx2b15l4xwgj12jchmgn/T//ccR2sNlE.s: Assembler messages: /var/folders/wr/mrhq4cgx2b15l4xwgj12jchmgn/T//ccR2sNlE.s:88: Internal error, aborting at ../../gas/config/tc-v850.c line 3248 in md_assemble Please report this bug. make[3]: *** [_absvsi2.o] Error 1 make[2]: *** [multi-do] Error 1 make[1]: *** [all-multi] Error 2 make: *** [all-target-libgcc] Error 2 ``` Host compiler ``` gcc-4.6 -v Using built-in specs. COLLECT_GCC=gcc-4.6 COLLECT_LTO_WRAPPER=/usr/local/Cellar/gcc46/4.6.4/libexec/gcc/x86_64-apple-darwin13.1.0/4.6.4/lto-wrapper Target: x86_64-apple-darwin13.1.0 Configured with: ../configure --build=x86_64-apple-darwin13.1.0 --prefix=/usr/local/Cellar/gcc46/4.6.4 --enable-languages=c,c++,objc,obj-c++ --program-suffix=-4.6 --with-gmp=/usr/local/opt/gmp4 --with-mpfr=/usr/local/opt/mpfr2 --with-mpc=/usr/local/opt/libmpc08 --with-ppl=/usr/local/opt/ppl011 --with-cloog=/usr/local/opt/cloog-ppl015 --with-system-zlib --enable-version-specific-runtime-libs --enable-libstdcxx-time=yes --enable-stage1-checking --enable-checking=release --enable-lto --disable-werror --enable-plugin --disable-nls --enable-multilib Thread model: posix gcc version 4.6.4 (GCC) ``` Building compiler ``` xgcc -v Using built-in specs. COLLECT_GCC=/Volumes/git/binutils-gdb/build/./gcc/xgcc Target: v850-elf Configured with: ../configure --target=v850-elf --disable-werror --without-ppl --without-cloog --enable-languages=c Thread model: single gcc version 4.6.4 (GCC) ``` -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/16946] [v850-elf] Intenal error : tc-v850.c line 3248 in md_assemble
https://sourceware.org/bugzilla/show_bug.cgi?id=16946 --- Comment #1 from Masaki MURANAKA --- Created attachment 7599 --> https://sourceware.org/bugzilla/attachment.cgi?id=7599&action=edit Issue eeproductive assembler code. This is a result of executing : /Volumes/git/binutils-gdb/build/./gcc/xgcc -B/Volumes/git/binutils-gdb/build/./gcc/ -B/usr/local/v850-elf/bin/ -B/usr/local/v850-elf/lib/ -isystem /usr/local/v850-elf/include -isystem /usr/local/v850-elf/sys-include -L/Volumes/git/binutils-gdb/build/./ld-g -O2 -mv850e -O2 -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -mno-app-regs -msmall-sld -Wa,-mwarn-signed-overflow -Wa,-mwarn-unsigned-overflow -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fno-stack-protector -Dinhibit_libc -I. -I. -I../../.././gcc -I../../../../libgcc -I../../../../libgcc/. -I../../../../libgcc/../gcc -I../../../../libgcc/../include -DUSE_EMUTLS -o _absvsi2.s -MT _absvsi2.o -MD -MP -MF _absvsi2.dep -DL_absvsi2 -S ../../../../libgcc/../gcc/libgcc2.c -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/16946] [v850-elf] Intenal error : tc-v850.c line 3248 in md_assemble
https://sourceware.org/bugzilla/show_bug.cgi?id=16946 --- Comment #2 from Masaki MURANAKA --- You will reproduce this issue with the assembler code I attached (_absvsi2.s) by calling: ``` as-new -mv850e _absvsi2.s ``` I checked code in BFD. And I guess this issue is caused a treatment of "callt". -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils