[Bug binutils/12088] ar/nm plugin use requires GNUTARGET=plugin
--- Additional Comments From hjl dot tools at gmail dot com 2010-10-04 12:04 --- I got [...@gnu-6 lto-ar-emu]$ make /export/build/gnu/gcc/release/usr/gcc-4.6.0/bin/gcc -O2 -flto-c -o main.o main.c /export/build/gnu/gcc/release/usr/gcc-4.6.0/bin/gcc -O2 -flto-c -o a.o a.c /export/build/gnu/gcc/release/usr/gcc-4.6.0/bin/gcc -O2 -flto-c -o b.o b.c /export/build/gnu/gcc/release/usr/gcc-4.6.0/bin/gcc -O2 -flto-c -o c.o c.c ./ONLYLTO a.o ./ONLYLTO b.o ./ONLYLTO c.o rm -f t.a ./ar --plugin /export/build/gnu/gcc/release/usr/gcc-4.6.0/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/liblto_plugin.so qs t.a a.o.o b.o.o c.o.o ./ar: creating t.a /export/build/gnu/gcc/release/usr/gcc-4.6.0/bin/gcc -flto -fuse-linker-plugin main.o t.a -o main lto1: fatal error: Cannot find LTO varpool in t.a compilation terminated. lto-wrapper: /export/build/gnu/gcc/release/usr/gcc-4.6.0/bin/gcc returned 1 exit status /usr/local/bin/ld.gold: fatal error: lto-wrapper failed collect2: ld returned 1 exit status make: *** [main] Error 1 [...@gnu-6 lto-ar-emu]$ nm -s t.a Archive index: a in a.o.o b in b.o.o c in c.o.o a.o.o: b.o.o: c.o.o: [...@gnu-6 lto-ar-emu]$ It looks OK to me. -- What|Removed |Added Status|REOPENED|WAITING http://sourceware.org/bugzilla/show_bug.cgi?id=12088 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/12088] ar/nm plugin use requires GNUTARGET=plugin
--- Additional Comments From andi-bz at firstfloor dot org 2010-10-04 07:02 --- Created an attachment (id=5032) --> (http://sourceware.org/bugzilla/attachment.cgi?id=5032&action=view) test case demonstrating the ar problem Full test case demonstrating the ar problem. You will need a lto capable gcc. Please adjust the paths in the Makefile first. -- http://sourceware.org/bugzilla/show_bug.cgi?id=12088 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/12088] ar/nm plugin use requires GNUTARGET=plugin
--- Additional Comments From andi-bz at firstfloor dot org 2010-10-04 07:01 --- I think that's because you didn't strip the ELF symbol table, so it will fall back to the ELF table. If you only "ONLYLTO" first and there is only LTO information (see #6) it doesn't work. -- What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED | http://sourceware.org/bugzilla/show_bug.cgi?id=12088 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/12088] ar/nm plugin use requires GNUTARGET=plugin
--- Additional Comments From hjl dot tools at gmail dot com 2010-10-04 12:21 --- ONLYLTO looks odd to me. I made some changes and got: [...@gnu-6 lto-ar-emu]$ cat ONLYLTO #!/bin/sh for s in $(readelf -S --wide $1 | grep lto | sed -e "s/.*\(.gnu.lto_.*\)[ \t]*PROGBITS.*/\1/") do sections="$sections -j $s" done objcopy $sections $1 $1.o [...@gnu-6 lto-ar-emu]$ make /export/build/gnu/gcc/release/usr/gcc-4.6.0/bin/gcc -O2 -flto-c -o main.o main.c /export/build/gnu/gcc/release/usr/gcc-4.6.0/bin/gcc -O2 -flto-c -o a.o a.c /export/build/gnu/gcc/release/usr/gcc-4.6.0/bin/gcc -O2 -flto-c -o b.o b.c /export/build/gnu/gcc/release/usr/gcc-4.6.0/bin/gcc -O2 -flto-c -o c.o c.c ./ONLYLTO a.o ./ONLYLTO b.o ./ONLYLTO c.o rm -f t.a ./ar --plugin /export/build/gnu/gcc/release/usr/gcc-4.6.0/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/liblto_plugin.so qs t.a a.o.o b.o.o c.o.o ./ar: creating t.a /export/build/gnu/gcc/release/usr/gcc-4.6.0/bin/gcc -flto -fuse-linker-plugin main.o t.a -o main ./main c 3 [...@gnu-6 lto-ar-emu]$ -- What|Removed |Added Status|WAITING |RESOLVED Resolution||FIXED http://sourceware.org/bugzilla/show_bug.cgi?id=12088 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
objdump infinite loop on v850 object file
Hi Support If I have the following (simplified testcase) assembler file for v850 assembler asmtest.S .text .globl _start _start: movhi hi(data), r0, r10 movea lo(data), r10, r10 label1: mov r0, r1 .data data: .word 0x If I assemble and link this example, then run objdump on the result, objdump gets stuck in a loop I am testing this from the head of CVS on Oct/3/2010. This works ok in binutils 2.20 v850-elf-as -mv850e2 -o asmtest.o asmtest.S --fatal-warnings v850-elf-ld -o asmtest.exe asmtest.o v850-elf-objdump -D asmtest.exe ;# WARNING - infinite loop please let me know how to fix this issue Thx Lee ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/12089] build fails on 'make' #1
--- Additional Comments From jamesmikedupont at googlemail dot com 2010-10-04 17:34 --- This occurs on hurd as well. GNU flubber 0.3 GNU-Mach 1.3.99/Hurd-0.3 i386-AT386 GNU gcc -v Using built-in specs. Target: i486-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.4.4-14' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.4 --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls --enable-libstdcxx-debug --with-arch=i586 --with-tune=generic --enable-checking=release --build=i486-gnu --host=i486-gnu --target=i486-gnu Thread model: posix gcc version 4.4.5 20100909 (prerelease) (Debian 4.4.4-14) -- What|Removed |Added CC||jamesmikedupont at ||googlemail dot com http://sourceware.org/bugzilla/show_bug.cgi?id=12089 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils