[Bug ld/12562] Ld.dk fails with "could not read symbols: Bad value" message

2011-03-11 Thread davek at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=12562

--- Comment #7 from Dave Korn  2011-03-12 06:00:55 
UTC ---
(In reply to comment #6)
> Created attachment 5299 [details]
> Fixed respin.
> 
> Moved all the chain manipulation inside the if-new-files-added test.  Appears
> to work properly this time.

I have inadvertently mixed code and variable declarations c99 style there; I'll
refactor that before I send it to the mailing list but it should still be good
for testing.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/12562] Ld.dk fails with "could not read symbols: Bad value" message

2011-03-11 Thread davek at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=12562

--- Comment #6 from Dave Korn  2011-03-12 05:58:59 
UTC ---
Created attachment 5299
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5299
Fixed respin.

Moved all the chain manipulation inside the if-new-files-added test.  Appears
to work properly this time.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/12562] Ld.dk fails with "could not read symbols: Bad value" message

2011-03-11 Thread davek at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=12562

Dave Korn  changed:

   What|Removed |Added

   Attachment #5298|0   |1
is obsolete||

--- Comment #5 from Dave Korn  2011-03-12 05:35:42 
UTC ---
Comment on attachment 5298
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5298
Fix typo in 003ld-plugin-api-link-order.diff

patch is buggy.  will spin a new one tomorrow.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/12562] Ld.dk fails with "could not read symbols: Bad value" message

2011-03-11 Thread davek at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=12562

Dave Korn  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
 AssignedTo|unassigned at sources dot   |davek at gcc dot gnu.org
   |redhat.com  |

--- Comment #4 from Dave Korn  2011-03-12 03:05:03 
UTC ---
Created attachment 5298
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5298
Fix typo in 003ld-plugin-api-link-order.diff

There was a typo in 003ld-plugin-api-link-order.diff, at the point where it has
to open the new files that were added by the plugin through the add_input_file
callback; it starts at the wrong point in the chain of input files, reopening
the existing ones before it reaches the newly-added files.  Reopening the
object files is ignored, but reopening the libraries causes them to be
rescanned, and since toupper still isn't defined at this point - the ltrans.o
file not having been opened yet - when we reopen libxxx we pull in toupper.o
again (it already having been pulled in, then claimed by the plugin, first time
round).  The backend complains about the same library module being supposedly
pulled in twice.

Solved by starting the reopen at the correct point, i.e. the old tail of the
list, which is where the new input files will have been added.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/12557] gcc & Firefox fail to build with -flto and --as-needed LDFLAGS

2011-03-11 Thread cryptooctoploid at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12557

--- Comment #26 from Octoploid  2011-03-11 
22:12:02 UTC ---
Hmm, the LDFLAGS are simply ignored by gcc.
And gcc builds fine when I configure it with:
--with-boot-ldflags=-Wl,-O1,--hash-style=gnu,--as-needed

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gold/12572] FAIL: debug_msg.sh

2011-03-11 Thread ian at airs dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12572

Ian Lance Taylor  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #3 from Ian Lance Taylor  2011-03-11 21:42:53 
UTC ---
Should be fixed now.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gold/12572] FAIL: debug_msg.sh

2011-03-11 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=12572

--- Comment #2 from cvs-commit at gcc dot gnu.org  2011-03-11 21:42:15 UTC ---
CVSROOT:/cvs/src
Module name:src
Changes by:i...@sourceware.org2011-03-11 21:42:12

Modified files:
gold   : ChangeLog 
gold/testsuite : debug_msg.sh odr_violation2.cc 

Log message:
PR gold/12572
* testsuite/odr_violation2.cc: Add comment to make all error line
numbers double digits.
* testsuite/debug_msg.sh: Adjust expected errors.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/ChangeLog.diff?cvsroot=src&r1=1.704&r2=1.705
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/testsuite/debug_msg.sh.diff?cvsroot=src&r1=1.11&r2=1.12
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/testsuite/odr_violation2.cc.diff?cvsroot=src&r1=1.3&r2=1.4

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/12557] gcc & Firefox fails to build with -flto and --as-needed LDFLAGS

