[Bug binutils/13891] New: Binutils is impossible to static link due to broken libtool behavior

2012-03-21 Thread bugdal at aerifal dot cx
http://sourceware.org/bugzilla/show_bug.cgi?id=13891

 Bug #: 13891
   Summary: Binutils is impossible to static link due to broken
libtool behavior
   Product: binutils
   Version: unspecified
Status: NEW
  Severity: critical
  Priority: P2
 Component: binutils
AssignedTo: unassig...@sourceware.org
ReportedBy: bug...@aerifal.cx
Classification: Unclassified


I need static linked binutils, but libtool is intercepting and disabling any
-static I add to CFLAGS or LDFLAGS. According to the libtool documentation,
-all-static is required in place of -static to get the same behavior, but
-all-static is not usable in CFLAGS or LDFLAGS because the binutils build
process also invokes the compiler/linker without libtool on many occasions, and
the unknown option -all-static will result in an error that stops the build.

As far as I can tell, the only solution is to fix the broken libtool behavior.
I'm filing a bug report with libtool as well, but as this seems to be the
intended behavior (despite the impossibility of it working), I'm not optimistic
about getting a fix.

My fix is changing -all-static) on line 4562 of ltmain.sh to
-all-static|-static)

-- 
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
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/12549] --as-needed should ignore weak references

2012-03-21 Thread bugdal at aerifal dot cx
http://sourceware.org/bugzilla/show_bug.cgi?id=12549

Rich Felker  changed:

   What|Removed |Added

 CC||bugdal at aerifal dot cx

--- Comment #1 from Rich Felker  2012-03-22 03:19:00 
UTC ---
Ping. I am the author of musl libc and this issue is seriously affecting myself
and users of musl (on Linux); dynamic-linked programs intended to be extremely
dependency-free (operate with only the musl loader/libc present on the target
system) are getting an unwanted dependency on libgcc_s, and startup overhead is
doubled even if it's present.

The proposed patch seems correct, so if it is, could it be committed and
included in the next binutils release?

-- 
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
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/13813] ld-mips-elf/comm-data.exp failures for mipsisa32r2el-unknown-linux-gnu

2012-03-21 Thread hp at sourceware dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=13813

--- Comment #2 from Hans-Peter Nilsson  2012-03-21 
19:16:49 UTC ---
fixed.

-- 
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
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/13813] ld-mips-elf/comm-data.exp failures for mipsisa32r2el-unknown-linux-gnu

2012-03-21 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=13813

--- Comment #1 from cvs-commit at gcc dot gnu.org  2012-03-21 19:15:15 UTC ---
CVSROOT:/cvs/src
Module name:src
Changes by:h...@sourceware.org2012-03-21 19:15:02

Modified files:
ld/testsuite   : ChangeLog 
ld/testsuite/ld-mips-elf: comm-data.exp 

Log message:
PR ld/13813
* ld-mips-elf/comm-data.exp (mips_comm_data_test): For N32 and N64
tests, also specify assembler option -march=mips3.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1506&r2=1.1507
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-mips-elf/comm-data.exp.diff?cvsroot=src&r1=1.1&r2=1.2

-- 
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
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/13855] internal error, aborting at elf64-x86-64.c line 3396 in elf_x86_64_relocate_section

2012-03-21 Thread brunobg at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13855

--- Comment #5 from brunobg at gmail dot com 2012-03-21 18:10:31 UTC ---
Compiling chromium is a pain, it has tons of dependencies -- that is why you
crashed. Here's what worked for me in Ubuntu 11.04:

apt-get install libnss libnss-dev
apt-get install gconf gnome-keyring  libgconf2-4 libgconf2-dev gconf2
libgnome-keyring-dev libgnome-keyring1.0-cil-dev
apt-get install libdbus-glib-1-dev 
apt-get install cmake gperf libpam0g-dev libxtst-dev
util/build-chromium.sh --deps
cmake .
make VERBOSE=1

BTW, other people had this bug too:

http://groups.google.com/group/berkelium/search?group=berkelium&q=elf64_x86_64_relocate_section&qt_g=Search+this+group

As mentioned in one of the posts, 'binutils-gold' does indeed link it
successfully.

-- 
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
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gold/13887] Very slow linking when -Map is used

2012-03-21 Thread jan.sm...@alcatel-lucent.com
http://sourceware.org/bugzilla/show_bug.cgi?id=13887

Jan Smets  changed:

   What|Removed |Added

 CC||jan.sm...@alcatel-lucent.co
   ||m

-- 
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
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gold/13887] New: Very slow linking when -Map is used

2012-03-21 Thread jan.sm...@alcatel-lucent.com
http://sourceware.org/bugzilla/show_bug.cgi?id=13887

 Bug #: 13887
   Summary: Very slow linking when -Map is used
   Product: binutils
   Version: 2.22
Status: NEW
  Severity: normal
  Priority: P2
 Component: gold
AssignedTo: i...@airs.com
ReportedBy: jan.sm...@alcatel-lucent.com
CC: ccout...@google.com
Classification: Unclassified


Created attachment 6296
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6296
callgrind output

Ian

As requested a profile output of gold with/without using -Map.

If there is anything else I can do please let me know.

Thanks.

-- 
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
https://lists.gnu.org/mailman/listinfo/bug-binutils