bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/15444] Use of -g for large project results in: relocation trunca


From: peeter.joot at gmail dot com
Subject: [Bug ld/15444] Use of -g for large project results in: relocation truncated to fit: R_X86_64_32 against `.debug_info'
Date: Fri, 10 May 2013 20:59:48 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=15444

--- Comment #17 from Peeter Joot <peeter.joot at gmail dot com> 2013-05-10 
20:59:48 UTC ---
Looks like ICC is definitely triggering this (we are getting close to the limit
with g++ too).

With g++:

$ objcopy --only-keep-debug libdb2e.so.1 libdb2e.so.1.debug
$ objcopy --strip-debug libdb2e.so.1 libdb2e.so.1.nodebug
$ ls -l libdb2e.so.1.debug libdb2e.so.1.nodebug

-rwxr-xr-x 1 peeterj pdxdb2 2336638415 2013-05-10 16:17 libdb2e.so.1.debug
-rwxr-xr-x 1 peeterj pdxdb2  390515219 2013-05-10 16:18 libdb2e.so.1.nodebug

With ICC:

-rw-r--r-- 1 peeterj pdxdb2 6308565713 2013-05-10 16:11 libdb2e.so.1.debug
-rw-r--r-- 1 peeterj pdxdb2  501988212 2013-05-10 16:17 libdb2e.so.1.nodebug

The intel shared lib is 1.28x bigger, but it is generating 2.7x times more
debug code with -g (for a grand total of 5.9 Gb of -g info).

-- 
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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]