2011-03-11 Thread cryptooctoploid at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12557

--- Comment #25 from Octoploid  2011-03-11 
21:02:12 UTC ---
Even gcc fails to build with the same combination (-flto and Wl,--as-needed):

...
/var/tmp/gcc_build_dir/./prev-gcc/g++ -B/var/tmp/gcc_build_dir/./prev-gcc/
-B/usr/x86_64-pc-linux-gnu/bin/ -nostdinc++
-B/var/tmp/gcc_build_dir/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs
-I/var/tmp/gcc_build_dir/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu
-I/var/tmp/gcc_build_dir/prev-x86_64-pc-linux-gnu/libstdc++-v3/include
-I/var/tmp/gcc/libstdc++-v3/libsupc++
-L/var/tmp/gcc_build_dir/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs 
-march=native -O2 -pipe -flto=jobserver -frandom-seed=1 -fprofile-use -DIN_GCC 
 -W -Wall -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H
-static-libstdc++ -static-libgcc  gcov.o intl.o version.o errors.o
../libcpp/libcpp.a   ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a 
-o gcov
/lib64/libc.so.6: undefined reference to `_dl_argv@GLIBC_PRIVATE'
/lib64/libc.so.6: undefined reference to `_rtld_global_ro@GLIBC_PRIVATE'
/lib64/libc.so.6: undefined reference to `__tls_get_addr@GLIBC_2.3'
/lib64/libc.so.6: undefined reference to `_rtld_global@GLIBC_PRIVATE'
/lib64/libc.so.6: undefined reference to `__libc_enable_secure@GLIBC_PRIVATE'
collect2: ld returned 1 exit status
make[3]: *** [gcov] Error 1
make[3]: *** Waiting for unfinished jobs
rm gfortran.pod cpp.pod gcov.pod gcc.pod fsf-funding.pod gfdl.pod
make[3]: Leaving directory `/var/tmp/gcc_build_dir/gcc'
make[2]: *** [all-stagefeedback-gcc] Error 2
make[2]: Leaving directory `/var/tmp/gcc_build_dir'
make[1]: *** [stagefeedback-bubble] Error 2
make[1]: Leaving directory `/var/tmp/gcc_build_dir'
make: *** [profiledbootstrap] Error 2

Configured with:
../gcc/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.6.0
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.0/include
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.6.0
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.6.0/man
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.6.0/info
--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.0/include/g++-v4
--host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec
--disable-fixed-point --without-ppl --without-cloog --enable-lto --enable-nls
--without-included-gettext --with-system-zlib --disable-werror
--enable-build-with-cxx --enable-initfini-array --with-gold --enable-secureplt
--enable-libmudflap --disable-libssp --enable-libgomp --enable-cld
--with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.6.0/python
--enable-checking=release --disable-libgcj --enable-languages=c,c++,fortran
--enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-multilib
--enable-clocale=gnu --with-build-config=bootstrap-lto

And build with:
make -j4 BOOT_CFLAGS="-march=native -O2 -pipe" STAGE1_CFLAGS="-march=native -O2
-pipe" CFLAGS_FOR_TARGET="-march=native -O2 -pipe"
LDFLAGS="-Wl,-O1,--hash-style=gnu,--as-needed" profiledbootstrap

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/12557] gcc & Firefox fail to build with -flto and --as-needed LDFLAGS

2011-03-11 Thread cryptooctoploid at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12557

Octoploid  changed:

   What|Removed |Added

Summary|gcc & Firefox fails to  |gcc & Firefox fail to build
   |build with -flto and|with -flto and --as-needed
   |--as-needed LDFLAGS |LDFLAGS

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/12557] gcc & Firefox fails to build with -flto and --as-needed LDFLAGS

2011-03-11 Thread cryptooctoploid at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12557

Octoploid  changed:

   What|Removed |Added

Summary|Firefox fails to build with |gcc & Firefox fails to
   |-flto and --as-needed   |build with -flto and
   |LDFLAGS |--as-needed LDFLAGS

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/12557] Firefox fails to build with -flto and --as-needed LDFLAGS

2011-03-11 Thread cryptooctoploid at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12557

--- Comment #24 from Octoploid  2011-03-11 
19:24:33 UTC ---
>I really need a small testcase.

Understood. I will take a deeper look.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gold/12572] FAIL: debug_msg.sh

2011-03-11 Thread jyasskin at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12572

Jeffrey Yasskin  changed:

   What|Removed |Added

 CC||jyasskin at gmail dot com

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/12557] Firefox fails to build with -flto and --as-needed LDFLAGS

2011-03-11 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12557

H.J. Lu  changed:

   What|Removed |Added

 Status|UNCONFIRMED |WAITING
   Last reconfirmed||2011.03.11 19:20:55
 Ever Confirmed|0   |1

--- Comment #23 from H.J. Lu  2011-03-11 19:20:55 
UTC ---
I really need a small testcase.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gold/12572] FAIL: debug_msg.sh

2011-03-11 Thread jyasskin at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12572

--- Comment #1 from Jeffrey Yasskin  2011-03-11 
19:18:55 UTC ---
Created attachment 5296
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5296
Fix the debug_msg.sh test.

I can reproduce this by switching from Ubuntu Lucid's native gcc-4.4.3 to
gcc-4.6-svn, probably because they optimize different instructions into the
front of Ordering::operator(). One fix is to add a comment just before that
function, so that all its line numbers are two digits, which will cause
detect_odr_violations() to sort a consistent line into the first place,
regardless of gcc optimizes it.

Here's a patch that passes with both gcc-4.4.3 and gcc-4.6-svn.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/12557] Firefox fails to build with -flto and --as-needed LDFLAGS

2011-03-11 Thread cryptooctoploid at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12557

Octoploid  changed:

   What|Removed |Added

 Status|WAITING |UNCONFIRMED
 Ever Confirmed|1   |0

--- Comment #22 from Octoploid  2011-03-11 
19:02:50 UTC ---
GNU ld (Linux/GNU Binutils) 2.21.51.0.7.20110306

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/12557] Firefox fails to build with -flto and --as-needed LDFLAGS

2011-03-11 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12557

H.J. Lu  changed:

   What|Removed |Added

 Status|REOPENED|WAITING

--- Comment #21 from H.J. Lu  2011-03-11 19:02:11 
UTC ---
Exactly which linker are you using?

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/12557] Firefox fails to build with -flto and --as-needed LDFLAGS

2011-03-11 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12557

H.J. Lu  changed:

   What|Removed |Added

Summary|--as-needed doesn't work|Firefox fails to build with
   |with g++|-flto and --as-needed
   ||LDFLAGS

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/12557] --as-needed doesn't work with g++

2011-03-11 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12557

--- Comment #20 from H.J. Lu  2011-03-11 18:54:47 
UTC ---
(In reply to comment #19)
> [hjl@gnu-6 pr12557]$ cat x.c

This test is wrong.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gold/12572] New: FAIL: debug_msg.sh

2011-03-11 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12572

   Summary: FAIL: debug_msg.sh
   Product: binutils
   Version: 2.22 (HEAD)
Status: NEW
  Severity: normal
  Priority: P2
 Component: gold
AssignedTo: i...@airs.com
ReportedBy: hjl.to...@gmail.com


On Fedora 14/x86-64, I got

FAIL: debug_msg.sh (exit: 1)


Did not find expected error in debug_msg.err:
   odr_violation2.cc:9

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/12557] --as-needed doesn't work with g++

2011-03-11 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12557

H.J. Lu  changed:

   What|Removed |Added

Summary|Firefox fails to build with |--as-needed doesn't work
   |-flto and --as-needed   |with g++
   |LDFLAGS |

--- Comment #19 from H.J. Lu  2011-03-11 18:36:35 
UTC ---
[hjl@gnu-6 pr12557]$ cat x.c
int x = 20;
[hjl@gnu-6 pr12557]$ cat foo.c
#include 

extern int x;

void
foo ()
{
  printf ("%d\n", x);
}
[hjl@gnu-6 pr12557]$ cat main.c
extern void foo ();

int
main ()
{
  foo ();
  return 0;
}
[hjl@gnu-6 pr12557]$ make
g++  -shared -fPIC -o libx.so x.c
g++  -shared -fPIC -o libfoo.so foo.c libx.so
g++  -Wl,--as-needed -o x main.o -L. -lfoo -lx -Wl,-R,.
main.o: In function `main':
main.c:(.text+0xa): undefined reference to `foo'
collect2: ld returned 1 exit status
make: *** [x] Error 1
[hjl@gnu-6 pr12557]$

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/12557] Firefox fails to build with -flto and --as-needed LDFLAGS

2011-03-11 Thread cryptooctoploid at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12557

--- Comment #18 from Octoploid  2011-03-11 
18:23:03 UTC ---
Created attachment 5295
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5295
gcc_verbose_bad

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/12557] Firefox fails to build with -flto and --as-needed LDFLAGS

2011-03-11 Thread cryptooctoploid at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12557

--- Comment #17 from Octoploid  2011-03-11 
18:22:34 UTC ---
Created attachment 5294
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5294
gcc_verbose_good

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/12557] Firefox fails to build with -flto and --as-needed LDFLAGS

2011-03-11 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12557

--- Comment #16 from H.J. Lu  2011-03-11 17:57:01 
UTC ---
Please show the output of "g++ -v ...".

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/12570] .plt has no associated .eh_frame/.debug_frame

2011-03-11 Thread jan.kratochvil at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12570

Jan Kratochvil  changed:

   What|Removed |Added

 Target||x86_64-unknown-linux-gnu

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gold/12571] .plt has no associated .eh_frame/.debug_frame

2011-03-11 Thread jan.kratochvil at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12571

Jan Kratochvil  changed:

   What|Removed |Added

 Target||x86_64-unknown-linux-gnu

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gold/12525] gold SEGV linking libgcc_s.so.1 on Solaris 11/x86

2011-03-11 Thread ro at CeBiTec dot Uni-Bielefeld.DE
http://sourceware.org/bugzilla/show_bug.cgi?id=12525

--- Comment #23 from Rainer Orth  
2011-03-11 15:40:46 UTC ---
> --- Comment #21 from Ian Lance Taylor  2011-03-09 
> 01:56:59 UTC ---
[...]
> I committed a patch which should fix the problem of passing too many values to
> readv.

That fixes all related failures, thanks.

> I don't know what's going on with the other two errors.

I'll see if I can find anything over the weekend.  This also blocks a
gcc bootstrap with gold.

Rainer

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/12494] Relaxation leads to wrong code optimization (computed goto)

2011-03-11 Thread avr at gjlay dot de
http://sourceware.org/bugzilla/show_bug.cgi?id=12494

Georg-Johann Lay  changed:

   What|Removed |Added

 Target|avr-elf |avr
Version|2.19|2.20

--- Comment #3 from Georg-Johann Lay  2011-03-11 13:35:09 
UTC ---
Unpatched binutils 2.20 also trigger this bug.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gold/12571] New: .plt has no associated .eh_frame/.debug_frame

2011-03-11 Thread jan.kratochvil at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12571

   Summary: .plt has no associated .eh_frame/.debug_frame
   Product: binutils
   Version: 2.22 (HEAD)
Status: NEW
  Severity: minor
  Priority: P2
 Component: gold
AssignedTo: i...@airs.com
ReportedBy: jan.kratoch...@redhat.com
CC: f...@redhat.com
Depends on: 12570


+++ This bug was initially created as a clone of Bug #12570 +++

echo 'main(){pause();}' | gcc -x c - -g
gdb -nx ./a.out 
GNU gdb (GDB) 7.2.50.20110311-cvs
This GDB was configured as "x86_64-unknown-linux-gnu".
(gdb) b 'pause@plt'
Breakpoint 1 at 0x4003a0
(gdb) run
(gdb) stepi 2
(gdb) disass
Dump of assembler code for function pause@plt:
   0x004003a0 <+0>:jmpq   *0x200482(%rip)
   0x004003a6 <+6>:pushq  $0x0
=> 0x004003ab <+11>:jmpq   0x400390
End of assembler dump.
(gdb) bt
#0  0x004003ab in pause@plt ()
#1  0x in ?? ()


.plt needs associated .eh_frame/.debug_frame entries.

GDB could workaround it but it affects also oprofile, probably systemtap etc.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/12570] .plt has no associated .eh_frame/.debug_frame

2011-03-11 Thread jan.kratochvil at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12570

Jan Kratochvil  changed:

   What|Removed |Added

 Blocks||12571

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/12570] New: .plt has no associated .eh_frame/.debug_frame

2011-03-11 Thread jan.kratochvil at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12570

   Summary: .plt has no associated .eh_frame/.debug_frame
   Product: binutils
   Version: 2.22 (HEAD)
Status: NEW
  Severity: minor
  Priority: P2
 Component: ld
AssignedTo: unassig...@sources.redhat.com
ReportedBy: jan.kratoch...@redhat.com
CC: f...@redhat.com


echo 'main(){pause();}' | gcc -x c - -g
gdb -nx ./a.out 
GNU gdb (GDB) 7.2.50.20110311-cvs
This GDB was configured as "x86_64-unknown-linux-gnu".
(gdb) b 'pause@plt'
Breakpoint 1 at 0x4003a0
(gdb) run
(gdb) stepi 2
(gdb) disass
Dump of assembler code for function pause@plt:
   0x004003a0 <+0>:jmpq   *0x200482(%rip)
   0x004003a6 <+6>:pushq  $0x0
=> 0x004003ab <+11>:jmpq   0x400390
End of assembler dump.
(gdb) bt
#0  0x004003ab in pause@plt ()
#1  0x in ?? ()


.plt needs associated .eh_frame/.debug_frame entries.

GDB could workaround it but it affects also oprofile, probably systemtap etc.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/12562] Ld.dk fails with "could not read symbols: Bad value" message

2011-03-11 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12562

--- Comment #3 from Dmitry Gorbachev  
2011-03-11 12:23:30 UTC ---
> Also, are you testing CVS HEAD from before or after
> the five patches I committed a couple of hours ago?

After, with and without 005ld-link-stage2.diff.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/12569] New: Assertion failure in get_known_segmented_expression (ARM)

2011-03-11 Thread pdox at google dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12569

   Summary: Assertion failure in get_known_segmented_expression
(ARM)
   Product: binutils
   Version: 2.22 (HEAD)
Status: NEW
  Severity: normal
  Priority: P2
 Component: gas
AssignedTo: unassig...@sources.redhat.com
ReportedBy: p...@google.com


demo.s:

.p2align 4
pcpos:

.globl foo
.type foo,function
.p2align 4

bx lr

.set pos, (. - pcpos)
.fill (pos & 15), 4, 0x0



$ install/arm-none-linux-gnueabi/bin/as  demo.s

demo.s: Assembler messages:
demo.s:11: Internal error!
Assertion failure in get_known_segmented_expression at ../../src/gas/read.c
line 5435.
Please report this bug.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils